Esempio n. 1
0
 void EMRDoc_OnSaveEMR()
 {
     if (this.Parent is XtraTabPage && this.Parent.Parent is XtraTabControl && this.Parent.Parent.Parent is UCEmrInput)
     {
         UCEmrInput form = this.Parent.Parent.Parent as UCEmrInput;
         form.SaveDocumentPublic();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 保存
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barButtonItemSave_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (this.Parent is XtraTabPage && this.Parent.Parent is XtraTabControl && this.Parent.Parent.Parent is UCEmrInput)
     {
         UCEmrInput form = this.Parent.Parent.Parent as UCEmrInput;
         form.SaveDocumentPublic();
     }
 }