Exemplo 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);
 }
Exemplo 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);
     }
 }
Exemplo 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);
     }
 }
Exemplo 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);
 }