Exemplo n.º 1
0
        void UpdateAcrossAllModelsInScenarioToolStripMenuItemClick(object sender, EventArgs e)
        {
            CommonVariableFinder common = new CommonVariableFinder {
                SelectedScenario = this.scenarioList1.SelectedScenario
            };

            common.GetCommonVariables();

            MultipleUpdateDialog dialog = new MultipleUpdateDialog();

            dialog.SelectedVariable = this.variableDetailsView1.SelectedVariable;
            dialog.Common           = common;
            dialog.Closed          += this.MultipleUpdateDialogClose;

            dialog.ShowDialog();
        }
Exemplo n.º 2
0
        void UpdateAcrossAllModelsInScenarioToolStripMenuItemClick(object sender, EventArgs e)
        {
            CommonVariableFinder common = new CommonVariableFinder{SelectedScenario = this.scenarioList1.SelectedScenario};
            common.GetCommonVariables();

            MultipleUpdateDialog dialog = new MultipleUpdateDialog();
            dialog.SelectedVariable = this.variableDetailsView1.SelectedVariable;
            dialog.Common = common;
            dialog.Closed += this.MultipleUpdateDialogClose;

            dialog.ShowDialog();
        }