Example #1
0
        private void ShowPurches()
        {
            var purches = new Purches();

            purches.Show();
            this.Hide();
        }
Example #2
0
        private void tOOLSToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Purches p = new Purches();

            p.Show();
            this.Hide();
        }
Example #3
0
        private void pURCHASEToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Purches p = new Purches();

            p.TopLevel        = false;
            p.AutoScroll      = true;
            p.FormBorderStyle = FormBorderStyle.None;
            p.Dock            = DockStyle.Fill;

            this.panelDisplay.Controls.Clear();//Clear panelDisplay
            this.panelDisplay.Controls.Add(p);
            p.Show();
        }