Пример #1
0
 private void btnRent_Click(object sender, EventArgs e)
 {
     if (!((frmMain)this.MdiParent).focusForm("frmRent"))
     {
         frmRent FrmRent = new frmRent(getSelectedBook());
         FrmRent.MdiParent     = this.MdiParent;
         FrmRent.StartPosition = FormStartPosition.CenterParent;
         FrmRent.Show();
     }
 }
Пример #2
0
 private void openRent()
 {
     if (!((frmMain)this.MdiParent).focusForm("frmRent"))
     {
         frmRent FrmRent = new frmRent(getSelectedRent());
         FrmRent.MdiParent = this.MdiParent;
         FrmRent.StartPosition = FormStartPosition.CenterParent;
         FrmRent.Show();
     }
 }
Пример #3
0
 private void openRent()
 {
     if (!((frmMain)this.MdiParent).focusForm("frmRent"))
     {
         frmRent FrmRent = new frmRent(getSelectedRent());
         FrmRent.MdiParent     = this.MdiParent;
         FrmRent.StartPosition = FormStartPosition.CenterParent;
         FrmRent.Show();
     }
 }
Пример #4
0
 private void btnRent_Click(object sender, EventArgs e)
 {
     if (!((frmMain)this.MdiParent).focusForm("frmRent"))
     {
         frmRent FrmRent = new frmRent(getSelectedBook());
         FrmRent.MdiParent = this.MdiParent;
         FrmRent.StartPosition = FormStartPosition.CenterParent;
         FrmRent.Show();
     }
 }