private void ClearBtn_Click(object sender, EventArgs e) { dataGridView1.DataSource = null; ResetUtilities resetUtilities = new ResetUtilities(); resetUtilities.ResetAllControls(this); }
private void findBtn_Click(object sender, EventArgs e) { dataGridView1.Rows.Clear(); dataGridView1.Refresh(); ResetUtilities resetUtilities = new ResetUtilities(); resetUtilities.ResetAllControls(this); previousProcesses = new List <string>(); previousProcessCmbBox.Items.Clear(); if (fileNoTxtBox.Text == "") { DosyaBul dosyaBul = new DosyaBul(); dosyaBul.Show(); this.Close(); } else { FileNo = fileNoTxtBox.Text; sql.HastaİslemleriBringDataFromHastaTable(); sql.HastaİslemleriBringDataFromSevkTable(); PropertiesToItemsData(); } }
private void newRegisterBtn_Click(object sender, EventArgs e) { ResetUtilities resetUtilities = new ResetUtilities(); resetUtilities.ResetAllControls(this); }