Exemple #1
0
        private void colorSelectToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ColorForm frm = new ColorForm();

            frm.Show();
            mode_select(4);
        }
Exemple #2
0
 private void цвToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!hasChilds)
     {
         hasChilds = true;
         ColorForm subform = new ColorForm(this);
         subform.Show();
     }
 }
        private void ColorButton_Click(object sender, EventArgs e)
        {
            var form = new ColorForm
            {
                MdiParent     = this,
                StartPosition = FormStartPosition.CenterScreen
            };

            form.Show();
        }