Beispiel #1
0
        public ChartForm()
        {
            InitializeComponent();

            Localizer.LocalizeControl(this);
            CandleChartControl.ResetControlTags(this);
            chart.UniqueId = Guid.NewGuid().ToString();
            chart.updateTickersCacheForRobots = MainForm.Instance.UpdateTickersCacheForRobots;
            panesTabCtrl.Show();
        }
Beispiel #2
0
        public ChartForm(Form mdiParent, ChartWindowSettings sets)
        {
            MdiParent = mdiParent;

            InitializeComponent();

            Localizer.LocalizeControl(this);
            CandleChartControl.ResetControlTags(this);
            Text = sets.Symbol;
            chart.updateTickersCacheForRobots = MainForm.Instance.UpdateTickersCacheForRobots;
            chart.Symbol = sets.Symbol;
            LoadChartSettings(sets);
        }
Beispiel #3
0
        public ChartForm(Form mdiParent, string symbol)
        {
            MdiParent = mdiParent;

            InitializeComponent();

            Localizer.LocalizeControl(this);
            CandleChartControl.ResetControlTags(this);
            Text         = symbol;
            chart.Symbol = symbol;
            chart.updateTickersCacheForRobots = MainForm.Instance.UpdateTickersCacheForRobots;
            chart.UniqueId = string.Format("{0}_{1}", symbol, Guid.NewGuid().ToString().Substring(0, 10));
        }