技术开发 频道

可换肤的 MSN Messenger-like 风格窗体( C# )


【IT168技术文档】


  方法
void Show(string strTitle, string strContent, int nTimeToShow, int nTimeToStay, int nTimeToHide); void Hide(); void SetBackgroundBitmap(string strFilename, Color transparencyColor); void SetBackgroundBitmap(Image image, Color transparencyColor); void SetCloseBitmap(string strFilename, Color transparencyColor, Point position); void SetCloseBitmap(Image image, Color transparencyColor, Point position); 属性 string TitleText (get/set) string ContentText (get/set) TaskbarStates TaskbarState (get) Color NormalTitleColor (get/set) Color HoverTitleColor (get/set) Color NormalContentColor (get/set) Color HoverContentColor (get/set) Font NormalTitleFont (get/set) Font HoverTitleFont (get/set) Font NormalContentFont (get/set) Font HoverContentFont (get/set) Rectangle TitleRectangle (get/set) //must be defined before calling show()) Rectangle ContentRectangle (get/set) //must be defined before calling show()) bool TitleClickable (get/set) (default = false); bool ContentClickable (get/set) (default = true); bool CloseClickable (get/set) (default = true); bool EnableSelectionRectangle (get/set) (default = true); 事件 event EventHandler CloseClick event EventHandler TitleClick event EventHandler ContentClick
0
相关文章