Forex_Strategy_Builder.Dialogs.Generator.IndicatorsLayout.CbxIndicatorSlot_SelectedIndexChanged C# (CSharp) Method

CbxIndicatorSlot_SelectedIndexChanged() private method

Change of the slot type.
private CbxIndicatorSlot_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        void CbxIndicatorSlot_SelectedIndexChanged(object sender, EventArgs e)
        {
            currentSlotType = (SlotTypes)(Enum.GetValues(typeof(SlotTypes)).GetValue(cbxIndicatorSlot.SelectedIndex + 1));
            ArrangeIndicatorsSlots();
            SetStatusButton();
            SetVerticalScrollBar();
            vScrollBar.Select();
        }