예제 #1
0
        public void GriztiPoRegistracijos()
        {
            LogInForm form = new LogInForm(KeistiLoginForma);

            form.TopLevel = false;
            form.AutoSize = false;
            panel1.Controls.Clear();
            panel1.Controls.Add(form);
            form.Show();
        }
예제 #2
0
        public Form1()
        {
            InitializeComponent();
            this.WindowState = FormWindowState.Normal;
            this.MaximizeBox = false;

            LogInForm form = new LogInForm(IsjungtiLoginoForma);

            form.TopLevel = false;
            form.AutoSize = false;
            panel1.Controls.Add(form);

            form.Show();

            Task.Factory.StartNew(() => { timer1.Start(); });
        }