Example #1
0
        private void barButtonItem修改_ItemClick(object sender, ItemClickEventArgs e)
        {
            DepreciationUpdate Frm = new DepreciationUpdate();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
        }
Example #2
0
        private void barButtonItem修改_ItemClick(object sender, ItemClickEventArgs e)
        {
            string  yyyymm = "";
            int     id = 0, saletypeid = 0;
            decimal depreciation = 0;

            DepreciationQuery.GetInfo(ref id, ref yyyymm, ref saletypeid, ref depreciation);
            if (id != 0)
            {
                DepreciationUpdate Frm = new DepreciationUpdate();
                Frm.TopLevel = false;
                Frm.Parent   = this;
                Frm.Show();
                Frm.BringToFront();
            }
        }