Exemplo n.º 1
0
        public ChartForm()
        {
            InitializeComponent();

            Localizer.LocalizeControl(this);
            CandleChartControl.ResetControlTags(this);
            chart.UniqueId = Guid.NewGuid().ToString();
            chart.updateTickersCacheForRobots = MainForm.Instance.UpdateTickersCacheForRobots;
            panesTabCtrl.Show();
        }
Exemplo n.º 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);
        }
Exemplo n.º 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));
        }