2 // Radegast Metaverse Client
3 // Copyright (c) 2009-2013, Radegast Development Team
4 // All rights reserved.
6 // Redistribution and use in source and binary forms, with or without
7 // modification, are permitted provided that the following conditions are met:
9 // * Redistributions of source code must retain the above copyright notice,
10 // this list of conditions and the following disclaimer.
11 // * Redistributions in binary form must reproduce the above copyright
12 // notice, this list of conditions and the following disclaimer in the
13 // documentation and/or other materials provided with the distribution.
14 // * Neither the name of the application "Radegast", nor the names of its
15 // contributors may be used to endorse or promote products derived from
16 // this software without specific prior written permission.
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26 // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 using System.Windows.Forms;
35 partial class FriendsConsole
38 /// Required designer variable.
40 private System.ComponentModel.IContainer components = null;
43 /// Clean up any resources being used.
45 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
46 protected override void Dispose(bool disposing)
48 if (disposing && (components != null))
52 base.Dispose(disposing);
55 #region Component Designer generated code
58 /// Required method for Designer support - do not modify
59 /// the contents of this method with the code editor.
61 private void InitializeComponent()
63 this.components = new System.ComponentModel.Container();
64 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FriendsConsole));
65 this.lblFriendName = new System.Windows.Forms.Label();
66 this.btnIM = new System.Windows.Forms.Button();
67 this.btnProfile = new System.Windows.Forms.Button();
68 this.pnlActions = new System.Windows.Forms.GroupBox();
69 this.btnRemove = new System.Windows.Forms.Button();
70 this.btnPay = new System.Windows.Forms.Button();
71 this.btnOfferTeleport = new System.Windows.Forms.Button();
72 this.chkSeeMeOnline = new System.Windows.Forms.CheckBox();
73 this.chkSeeMeOnMap = new System.Windows.Forms.CheckBox();
74 this.chkModifyMyObjects = new System.Windows.Forms.CheckBox();
75 this.pnlFriendsRights = new System.Windows.Forms.GroupBox();
76 this.imageList1 = new System.Windows.Forms.ImageList(this.components);
77 this.listFriends = new System.Windows.Forms.ListBox();
78 this.btnRequestTeleport = new System.Windows.Forms.Button();
79 this.pnlActions.SuspendLayout();
80 this.pnlFriendsRights.SuspendLayout();
85 this.lblFriendName.AutoSize = true;
86 this.lblFriendName.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
87 this.lblFriendName.Location = new System.Drawing.Point(6, 17);
88 this.lblFriendName.Name = "lblFriendName";
89 this.lblFriendName.Size = new System.Drawing.Size(0, 13);
90 this.lblFriendName.TabIndex = 1;
94 this.btnIM.Location = new System.Drawing.Point(6, 47);
95 this.btnIM.Name = "btnIM";
96 this.btnIM.Size = new System.Drawing.Size(75, 23);
97 this.btnIM.TabIndex = 2;
98 this.btnIM.Text = "IM";
99 this.btnIM.UseVisualStyleBackColor = true;
100 this.btnIM.Click += new System.EventHandler(this.btnIM_Click);
104 this.btnProfile.Location = new System.Drawing.Point(87, 46);
105 this.btnProfile.Name = "btnProfile";
106 this.btnProfile.Size = new System.Drawing.Size(75, 23);
107 this.btnProfile.TabIndex = 3;
108 this.btnProfile.Text = "Profile";
109 this.btnProfile.UseVisualStyleBackColor = true;
110 this.btnProfile.Click += new System.EventHandler(this.btnProfile_Click);
114 this.pnlActions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
115 | System.Windows.Forms.AnchorStyles.Right)));
116 this.pnlActions.Controls.Add(this.btnRequestTeleport);
117 this.pnlActions.Controls.Add(this.btnRemove);
118 this.pnlActions.Controls.Add(this.btnPay);
119 this.pnlActions.Controls.Add(this.btnOfferTeleport);
120 this.pnlActions.Controls.Add(this.lblFriendName);
121 this.pnlActions.Controls.Add(this.btnProfile);
122 this.pnlActions.Controls.Add(this.btnIM);
123 this.pnlActions.Location = new System.Drawing.Point(209, 3);
124 this.pnlActions.Name = "pnlActions";
125 this.pnlActions.Size = new System.Drawing.Size(470, 118);
126 this.pnlActions.TabIndex = 1;
127 this.pnlActions.TabStop = false;
131 this.btnRemove.Location = new System.Drawing.Point(87, 75);
132 this.btnRemove.Name = "btnRemove";
133 this.btnRemove.Size = new System.Drawing.Size(75, 23);
134 this.btnRemove.TabIndex = 6;
135 this.btnRemove.Text = "Remove";
136 this.btnRemove.UseVisualStyleBackColor = true;
137 this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
141 this.btnPay.Location = new System.Drawing.Point(9, 76);
142 this.btnPay.Name = "btnPay";
143 this.btnPay.Size = new System.Drawing.Size(75, 23);
144 this.btnPay.TabIndex = 5;
145 this.btnPay.Text = "Pay...";
146 this.btnPay.UseVisualStyleBackColor = true;
147 this.btnPay.Click += new System.EventHandler(this.btnPay_Click);
151 this.btnOfferTeleport.Location = new System.Drawing.Point(168, 46);
152 this.btnOfferTeleport.Name = "btnOfferTeleport";
153 this.btnOfferTeleport.Size = new System.Drawing.Size(112, 23);
154 this.btnOfferTeleport.TabIndex = 4;
155 this.btnOfferTeleport.Text = "Offer Teleport";
156 this.btnOfferTeleport.UseVisualStyleBackColor = true;
157 this.btnOfferTeleport.Click += new System.EventHandler(this.btnOfferTeleport_Click);
161 this.chkSeeMeOnline.AutoSize = true;
162 this.chkSeeMeOnline.Location = new System.Drawing.Point(6, 20);
163 this.chkSeeMeOnline.Name = "chkSeeMeOnline";
164 this.chkSeeMeOnline.Size = new System.Drawing.Size(125, 17);
165 this.chkSeeMeOnline.TabIndex = 6;
166 this.chkSeeMeOnline.Text = "See my online status";
167 this.chkSeeMeOnline.UseVisualStyleBackColor = true;
168 this.chkSeeMeOnline.CheckedChanged += new System.EventHandler(this.chkSeeMeOnline_CheckedChanged);
172 this.chkSeeMeOnMap.AutoSize = true;
173 this.chkSeeMeOnMap.Location = new System.Drawing.Point(6, 43);
174 this.chkSeeMeOnMap.Name = "chkSeeMeOnMap";
175 this.chkSeeMeOnMap.Size = new System.Drawing.Size(118, 17);
176 this.chkSeeMeOnMap.TabIndex = 7;
177 this.chkSeeMeOnMap.Text = "See me on the map";
178 this.chkSeeMeOnMap.UseVisualStyleBackColor = true;
179 this.chkSeeMeOnMap.CheckedChanged += new System.EventHandler(this.chkSeeMeOnMap_CheckedChanged);
181 // chkModifyMyObjects
183 this.chkModifyMyObjects.AutoSize = true;
184 this.chkModifyMyObjects.Location = new System.Drawing.Point(6, 66);
185 this.chkModifyMyObjects.Name = "chkModifyMyObjects";
186 this.chkModifyMyObjects.Size = new System.Drawing.Size(113, 17);
187 this.chkModifyMyObjects.TabIndex = 8;
188 this.chkModifyMyObjects.Text = "Modify my objects";
189 this.chkModifyMyObjects.UseVisualStyleBackColor = true;
190 this.chkModifyMyObjects.CheckedChanged += new System.EventHandler(this.chkModifyMyObjects_CheckedChanged);
194 this.pnlFriendsRights.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
195 | System.Windows.Forms.AnchorStyles.Right)));
196 this.pnlFriendsRights.Controls.Add(this.chkModifyMyObjects);
197 this.pnlFriendsRights.Controls.Add(this.chkSeeMeOnline);
198 this.pnlFriendsRights.Controls.Add(this.chkSeeMeOnMap);
199 this.pnlFriendsRights.Enabled = false;
200 this.pnlFriendsRights.Location = new System.Drawing.Point(215, 136);
201 this.pnlFriendsRights.Name = "pnlFriendsRights";
202 this.pnlFriendsRights.Size = new System.Drawing.Size(461, 92);
203 this.pnlFriendsRights.TabIndex = 2;
204 this.pnlFriendsRights.TabStop = false;
205 this.pnlFriendsRights.Text = "This friend can";
209 this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
210 this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
211 this.imageList1.Images.SetKeyName(0, "GreenOrbFaded_16.png");
212 this.imageList1.Images.SetKeyName(1, "GreenOrb_16.png");
216 this.listFriends.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
217 | System.Windows.Forms.AnchorStyles.Left)));
218 this.listFriends.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
219 this.listFriends.FormattingEnabled = true;
220 this.listFriends.ItemHeight = 18;
221 this.listFriends.Location = new System.Drawing.Point(3, 9);
222 this.listFriends.Name = "listFriends";
223 this.listFriends.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
224 this.listFriends.Size = new System.Drawing.Size(200, 454);
225 this.listFriends.TabIndex = 0;
226 this.listFriends.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.listFriends_DrawItem);
227 this.listFriends.SelectedIndexChanged += new System.EventHandler(this.listFriends_SelectedIndexChanged);
228 this.listFriends.KeyDown += new System.Windows.Forms.KeyEventHandler(this.listFriends_KeyDown);
229 this.listFriends.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listFriends_MouseDown);
231 // btnRequestTeleport
233 this.btnRequestTeleport.AccessibleDescription = "Request from a friend to teleport you to their location";
234 this.btnRequestTeleport.Location = new System.Drawing.Point(168, 75);
235 this.btnRequestTeleport.Name = "btnRequestTeleport";
236 this.btnRequestTeleport.Size = new System.Drawing.Size(112, 23);
237 this.btnRequestTeleport.TabIndex = 7;
238 this.btnRequestTeleport.Text = "Request Teleport";
239 this.btnRequestTeleport.UseVisualStyleBackColor = true;
240 this.btnRequestTeleport.Click += new System.EventHandler(this.btnRequestTeleport_Click);
244 this.Controls.Add(this.listFriends);
245 this.Controls.Add(this.pnlFriendsRights);
246 this.Controls.Add(this.pnlActions);
247 this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
248 this.Name = "FriendsConsole";
249 this.Size = new System.Drawing.Size(682, 466);
250 this.pnlActions.ResumeLayout(false);
251 this.pnlActions.PerformLayout();
252 this.pnlFriendsRights.ResumeLayout(false);
253 this.pnlFriendsRights.PerformLayout();
254 this.ResumeLayout(false);
260 public Label lblFriendName;
262 public Button btnProfile;
263 public GroupBox pnlActions;
264 public CheckBox chkSeeMeOnline;
265 public CheckBox chkSeeMeOnMap;
266 public CheckBox chkModifyMyObjects;
267 public Button btnOfferTeleport;
268 public Button btnPay;
269 public Button btnRemove;
270 public GroupBox pnlFriendsRights;
271 public ImageList imageList1;
272 public ListBox listFriends;
273 public Button btnRequestTeleport;