private void ARCalculate_ToolStripMenuItem_Click(object sender, EventArgs e) { if (!ARActionHelper.getAction(FrmAnalyzeAR._action)) { return; } if (frmAnalyzeAR == null || frmAnalyzeAR.IsDisposed) { frmAnalyzeAR = new FrmAnalyzeAR(); frmAnalyzeAR.Show(); } frmAnalyzeAR.MdiParent = this; frmAnalyzeAR.Activate(); }
private void AskForLeaveToolStripMenuItem_Click(object sender, EventArgs e) { if (!ARActionHelper.getAction(FrmAskForLeave._action)) { return; } if (frmAskForLeave == null || frmAskForLeave.IsDisposed) { frmAskForLeave = new FrmAskForLeave(); frmAskForLeave.Show(); } frmAskForLeave.MdiParent = this; frmAskForLeave.Activate(); }
private void QuerySpecificDayAR_ToolStripMenuItem_Click(object sender, EventArgs e) { if (!ARActionHelper.getAction(FrmQueryARByRange._action)) { return; } if (frmQueryARByRange == null || frmQueryARByRange.IsDisposed) { frmQueryARByRange = new FrmQueryARByRange(); frmQueryARByRange.Show(); } frmQueryARByRange.MdiParent = this; frmQueryARByRange.Activate(); }