Exemplo n.º 1
0
        private void drawingShapesFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DrawingShapes newDrawingShapes = new DrawingShapes();

            i1++;

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

            newDrawingShapes.Show();
        }
Exemplo n.º 2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            mainMenuStrip.MdiWindowListItem = windowToolStripMenuItem;

            //
            HandlingText newHandlingText = new HandlingText();

            i2++;

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

            newHandlingText.Show();


            //
            newDrawingShapes = new DrawingShapes();
            i1++;

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

            newDrawingShapes.Show();
        }