Ejemplo n.º 1
0
        public main_form()
        {
            InitializeComponent();
            main_mngr = new main_contr();

            var password = new password_form(give_access);

            password.Show();
        }
Ejemplo n.º 2
0
        private void close(object sender, EventArgs e)
        {
            Properties.Settings settings = new Properties.Settings();
            string password = settings.Пароль;
            string input    = text_box.Text;

            if (password != input && exit_flag != true)
            {
                var pass = new password_form(access);
                pass.Show();
            }
        }