示例#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;
        }
示例#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;
            //}*/
        }
示例#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;
			//}*/
		}
示例#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;
		}