Forex_Strategy_Builder.Actions.ShowInstrumentEditor C# (CSharp) Метод

ShowInstrumentEditor() приватный Метод

Shows the Instrument Editor dialog.
private ShowInstrumentEditor ( ) : void
Результат void
        void ShowInstrumentEditor()
        {
            Instrument_Editor instrEditor = new Instrument_Editor();
            instrEditor.ShowDialog();

            if (instrEditor.NeedReset)
            {
                isDiscardSelectedIndexChange = true;

                tscbSymbol.Items.Clear();
                tscbSymbol.Items.AddRange(Instruments.SymbolList);
                tscbSymbol.SelectedIndex = tscbSymbol.Items.IndexOf(Data.Symbol);

                isDiscardSelectedIndexChange = false;
            }

            Data.InstrProperties = Instruments.InstrumentList[Data.InstrProperties.Symbol].Clone();
            SetInstrumentDataStatusBar();
            Calculate(false);

            return;
        }
Actions