コード例 #1
0
        private void продавецToolStripMenuItem_Click(object sender, EventArgs e)
        {
            mdlData.StatusAdd = false;
            AddSellers Form = new AddSellers();

            Form.Owner = this;
            Form.Show();
            if (mdlData.StatusAdd != false)
            {
                Data.EventHandlerSellers(addI.Value, addI.Value_ObjectN, addI.Value_Client, addI.Value_Performer);
            }
        }
コード例 #2
0
 private void btnScan_Click(object sender, EventArgs e)
 {
     ActiveButton(false);
     if (mdlData.ScanDocRadioBtn == 0)
     {
         MessageBox.Show("Вы ничего не выбрали", "Внимание", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     if (mdlData.ScanDocRadioBtn > 0 && mdlData.CountScanDocument == 0)
     {
         mdlData.StatusAdd = false;
         AddSellers Form = new AddSellers();
         Form.Owner = this;
         Form.Show();
         mdlData.CountScanDocument++;
     }
     else if (mdlData.ScanDocRadioBtn > 0 && mdlData.CountScanDocument != 0)
     {
         Data.EventHandlerScan();
     }
     ActiveButton(true);
 }
コード例 #3
0
 public frmKalendar2(AddSellers form)
 {
     InitializeComponent();
     _owner = form;
 }