コード例 #1
0
        private void ClearBtn_Click(object sender, EventArgs e)
        {
            dataGridView1.DataSource = null;
            ResetUtilities resetUtilities = new ResetUtilities();

            resetUtilities.ResetAllControls(this);
        }
コード例 #2
0
        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();
            }
        }
コード例 #3
0
        private void newRegisterBtn_Click(object sender, EventArgs e)
        {
            ResetUtilities resetUtilities = new ResetUtilities();

            resetUtilities.ResetAllControls(this);
        }