Exemple #1
0
        private void SoruKaydetCikisButon_Click(object sender, EventArgs e)
        {
            this.Hide();
            LoginIndex frm = new LoginIndex();

            frm.Show();
        }
Exemple #2
0
      private void SoruKaydetCikisButon_Click(object sender, EventArgs e)
      {
          var sinav = (from ss in DB.Tbl_Sinav
                       orderby ss.ID descending
                       select ss).Take(1).FirstOrDefault();

          DB.Tbl_Sinav.Remove(sinav);
          DB.SaveChanges();

          this.Hide();
          LoginIndex frm = new LoginIndex();

          frm.Show();
      }