示例#1
0
        private void btnOk_Click(object sender, System.EventArgs e)
        {
            List <Variable> variables = new List <Variable>();

            foreach (DataGridViewRow row in uiDataGridView_Variables.Rows)
            {
                if (Convert.ToBoolean(row.Cells[uiDataGridViewColumn_VariableCheck.Name].Value) == true)
                {
                    variables.Add((Variable)row.DataBoundItem);
                }
            }
            presenter.createHistograms(variables, selectedDataSet());
            Close();
        }
示例#2
0
        private void btnOk_Click(object sender, System.EventArgs e)
        {
            List <Variable> variables = new List <Variable>();

            foreach (DataGridViewRow row in uiDataGridView_Variables.Rows)
            {
                if (Convert.ToBoolean(row.Cells[uiDataGridViewColumn_VariableCheck.Name].Value) == true)
                {
                    variables.Add((Variable)row.DataBoundItem);
                }
            }
            presenter.createHistograms(variables);
            Close();
            Globals.ExcelAddIn.Application.ActiveWindow.Activate();
        }