Example #1
0
        private void Regist_FormClosing(object sender, FormClosingEventArgs e)
        {
            Autoriz autoriz = new Autoriz();

            autoriz.Show();
            Hide();
        }
Example #2
0
        private void выходИзПрофиляToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Program.Log = "";
            Autoriz autoriz = new Autoriz();

            autoriz.Show();
            Hide();
        }
Example #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            DataBaseProcedure procedure = new DataBaseProcedure();

            procedure.spProfile_New_User(textBox1.Text, textBox2.Text, 15, ofd.FileName);
            procedure.spKlient_Insert(textBox1.Text, textBox4.Text, textBox5.Text, textBox6.Text, dateTimePicker1.Text);
            Autoriz autoriz = new Autoriz();

            autoriz.Show();
            Hide();
        }