コード例 #1
0
 private void barBtnSupplier_ItemClick(object sender, ItemClickEventArgs e)
 {
     i = frmSupplier.m;
     if (i < 1)
     {
         frmSupplier frm = new frmSupplier();
         frm.MdiParent = this;
         frm.Show();
         i++;
     }
 }
コード例 #2
0
 private void barBtnSupplier_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (m == 2)
     {
         i = 0;
         m = 1;
     }
     else
     {
         i = frmSupplier.m;
     }
     if (i < 1 || i == 3)
     {
         frmSupplier frm = new frmSupplier();
         frm.MdiParent = this;
         frm.Show();
         i++;
     }
 }