private void mnuQueryMessage_Click(object sender, EventArgs e) { try { frmMessageList objfrm = new frmMessageList(); ShowForm(objfrm, mnuQueryMessage); } catch (Exception ex) { MessageBox.Show(Convert.ToString(ex.Message)); objEventLoging.AppErrlog("Error In AnantMatrimony.MDIMain.mnuQueryMessage_Click() " + ex.ToString()); } }
private void lnkQueryMessage_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { frmMessageList objfrm = new frmMessageList(); ShowForm(objfrm, mnuQueryMessage); }