Ejemplo n.º 1
0
        private void butResults_Click(object sender, EventArgs e)
        {
            if (gridMain.Rows.Count < 1)
            {
                MessageBox.Show(Lans.g(this, "Please add a data element."));
                return;
            }
            //bool hasOrder=false;
            //for(int i=0;i<ElementList.Count;i++) {
            //  if(hasOrder && ElementList[i].OrderBy) {
            //    MessageBox.Show(Lans.g(this,"You can only 'Order By' exactly one data element."));
            //    return;
            //  }
            //  if(ElementList[i].OrderBy) {
            //    hasOrder=true;
            //  }
            //}
            FormPatListResults2014 FormPLR14 = new FormPatListResults2014(ElementList);

            FormPLR14.ShowDialog();
        }
Ejemplo n.º 2
0
		private void butResults_Click(object sender,EventArgs e) {
			if(gridMain.Rows.Count<1) {
				MessageBox.Show(Lans.g(this,"Please add a data element."));
				return;
			}
			//bool hasOrder=false;
			//for(int i=0;i<ElementList.Count;i++) {
			//  if(hasOrder && ElementList[i].OrderBy) {
			//    MessageBox.Show(Lans.g(this,"You can only 'Order By' exactly one data element."));
			//    return;
			//  }
			//  if(ElementList[i].OrderBy) {
			//    hasOrder=true;
			//  }
			//}
			FormPatListResults2014 FormPLR14=new FormPatListResults2014(ElementList);
			FormPLR14.ShowDialog();
		}