Esempio n. 1
0
        public tradeAnalysis()
        {
            try
            {
                InitializeComponent();
                this.myData = new DataAccess.AnalysisData();
                this.myData.DataMaxCount = Settings.sysGlobal.ChartMaxLoadCount_FIRST;

                this.SetMasterPane(new Point(0, activeIndicatorLV.Location.Y + activeIndicatorLV.Height));
                activeIndicatorLV.Visible = true;
                this.myNewPanelList.Add(constPaneNamePrice, pricePanel);
                this.bgWorker.DoWork += new DoWorkEventHandler(this.bgWorker_DoWork);
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }
        public tradeAnalysis()
        {
            try
            {
                InitializeComponent();
                this.myData = new DataAccess.AnalysisData();
                this.myData.DataMaxCount = Settings.sysGlobal.ChartMaxLoadCount_FIRST;

                this.SetMasterPane(new Point(0, activeIndicatorLV.Location.Y + activeIndicatorLV.Height));
                activeIndicatorLV.Visible = true;
                this.myNewPanelList.Add(constPaneNamePrice,pricePanel);
                this.bgWorker.DoWork += new DoWorkEventHandler(this.bgWorker_DoWork);
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }