Esempio 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;
        }
Esempio 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;
            //}*/
        }
Esempio 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;
			//}*/
		}
Esempio 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;
		}