示例#1
0
文件: Main.cs 项目: jhogan/qed
		private void mnuItemIBM_PROD_Reptool_Click(object sender, System.EventArgs e) {
			bool cancel = false;
			RollType rt = this.AskForRollType(ref cancel, RollType.Prod_Prep, RollType.Prod);
			if ( !cancel){
				IBM_REP_Roller roller = new IBM_REP_Roller(rt, "HEAD");
				this.SetupRoller(roller);
				roller.Roll();
			}else{
				MessageBox.Show(this, "Roll canceled", "QED");
			}
		}
示例#2
0
文件: Main.cs 项目: jhogan/qed
		private void mnuItemIBM_UAT_REP_Click(object sender, System.EventArgs e) {
			try{
				RollType rt = RollType.Local_UAT;
				string branch = "";
				if (this.ConfirmRoll()){
					if(GetBranch(ref branch)){
						IBM_REP_Roller roller = new IBM_REP_Roller(rt, branch);
						this.SetupRoller(roller);
						roller.Roll();
					}
				}
			}
			catch(Exception ex){
				MessageBox.Show(this, ex.Message, "QED");
			}
		}