コード例 #1
0
ファイル: MainForm.cs プロジェクト: dziuba91/MyProjects
        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();
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: kira333/MyProjects
        private void enterProductFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EnterProductForm newEnterProductForm = new EnterProductForm();
            i1++;

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

            newEnterProductForm.Show();
        }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: dziuba91/MyProjects
        private void enterProductFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EnterProductForm newEnterProductForm = new EnterProductForm();

            i1++;

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

            newEnterProductForm.Show();
        }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: kira333/MyProjects
        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();
        }