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
frmFeedback.cs
9.2 KB · 224 linesModified Nov 6, 2026 UTC
1using System;2using System.Drawing;3using System.Collections;4using System.ComponentModel;5using System.Windows.Forms;67namespace IntelliDispatch8{9	/// <summary>10	/// Summary description for frmFeedback.11	/// </summary>12	public class frmFeedback : Form13	{14		private System.Windows.Forms.Button butOk;15		private System.Windows.Forms.GroupBox groupBox1;16		private System.Windows.Forms.GroupBox groupBox2;17		private System.Windows.Forms.Label lblPluginAuthor;18		private System.Windows.Forms.Label lblPluginVersion;19		private System.Windows.Forms.Label lblPluginName;20		private System.Windows.Forms.Label lblPluginDesc;21		private System.Windows.Forms.Label lblFeedback;22		/// <summary>23		/// Required designer variable.24		/// </summary>25		private System.ComponentModel.Container components = null;2627		public frmFeedback()28		{29			//30			// Required for Windows Form Designer support31			//32			InitializeComponent();3334			//35			// TODO: Add any constructor code after InitializeComponent call36			//37		}3839		/// <summary>40		/// Clean up any resources being used.41		/// </summary>42		protected override void Dispose( bool disposing )43		{44			if( disposing )45			{46				if(components != null)47				{48					components.Dispose();49				}50			}51			base.Dispose( disposing );52		}5354		#region Windows Form Designer generated code55		/// <summary>56		/// Required method for Designer support - do not modify57		/// the contents of this method with the code editor.58		/// </summary>59		private void InitializeComponent()60		{61            this.butOk = new System.Windows.Forms.Button();62            this.groupBox1 = new System.Windows.Forms.GroupBox();63            this.lblFeedback = new System.Windows.Forms.Label();64            this.lblPluginDesc = new System.Windows.Forms.Label();65            this.groupBox2 = new System.Windows.Forms.GroupBox();66            this.lblPluginAuthor = new System.Windows.Forms.Label();67            this.lblPluginVersion = new System.Windows.Forms.Label();68            this.lblPluginName = new System.Windows.Forms.Label();69            this.groupBox1.SuspendLayout();70            this.groupBox2.SuspendLayout();71            this.SuspendLayout();72            // 73            // butOk74            // 75            this.butOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));76            this.butOk.FlatStyle = System.Windows.Forms.FlatStyle.System;77            this.butOk.Location = new System.Drawing.Point(128, 278);78            this.butOk.Name = "butOk";79            this.butOk.Size = new System.Drawing.Size(64, 24);80            this.butOk.TabIndex = 0;81            this.butOk.Text = "&OK";82            this.butOk.Click += new System.EventHandler(this.butOk_Click);83            // 84            // groupBox185            // 86            this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 87            | System.Windows.Forms.AnchorStyles.Left) 88            | System.Windows.Forms.AnchorStyles.Right)));89            this.groupBox1.Controls.Add(this.lblFeedback);90            this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;91            this.groupBox1.Location = new System.Drawing.Point(8, 143);92            this.groupBox1.Name = "groupBox1";93            this.groupBox1.Size = new System.Drawing.Size(312, 133);94            this.groupBox1.TabIndex = 1;95            this.groupBox1.TabStop = false;96            this.groupBox1.Text = "Feedback:";97            // 98            // lblFeedback99            // 100            this.lblFeedback.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 101            | System.Windows.Forms.AnchorStyles.Left) 102            | System.Windows.Forms.AnchorStyles.Right)));103            this.lblFeedback.Location = new System.Drawing.Point(8, 16);104            this.lblFeedback.Name = "lblFeedback";105            this.lblFeedback.Size = new System.Drawing.Size(296, 109);106            this.lblFeedback.TabIndex = 0;107            // 108            // lblPluginDesc109            // 110            this.lblPluginDesc.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 111            | System.Windows.Forms.AnchorStyles.Left) 112            | System.Windows.Forms.AnchorStyles.Right)));113            this.lblPluginDesc.Location = new System.Drawing.Point(16, 72);114            this.lblPluginDesc.Name = "lblPluginDesc";115            this.lblPluginDesc.Size = new System.Drawing.Size(288, 32);116            this.lblPluginDesc.TabIndex = 0;117            // 118            // groupBox2119            // 120            this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 121            | System.Windows.Forms.AnchorStyles.Right)));122            this.groupBox2.Controls.Add(this.lblPluginAuthor);123            this.groupBox2.Controls.Add(this.lblPluginVersion);124            this.groupBox2.Controls.Add(this.lblPluginName);125            this.groupBox2.Controls.Add(this.lblPluginDesc);126            this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;127            this.groupBox2.Location = new System.Drawing.Point(8, 20);128            this.groupBox2.Name = "groupBox2";129            this.groupBox2.Size = new System.Drawing.Size(312, 112);130            this.groupBox2.TabIndex = 2;131            this.groupBox2.TabStop = false;132            this.groupBox2.Text = "Plugin Info:";133            // 134            // lblPluginAuthor135            // 136            this.lblPluginAuthor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 137            | System.Windows.Forms.AnchorStyles.Right)));138            this.lblPluginAuthor.Location = new System.Drawing.Point(8, 48);139            this.lblPluginAuthor.Name = "lblPluginAuthor";140            this.lblPluginAuthor.Size = new System.Drawing.Size(296, 16);141            this.lblPluginAuthor.TabIndex = 5;142            this.lblPluginAuthor.Text = "By: <Author\'s Name>";143            // 144            // lblPluginVersion145            // 146            this.lblPluginVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 147            | System.Windows.Forms.AnchorStyles.Right)));148            this.lblPluginVersion.Location = new System.Drawing.Point(8, 32);149            this.lblPluginVersion.Name = "lblPluginVersion";150            this.lblPluginVersion.Size = new System.Drawing.Size(296, 16);151            this.lblPluginVersion.TabIndex = 4;152            this.lblPluginVersion.Text = "(<Version>)";153            // 154            // lblPluginName155            // 156            this.lblPluginName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 157            | System.Windows.Forms.AnchorStyles.Right)));158            this.lblPluginName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));159            this.lblPluginName.Location = new System.Drawing.Point(8, 16);160            this.lblPluginName.Name = "lblPluginName";161            this.lblPluginName.Size = new System.Drawing.Size(296, 16);162            this.lblPluginName.TabIndex = 3;163            this.lblPluginName.Text = "<Plugin Name Here>";164            // 165            // frmFeedback166            // 167            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);168            this.ClientSize = new System.Drawing.Size(328, 308);169            this.Controls.Add(this.groupBox2);170            this.Controls.Add(this.groupBox1);171            this.Controls.Add(this.butOk);172            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;173            this.MaximizeBox = false;174            this.MinimizeBox = false;175            this.Name = "frmFeedback";176            this.Padding = new System.Windows.Forms.Padding(20, 30, 20, 20);177            this.Text = "Plugin Feedback:";178            this.Load += new System.EventHandler(this.frmFeedback_Load);179            this.groupBox1.ResumeLayout(false);180            this.groupBox2.ResumeLayout(false);181            this.ResumeLayout(false);182183		}184		#endregion185186		private void frmFeedback_Load(object sender, System.EventArgs e)187		{188		189		}190191		private void butOk_Click(object sender, System.EventArgs e)192		{193			this.Close();194		}195196		public string PluginAuthor197		{198			get {return this.lblPluginAuthor.Text;}199			set {this.lblPluginAuthor.Text = value;}200		}201202		public string PluginDesc203		{204			get {return this.lblPluginDesc.Text;}205			set {this.lblPluginDesc.Text = value;}206		}207208		public string PluginName209		{			210			get {return this.lblPluginName.Text;}211			set {this.lblPluginName.Text = value;}212		}213		public string PluginVersion214		{215			get {return this.lblPluginVersion.Text;}216			set {this.lblPluginVersion.Text = value;}217		}218		public string Feedback219		{220			get {return this.lblFeedback.Text;}221			set {this.lblFeedback.Text = value;}222		}223	}224}