# HG changeset patch
# User StephaneLenclud
# Date 1460723565 -7200
# Node ID ac5fb7de7f1b396fc3d64f307ca5263f5cacf2be
# Parent c66ec88ed19d487d623f10e6c304591b5834f331
Adding empty FX control.
diff -r c66ec88ed19d -r ac5fb7de7f1b Server/FxControl.Designer.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Server/FxControl.Designer.cs Fri Apr 15 14:32:45 2016 +0200
@@ -0,0 +1,45 @@
+namespace SharpDisplayManager
+{
+ partial class FxControl
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (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.SuspendLayout();
+ //
+ // FxControl
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Name = "FxControl";
+ this.Size = new System.Drawing.Size(126, 122);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ }
+}
diff -r c66ec88ed19d -r ac5fb7de7f1b Server/FxControl.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Server/FxControl.cs Fri Apr 15 14:32:45 2016 +0200
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace SharpDisplayManager
+{
+ public partial class FxControl : UserControl
+ {
+ public FxControl()
+ {
+ InitializeComponent();
+ }
+
+ protected override void OnPaint(PaintEventArgs e)
+ {
+ // Call the OnPaint method of the base class.
+ base.OnPaint(e);
+
+ SolidBrush brush = new SolidBrush(Color.Blue);
+ // Declare and instantiate a new pen.
+ Pen myPen = new Pen(brush);
+
+ // Draw an aqua rectangle in the rectangle represented by the control.
+ e.Graphics.DrawRectangle(myPen, new Rectangle(new Point(0,0), this.Size - new Size(1,1)));
+ }
+ }
+}
diff -r c66ec88ed19d -r ac5fb7de7f1b Server/FxControl.resx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Server/FxControl.resx Fri Apr 15 14:32:45 2016 +0200
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff -r c66ec88ed19d -r ac5fb7de7f1b Server/MainForm.resx
--- a/Server/MainForm.resx Sun Feb 07 22:37:31 2016 +0100
+++ b/Server/MainForm.resx Fri Apr 15 14:32:45 2016 +0200
@@ -185,9 +185,6 @@
WSC3/b/CbwiR/gNzbuWksIMBOAAAAABJRU5ErkJggg==
-
- 315, 17
-
405, 17
diff -r c66ec88ed19d -r ac5fb7de7f1b Server/SharpDisplayManager.csproj
--- a/Server/SharpDisplayManager.csproj Sun Feb 07 22:37:31 2016 +0100
+++ b/Server/SharpDisplayManager.csproj Fri Apr 15 14:32:45 2016 +0200
@@ -157,6 +157,12 @@
+
+ UserControl
+
+
+ FxControl.cs
+
MainForm.cs
@@ -186,6 +192,9 @@
+
+ FxControl.cs
+
MainForm.cs