Пример #1
0
 public FetchData(CRPEngine main)
 {
     myWebClient          = new WebClient();
     executableLocation   = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
     downloadFileLocation = Path.Combine(executableLocation, "database");
     this.main            = main;
 }
Пример #2
0
        public Google_Trends_Chart(CRPEngine CE)
        {
            InitializeComponent();
            this.CE = CE;
            ExcelReader er = new ExcelReader(out jobTerm, out centerlinkTerm, out seekTerm);

            clearChart();

            if (jobTerm == null || jobTerm.Count < 1 || centerlinkTerm == null || centerlinkTerm.Count < 1)
            {
                Null = 1;
                this.Dispose();
            }
            else
            {
                if (CE.getJobCheck() == true)
                {
                    showGoogleGraph(jobTerm, "Job");
                }
                else
                {
                    this.chart1.Series["Job"].Enabled = false;
                }

                if (CE.getCenterlinkCheck() == true)
                {
                    showGoogleGraph(centerlinkTerm, "Centerlink");
                }
                else
                {
                    this.chart1.Series["Centerlink"].Enabled = false;
                }

                if (CE.getSeekCheck() == true)
                {
                    showGoogleGraph(seekTerm, "Seek");
                }
                else
                {
                    this.chart1.Series["Seek"].Enabled = false;
                }
            }
        }
Пример #3
0
        public Unemployed_Rate_Chart(CRPEngine CE)
        {
            InitializeComponent();
            this.CE = CE;

            ExcelReader er = new ExcelReader(out unemployList, "Unemployment Rate");

            clearChart();

            if (unemployList == null || unemployList.Count < 1)
            {
                Null = 1;
                this.Dispose();
            }
            else
            {
                showUnemployedGraph(unemployList, "Unemployment Rate");
            }
        }
Пример #4
0
        public Cash_Rate_Chart(CRPEngine CE)
        {
            InitializeComponent();
            this.CE = CE;

            ExcelReader er = new ExcelReader(out cashRateList, "Cash Rate");

            clearChart();

            if (cashRateList == null || cashRateList.Count < 1)
            {
                Null = 1;
                this.Dispose();
            }
            else
            {
                showCashRateGraph(cashRateList, "Cash Rate");
            }
        }
Пример #5
0
 public Data_Input(CRPEngine Main)
 {
     InitializeComponent();
     main = Main;
 }