Esempio n. 1
0
 public PrepodWin(string ID)
 {
     InitializeComponent();
     MySqlQueries    = new MySqlQueries();
     MySqlOperations = new MySqlOperations(MySqlQueries);
     this.ID_Prepoda = ID;
 }
Esempio n. 2
0
 public Auditorii(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD = null)
 {
     InitializeComponent();
     MySqlQueries    = mySqlQueries;
     MySqlOperations = mySqlOperations;
     this.ID         = iD;
 }
Esempio n. 3
0
 public Klassy(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD = null)
 {
     InitializeComponent();
     MySqlQueries           = mySqlQueries;
     MySqlOperations        = mySqlOperations;
     this.ID                = iD;
     comboBox1.SelectedItem = comboBox1.Items[0];
 }
Esempio n. 4
0
 public Prepod(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD = null)
 {
     InitializeComponent();
     MySqlQueries    = mySqlQueries;
     MySqlOperations = mySqlOperations;
     this.ID         = iD;
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Predmety_ComboBox, comboBox1);
 }
Esempio n. 5
0
 public Ucheniki(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD = null)
 {
     InitializeComponent();
     MySqlQueries    = mySqlQueries;
     MySqlOperations = mySqlOperations;
     this.ID         = iD;
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Klassy_ComboBox, comboBox1);
 }
Esempio n. 6
0
 public UchenikWin(string ID)
 {
     InitializeComponent();
     MySqlQueries     = new MySqlQueries();
     MySqlOperations  = new MySqlOperations(MySqlQueries);
     this.ID_Uchenika = ID;
     oldTimes         = new DateTime[2] {
         dateTimePicker1.Value, dateTimePicker1.Value
     };
 }
Esempio n. 7
0
 public Fakultativy(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD = null)
 {
     InitializeComponent();
     MySqlQueries    = mySqlQueries;
     MySqlOperations = mySqlOperations;
     this.ID         = iD;
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Predmety_ComboBox, comboBox1);
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Auditorii_ComboBox, comboBox2);
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Prepod_ComboBox, comboBox3);
     dateTimePicker2.Value   = DateTime.Parse("16:00:00");
     dateTimePicker2.MinDate = dateTimePicker2.Value;
 }
Esempio n. 8
0
 public Raspisanie(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD = null)
 {
     InitializeComponent();
     MySqlQueries    = mySqlQueries;
     MySqlOperations = mySqlOperations;
     ID = iD;
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Klassy_ComboBox, comboBox1);
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Predmety_ComboBox, comboBox3);
     MySqlOperations.Select_ComboBox(MySqlQueries.Select_Auditorii_ComboBox, comboBox4);
     comboBox2.SelectedItem = comboBox2.Items[0];
     comboBox5.SelectedItem = comboBox5.Items[0];
 }
Esempio n. 9
0
 public Zanyatiya(MySqlQueries mySqlQueries, MySqlOperations mySqlOperations, string iD, string iD2)
 {
     InitializeComponent();
     MySqlQueries    = mySqlQueries;
     MySqlOperations = mySqlOperations;
     ID_Zanyatiya    = iD;
     ID_Homework     = iD2;
     MySqlOperations.Select_DataGridView(MySqlQueries.Select_Otmetki_Zanyatiya, dataGridView1, ID_Zanyatiya);
     dataGridView1.Columns[0].Visible  = false;
     dataGridView1.Columns[1].ReadOnly = true;
     richTextBox1.Text = MySqlOperations.Select_Text(MySqlQueries.Select_Homework, ID_Homework);
 }
Esempio n. 10
0
 public Login()
 {
     InitializeComponent();
     MySqlQueries    = new MySqlQueries();
     MySqlOperations = new MySqlOperations(MySqlQueries);
 }