44 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Windows.Forms;
 | |
| 
 | |
| namespace CMSControl
 | |
| {
 | |
|     public partial class cmsview
 | |
|     {
 | |
|         public enum eClickArea
 | |
|         {
 | |
|             Normal = 0,
 | |
|             No,
 | |
|             Title,
 | |
|             Content,
 | |
|         }
 | |
|         public class ItemClickEvent : EventArgs
 | |
|         {
 | |
|             public System.Drawing.Point Point { get; set; }
 | |
|             public int Index { get; set; }
 | |
|             public MouseButtons Button;
 | |
|             public eClickArea Area;
 | |
|             public ItemClickEvent(System.Drawing.Point point_, int index_,MouseButtons button_,eClickArea area_)
 | |
|             {
 | |
|                 this.Point = point_;
 | |
|                 this.Index = index_;
 | |
|                 this.Button = button_;
 | |
|                 this.Area = area_;
 | |
|             }
 | |
|         }
 | |
|         public class MessageEvent : EventArgs
 | |
|         {
 | |
|             public string Message { get; set; }
 | |
|             public Boolean isError { get; set; }
 | |
|             public MessageEvent(Boolean isError_,string Message_)
 | |
|             {
 | |
|                 this.isError = isError_;
 | |
|                 this.Message = Message_;
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | 
