public FetchData(CRPEngine main) { myWebClient = new WebClient(); executableLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); downloadFileLocation = Path.Combine(executableLocation, "database"); this.main = main; }
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; } } }
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"); } }
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"); } }
public Data_Input(CRPEngine Main) { InitializeComponent(); main = Main; }