Esempio n. 1
0
        private void btnContinue_Click(object sender, EventArgs e)
        {
            if (AreCmbBoxesValid())
            {
                ValidateUpdateTargetMargin();
                var _Deal_Manager = DealManagement.GetInstance();

                if (AreEnteredUnitsValid())
                {
                    lblErrorMssg.Visible      = false;
                    lblErrorMssgUnits.Visible = false;
                    CalculateOutputs();
                    TabControl.EnableTab(costTab);
                    TabControl.EnableTab(pricingTab);
                    TabControl.EnableTab(TabCasperCostInput);
                    TabControl.SelectTab(costTab);
                }
                else
                {
                    GridTecnologies.CurrentCell = GridTecnologies.Rows[0].Cells[1];
                    GridTecnologies.BeginEdit(true);
                }
            }
        }