public ProductCE(string Def, int ID) { InitializeComponent(); // ProductID = ID; // Clear(); TimerLanguage.Start(); // ComboBoxUOM.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; ReaderTableUOM(); // BtnCreation.Visible = false; BtnEditing.Visible = false; BoxError.Visible = false; // if (Def == "Creation") { Create(); } if (Def == "Editing") { Edit(ID); } }
public FormAuthorization() { InitializeComponent(); TimerLanguage.Start(); PasswordShow.Hide(); PanelWarning.Hide(); }
public AcceptedCE() { InitializeComponent(); // Clear(); TimerLanguage.Start(); // ComboBoxWarehouse.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; ComboBoxProduct.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; ReaderTableWarehouse(); ReaderTableProducts(); // BoxError.Visible = false; }
public ClientsCE(string Def, string Loggin) { InitializeComponent(); // Clear(); TimerLanguage.Start(); // BtnCreation.Visible = false; BtnEditing.Visible = false; BoxError.Visible = false; // if (Def == "Creation") { Create(); } if (Def == "Editing") { Edit(Loggin); } }
public EmployeesCE(string Def, string Loggin) { InitializeComponent(); // Clear(); TimerLanguage.Start(); // ComboBoxRole.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; ComboBoxRole.Items.AddRange(new string[] { "Администратор", "Менеджер", "Кладовщик" }); // BtnCreation.Visible = false; BtnEditing.Visible = false; BoxError.Visible = false; // if (Def == "Creation") { Create(); } if (Def == "Editing") { Edit(Loggin); } }