Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            CategoryFrm categoryFrm = new CategoryFrm(this);

            categoryFrm.setTable("categoryOfProduct");
            categoryFrm.Text = "商品类别";
            categoryFrm.ShowDialog();
        }
Example #2
0
        private void 往来单位类型UToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string title = getTitleFromMenuItem(sender);

            logDao.saveLog(Parameter.user, title);

            CategoryFrm cateFrm = new CategoryFrm();

            cateFrm.MdiParent = this;
            cateFrm.setTable("categoryOfUnit");
            cateFrm.Text = title;
            cateFrm.Show();
        }