コード例 #1
0
        private void SaleTypeUpdate_Load(object sender, EventArgs e)
        {
            //this.WindowState = FormWindowState.Maximized;
            string cname = "";

            WorkTypeQuery.GetInfo(ref id, ref cname);
            if (cname != "")
            {
                textEditOld.Text = cname;
            }
        }
コード例 #2
0
ファイル: WorkType.cs プロジェクト: Heuvelmann/work-back
        private void barButtonItem修改_ItemClick(object sender, ItemClickEventArgs e)
        {
            int    id    = 0;
            string cname = "";

            WorkTypeQuery.GetInfo(ref id, ref cname);
            if (id != 0)
            {
                //SaleTypeUpdate Frm = SaleTypeUpdate.GetInstance();
                WorkTypeUpdate Frm = new WorkTypeUpdate();
                Frm.TopLevel = false;
                Frm.Parent   = this;
                Frm.Show();
                Frm.BringToFront();
            }
        }