Exemplo n.º 1
0
 private void SetEdit(int iRow)
 {
     if (this.myResult == null)
     {
         this.myResult = new cResult();
     }
     #region {231F627C-1215-4024-AE4A-6E06F7D20FC1}
     this.myResult.Queue = (this.neuSpread1_Sheet1.Rows[iRow].Tag as Neusoft.HISFC.Models.Nurse.Queue).Clone();
     #endregion
 }
Exemplo n.º 2
0
 /// <summary>
 /// 修改数据
 /// </summary>
 private void EditData()
 {
     try
     {
         this.myResult = new cResult();
         int iRow = this.neuSpread1_Sheet1.ActiveRowIndex;
         this.SetEdit(iRow);
         this.myResult.strTab = "EDIT";
         this.PopWin("1");
     }
     catch { }
 }
Exemplo n.º 3
0
        /// <summary>
        /// 添加数据
        /// </summary>
        private void AddData()
        {
            if (this.btnRefresh.Tag != null && this.btnRefresh.Tag.ToString() == "SAVE")
            {
                MessageBox.Show("添加新数据之前需要把之前导入的数据保存!");
                return;
            }

            myResult = new cResult();
            myResult.Queue.IsValid = true;
            this.myResult.strTab   = "ADD";
            this.PopWin("1");
        }