public MiningDashboardPanel() { InitializeComponent(); var data = ApiQuery.GetBlocksHistory(); SetBlocksData(data); }
private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e) { this.AddControlToMainPanel(this.reportControl); this.reportControl.CreateReport(@"Credit", ApiQuery.GetCredits()); this.reportControl.CreateReport(@"Blocks History", ApiQuery.GetBlocksHistory()); this.reportControl.CreateReport($@"Network Stats", ApiQuery.GetNetworkStats()); this.reportControl.CreateReport($@"Server HashRate Stats", ApiQuery.GetServerHashRateStats()); //this.cmdControl.ExecuteAsync(@"X:\Development Projects\CozmicMinner\CozmicMinner\BatchFiles\Test.bat"); //this.cmdControl.ExecuteAsync(@"dir"); }
public BaseLayoutForm() { InitializeComponent(); SalesbySecorSeries.DataSource = ApiQuery.GetBlocksHistory(); }