private void btn_Geri_Cik_Click(object sender, EventArgs e)
        {
            Kullanici_Girisi Kullanici_Girisi_Formu = new Kullanici_Girisi();

            Kullanici_Girisi_Formu.BackColor           = this.BackColor;
            Properties.Settings.Default.Kullanici_Idsi = 0;
            Settings.Default.Save();

            Kullanici_Girisi_Formu.Show();

            this.Hide();
        }
        private void btn_Giris_yap_Click(object sender, EventArgs e)
        {
            try
            {
                Kullanici_Girisi Kullanici_Girisi_Formu = new Kullanici_Girisi();
                Kullanici_Girisi_Formu.kullanici_Giris(txt_Kullanici_Idsi, txt_Kullanici_Sifresi);

                this.Hide();
            }
            catch
            {
                MessageBox.Show("Islem yapoilirken bir hata olustu. \n Kullanici idsi bolumune id numaranizi girmelisiniz. Lutfen kontrol ediniz!");
            }
        }
Example #3
0
 private void btn_Kullanici_Girisi_Click(object sender, EventArgs e)
 {
     if (Properties.Settings.Default.Kullanici_Idsi != 0)
     {
         Kullanici_Sayfasi_Formu = new Kullanici_Sayfasi(Convert.ToInt32(Properties.Settings.Default.Kullanici_Idsi));
         Kullanici_Sayfasi_Formu.Show();
         this.Hide();
     }
     else
     {
         Kullanici_Girisi Kullanici_Girisi_Formu = new Kullanici_Girisi();
         Kullanici_Girisi_Formu.Show();
         this.Hide();
     }
 }