1using System;2using System.Collections;3using System.ComponentModel;4using System.Drawing;5using System.Data;6using System.Windows.Forms;7using System.IO;89namespace Settings10{11/// <summary>12/// Summary description for ctlMain.13/// </summary>14public class ctlMain : System.Windows.Forms.UserControl15{16private System.Windows.Forms.OpenFileDialog cdbOpen;17private System.Windows.Forms.SaveFileDialog cdbSave;18/// <summary>19/// Required designer variable.20/// </summary>21private System.ComponentModel.Container components = null;2223public ctlMain()24{25// This call is required by the Windows.Forms Form Designer.26InitializeComponent();2728// TODO: Add any initialization after the InitializeComponent call2930}3132/// <summary>33/// Clean up any resources being used.34/// </summary>35protected override void Dispose( bool disposing )36{37if( disposing )38{39if(components != null)40{41components.Dispose();42}43}44base.Dispose( disposing );45}4647#region Component Designer generated code48/// <summary>49/// Required method for Designer support - do not modify50/// the contents of this method with the code editor.51/// </summary>52private void InitializeComponent()53{54this.cdbOpen = new System.Windows.Forms.OpenFileDialog();55this.cdbSave = new System.Windows.Forms.SaveFileDialog();56this.SuspendLayout();57//58// cdbOpen59//60this.cdbOpen.Filter = "Text Files|*.txt";61this.cdbOpen.Title = "Open...";62//63// cdbSave64//65this.cdbSave.Filter = "Text Files|*.txt";66this.cdbSave.Title = "Save...";67//68// ctlMain69//70this.BackColor = System.Drawing.Color.White;71this.Name = "ctlMain";72this.Size = new System.Drawing.Size(888, 468);73this.Load += new System.EventHandler(this.ctlMain_Load);74this.ResumeLayout(false);7576}77#endregion78798081private void ctlMain_Load(object sender, System.EventArgs e)82{8384}85}86}