Sometimes it is useful to use the TradeStation toolbox and components (such as the Price Series Provider or Quotes Provider) to setup the code and then copy it into the main program. This quick-tip describes two ways to do this.
The InitializeComponent( ) method should not be included outside of Designer Generated Code.