Example #1
0
        public void GriztiIsMasinosPavadinimas()
        {
            ProgramForm form = new ProgramForm(formosKeitimas, Redaguoti)
            {
                Dock = DockStyle.Fill
            };

            form.TopLevel = false;
            form.AutoSize = false;

            panel1.Controls.Clear();
            panel1.Controls.Add(form);
            form.Show();
        }
Example #2
0
        public void griztiPoRegitracijos()
        {
            ProgramForm form = new ProgramForm(formosKeitimas, Redaguoti)
            {
                Dock = DockStyle.Fill
            };

            form.TopLevel = false;
            form.AutoSize = false;

            panel1.Controls.Clear();
            panel1.Controls.Add(form);
            form.Show();
        }
Example #3
0
        public void IsjungtiLoginoForma()
        {
            this.MaximizeBox = true;
            panel1.Controls.Clear();
            ProgramForm form = new ProgramForm(formosKeitimas, Redaguoti)
            {
                Dock = DockStyle.Fill
            };

            form.TopLevel = false;
            form.AutoSize = false;

            panel1.Controls.Add(form);
            form.Show();
            this.WindowState = FormWindowState.Maximized;
            this.MaximizeBox = false;
        }