Changeset 32 for trunk/MacFaceFloat/ConfigurationForm.cs
- Timestamp:
- Feb 16, 2005, 7:38:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MacFaceFloat/ConfigurationForm.cs
r30 r32 77 77 { 78 78 this.components = new System.ComponentModel.Container(); 79 System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("SÊ", 1, 1); 80 System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("çp^["); 81 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigurationForm)); 79 System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ConfigurationForm)); 82 80 this.treeCategory = new System.Windows.Forms.TreeView(); 83 81 this.imageListConfigTreeIcon = new System.Windows.Forms.ImageList(this.components); … … 88 86 this.panelContainer = new System.Windows.Forms.Panel(); 89 87 this.panelAppearance = new System.Windows.Forms.Panel(); 88 this.label6 = new System.Windows.Forms.Label(); 89 this.trackBarPatternSize = new System.Windows.Forms.TrackBar(); 90 90 this.label5 = new System.Windows.Forms.Label(); 91 91 this.checkMouseMessage = new System.Windows.Forms.CheckBox(); … … 101 101 this.imageListFacePreviews = new System.Windows.Forms.ImageList(this.components); 102 102 this.toolTipPreviewDetail = new System.Windows.Forms.ToolTip(this.components); 103 this.trackBarPatternSize = new System.Windows.Forms.TrackBar();104 this.label6 = new System.Windows.Forms.Label();105 103 this.panelContainer.SuspendLayout(); 106 104 this.panelAppearance.SuspendLayout(); 105 ((System.ComponentModel.ISupportInitialize)(this.trackBarPatternSize)).BeginInit(); 107 106 ((System.ComponentModel.ISupportInitialize)(this.trackBarOpacity)).BeginInit(); 108 107 this.panelFacePatternList.SuspendLayout(); 109 ((System.ComponentModel.ISupportInitialize)(this.trackBarPatternSize)).BeginInit();110 108 this.SuspendLayout(); 111 //112 // treeCategory113 //114 this.treeCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 115 109 // 110 // treeCategory 111 // 112 this.treeCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 113 | System.Windows.Forms.AnchorStyles.Left))); 116 114 this.treeCategory.FullRowSelect = true; 117 115 this.treeCategory.HideSelection = false; … … 120 118 this.treeCategory.Location = new System.Drawing.Point(0, 0); 121 119 this.treeCategory.Name = "treeCategory"; 122 treeNode3.ImageIndex = 1;123 treeNode3.Name = "";124 treeNode3.SelectedImageIndex = 1;125 treeNode3.Text = "SÊ";126 treeNode4.Name = "";127 treeNode4.Text = "çp^[";128 120 this.treeCategory.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { 129 treeNode3,130 treeNode4});121 new System.Windows.Forms.TreeNode("SÊ", 1, 1), 122 new System.Windows.Forms.TreeNode("çp^[")}); 131 123 this.treeCategory.ShowLines = false; 132 124 this.treeCategory.ShowPlusMinus = false; … … 135 127 this.treeCategory.TabIndex = 0; 136 128 this.treeCategory.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeCategory_AfterSelect); 137 //138 // imageListConfigTreeIcon139 //129 // 130 // imageListConfigTreeIcon 131 // 140 132 this.imageListConfigTreeIcon.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; 141 133 this.imageListConfigTreeIcon.ImageSize = new System.Drawing.Size(32, 32); 142 134 this.imageListConfigTreeIcon.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListConfigTreeIcon.ImageStream"))); 143 135 this.imageListConfigTreeIcon.TransparentColor = System.Drawing.Color.Transparent; 144 this.imageListConfigTreeIcon.Images.SetKeyName(0, ""); 145 this.imageListConfigTreeIcon.Images.SetKeyName(1, ""); 146 // 147 // buttonCancel 148 // 136 // 137 // buttonCancel 138 // 149 139 this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 150 140 this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; … … 154 144 this.buttonCancel.TabIndex = 1; 155 145 this.buttonCancel.Text = "LZ"; 156 //157 // buttonApply158 //146 // 147 // buttonApply 148 // 159 149 this.buttonApply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 160 150 this.buttonApply.Enabled = false; … … 164 154 this.buttonApply.TabIndex = 2; 165 155 this.buttonApply.Text = "Kp(&A)"; 166 //167 // buttonOK168 //156 // 157 // buttonOK 158 // 169 159 this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 170 160 this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK; … … 175 165 this.buttonOK.Text = "OK"; 176 166 this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); 177 //178 // labelTitle179 //180 this.labelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 181 167 // 168 // labelTitle 169 // 170 this.labelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 171 | System.Windows.Forms.AnchorStyles.Right))); 182 172 this.labelTitle.BackColor = System.Drawing.SystemColors.ActiveCaption; 183 this.labelTitle.Font = new System.Drawing.Font("MS UI Gothic", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, (( byte)(128)));173 this.labelTitle.Font = new System.Drawing.Font("MS UI Gothic", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(128))); 184 174 this.labelTitle.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; 185 175 this.labelTitle.Location = new System.Drawing.Point(107, 5); … … 189 179 this.labelTitle.Text = "SÊ"; 190 180 this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 191 //192 // panelContainer193 //194 this.panelContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 195 | System.Windows.Forms.AnchorStyles.Left)196 181 // 182 // panelContainer 183 // 184 this.panelContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 185 | System.Windows.Forms.AnchorStyles.Left) 186 | System.Windows.Forms.AnchorStyles.Right))); 197 187 this.panelContainer.Controls.Add(this.panelAppearance); 198 188 this.panelContainer.Controls.Add(this.panelFacePatternList); … … 201 191 this.panelContainer.Size = new System.Drawing.Size(380, 218); 202 192 this.panelContainer.TabIndex = 5; 203 // 204 // panelAppearance 205 // 206 this.panelAppearance.Controls.Add(this.label6); 193 // 194 // panelAppearance 195 // 207 196 this.panelAppearance.Controls.Add(this.trackBarPatternSize); 208 197 this.panelAppearance.Controls.Add(this.label5); … … 216 205 this.panelAppearance.Size = new System.Drawing.Size(366, 208); 217 206 this.panelAppearance.TabIndex = 0; 218 // 219 // label5 220 // 221 this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 222 | System.Windows.Forms.AnchorStyles.Right))); 207 // 208 // label6 209 // 210 this.label6.Location = new System.Drawing.Point(5, 93); 211 this.label6.Name = "label6"; 212 this.label6.Size = new System.Drawing.Size(196, 18); 213 this.label6.TabIndex = 7; 214 this.label6.Text = "嫳:"; 215 // 216 // trackBarPatternSize 217 // 218 this.trackBarPatternSize.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 219 | System.Windows.Forms.AnchorStyles.Right))); 220 this.trackBarPatternSize.LargeChange = 10; 221 this.trackBarPatternSize.Location = new System.Drawing.Point(15, 114); 222 this.trackBarPatternSize.Maximum = 100; 223 this.trackBarPatternSize.Minimum = 10; 224 this.trackBarPatternSize.Name = "trackBarPatternSize"; 225 this.trackBarPatternSize.Size = new System.Drawing.Size(338, 37); 226 this.trackBarPatternSize.TabIndex = 6; 227 this.trackBarPatternSize.TickFrequency = 10; 228 this.trackBarPatternSize.Value = 100; 229 // 230 // label5 231 // 232 this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 233 | System.Windows.Forms.AnchorStyles.Right))); 223 234 this.label5.Location = new System.Drawing.Point(311, 55); 224 this.label5.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3);225 235 this.label5.Name = "label5"; 226 236 this.label5.Size = new System.Drawing.Size(42, 11); 227 237 this.label5.TabIndex = 5; 228 238 this.label5.Text = "s§¾"; 229 //230 // checkMouseMessage231 //232 this.checkMouseMessage.Location = new System.Drawing.Point(5, 1 88);239 // 240 // checkMouseMessage 241 // 242 this.checkMouseMessage.Location = new System.Drawing.Point(5, 176); 233 243 this.checkMouseMessage.Name = "checkMouseMessage"; 234 this.checkMouseMessage.Size = new System.Drawing.Size(355, 1 1);244 this.checkMouseMessage.Size = new System.Drawing.Size(355, 16); 235 245 this.checkMouseMessage.TabIndex = 4; 236 246 this.checkMouseMessage.Text = "}EXÌ®ìðwÊÌEBhEÖ`¦é(&T)"; 237 //238 // label3239 //247 // 248 // label3 249 // 240 250 this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 241 251 this.label3.Location = new System.Drawing.Point(524, 73); … … 244 254 this.label3.TabIndex = 3; 245 255 this.label3.Text = "s§¾"; 246 //247 // label2248 //249 this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 250 256 // 257 // label2 258 // 259 this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 260 | System.Windows.Forms.AnchorStyles.Right))); 251 261 this.label2.Location = new System.Drawing.Point(15, 55); 252 this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3);253 262 this.label2.Name = "label2"; 254 263 this.label2.Size = new System.Drawing.Size(31, 11); 255 264 this.label2.TabIndex = 2; 256 265 this.label2.Text = "§¾"; 257 //258 // label1259 //266 // 267 // label1 268 // 260 269 this.label1.Location = new System.Drawing.Point(2, 5); 261 this.label1.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);262 270 this.label1.Name = "label1"; 263 271 this.label1.Size = new System.Drawing.Size(196, 18); 264 272 this.label1.TabIndex = 1; 265 273 this.label1.Text = "§¾x:"; 266 //267 // trackBarOpacity268 //269 this.trackBarOpacity.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 270 274 // 275 // trackBarOpacity 276 // 277 this.trackBarOpacity.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 278 | System.Windows.Forms.AnchorStyles.Right))); 271 279 this.trackBarOpacity.LargeChange = 10; 272 280 this.trackBarOpacity.Location = new System.Drawing.Point(15, 24); 273 this.trackBarOpacity.Margin = new System.Windows.Forms.Padding(3, 1, 3, 1);274 281 this.trackBarOpacity.Maximum = 100; 275 282 this.trackBarOpacity.Name = "trackBarOpacity"; 276 this.trackBarOpacity.Size = new System.Drawing.Size(338, 42);283 this.trackBarOpacity.Size = new System.Drawing.Size(338, 37); 277 284 this.trackBarOpacity.TabIndex = 0; 278 285 this.trackBarOpacity.TickFrequency = 10; 279 //280 // panelFacePatternList281 //286 // 287 // panelFacePatternList 288 // 282 289 this.panelFacePatternList.Controls.Add(this.label4); 283 290 this.panelFacePatternList.Controls.Add(this.linkWebSite); … … 288 295 this.panelFacePatternList.Size = new System.Drawing.Size(367, 213); 289 296 this.panelFacePatternList.TabIndex = 7; 290 //291 // label4292 //297 // 298 // label4 299 // 293 300 this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 294 301 this.label4.Location = new System.Drawing.Point(4, 165); … … 297 304 this.label4.TabIndex = 3; 298 305 this.label4.Text = "EFuTCg:"; 299 // 300 // linkWebSite 301 // 302 this.linkWebSite.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 303 | System.Windows.Forms.AnchorStyles.Right))); 304 this.linkWebSite.Links.Add(new System.Windows.Forms.LinkLabel.Link(0, 0)); 306 // 307 // linkWebSite 308 // 309 this.linkWebSite.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 310 | System.Windows.Forms.AnchorStyles.Right))); 305 311 this.linkWebSite.Location = new System.Drawing.Point(67, 165); 306 312 this.linkWebSite.Name = "linkWebSite"; … … 308 314 this.linkWebSite.TabIndex = 2; 309 315 this.linkWebSite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkWebSite_LinkClicked); 310 //311 // buttonBrowse312 //316 // 317 // buttonBrowse 318 // 313 319 this.buttonBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 314 320 this.buttonBrowse.Location = new System.Drawing.Point(267, 187); … … 318 324 this.buttonBrowse.Text = "QÆ(&B)..."; 319 325 this.buttonBrowse.Click += new System.EventHandler(this.buttonBrowse_Click); 320 //321 // listViewFaces322 //323 this.listViewFaces.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 324 | System.Windows.Forms.AnchorStyles.Left)325 326 // 327 // listViewFaces 328 // 329 this.listViewFaces.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 330 | System.Windows.Forms.AnchorStyles.Left) 331 | System.Windows.Forms.AnchorStyles.Right))); 326 332 this.listViewFaces.LargeImageList = this.imageListFacePreviews; 327 333 this.listViewFaces.Location = new System.Drawing.Point(0, 0); … … 329 335 this.listViewFaces.Size = new System.Drawing.Size(367, 161); 330 336 this.listViewFaces.TabIndex = 0; 331 this.listViewFaces.SelectedIndexChanged += new System.EventHandler(this.listViewFaces_SelectedIndexChanged);332 337 this.listViewFaces.DoubleClick += new System.EventHandler(this.listViewFaces_DoubleClick); 333 338 this.listViewFaces.MouseMove += new System.Windows.Forms.MouseEventHandler(this.listViewFaces_MouseMove); 334 // 335 // imageListFacePreviews 336 // 339 this.listViewFaces.SelectedIndexChanged += new System.EventHandler(this.listViewFaces_SelectedIndexChanged); 340 // 341 // imageListFacePreviews 342 // 337 343 this.imageListFacePreviews.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; 338 344 this.imageListFacePreviews.ImageSize = new System.Drawing.Size(128, 128); 339 345 this.imageListFacePreviews.TransparentColor = System.Drawing.Color.Transparent; 340 // 341 // trackBarPatternSize 342 // 343 this.trackBarPatternSize.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 344 | System.Windows.Forms.AnchorStyles.Right))); 345 this.trackBarPatternSize.LargeChange = 10; 346 this.trackBarPatternSize.Location = new System.Drawing.Point(15, 114); 347 this.trackBarPatternSize.Margin = new System.Windows.Forms.Padding(3, 2, 3, 3); 348 this.trackBarPatternSize.Maximum = 100; 349 this.trackBarPatternSize.Minimum = 10; 350 this.trackBarPatternSize.Name = "trackBarPatternSize"; 351 this.trackBarPatternSize.Size = new System.Drawing.Size(338, 42); 352 this.trackBarPatternSize.TabIndex = 6; 353 this.trackBarPatternSize.TickFrequency = 10; 354 this.trackBarPatternSize.Value = 100; 355 // 356 // label6 357 // 358 this.label6.Location = new System.Drawing.Point(5, 93); 359 this.label6.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); 360 this.label6.Name = "label6"; 361 this.label6.Size = new System.Drawing.Size(196, 18); 362 this.label6.TabIndex = 7; 363 this.label6.Text = "嫳:"; 364 // 365 // ConfigurationForm 366 // 346 // 347 // ConfigurationForm 348 // 367 349 this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); 368 350 this.ClientSize = new System.Drawing.Size(492, 297); … … 379 361 this.panelContainer.ResumeLayout(false); 380 362 this.panelAppearance.ResumeLayout(false); 381 this.panelAppearance.PerformLayout();363 ((System.ComponentModel.ISupportInitialize)(this.trackBarPatternSize)).EndInit(); 382 364 ((System.ComponentModel.ISupportInitialize)(this.trackBarOpacity)).EndInit(); 383 365 this.panelFacePatternList.ResumeLayout(false); 384 ((System.ComponentModel.ISupportInitialize)(this.trackBarPatternSize)).EndInit();385 366 this.ResumeLayout(false); 386 367
Note: See TracChangeset
for help on using the changeset viewer.