예제 #1
0
        private void PrisijungimasButton_Click(object sender, EventArgs e)
        {
            Prisijungimas prisijungimas = new Prisijungimas();

            prisijungimas.ShowDialog();
            this.Hide();
        }
예제 #2
0
        private void PrisijungimasButton_Click(object sender, EventArgs e)
        {
            Prisijungimas prisijungimas = new Prisijungimas();
            Form1         f1            = new Form1();

            f1.Close();
            prisijungimas.ShowDialog();
        }