Canguro.Commands.Model.AnalysisOptionsDialog.analyzeButton2_Click C# (CSharp) Method

analyzeButton2_Click() private method

private analyzeButton2_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void analyzeButton2_Click(object sender, EventArgs e)
        {
            if (currentDesignOptions is ConcreteDesignOptions)
                currentDesignOptions = null;
            else if (currentDesignOptions is SteelDesignOptions)
                currentDesignOptions = (services.Model.ConcreteDesignOptions is ConcreteDesignOptions) ?
                    services.Model.ConcreteDesignOptions : null;

            AnalyzeButton_Click(sender, e);
        }