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 }
/// <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(); }