private void aceOption_Click(object sender, EventArgs e) { var instrumentForm = new Controls.OptionUserControl(); instrumentForm.Text = "Options"; tabbedView.AddDocument(instrumentForm); tabbedView.ActivateDocument(instrumentForm); instrumentForm.ShowOptions(null); }
private void ShowOptions(List <B3OptionOnEquityInfo> options) { if (options == null || options.Count == 0) { return; } if (optionsControl == null) { return; } optionsControl.ShowOptions(options); }