示例#1
0
文件: Main.cs 项目: yymmhh/C-
        private void 赛程添加ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DD frm = new DD();

            frm.type = "添加";

            frm.MdiParent = this;
            frm.Show();
        }
示例#2
0
文件: Show.cs 项目: yymmhh/C-
        private void 修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //跳转到修改页面,并且把类型赋值
            string count = dgv.SelectedRows[0].Cells[2].Value.ToString();
            DD     frm   = new DD();

            frm.type  = "修改";
            frm.count = count;


            frm.Show();
        }