// Comments #region btnComments_Click protected void btnComments_Click(object sender, EventArgs e) { // If we are already on the Comments screen then switch Comments to Default mode if (pnlComments.Visible == true) { CommentsControl.SetView("Default"); } DisableAllButtons(); btnComments.Font.Bold = true; btnComments.Font.Underline = true; pnlComments.Visible = true; }
// Comments #region btnComments_Click protected void btnComments_Click(object sender, EventArgs e) { // If we are already on the Comments screen then switch Comments to Default mode if (pnlComments.Visible == true) { CommentsControl.SetView("Default"); } DisableAllButtons(); btnComments.BorderStyle = BorderStyle.Inset; btnComments.BackColor = Color.LightGray; btnComments.Font.Bold = true; btnComments.ForeColor = Color.Red; pnlComments.Visible = true; }