Пример #1
0
        public Form1()
        {
            InitializeComponent();
            UI_InicioDeSesion form = new UI_InicioDeSesion();

            form.SetAuthorized(false);
        }
Пример #2
0
        //Variables

        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text == masterKey)
            {
                UI_InicioDeSesion form = new UI_InicioDeSesion();
                form.SetAuthorized(true);
                this.Close();
            }
            else
            {
                UI_InicioDeSesion form = new UI_InicioDeSesion();
                form.SetAuthorized(false);
                this.Close();
            }
        }