private void navBarItemMessages_LinkPressed(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { frmMessages messages = new frmMessages(uid); messages.ShowDialog(); }
private void btnMessage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmMessages messages = new frmMessages(uid); messages.ShowDialog(); }