Beispiel #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();
        }
Beispiel #2
0
        private void displayProductFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DisplayProductForm newDisplayProductForm = new DisplayProductForm();
            i2++;

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

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

            i2++;

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

            newDisplayProductForm.Show();
        }
Beispiel #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();
        }