private void Transfer_btn_Click(object sender, EventArgs e) { TransferVo transOutVo = new TransferVo(); TransferVo transVo = new TransferVo() { RegistrationUserCode = UserData.GetUserData().UserCode }; try { transOutVo = (TransferVo)DefaultCbmInvoker.Invoke(new GetRoleCbm(), transVo); string role = transOutVo.RegistrationUserCode; if (role != "mgr") { TranferRequestForm transre = new TranferRequestForm(); transre.ShowDialog(); } else { TranferInfoForm transinfo = new TranferInfoForm(); transinfo.ShowDialog(); } } catch (Framework.ApplicationException exception) { popUpMessage.ApplicationError(exception.GetMessageData(), Text); logger.Error(exception.GetMessageData()); } }
private void support_request_btn_Click(object sender, EventArgs e) { TranferRequestForm trf = new TranferRequestForm(); trf.ShowDialog(); }