Beispiel #1
0
        private void btn_giris_Click(object sender, EventArgs e)
        {
            IniFile ini2 = new IniFile(master_ini_path);

            label3.Text = ini2.IniReadValue("kullanıcı", "sifre");
            if (textBoxX2.Text.ToLower() == label3.Text)
            {
                anaForm yeniform = new anaForm();
                yeniform.Show();
                this.Hide();
            }
            else
            {
                MessageBoxEx.EnableGlass = false;
                MessageBoxEx.Show("şifreniz yanlış", "UYARI", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                textBoxX2.Focus();
            }
        }