示例#1
0
		private void butDiagnostic_Click(object sender,EventArgs e) {
			//no need to validate all the other fields on the page.
			ProgramProperties.SetProperty(ProgramCur.ProgramNum,"eCWServer",textECWServer.Text);//this property will not exist if using Oracle, eCW will never use Oracle
			DataValid.SetInvalid(InvalidType.Programs);
			FormEcwDiag FormECWD=new FormEcwDiag();
			FormECWD.ShowDialog();
		}
		private void butDiagnostic_Click(object sender,EventArgs e) {
			//no need to validate all the other fields on the page.
			ProgramProperties.SetProperty(ProgramCur.ProgramNum,"eCWServer",textECWServer.Text);
			DataValid.SetInvalid(InvalidType.Programs);
			FormEcwDiag FormECWD=new FormEcwDiag();
			FormECWD.ShowDialog();
		}