private void tsbtn_del_Click(object sender, EventArgs e) { Log.log.user_college = true; //判断是用户窗体处单击的 admin_TypeEdit admin_TypeEdit = new admin_TypeEdit(); //实例化admin_TypeEdit admin_TypeEdit.ShowDialog(); //显示 }
private void tsbtn_del_Click(object sender, EventArgs e) { Log.log.user_college = false; //说明是类别窗体单击的 admin_TypeEdit admin_TypeEdit = new admin_TypeEdit(); //实例化admin_TypeEdit窗体 admin_TypeEdit.ShowDialog(); //以对话框模式显示 }