User login

  

ILinkableComponent interface

If panel support instrument link, it shall realize ILinkableComponent interface.

    /// <summary> 
    /// If designed component supports link model of ProTrader 
    /// it shall implement this interface 
    /// </summary> 
    public interface ILinkableComponent : IExternalComponent 
    { 
        /// <summary> 
        /// Current link symbol of the panel 
        /// </summary> 
        string Symbol { get;} 
 
        /// <summary> 
        /// This method will be called before link symbol will be changed 
        /// </summary> 
        /// <param name="newSymbol"></param> 
        void OnChangeSymbol(string newSymbol); 
    }

Property is changed to new Instrument. Method is called by ProTrader at Instrument change and
component shall handle it.
Note: Only one-way linking is supported for now.

12345