コード例 #1
0
ファイル: TComboBox.cs プロジェクト: eture-server/Paway.Forms
 /// <summary>
 /// 释放资源
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
     }
     if (moveImage != null)
     {
         moveImage.Dispose();
     }
     if (tComboBox1 != null)
     {
         tComboBox1.Dispose();
         tComboBox1 = null;
     }
     if (_borderImage != null)
     {
         _borderImage.Dispose();
     }
     base.Dispose(disposing);
 }
コード例 #2
0
ファイル: TComboBox.cs プロジェクト: eture-server/Paway.Forms
 private void InitializeComponent()
 {
     this.tComboBox1 = new Paway.Forms.TComboBoxBase();
     this.SuspendLayout();
     //
     // tComboBox1
     //
     this.tComboBox1.IntegralHeight = false;
     this.tComboBox1.Location       = new System.Drawing.Point(1, 1);
     this.tComboBox1.Name           = "tComboBox1";
     this.tComboBox1.Size           = new System.Drawing.Size(121, 25);
     this.tComboBox1.TabIndex       = 0;
     //
     // TComboBox
     //
     this.Controls.Add(this.tComboBox1);
     this.Name = "TComboBox";
     this.Size = new System.Drawing.Size(123, 27);
     this.ResumeLayout(false);
 }