Ejemplo n.º 1
0
        private void butAdd_Click(object sender, System.EventArgs e)
        {
            FormRecallTypeEdit FormRE = new FormRecallTypeEdit();

            FormRE.RecallTypeCur       = new RecallType();
            FormRE.RecallTypeCur.IsNew = true;
            FormRE.ShowDialog();
            FillGrid();
            changed = true;
        }
Ejemplo n.º 2
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            /*if(IsSelectionMode){
             *      SelectedPharmacyNum=PharmacyC.Listt[e.Row].PharmacyNum;
             *      DialogResult=DialogResult.OK;
             *      return;
             * }
             * else{*/
            FormRecallTypeEdit FormR = new FormRecallTypeEdit();

            FormR.RecallTypeCur = RecallTypeC.Listt[e.Row].Copy();
            FormR.ShowDialog();
            FillGrid();
            changed = true;
            //}*/
        }
Ejemplo n.º 3
0
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			/*if(IsSelectionMode){
				SelectedPharmacyNum=PharmacyC.Listt[e.Row].PharmacyNum;
				DialogResult=DialogResult.OK;
				return;
			}
			else{*/
			FormRecallTypeEdit FormR=new FormRecallTypeEdit();
			FormR.RecallTypeCur=RecallTypeC.Listt[e.Row].Copy();
			FormR.ShowDialog();
			FillGrid();
			changed=true;
			//}*/
		}
Ejemplo n.º 4
0
		private void butAdd_Click(object sender, System.EventArgs e) {
			FormRecallTypeEdit FormRE=new FormRecallTypeEdit();
			FormRE.RecallTypeCur=new RecallType();
			FormRE.RecallTypeCur.IsNew=true;
			FormRE.ShowDialog();
			FillGrid();
			changed=true;
		}