1using System;2using System.Collections;3using System.ComponentModel;4using System.Drawing;5using System.Data;6using System.Windows.Forms;7using System.IO;8910namespace ExamplePlugin11{12/// <summary>13/// Summary description for ctlMain.14/// </summary>15public class ctlMain : UserControl16{17private System.Windows.Forms.OpenFileDialog cdbOpen;18private System.Windows.Forms.SaveFileDialog cdbSave;19/// <summary>20/// Required designer variable.21/// </summary>22private System.ComponentModel.Container components = null;2324public ctlMain()25{26// This call is required by the Windows.Forms Form Designer.27InitializeComponent();2829// TODO: Add any initialization after the InitializeComponent call3031}3233/// <summary>34/// Clean up any resources being used.35/// </summary>36protected override void Dispose( bool disposing )37{38if( disposing )39{40if(components != null)41{42components.Dispose();43}44}45base.Dispose( disposing );46}4748#region Component Designer generated code49/// <summary>50/// Required method for Designer support - do not modify51/// the contents of this method with the code editor.52/// </summary>53private void InitializeComponent()54{55this.cdbOpen = new System.Windows.Forms.OpenFileDialog();56this.cdbSave = new System.Windows.Forms.SaveFileDialog();57this.SuspendLayout();58//59// cdbOpen60//61this.cdbOpen.Filter = "Text Files|*.txt";62this.cdbOpen.Title = "Open...";63//64// cdbSave65//66this.cdbSave.Filter = "Text Files|*.txt";67this.cdbSave.Title = "Save...";68//69// ctlMain70//71this.BackColor = System.Drawing.Color.White;72this.Name = "ctlMain";73this.Size = new System.Drawing.Size(951, 458);74this.Load += new System.EventHandler(this.ctlMain_Load);75this.ResumeLayout(false);7677}78#endregion79808182private void ctlMain_Load(object sender, System.EventArgs e)83{8485}86}87}