コード例 #1
0
        public frmContainer()
        {
            InitializeComponent();
            counter = 1;
            frmEditor editor = new frmEditor(this, counter);

            editor.Show();
        }
コード例 #2
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmEditor newForm = new frmEditor(this, ++counter);

            newForm.Show();
        }