Esempio n. 1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing && (this.m_TextBox != null))
     {
         this.m_TextBox.Dispose();
     }
     this.m_TextBox = null;
     base.Dispose(disposing);
 }
Esempio n. 2
0
 internal ComboBoxEx()
 {
     if (Imports.IsSmartphone)
     {
         this.m_TextBox = new TextBoxEx();
         this.m_TextBox.Text = "";
         this.m_TextBox.BorderStyle = BorderStyle.None;
         this.m_TextBox.Multiline = false;
         this.m_TextBox.Hide();
         this.m_TextBox.KeyDown += new KeyEventHandler(this.m_TextBox_KeyDown);
         this.m_TextBox.KeyPress += new KeyPressEventHandler(this.m_TextBox_KeyPress);
         this.m_TextBox.KeyUp += new KeyEventHandler(this.m_TextBox_KeyUp);
         this.m_TextBox.LostFocus += new EventHandler(this.m_TextBox_LostFocus);
         this.m_TextBox.TextChanged += new EventHandler(this.m_TextBox_TextChanged);
     }
 }
Esempio n. 3
0
 internal ComboBoxEx()
 {
     if (Imports.IsSmartphone)
     {
         this.m_TextBox             = new TextBoxEx();
         this.m_TextBox.Text        = "";
         this.m_TextBox.BorderStyle = BorderStyle.None;
         this.m_TextBox.Multiline   = false;
         this.m_TextBox.Hide();
         this.m_TextBox.KeyDown     += new KeyEventHandler(this.m_TextBox_KeyDown);
         this.m_TextBox.KeyPress    += new KeyPressEventHandler(this.m_TextBox_KeyPress);
         this.m_TextBox.KeyUp       += new KeyEventHandler(this.m_TextBox_KeyUp);
         this.m_TextBox.LostFocus   += new EventHandler(this.m_TextBox_LostFocus);
         this.m_TextBox.TextChanged += new EventHandler(this.m_TextBox_TextChanged);
     }
 }
Esempio n. 4
0
 protected override void Dispose(bool disposing)
 {
     if (disposing && (this.m_TextBox != null))
     {
         this.m_TextBox.Dispose();
     }
     this.m_TextBox = null;
     base.Dispose(disposing);
 }