Example #1
0
        public GreyExit()
            : base()
        {
            Version = "$Rev: 1";
            Name    = "GreyBox" + CleanVersion;

            // here's how we prompt for parameters
            ParamPrompt param = new ParamPrompt(this); // read the parameters

            param.Show();                              // display the prompt
        }
Example #2
0
        /// <summary>
        /// Demo of box order-canceling features
        /// </summary>
        public OpenCancel()
        {
            Name = "OpenCancel";

            // we'll use full orders, not just market-based adjustments
            QuickOrder = false;


            // prompt for parameters so user can change minsize if they want
            ParamPrompt p = new ParamPrompt(this);

            p.Show();
        }