Exemple #1
0
 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);
     }
 }
Exemple #2
0
 public FormAuthorization()
 {
     InitializeComponent();
     TimerLanguage.Start();
     PasswordShow.Hide();
     PanelWarning.Hide();
 }
Exemple #3
0
 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;
 }
Exemple #4
0
 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);
     }
 }
Exemple #5
0
 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);
     }
 }