コード例 #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);
     }
 }
コード例 #2
0
ファイル: Authorization.cs プロジェクト: TommyHard/i002
 public FormAuthorization()
 {
     InitializeComponent();
     TimerLanguage.Start();
     PasswordShow.Hide();
     PanelWarning.Hide();
 }
コード例 #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;
 }
コード例 #4
0
ファイル: ClientsCE.cs プロジェクト: TommyHard/i002
 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);
     }
 }
コード例 #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);
     }
 }