Beispiel #1
0
        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);
        }
Beispiel #2
0
        private void ShowOptions(List <B3OptionOnEquityInfo> options)
        {
            if (options == null || options.Count == 0)
            {
                return;
            }

            if (optionsControl == null)
            {
                return;
            }

            optionsControl.ShowOptions(options);
        }