private void frm_Main_Load(object sender, EventArgs e) { chkEnableSound.Checked = true;//判断是不是允许声音 //字符叠加设置初始值 pShowTime = true; pTextPointSet = new PointF(100, 10); pTimePointSet = new PointF(200, 30); pFontSet = this.Font; pBrushSet = new SolidBrush(Color.Red); pDisplayText = ""; //设置画面控件可用属性 SetOpenCloseFileControl(0); //播放数据回调设置 playCBFun = new DecCBFun(pDecCBFun); SetCallBackTypeCheck(stmType); mnuSizeTrue_Click(null, null); //字符叠加设置 dFun = new DrawFun(DrawFun); DHPlay.DHRigisterDrawFun(0, dFun, 0);//字符叠加功能演示 StringUtil.InitControlText(this); }