Commercial & open source. Find your way forward.Compare editions
OCS NETWORKS INC / OSS

IntelliDispatch OSS MIT License

The open-source edition. An MIT-licensed core, with optional paid, licensed plugins.

Code About this workspace LicenseRead-only source browser
Public files
ctlMain.cs
2.2 KB · 87 linesModified Nov 6, 2026 UTC
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>15	public class ctlMain : UserControl16	{17        private System.Windows.Forms.OpenFileDialog cdbOpen;18		private System.Windows.Forms.SaveFileDialog cdbSave;19		/// <summary> 20		/// Required designer variable.21		/// </summary>22		private System.ComponentModel.Container components = null;2324		public ctlMain()25		{26			// This call is required by the Windows.Forms Form Designer.27			InitializeComponent();2829			// TODO: Add any initialization after the InitializeComponent call3031		}3233		/// <summary> 34		/// Clean up any resources being used.35		/// </summary>36		protected override void Dispose( bool disposing )37		{38			if( disposing )39			{40				if(components != null)41				{42					components.Dispose();43				}44			}45			base.Dispose( disposing );46		}4748		#region Component Designer generated code49		/// <summary> 50		/// Required method for Designer support - do not modify 51		/// the contents of this method with the code editor.52		/// </summary>53		private void InitializeComponent()54		{55            this.cdbOpen = new System.Windows.Forms.OpenFileDialog();56            this.cdbSave = new System.Windows.Forms.SaveFileDialog();57            this.SuspendLayout();58            // 59            // cdbOpen60            // 61            this.cdbOpen.Filter = "Text Files|*.txt";62            this.cdbOpen.Title = "Open...";63            // 64            // cdbSave65            // 66            this.cdbSave.Filter = "Text Files|*.txt";67            this.cdbSave.Title = "Save...";68            // 69            // ctlMain70            // 71            this.BackColor = System.Drawing.Color.White;72            this.Name = "ctlMain";73            this.Size = new System.Drawing.Size(951, 458);74            this.Load += new System.EventHandler(this.ctlMain_Load);75            this.ResumeLayout(false);7677		}78		#endregion7980		8182		private void ctlMain_Load(object sender, System.EventArgs e)83		{84		85		}86	}87}