Changeset 109
- Timestamp:
- Aug 30, 2008, 3:35:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MacFaceFloat/ConfigurationForm.cs
r108 r109 37 37 private LinkLabel linkWebSite; 38 38 private Label label1; 39 private Label label3; 40 private Label label4; 41 private Label lblAuthor; 42 private Label lblVersion; 43 private Label label9; 44 private Label lblTitle; 39 45 private System.ComponentModel.IContainer components; 40 46 … … 91 97 this.linkWebSite = new System.Windows.Forms.LinkLabel(); 92 98 this.label1 = new System.Windows.Forms.Label(); 99 this.label3 = new System.Windows.Forms.Label(); 100 this.label4 = new System.Windows.Forms.Label(); 101 this.lblAuthor = new System.Windows.Forms.Label(); 102 this.lblVersion = new System.Windows.Forms.Label(); 103 this.label9 = new System.Windows.Forms.Label(); 104 this.lblTitle = new System.Windows.Forms.Label(); 93 105 this.groupBox1.SuspendLayout(); 94 106 ((System.ComponentModel.ISupportInitialize)(this.trackBarOpacity)).BeginInit(); … … 116 128 | System.Windows.Forms.AnchorStyles.Right))); 117 129 this.checkMouseMessage.FlatStyle = System.Windows.Forms.FlatStyle.System; 118 this.checkMouseMessage.Location = new System.Drawing.Point( 198, 255);130 this.checkMouseMessage.Location = new System.Drawing.Point(214, 255); 119 131 this.checkMouseMessage.Name = "checkMouseMessage"; 120 this.checkMouseMessage.Size = new System.Drawing.Size(2 84, 16);132 this.checkMouseMessage.Size = new System.Drawing.Size(268, 16); 121 133 this.checkMouseMessage.TabIndex = 6; 122 134 this.checkMouseMessage.Text = "}EXÌ®ìðwÊÌEBhEÖ`¦é(&T)"; … … 142 154 this.listViewFaces.MultiSelect = false; 143 155 this.listViewFaces.Name = "listViewFaces"; 144 this.listViewFaces.Size = new System.Drawing.Size(1 78, 325);156 this.listViewFaces.Size = new System.Drawing.Size(196, 325); 145 157 this.listViewFaces.TabIndex = 12; 146 158 this.listViewFaces.UseCompatibleStateImageBehavior = false; … … 156 168 this.groupBox1.Controls.Add(this.trackBarOpacity); 157 169 this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; 158 this.groupBox1.Location = new System.Drawing.Point( 198, 123);170 this.groupBox1.Location = new System.Drawing.Point(214, 123); 159 171 this.groupBox1.Name = "groupBox1"; 160 this.groupBox1.Size = new System.Drawing.Size(2 84, 60);172 this.groupBox1.Size = new System.Drawing.Size(268, 60); 161 173 this.groupBox1.TabIndex = 19; 162 174 this.groupBox1.TabStop = false; … … 166 178 // 167 179 this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 168 this.label5.Location = new System.Drawing.Point(2 28, 24);180 this.label5.Location = new System.Drawing.Point(212, 24); 169 181 this.label5.Name = "label5"; 170 182 this.label5.Size = new System.Drawing.Size(48, 11); … … 190 202 this.trackBarOpacity.Minimum = 5; 191 203 this.trackBarOpacity.Name = "trackBarOpacity"; 192 this.trackBarOpacity.Size = new System.Drawing.Size(1 76, 45);204 this.trackBarOpacity.Size = new System.Drawing.Size(160, 45); 193 205 this.trackBarOpacity.TabIndex = 9; 194 206 this.trackBarOpacity.TickFrequency = 10; … … 204 216 this.groupBox2.Controls.Add(this.trackBarPatternSize); 205 217 this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; 206 this.groupBox2.Location = new System.Drawing.Point( 198, 189);218 this.groupBox2.Location = new System.Drawing.Point(214, 189); 207 219 this.groupBox2.Name = "groupBox2"; 208 this.groupBox2.Size = new System.Drawing.Size(2 84, 60);220 this.groupBox2.Size = new System.Drawing.Size(268, 60); 209 221 this.groupBox2.TabIndex = 20; 210 222 this.groupBox2.TabStop = false; … … 214 226 // 215 227 this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 216 this.label7.Location = new System.Drawing.Point(2 36, 24);228 this.label7.Location = new System.Drawing.Point(220, 24); 217 229 this.label7.Name = "label7"; 218 230 this.label7.Size = new System.Drawing.Size(40, 11); … … 238 250 this.trackBarPatternSize.Minimum = 10; 239 251 this.trackBarPatternSize.Name = "trackBarPatternSize"; 240 this.trackBarPatternSize.Size = new System.Drawing.Size(1 76, 45);252 this.trackBarPatternSize.Size = new System.Drawing.Size(160, 45); 241 253 this.trackBarPatternSize.TabIndex = 19; 242 254 this.trackBarPatternSize.TickFrequency = 10; … … 248 260 this.linkWebSite.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 249 261 | System.Windows.Forms.AnchorStyles.Right))); 250 this.linkWebSite.Location = new System.Drawing.Point(265, 12); 262 this.linkWebSite.AutoSize = true; 263 this.linkWebSite.Location = new System.Drawing.Point(283, 66); 251 264 this.linkWebSite.Name = "linkWebSite"; 252 this.linkWebSite.Size = new System.Drawing.Size( 217, 16);265 this.linkWebSite.Size = new System.Drawing.Size(0, 12); 253 266 this.linkWebSite.TabIndex = 14; 254 267 this.linkWebSite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkWebSite_LinkClicked); … … 256 269 // label1 257 270 // 258 this.label1.Location = new System.Drawing.Point( 196, 12);271 this.label1.Location = new System.Drawing.Point(214, 66); 259 272 this.label1.Name = "label1"; 260 273 this.label1.Size = new System.Drawing.Size(63, 17); … … 262 275 this.label1.Text = "EFuTCg:"; 263 276 // 277 // label3 278 // 279 this.label3.Location = new System.Drawing.Point(214, 32); 280 this.label3.Name = "label3"; 281 this.label3.Size = new System.Drawing.Size(63, 17); 282 this.label3.TabIndex = 22; 283 this.label3.Text = "»ìÒ:"; 284 // 285 // label4 286 // 287 this.label4.Location = new System.Drawing.Point(214, 49); 288 this.label4.Name = "label4"; 289 this.label4.Size = new System.Drawing.Size(63, 17); 290 this.label4.TabIndex = 22; 291 this.label4.Text = "o[W:"; 292 // 293 // lblAuthor 294 // 295 this.lblAuthor.AutoSize = true; 296 this.lblAuthor.Location = new System.Drawing.Point(283, 32); 297 this.lblAuthor.Name = "lblAuthor"; 298 this.lblAuthor.Size = new System.Drawing.Size(17, 12); 299 this.lblAuthor.TabIndex = 23; 300 this.lblAuthor.Text = "--"; 301 // 302 // lblVersion 303 // 304 this.lblVersion.AutoSize = true; 305 this.lblVersion.Location = new System.Drawing.Point(283, 49); 306 this.lblVersion.Name = "lblVersion"; 307 this.lblVersion.Size = new System.Drawing.Size(17, 12); 308 this.lblVersion.TabIndex = 24; 309 this.lblVersion.Text = "--"; 310 // 311 // label9 312 // 313 this.label9.Location = new System.Drawing.Point(214, 15); 314 this.label9.Name = "label9"; 315 this.label9.Size = new System.Drawing.Size(63, 17); 316 this.label9.TabIndex = 22; 317 this.label9.Text = "¼Ì:"; 318 // 319 // lblTitle 320 // 321 this.lblTitle.AutoSize = true; 322 this.lblTitle.Location = new System.Drawing.Point(283, 15); 323 this.lblTitle.Name = "lblTitle"; 324 this.lblTitle.Size = new System.Drawing.Size(17, 12); 325 this.lblTitle.TabIndex = 23; 326 this.lblTitle.Text = "--"; 327 // 264 328 // ConfigurationForm 265 329 // 266 330 this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); 267 331 this.ClientSize = new System.Drawing.Size(494, 349); 332 this.Controls.Add(this.lblVersion); 333 this.Controls.Add(this.lblTitle); 334 this.Controls.Add(this.lblAuthor); 335 this.Controls.Add(this.label9); 336 this.Controls.Add(this.label4); 337 this.Controls.Add(this.label3); 268 338 this.Controls.Add(this.groupBox2); 269 339 this.Controls.Add(this.groupBox1); … … 288 358 ((System.ComponentModel.ISupportInitialize)(this.trackBarPatternSize)).EndInit(); 289 359 this.ResumeLayout(false); 360 this.PerformLayout(); 290 361 291 362 } … … 398 469 { 399 470 ListViewItem item = listViewFaces.SelectedItems[0]; 400 linkWebSite.Text = item.SubItems[4].Text; 401 402 _config.FaceDefPath = item.SubItems[1].Text; 471 lblTitle.Text = item.Text; 472 lblAuthor.Text = item.SubItems[2].Text; 473 lblVersion.Text = item.SubItems[3].Text; 474 linkWebSite.Text = item.SubItems[4].Text; 475 476 _config.FaceDefPath = item.SubItems[1].Text; 403 477 ConfigChanged(); 404 478 } 405 479 else 406 480 { 407 linkWebSite.Text = ""; 481 lblTitle.Text = ""; 482 lblAuthor.Text = ""; 483 lblVersion.Text = ""; 484 linkWebSite.Text = ""; 408 485 } 409 486 }
Note: See TracChangeset
for help on using the changeset viewer.