//public new static int Width { get; private set; }

        public AddPlotForm(NewGraphitForm baseForm)
        {
            InitializeComponent();

            _baseForm = baseForm;
            Width     = Size.Width;

            colorCMB.DataSource = Utilities.ColorOptions;
            colorCMB.Text       = @"black";
        }
Ejemplo n.º 2
0
        private void launchNewGraphItWindowToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frm = new NewGraphitForm()
            {
                StartPosition = FormStartPosition.Manual,
                Width         = Width,
                Height        = Height,
                Location      = new Point(Location.X + Width - 13, Location.Y)
            };

            frm.Show();
        }