コード例 #1
0
 private void TempWorkerPriceUpdate_Load(object sender, EventArgs e)
 {
     TempEmpStandardPriceQuery.GetInfo(ref id, ref begin_date, ref end_date, ref price, ref insurance_price);
     if (id != "")
     {
         dateTimePickerBegin.Text = begin_date;
         dateTimePickerEnd.Text   = end_date;
         textEditPrice.Text       = price;
         textEditInsurance.Text   = insurance_price;
     }
 }
コード例 #2
0
        private void barButtonItem修改_ItemClick(object sender, ItemClickEventArgs e)
        {
            string id = "", begin_date = "", end_date = "", price = "", insurance_price = "";

            TempEmpStandardPriceQuery.GetInfo(ref id, ref begin_date, ref end_date, ref price, ref insurance_price);
            if (id != "")
            {
                TempEmpStandardPriceUpdate Frm = new TempEmpStandardPriceUpdate();
                Frm.TopLevel = false;
                Frm.Parent   = this;
                Frm.Show();
                Frm.BringToFront();
            }
        }