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