using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; using System.Windows.Forms; using System.IO; namespace Settings { /// /// Summary description for ctlMain. /// public class ctlMain : System.Windows.Forms.UserControl { private System.Windows.Forms.OpenFileDialog cdbOpen; private System.Windows.Forms.SaveFileDialog cdbSave; /// /// Required designer variable. /// private System.ComponentModel.Container components = null; public ctlMain() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); // TODO: Add any initialization after the InitializeComponent call } /// /// Clean up any resources being used. /// protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.cdbOpen = new System.Windows.Forms.OpenFileDialog(); this.cdbSave = new System.Windows.Forms.SaveFileDialog(); this.SuspendLayout(); // // cdbOpen // this.cdbOpen.Filter = "Text Files|*.txt"; this.cdbOpen.Title = "Open..."; // // cdbSave // this.cdbSave.Filter = "Text Files|*.txt"; this.cdbSave.Title = "Save..."; // // ctlMain // this.BackColor = System.Drawing.Color.White; this.Name = "ctlMain"; this.Size = new System.Drawing.Size(888, 468); this.Load += new System.EventHandler(this.ctlMain_Load); this.ResumeLayout(false); } #endregion private void ctlMain_Load(object sender, System.EventArgs e) { } } }