Example #1
0
File: Main.cs Project: jhogan/qed
		private void mnuItemLenovo_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){
					LEN_PP_OS_Roller roller = new LEN_PP_OS_Roller(rt, "HEAD", "HEAD");
					SetupRoller(roller);
					roller.Roll();
				}
			}
			catch(Exception ex){
				MessageBox.Show(this, ex.Message, "QED");
			}
		}
Example #2
0
File: Main.cs Project: jhogan/qed
		private void mnuItemLenovo_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){
						LEN_PP_OS_Roller roller = new LEN_PP_OS_Roller(rt, PPBranch, OSBranch);
						this.SetupRoller(roller);
						roller.Roll();
					}
				}
			}
			catch(Exception ex){
				MessageBox.Show(this, ex.Message, "QED");
			}
		}