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); } }
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); }
public frmKalendar2(AddSellers form) { InitializeComponent(); _owner = form; }