/// <summary> /// Initializes a new instance of the <see cref="AnalyticsControl"/> class. /// </summary> public AnalyticsControl() { this.InitializeComponent(); this._presenter = new AnalyticsPresenter(this, new WebApiClientFactory()); this.FromDate = DateTime.Today.AddMonths(-1); this.ToDate = DateTime.Today.AddDays(1); }
private void button5_Click(object sender, EventArgs e) { this.Hide(); AnalyticsPresenter objAnalyticsPresenter = new AnalyticsPresenter(); objAnalyticsPresenter.Show(); }