public void Loo()
        {
            RLogin log = new RLogin();

            log.MdiParent = this;
            log.Show();
        }
Exemple #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            RLogin rg = new RLogin();

            Application.Run(new Form1());
            if (rg.DialogResult == DialogResult.OK)
            {
                rg.Dispose();
                Application.Run(new Form1());
            }
        }
        private void Button1_Click(object sender, EventArgs e)
        {
            RLogin log = new RLogin();

            log.ShowDialog();
        }