private void mnuItemIBM_PROD_PP_OS_Click(object sender, System.EventArgs e) { try{ bool cancel = false; RollType rt = this.AskForRollType(ref cancel, RollType.Prod_Prep, RollType.Prod); if ( ! cancel){ IBM_PP_OS_Roller roller = new IBM_PP_OS_Roller(rt, "HEAD", "HEAD"); SetupRoller(roller); roller.Roll(); } } catch(Exception ex){ MessageBox.Show(this, ex.Message, "QED"); } }
private void mnuItemIBM_UAT_PP_OS_Click(object sender, System.EventArgs e) { try{ string PPBranch = ""; string OSBranch = ""; RollType rt = RollType.Local_UAT; bool cancel = false; if (this.ConfirmRoll()){ GetPPAndOSRollData(ref PPBranch, ref OSBranch, ref rt, ref cancel); if (!cancel){ IBM_PP_OS_Roller roller = new IBM_PP_OS_Roller(rt, PPBranch, OSBranch); SetupRoller(roller); roller.Roll(); } } } catch(Exception ex){ MessageBox.Show(this, ex.Message, "QED"); } }