private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) { try { a = comboBox2.SelectedValue.ToString(); FilterClass.Filter9(a); DeloDG.DataSource = FilterClass.filter9; } catch { } }
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { try { a = comboBox1.SelectedValue.ToString(); FilterClass.Filter1(a); DocumentGrid.DataSource = FilterClass.filter1; } catch { }; }
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("Даты выбранны некорретно"); } }
private void textBox1_TextChanged(object sender, EventArgs e) { FilterClass.Filter7(textBox1.Text); WorkersGrid.DataSource = FilterClass.filter7; }
private void textBox1_TextChanged(object sender, EventArgs e) { FilterClass.Filter5(textBox1.Text); ClientGrid.DataSource = FilterClass.filter5; }
private void textBox3_TextChanged(object sender, EventArgs e) { FilterClass.Filter2(textBox3.Text); YCGrid.DataSource = FilterClass.filter2; }