Ejemplo n.º 1
0
 private void tsbDebitor_Click(object sender, System.EventArgs e)
 {
     this.m_WindowState = base.WindowState;
     base.set_Enabled(false);
     DebitorsForm form = new DebitorsForm();
     form.add_Resize(new System.EventHandler(this.ChildFormResize));
     form.add_FormClosed(new System.Windows.Forms.FormClosedEventHandler(this.ChildFormClosed));
     form.Show(this);
 }
Ejemplo n.º 2
0
 protected override void OnSizeChanged( EventArgs e )
 {
     base.OnSizeChanged( e );
     if( this.lastWindowState != this.WindowState ) {
         this.listener.windowStateChanged();
     }
     this.lastWindowState = this.WindowState;
 }