49 lines
		
	
	
		
			964 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			964 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.ComponentModel;
 | |
| using System.Diagnostics;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Threading.Tasks;
 | |
| using System.IO
 | |
| 
 | |
| namespace W2PGrid
 | |
| {
 | |
| 
 | |
| 	public partial class ThisGrid : C1.Win.C1FlexGrid.C1FlexGrid
 | |
| 	{
 | |
| 		public const string ClassID = "73ED6A9D-4E4B-4521-823C-F4A5BC8DCB3C";
 | |
| 		public const string InterfaceID = "01A4D93F-C962-478D-9376-B50C52ECC554";
 | |
| 		public const string EventID = "AD4FB6C2-3E13-4527-8324-4D7ACF3AB67A";
 | |
| 		
 | |
| 		public ThisGrid()
 | |
| 		{
 | |
| 			InitializeComponent();
 | |
| 		}
 | |
| 
 | |
| 		public ThisGrid(IContainer container)
 | |
| 		{
 | |
| 			container.Add(this);
 | |
| 
 | |
| 			InitializeComponent();
 | |
| 		}
 | |
| 		public string GetXML()
 | |
| 		{
 | |
| 			string retstr = null;
 | |
| 			using (StringWriter sw = new StringWriter())
 | |
| 			{
 | |
| 				this.WriteXml(sw);
 | |
| 				retstr = sw.GetStringBuilder().ToString();
 | |
| 				sw.Close();
 | |
| 			}
 | |
| 			return retstr;
 | |
| 		}
 | |
| 		public object GetAGrid()
 | |
| 		{
 | |
| 			ThisGrid fg = new ThisGrid();
 | |
| 			return fg;
 | |
| 		}
 | |
| 	}
 | |
| 	 
 | |
| }
 |