예제 #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (this.m_provider != null)
         {
             this.m_provider.TextChanged -= new EventHandler(this.MaskProviderTextChanged);
         }
         this.m_provider = null;
     }
     base.Dispose(disposing);
 }
예제 #2
0
 public MaskedTextBox(Resco.Controls.MaskedTextBox.MaskedTextProvider maskedTextProvider)
 {
     this.m_wndproc = IntPtr.Zero;
     this.m_wndprocReal = IntPtr.Zero;
     this.m_provider = maskedTextProvider;
     this.m_provider.TextChanged += new EventHandler(this.MaskProviderTextChanged);
     this.m_caret = 0;
     this.m_internalTextSet = false;
     this.m_beepOnError = false;
     this.m_hidePromptOnLeave = false;
     base.Multiline = false;
     this.m_validatingType = null;
 }
예제 #3
0
 public MaskedTextBox(Resco.Controls.MaskedTextBox.MaskedTextProvider maskedTextProvider)
 {
     this.m_wndproc               = IntPtr.Zero;
     this.m_wndprocReal           = IntPtr.Zero;
     this.m_provider              = maskedTextProvider;
     this.m_provider.TextChanged += new EventHandler(this.MaskProviderTextChanged);
     this.m_caret             = 0;
     this.m_internalTextSet   = false;
     this.m_beepOnError       = false;
     this.m_hidePromptOnLeave = false;
     base.Multiline           = false;
     this.m_validatingType    = null;
 }
예제 #4
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (this.m_provider != null)
         {
             this.m_provider.TextChanged -= new EventHandler(this.MaskProviderTextChanged);
         }
         this.m_provider = null;
     }
     base.Dispose(disposing);
 }