Ejemplo n.º 1
0
 public Otdely(MySqlOperations mySqlOperations, MySqlQueries mySqlQueries, string iD)
 {
     InitializeComponent();
     MySqlOperations = mySqlOperations;
     MySqlQueries    = mySqlQueries;
     ID = iD;
 }
Ejemplo n.º 2
0
 public Sotrudniki(MySqlOperations mySqlOperations, MySqlQueries mySqlQueries, string iD)
 {
     InitializeComponent();
     MySqlOperations = mySqlOperations;
     MySqlQueries    = mySqlQueries;
     ID = iD;
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Otdely_ComboBox, comboBox1);
 }
Ejemplo n.º 3
0
 public Othody(MySqlOperations mySqlOperations, MySqlQueries mySqlQueries, string iD)
 {
     InitializeComponent();
     MySqlOperations = mySqlOperations;
     MySqlQueries    = mySqlQueries;
     ID = iD;
     comboBox1.SelectedItem = comboBox1.Items[0];
     comboBox2.SelectedItem = comboBox2.Items[0];
 }
Ejemplo n.º 4
0
 public User_Main(string iD)
 {
     InitializeComponent();
     MySqlQueries    = new MySqlQueries();
     MySqlOperations = new MySqlOperations(MySqlQueries);
     ID = iD;
     MySqlOperations.Select_DataGridView(MySqlQueries.Select_Kartochka_Otdela, dataGridView1, ID);
     identify = "kartochka";
 }
Ejemplo n.º 5
0
 public Kartochka(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD)
 {
     InitializeComponent();
     MySqlQueries    = mySqlQueries;
     MySqlOperations = mySqlOperations;
     ID = iD;
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Otdely_ComboBox, comboBox1);
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Othody_ComboBox, comboBox2);
 }
Ejemplo n.º 6
0
        public Ubytiya(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD)
        {
            InitializeComponent();
            MySqlQueries    = mySqlQueries;
            MySqlOperations = mySqlOperations;
            ID = iD;
            MySqlOperations.Select_ComboBox(MySqlQueries.Select_Organizacii_ComboBox, comboBox1);
            string output = string.Empty;

            MySqlOperations.Select_Text(MySqlQueries.Select_Sum_Pribytiya, ref output, ID);
            textBox1.Text = output;
        }
Ejemplo n.º 7
0
 public Avtorizacia()
 {
     InitializeComponent();
     MySqlQueries    = new MySqlQueries();
     MySqlOperations = new MySqlOperations(MySqlQueries);
 }
Ejemplo n.º 8
0
 public Main()
 {
     InitializeComponent();
     MySqlQueries    = new MySqlQueries();
     MySqlOperations = new MySqlOperations(MySqlQueries);
 }