Exemplo n.º 1
0
 private void suppliersButton_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (IsOpened(suppliersForm))
     {
         suppliersForm.Focus();
     }
     else
     {
         suppliersForm           = new SuppliersForm();
         suppliersForm.MdiParent = this;
         suppliersForm.Show();
     }
 }
Exemplo n.º 2
0
 private void suppliersButton_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (IsOpened(suppliersForm))
         suppliersForm.Focus();
     else
     {
         suppliersForm = new SuppliersForm();
         suppliersForm.MdiParent = this;
         suppliersForm.Show();
     }
 }