Esempio n. 1
0
        private void NewChartConfigurationForm()
        {
            panelConfigurationForm.Controls.Clear();

            if (configForm != null)
            {
                configForm.Close();
                configForm = null;
            }
            configForm = new ChartConfigurationForm(chart1);

            configForm.FormBorderStyle = FormBorderStyle.None;
            configForm.TopLevel        = false;
            configForm.Dock            = DockStyle.Fill;
            panelConfigurationForm.Controls.Add(configForm);
            configForm.Show();
        }
Esempio n. 2
0
        private void NewChartConfigurationForm()
        {
            panelConfigurationForm.Controls.Clear();

            if (configForm != null)
            {
                configForm.Close();
                configForm = null;
            }
            setCostumConfigurationPropertyForCurrentBarComponentToolStripMenuItem.Checked = false;
            configForm = new ChartConfigurationForm(chart1);

            if (bAddCustomIcon)
            {
                configForm.LoadIcon = global::HowToWork.Properties.Resources.Open16X16;
                configForm.SaveIcon = global::HowToWork.Properties.Resources.Save16X16;
            }

            configForm.FormBorderStyle = FormBorderStyle.None;
            configForm.TopLevel        = false;
            configForm.Dock            = DockStyle.Fill;
            panelConfigurationForm.Controls.Add(configForm);
            configForm.Show();
        }