private void FrmC30BB2_Load(object sender, EventArgs e) { //string postedDate =new string postedDate = new GlobalVariable().PostedDate; _c30BBPresenter.Display(Convert.ToDateTime(postedDate).Year, 200); }
/// <summary> /// Handles the Load event of the FrmC30BB control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> private void FrmC30BB_Load(object sender, EventArgs e) { string postedDate = new GlobalVariable().PostedDate; _c30BBPresenter.Display(Convert.ToDateTime(postedDate).Year, BaseRefTypeId); }