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

            frm.Show();
        }
Example #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();
      }