示例#1
0
        private void BtnSil_Click(object sender, EventArgs e)
        {
            SqlCommand komut3 = new SqlCommand("Delete  From Tbl_Doktorlar Where DoktorTC=@f1", bgl.baglanti());

            komut3.Parameters.AddWithValue("@f1", MskTC.Text);
            komut3.ExecuteNonQuery();
            bgl.baglanti().Close();
            FrmDoktorPaneli fr = new FrmDoktorPaneli();

            fr.Show();
            this.Hide();
            MessageBox.Show("Kayıt Silindi");
        }
示例#2
0
        private void BtnDoktorPanel_Click(object sender, EventArgs e)
        {
            FrmDoktorPaneli frm = new FrmDoktorPaneli();

            frm.Show();
        }