Example #1
0
File: Main.cs Project: jhogan/qed
		private void mnuItemIBM_Merge_Max_Click(object sender, System.EventArgs e) {
			try{
				string server = ""; string user = ""; string passwd = ""; string branch = ""; string comment = ""; bool cancel = false;
				this.GetMaxMergeInfo(ref server, ref user, ref passwd, ref branch, ref comment, ref cancel);
				if (!cancel){
					IBM_MAX_Roller roller = new IBM_MAX_Roller(RollType.Merge, server, user, passwd, branch, comment);
					this.SetupRoller(roller);
					roller.Roll();
				}
			}
			catch(Exception ex){
				MessageBox.Show(this, ex.Message, "QED");
			}
		}
Example #2
0
File: Main.cs Project: jhogan/qed
		private void mnuItemIBM_UAT_MAX_Click(object sender, System.EventArgs e) {
			try{
				const string SERVER = "Server: ";
				const string BRANCH = "Branch: ";
				string server = ""; string branch = ""; 
				InputModal im = new InputModal("Enter information for production roll", SERVER, BRANCH);
				if (im.ShowDialog(this) == DialogResult.OK){
					server = im.Answer(SERVER);
					branch = im.Answer(BRANCH);
					IBM_MAX_Roller roller = new IBM_MAX_Roller(RollType.Prod, server, branch);
					this.SetupRoller(roller);
					roller.Roll();
				}
			}
			catch(Exception ex){
				MessageBox.Show(this, ex.Message, "QED");
			}
		}