Exemplo n.º 1
0
        private void Ayarlar_FormClosed(object sender, FormClosedEventArgs e)
        {
            KayıtFormu frm = new KayıtFormu();

            frm.Show();
            this.Hide();
        }
        private void resim_silme_FormClosed(object sender, FormClosedEventArgs e)
        {
            KayıtFormu frm = new KayıtFormu();

            frm.Show();
            this.Hide();
        }
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (kayit_adedi <= 0)
     {
         KayıtFormu frm = new KayıtFormu();
         frm.Show();
         this.Close();
     }
 }
Exemplo n.º 4
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (radioButton1.Checked == true)
            {
                radioButton = 5;
            }
            if (radioButton2.Checked == true)
            {
                radioButton = 10;
            }
            if (radioButton3.Checked == true)
            {
                radioButton = 30;
            }
            if (radioButton4.Checked == true)
            {
                radioButton = 60;
            }
            if (radioButton5.Checked == true)
            {
                radioButton = 300;
            }
            if (radioButton6.Checked == true)
            {
                radioButton = 900;
            }
            if (radioButton7.Checked == true)
            {
                radioButton = 1800;
            }
            if (radioButton8.Checked == true)
            {
                radioButton = 3600;
            }
            sure = radioButton;
            //
            baglan.Close();
            baglan.Open();
            sorgu.Connection  = baglan;
            sorgu.CommandText = "update Kayit set goruntuSuresi=" + radioButton + "";
            sorgu.ExecuteNonQuery();
            baglan.Close();
            //
            ackapat();
            KayıtFormu frm = new KayıtFormu();

            frm.Show();
            this.Hide();
        }
 private void button1_Click(object sender, EventArgs e)
 {
     textBox1.Text = textBox1.Text.Trim();
     //try
     //{
     if (sifreCek == textBox1.Text)
     {
         MessageBox.Show("Şifre Doğru");
         KayıtFormu frm = new KayıtFormu();
         notifyIcon1.Visible = false;
         frm.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Şifre Yanlış");
     }
     //}
     //catch (Exception)
     //{
     //    MessageBox.Show("Lütfen Şifreyi Giriniz");
     //}
 }