public FormCorrelationCoefficients(string[] variableList)
        {
            InitializeComponent();
            comboBoxXVariable.DataSource = variableList;
            comboBoxYVariable.DataSource = variableList;
            SubFormSettingsMenuItem settingsItem = new SubFormSettingsMenuItem();

            menuStrip1.Items.Add(settingsItem.SettingsToolStripMenuItem);
            checkBoxClearData.Checked = FrmMain.Instance.formSettings.DefaultDescriptiveStatisticsClearData;
            settingsItem.ClearDataDefaultToolStripMenuItem.Checked = FrmMain.Instance.formSettings.DefaultDescriptiveStatisticsClearData;
        }
Beispiel #2
0
        public FormLinearRegression(double[][] data, string[] vs)
        {
            InitializeComponent();
            variables  = vs;
            dataValues = data;
            comboBoxXVariable.Items.AddRange(variables);
            comboBoxYVariable.Items.AddRange(variables);
            SubFormSettingsMenuItem settingsItem = new SubFormSettingsMenuItem();

            menuStrip1.Items.Add(settingsItem.SettingsToolStripMenuItem);
            checkBoxClearData.Checked = FrmMain.Instance.formSettings.DefaultDescriptiveStatisticsClearData;
            settingsItem.ClearDataDefaultToolStripMenuItem.Checked = FrmMain.Instance.formSettings.DefaultDescriptiveStatisticsClearData;
        }
        public FormDS(string[] vl, double[][] myValues) //Form constructor
        {
            InitializeComponent();
            colNames             = vl;
            listDS.SelectionMode = SelectionMode.None;
            listDS.DataSource    = vl;
            listDS.SelectionMode = SelectionMode.MultiSimple;
            myVal = myValues;
            SubFormSettingsMenuItem settingsItem = new SubFormSettingsMenuItem();

            menuStrip1.Items.Add(settingsItem.SettingsToolStripMenuItem);
            checkBoxClearData.Checked = FrmMain.Instance.formSettings.DefaultDescriptiveStatisticsClearData;
            settingsItem.ClearDataDefaultToolStripMenuItem.Checked = FrmMain.Instance.formSettings.DefaultDescriptiveStatisticsClearData;
        }