Esempio 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();
        }
Esempio n. 2
0
        private void enterProductFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EnterProductForm newEnterProductForm = new EnterProductForm();
            i1++;

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

            newEnterProductForm.Show();
        }
Esempio n. 3
0
        private void enterProductFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EnterProductForm newEnterProductForm = new EnterProductForm();

            i1++;

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

            newEnterProductForm.Show();
        }
Esempio 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();
        }