欢迎来到天天文库
浏览记录
ID:32591808
大小:65.50 KB
页数:61页
时间:2019-02-13
《1高速公路视频实时监控管理系统c#源代码》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、//**/*监控管理*/usingSystem.Data.SqlServerCE;usingSystem.Web.Services.Discovery;usingSystem.Directoryservices;usingSystem.Resources;usingSystem.Runtime」nteropServices;usingSystem.Runtime.Remoting.Services;publicclass监控管理{publicclassImageButton:PictureBox,IButtonControl{#regio
2、nFiledsprivateconstintWM_KEYDOWN=0x0100;privateconstintWM_KEYUP=0x0101;privateDialogResult_DialogResult;privateImage_Hoverlmage;privateImage_DownImage;privateImage_Normallmage;privatebool_hover=false;privatebool_down二false;privateboolJsDefault=false;privatebool_holdingSpa
3、ce=false;privateToolTip_toolTip=newToolTip();#endregion#regionConstructorpublicImageButton():base(){this.BackColor=Color.Transparent;〃数据分发this.Size=newSize(75,23);}#endregion#regionIButtonControlMemberspublicDialogResultDialogResult{get{return_DialogResult;}set{if(Enum.ls
4、Defined(typeof(DialogResult),value)){_DialogResult=value;publicvoidNotifyDefault(boolvalue){if(JsDefault!=value){JsDefault=value;}〃云石控制}publicvoidPerformClick(){base.OnClick(EventArgs.Empty);}#endregion#regionPropertiesCategory(HAppearanee”);Description("lmagetoshowwhenth
5、ebuttonishoveredover.'1);publicImageHoverimage{get{return_Hoverlmage;}set{_Hoverlmage=value;if(_hover)Image=value;}}CategoryC^ppearance");Description「lmagetoshowwhenthebuttonisdepressed.H);publicImageDownimage〃异常匹配{get{return_Downlmage;}set{_Downlmage=value;if(_down)Image
6、=value;}}CategoryC'Appearance");Description「lmagetoshowwhenthebuttonisnotinanyotherstate.11);publicImageNormallmage{get{return_Normallmage;}set{_Normallmage=value;if(!(_hover11_down))Image=value;}}Browsable(true);DesignerSerializationVisibility(DesignerSerializationVisibi
7、lity.Visible);Category(HAppearanee”);Description("Thetextassociatedwiththecontrol.H);publicoverridestringText{get{returnbase.Text;}setbase.Text=value;}〃控制设置Browsable(true);DesignerSerializationVisibility(DesignerSerializationVisibility.Visible);CategoryC'Appearance'1);Des
8、cription「Thefontusedtodisplaytextinthecontrol.H);publicoverrideFontFont{get{returnbase.Font;〃监控管
此文档下载收益归作者所有