Beispiel #1
0
 private void acceptBtn_Click(object sender, EventArgs e)
 {
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Vt"] = this.mavtLUE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Gia"]   = this.giaTE.Text;
     if (isAdd)
     {
         Gridview.UpdateCurrentRow();
     }
     this.Close();
 }
Beispiel #2
0
        private void acceptBtn_Click(object sender, EventArgs e)
        {
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_kho"] = tenkhoTE.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Kho"]  = makhoTE.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Stt"]     = sttTE.Text;
            if (isAdd)
            {
                Gridview.UpdateCurrentRow();
            }

            Close();
        }
Beispiel #3
0
 private void acceptBtn_Click(object sender, EventArgs e)
 {
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Nvu"]     = this.manvuTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_Nvu"]    = this.tennvuTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Ct"]      = this.mactTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Ct_Rule"] = this.mactruleTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk_No"]      = this.tknoTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk_No_Rule"] = this.tknoruleTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk_Co"]      = this.tkcoTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk_Co_Rule"] = this.tkcoruleTE.Text;
     if (isAdd)
     {
         Gridview.UpdateCurrentRow();
     }
     this.Close();
 }
Beispiel #4
0
 private void acceptBtn_Click(object sender, EventArgs e)
 {
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Dt"]      = this.madtTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_Dt"]     = this.tenTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Nh_Dt"]   = this.manhdtLUE.EditValue;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Cong_Ty"]    = this.ctyTB.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Dia_Chi"]    = this.diachiTB.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_So_Thue"] = this.msthueTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["So_Tk_NH"]   = this.tknhTE.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_NH"]     = this.tennhTB.Text;
     Gridview.GetDataRow(Gridview.FocusedRowHandle)["So_Phone"]   = this.sdtTE.Text;
     if (isAdd)
     {
         Gridview.UpdateCurrentRow();
     }
     this.Close();
 }
Beispiel #5
0
        private void acceptBtn_Click(object sender, EventArgs e)
        {
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Vt"]    = txtMaVT.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ten_Vt"]   = txtTenVT.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Nh_Vt"] = manhdtLB.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ma_Kho"]   = txtDmaKho.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Dvt"]      = txtDonVi.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Tk"]       = txtTkVT.Text;
            //this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ngay_Begin"] = this.txtBdate.Text;
            //this.Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ngay_End"] = this.txtEdate.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Create_Log"]     = txtCreateLog.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["LastModify_Log"] = txtLstModify.Text;
            Gridview.GetDataRow(Gridview.FocusedRowHandle)["Ghi_Chu"]        = txtGhichu.Text;
            if (isAdd)
            {
                Gridview.UpdateCurrentRow();
            }

            Close();
        }