选择题:根据委托(delegate)的知识,请完成以下用户控件中代码片段的填写: namespace test { public de

  • 题目分类:计算机类
  • 题目类型:选择题
  • 查看权限:VIP
题目内容:
根据委托(delegate)的知识,请完成以下用户控件中代码片段的填写:

namespace test

{

public delegate void OnDBOperate();

public class UserControlBase System.Windows.Forms.UserControl

{

public event OnDBOperate OnNew;

privatevoidtoolBar_ButtonClick(objectsender,System.Windows.Forms.ToolBarButtonClickEventArgs e)

{

if(e.Button.Equals(BtnNew))

{

请在以下补齐代码用来调用OnDBOperate委托签名的OnNew事件。

}

}

}




参考答案:

下列关于赠与合同的表述正确的是()A.赠与合同是有名合同B.赠与合同是双务合同C.赠与合同是要式合

下列关于赠与合同的表述正确的是()A.赠与合同是有名合同B.赠与合同是双务合同C.赠与合同是要式合

查看答案

共用题干

共用题干 American SportsThe United States is a sports-loving nation.Sports in America take a variety of forms: organized competitive struggles, which draw huge crowds to cheer their favorite team to victory;athletic games,played for recreation anywhere suffi

查看答案

分析以下代码,完成填空 string strTmp = abcdefg某某某; int i= System.Text.Encoding.Defaul

分析以下代码,完成填空 string strTmp = abcdefg某某某; int i= System.Text.Encoding.Defaul

查看答案

各部门、各单位的预算支出,必须按照本级权力部门批准的预算科目和数额执行;确需作出调整

各部门、各单位的预算支出,必须按照本级权力部门批准的预算科目和数额执行;确需作出调整

查看答案

As he is going to work in Holland for two years,he will be parted from his two children.

As he is going to work in Holland for two years,he will be parted from his two children.A: stayed B: separated C: far D: worked

查看答案