Пример #1
0
        private void mnuOption_Click(object sender, EventArgs e)
        {
            FormOption dlg = new FormOption(cirX, cirY, Thickness);
            //dlg.X = cirX;  dlg.Y=cirY;    dlg.Thick=Thickness;
            DialogResult ret = dlg.ShowDialog();

            if (ret == DialogResult.OK)
            {
                cirX      = dlg.X;
                cirY      = dlg.Y;
                Thickness = dlg.Thick;
            }
        }
Пример #2
0
        private void mnuOption_Click(object sender, EventArgs e)
        {
            FormOption dlg = new FormOption(cirX, cirY, Thickness);
            //dlg.X = cirX;  dlg.Y=cirY;    dlg.Thick=Thickness;
            DialogResult ret = dlg.ShowDialog();

            if (ret == DialogResult.OK)
            {
                cirX          = dlg.X;
                cirY          = dlg.Y;
                Thickness     = dlg.Thick;
                Col           = dlg.Col1;
                sbPanel3.Text = $"{dlg.ColorName}.{Thickness}";
            }
        }