예제 #1
0
 private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         a = comboBox2.SelectedValue.ToString();
         FilterClass.Filter9(a);
         DeloDG.DataSource = FilterClass.filter9;
     }
     catch { }
 }
예제 #2
0
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         a = comboBox1.SelectedValue.ToString();
         FilterClass.Filter1(a);
         DocumentGrid.DataSource = FilterClass.filter1;
     }
     catch { };
 }
예제 #3
0
 private void button3_Click_2(object sender, EventArgs e)
 {
     if ((dateTimePicker3.Value < dateTimePicker4.Value) || (dateTimePicker3.Value == dateTimePicker4.Value))
     {
         FilterClass.Filter3(dateTimePicker3.Value, dateTimePicker4.Value);
         YCGrid.DataSource = FilterClass.filter3;
     }
     else
     {
         MessageBox.Show("Даты выбранны некорретно");
     }
 }
예제 #4
0
 private void textBox1_TextChanged(object sender, EventArgs e)
 {
     FilterClass.Filter7(textBox1.Text);
     WorkersGrid.DataSource = FilterClass.filter7;
 }
예제 #5
0
 private void textBox1_TextChanged(object sender, EventArgs e)
 {
     FilterClass.Filter5(textBox1.Text);
     ClientGrid.DataSource = FilterClass.filter5;
 }
예제 #6
0
 private void textBox3_TextChanged(object sender, EventArgs e)
 {
     FilterClass.Filter2(textBox3.Text);
     YCGrid.DataSource = FilterClass.filter2;
 }