Esempio n. 1
0
 public void XuatChungNhanHonPhoi()
 {
     if (this.SelectedItems.Count > 1)
     {
         foreach (Janus.Windows.GridEX.GridEXSelectedItem item in this.SelectedItems)
         {
             GxGiaDinhList.ChungNhanHonPhoi((int)(item.GetRow().DataRow as DataRowView).Row[HonPhoiConst.MaHonPhoi], false);
             if (Memory.ShowError())
             {
                 return;
             }
         }
     }
     else if (this.CurrentRow != null && (this.CurrentRow.DataRow is DataRowView))
     {
         GxGiaDinhList.ChungNhanHonPhoi((int)(this.CurrentRow.DataRow as DataRowView).Row[HonPhoiConst.MaHonPhoi], false);
     }
 }
Esempio n. 2
0
 private void gxCommand1_Button1Click(object sender, EventArgs e)
 {
     GxGiaDinhList.ChungNhanHonPhoi(MaHonPhoi, false);
 }