示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            AdminGirisEkran sahip = (AdminGirisEkran)this.Owner;

            sahip.btnGiris.Visible    = true;
            sahip.pictureBox1.Visible = false;
            sahip.txtSifre.Text       = "";
            sahip.Show();
            this.Close();
        } //ÇIKIŞ
示例#2
0
        } //Normal Giriş

        private void Timer1_Tick(object sender, EventArgs e)
        {
            timer1.Stop();

            if (adm)
            {
                AdminGirisEkran adminGiris = new AdminGirisEkran()
                {
                    Owner = this
                };
                adminGiris.Show();
                this.Hide();
            }
            else
            {
                AnaEkran ekran = new AnaEkran()
                {
                    Owner = this
                };
                ekran.Show();
                this.Hide();
            }
        } //Bekleme Efekti