Forex_Strategy_Builder.Trading_Charges.BtnDefault_Click C# (CSharp) Method

BtnDefault_Click() private method

private BtnDefault_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        void BtnDefault_Click(object sender, EventArgs e)
        {
            Instrument_Properties ip = new Instrument_Properties(Data.InstrProperties.Symbol, Data.InstrProperties.InstrType);

            nudSpread.Value     = (decimal)ip.Spread;
            nudSwapLong.Value   = (decimal)ip.SwapLong;
            nudSwapShort.Value  = (decimal)ip.SwapShort;
            nudSlippage.Value   = (decimal)ip.Slippage;
            nudCommission.Value = (decimal)ip.Commission;

            return;
        }