private void TempWorkerPriceUpdate_Load(object sender, EventArgs e)
 {
     TempEmpTravelExpenseQuery.GetInfo(ref id, ref empno, ref name, ref begin_date, ref expense);
     if (id != "")
     {
         textEditEmpno.Text      = empno;
         textEditName.Text       = name;
         dateTimePickerDate.Text = begin_date;
         textEditPrice.Text      = expense;
     }
 }
Ejemplo n.º 2
0
        private void barButtonItem修改_ItemClick(object sender, ItemClickEventArgs e)
        {
            string id = "", empno = "", name = "", begin_date = "", expense = "0";

            TempEmpTravelExpenseQuery.GetInfo(ref id, ref empno, ref name, ref begin_date, ref expense);
            if (id != "")
            {
                TempEmpTravelExpenseUpdate Frm = new TempEmpTravelExpenseUpdate();
                Frm.TopLevel = false;
                Frm.Parent   = this;
                Frm.Show();
                Frm.BringToFront();
            }
        }