Exemplo n.º 1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            os = new ObjectSerialization();
            //os.clearFile(os.filePath);

            mainMenuStrip.MdiWindowListItem = windowToolStripMenuItem;

            //
            DisplayProductForm newDisplayProductForm = new DisplayProductForm();

            i2++;

            newDisplayProductForm.Text     += " " + i2;
            newDisplayProductForm.MdiParent = this;

            newDisplayProductForm.Show();


            EnterProductForm newEnterProductForm = new EnterProductForm();

            i1++;

            newEnterProductForm.Text     += " " + i1;
            newEnterProductForm.MdiParent = this;

            newEnterProductForm.Show();
        }
Exemplo n.º 2
0
        private void displayProductFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DisplayProductForm newDisplayProductForm = new DisplayProductForm();
            i2++;

            newDisplayProductForm.Text += " " + i2;
            newDisplayProductForm.MdiParent = this;

            newDisplayProductForm.Show();
        }
Exemplo n.º 3
0
        private void displayProductFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DisplayProductForm newDisplayProductForm = new DisplayProductForm();

            i2++;

            newDisplayProductForm.Text     += " " + i2;
            newDisplayProductForm.MdiParent = this;

            newDisplayProductForm.Show();
        }
Exemplo n.º 4
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            os = new ObjectSerialization();
            //os.clearFile(os.filePath);

            mainMenuStrip.MdiWindowListItem = windowToolStripMenuItem;

            //
            DisplayProductForm newDisplayProductForm = new DisplayProductForm();
            i2++;

            newDisplayProductForm.Text += " " + i2;
            newDisplayProductForm.MdiParent = this;

            newDisplayProductForm.Show();

            EnterProductForm newEnterProductForm = new EnterProductForm();
            i1++;

            newEnterProductForm.Text += " " + i1;
            newEnterProductForm.MdiParent = this;

            newEnterProductForm.Show();
        }