Added base functionality for login screen

This commit is contained in:
Jannick van Ballegooijen
2015-10-04 21:25:36 +02:00
parent 0f87314642
commit f0500509b8
22 changed files with 473 additions and 63 deletions
@@ -33,10 +33,17 @@ namespace ErgometerApplication
this.components = new System.ComponentModel.Container();
this.updateTimer = new System.Windows.Forms.Timer(this.components);
this.writeTimer = new System.Windows.Forms.Timer(this.components);
this.panelLogin = new System.Windows.Forms.Panel();
this.lblUsername = new System.Windows.Forms.Label();
this.lblPassword = new System.Windows.Forms.Label();
this.panelLogin.SuspendLayout();
this.panelClientContainer = new System.Windows.Forms.Panel();
this.panelFullscreenView = new System.Windows.Forms.Panel();
this.panelClientDataView = new ErgometerApplication.PanelClientDataView();
this.panelClientChat = new ErgometerApplication.PanelClientChat();
this.panelLogin = new ErgometerApplication.PanelLogin(this);
this.panelTopBar = new System.Windows.Forms.Panel();
this.buttonLogOff = new System.Windows.Forms.Button();
this.labelUsername = new System.Windows.Forms.Label();
this.labelHallo = new System.Windows.Forms.Label();
this.panelClientContainer.SuspendLayout();
this.panelTopBar.SuspendLayout();
this.SuspendLayout();
//
// updateTimer
@@ -47,47 +54,108 @@ namespace ErgometerApplication
//
this.writeTimer.Interval = 10000;
//
// panelLogin
// panelClientContainer
//
this.panelLogin.Controls.Add(this.lblUsername);
this.panelLogin.Controls.Add(this.lblPassword);
this.panelLogin.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelLogin.Location = new System.Drawing.Point(0, 0);
this.panelLogin.Name = "panelLogin";
this.panelLogin.Size = new System.Drawing.Size(800, 600);
this.panelLogin.TabIndex = 0;
this.panelClientContainer.Controls.Add(this.panelFullscreenView);
this.panelClientContainer.Controls.Add(this.panelClientDataView);
this.panelClientContainer.Controls.Add(this.panelClientChat);
this.panelClientContainer.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelClientContainer.Location = new System.Drawing.Point(0, 0);
this.panelClientContainer.Name = "panelClientContainer";
this.panelClientContainer.Size = new System.Drawing.Size(800, 600);
this.panelClientContainer.TabIndex = 0;
//
// lblUsername
// panelFullscreenView
//
this.lblUsername.Anchor = System.Windows.Forms.AnchorStyles.None;
this.lblUsername.AutoSize = true;
this.lblUsername.Location = new System.Drawing.Point(243, 255);
this.lblUsername.Name = "lblUsername";
this.lblUsername.Size = new System.Drawing.Size(84, 13);
this.lblUsername.TabIndex = 1;
this.lblUsername.Text = "Gebruikersnaam";
this.panelFullscreenView.Dock = System.Windows.Forms.DockStyle.Left;
this.panelFullscreenView.Location = new System.Drawing.Point(0, 0);
this.panelFullscreenView.Name = "panelFullscreenView";
this.panelFullscreenView.Size = new System.Drawing.Size(18, 600);
this.panelFullscreenView.TabIndex = 3;
this.panelFullscreenView.BackColor = System.Drawing.Color.Gray;
//
// lblPassword
// panelClientDataView
//
this.lblPassword.Anchor = System.Windows.Forms.AnchorStyles.None;
this.lblPassword.AutoSize = true;
this.lblPassword.Location = new System.Drawing.Point(243, 291);
this.lblPassword.Name = "lblPassword";
this.lblPassword.Size = new System.Drawing.Size(68, 13);
this.lblPassword.TabIndex = 0;
this.lblPassword.Text = "Wachtwoord";
this.panelClientDataView.BackColor = System.Drawing.SystemColors.ButtonFace;
this.panelClientDataView.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelClientDataView.Location = new System.Drawing.Point(0, 0);
this.panelClientDataView.Name = "panelClientDataView";
this.panelClientDataView.Size = new System.Drawing.Size(400, 600);
this.panelClientDataView.TabIndex = 1;
//
// panelClientChat
//
this.panelClientChat.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.panelClientChat.Dock = System.Windows.Forms.DockStyle.Right;
this.panelClientChat.Location = new System.Drawing.Point(400, 0);
this.panelClientChat.Name = "panelClientChat";
this.panelClientChat.Size = new System.Drawing.Size(400, 600);
this.panelClientChat.TabIndex = 2;
//
// panelTopBar
//
this.panelTopBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panelTopBar.Controls.Add(this.buttonLogOff);
this.panelTopBar.Controls.Add(this.labelUsername);
this.panelTopBar.Controls.Add(this.labelHallo);
this.panelTopBar.Dock = System.Windows.Forms.DockStyle.Top;
this.panelTopBar.Location = new System.Drawing.Point(0, 0);
this.panelTopBar.Name = "panelTopBar";
this.panelTopBar.Size = new System.Drawing.Size(800, 30);
this.panelTopBar.TabIndex = 1;
this.panelTopBar.Visible = false;
//
// buttonLogOff
//
this.buttonLogOff.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonLogOff.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.buttonLogOff.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonLogOff.Font = new System.Drawing.Font("Segoe UI Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonLogOff.Location = new System.Drawing.Point(722, 3);
this.buttonLogOff.Name = "buttonLogOff";
this.buttonLogOff.Size = new System.Drawing.Size(75, 23);
this.buttonLogOff.TabIndex = 1;
this.buttonLogOff.Text = "Afmelden";
this.buttonLogOff.UseVisualStyleBackColor = false;
this.buttonLogOff.Click += new System.EventHandler(this.buttonLogOff_Click);
//
// labelUsername
//
this.labelUsername.AutoSize = true;
this.labelUsername.Font = new System.Drawing.Font("Segoe UI Semilight", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelUsername.ForeColor = System.Drawing.Color.White;
this.labelUsername.Location = new System.Drawing.Point(49, 3);
this.labelUsername.Name = "labelUsername";
this.labelUsername.Size = new System.Drawing.Size(144, 21);
this.labelUsername.TabIndex = 0;
this.labelUsername.Text = "<Gebruikersnaam>";
//
// labelHallo
//
this.labelHallo.AutoSize = true;
this.labelHallo.Font = new System.Drawing.Font("Segoe UI Semilight", 12F);
this.labelHallo.ForeColor = System.Drawing.Color.White;
this.labelHallo.Location = new System.Drawing.Point(3, 3);
this.labelHallo.Name = "labelHallo";
this.labelHallo.Size = new System.Drawing.Size(54, 21);
this.labelHallo.TabIndex = 0;
this.labelHallo.Text = "Hallo, ";
//
// ClientApplicatie
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 600);
this.Controls.Add(this.panelTopBar);
this.Controls.Add(this.panelLogin);
this.Controls.Add(this.panelClientContainer);
this.Name = "ClientApplicatie";
this.Text = "Client Applicatie";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.panelLogin.ResumeLayout(false);
this.panelLogin.PerformLayout();
this.Resize += new System.EventHandler(this.ClientApplicatie_Resize);
this.panelClientContainer.ResumeLayout(false);
this.panelTopBar.ResumeLayout(false);
this.panelTopBar.PerformLayout();
this.ResumeLayout(false);
}
@@ -95,8 +163,14 @@ namespace ErgometerApplication
#endregion
private System.Windows.Forms.Timer updateTimer;
private System.Windows.Forms.Timer writeTimer;
private System.Windows.Forms.Panel panelLogin;
private System.Windows.Forms.Label lblUsername;
private System.Windows.Forms.Label lblPassword;
private System.Windows.Forms.Panel panelClientContainer;
private PanelClientChat panelClientChat;
private PanelClientDataView panelClientDataView;
private PanelLogin panelLogin;
private System.Windows.Forms.Panel panelFullscreenView;
private System.Windows.Forms.Panel panelTopBar;
private System.Windows.Forms.Button buttonLogOff;
private System.Windows.Forms.Label labelUsername;
private System.Windows.Forms.Label labelHallo;
}
}
@@ -278,5 +278,71 @@ namespace ErgometerApplication
// readFile = null;
// }
//}
public void validateLogin(string username, string password)
{
if(username.Length >= 4)
{
if(password.Length == 0)
{
panelLogin.lblVerification.Text = "Vul een wachtwoord in.";
panelLogin.lblVerification.ForeColor = Color.Red;
panelLogin.lblVerification.Visible = true;
}
if (password.Length > 0 && password.Length < 9)
{
panelLogin.lblVerification.Text = "Vul een wachtwoord in van minimaal 8 karakters.";
panelLogin.lblVerification.ForeColor = Color.Red;
panelLogin.lblVerification.Visible = true;
}
if (password.Length >= 8)
{
//password checken
panelClientContainer.BringToFront();
this.labelUsername.Text = panelLogin.textBoxUsername.Text;
panelTopBar.Visible = true;
}
}
else
{
panelLogin.lblVerification.Text = "Vul een gebruikersnaam in van minimaal 4 karakters.";
panelLogin.lblVerification.ForeColor = Color.Red;
panelLogin.lblVerification.Visible = true;
}
}
private void ClientApplicatie_Resize(object sender, System.EventArgs e)
{
Control control = (Control)sender;
if(control.Size.Width < 980)
{
panelFullscreenView.Visible = false;
}
if (control.Size.Width >= 980 && control.Size.Width < 1368)
{
panelFullscreenView.Visible = true;
panelFullscreenView.Width = 250;
}
if (control.Size.Width >= 1368)
{
panelFullscreenView.Visible = true;
panelFullscreenView.Width = 500;
}
}
public void sessionLogout()
{
}
private void buttonLogOff_Click(object sender, EventArgs e)
{
panelLogin.BringToFront();
panelTopBar.Visible = false;
sessionLogout();
}
}
}
@@ -54,6 +54,18 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="PanelClientChat.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="PanelClientContainer.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="PanelClientDataView.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="PanelLogin.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="ServerCommunicator.cs" />
<Compile Include="DataSaving.cs" />
<Compile Include="ClientApplicatie.cs">
@@ -75,6 +87,7 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
@@ -93,6 +106,9 @@
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\flatbike.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ErgometerApplication
{
public class PanelClientChat : Panel
{
public PanelClientChat() : base()
{
//
// panelClientChat
//
this.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.Dock = System.Windows.Forms.DockStyle.Left;
this.Location = new System.Drawing.Point(0, 0);
this.Name = "panelClientChat";
this.Size = new System.Drawing.Size(400, 600);
this.TabIndex = 2;
}
}
}
@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ErgometerApplication
{
public class PanelClientContainer:Panel
{
private PanelClientChat panelClientChat;
private PanelClientDataView panelClientDataView;
public PanelClientContainer() : base()
{
this.panelClientChat = new PanelClientChat();
this.panelClientDataView = new PanelClientDataView();
//
// panelClientContainer
//
this.Controls.Add(this.panelClientDataView);
this.Controls.Add(this.panelClientChat);
this.Dock = System.Windows.Forms.DockStyle.Fill;
this.Location = new System.Drawing.Point(0, 0);
this.Name = "panelClientContainer";
this.Size = new System.Drawing.Size(800, 600);
this.TabIndex = 0;
}
}
}
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ErgometerApplication
{
public class PanelClientDataView:Panel
{
public PanelClientDataView() : base()
{
//
// panelClientDataView
//
this.BackColor = System.Drawing.SystemColors.ButtonFace;
this.Dock = System.Windows.Forms.DockStyle.Fill;
this.Location = new System.Drawing.Point(400, 0);
this.Name = "panelClientDataView";
this.Size = new System.Drawing.Size(400, 600);
this.TabIndex = 1;
}
}
}
@@ -0,0 +1,148 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ErgometerApplication
{
public class PanelLogin:Panel
{
private System.Windows.Forms.Label lblUsername;
private System.Windows.Forms.Label lblPassword;
public System.Windows.Forms.Label lblVerification;
public System.Windows.Forms.TextBox textBoxPassword;
public System.Windows.Forms.TextBox textBoxUsername;
public System.Windows.Forms.Button buttonLogin;
private System.Windows.Forms.Label lblLoginTitle;
private System.Windows.Forms.PictureBox pictureBoxBike;
private ClientApplicatie app;
public PanelLogin(ClientApplicatie app):base()
{
this.app = app;
this.pictureBoxBike = new System.Windows.Forms.PictureBox();
this.buttonLogin = new System.Windows.Forms.Button();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.textBoxUsername = new System.Windows.Forms.TextBox();
this.lblLoginTitle = new System.Windows.Forms.Label();
this.lblUsername = new System.Windows.Forms.Label();
this.lblPassword = new System.Windows.Forms.Label();
this.lblVerification = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBike)).BeginInit();
//
// panelLogin
//
this.Controls.Add(this.pictureBoxBike);
this.Controls.Add(this.buttonLogin);
this.Controls.Add(this.textBoxUsername);
this.Controls.Add(this.textBoxPassword);
this.Controls.Add(this.lblLoginTitle);
this.Controls.Add(this.lblUsername);
this.Controls.Add(this.lblPassword);
this.Controls.Add(this.lblVerification);
this.Dock = System.Windows.Forms.DockStyle.Fill;
this.Location = new System.Drawing.Point(0, 0);
this.Name = "panelLogin";
this.Size = new System.Drawing.Size(800, 600);
this.TabIndex = 0;
//
// pictureBoxBike
//
this.pictureBoxBike.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pictureBoxBike.Image = global::ErgometerApplication.Properties.Resources.flatbike;
this.pictureBoxBike.Location = new System.Drawing.Point(137, 131);
this.pictureBoxBike.Name = "pictureBoxBike";
this.pictureBoxBike.Size = new System.Drawing.Size(250, 250);
this.pictureBoxBike.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBoxBike.TabIndex = 4;
this.pictureBoxBike.TabStop = false;
//
// buttonLogin
//
this.buttonLogin.Anchor = System.Windows.Forms.AnchorStyles.None;
this.buttonLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonLogin.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonLogin.Location = new System.Drawing.Point(468, 338);
this.buttonLogin.Name = "buttonLogin";
this.buttonLogin.Size = new System.Drawing.Size(168, 31);
this.buttonLogin.TabIndex = 3;
this.buttonLogin.Text = "Aanmelden";
this.buttonLogin.UseVisualStyleBackColor = true;
this.buttonLogin.Click += new System.EventHandler(this.buttonLogin_Click);
//
// textBoxPassword
//
this.textBoxPassword.Anchor = System.Windows.Forms.AnchorStyles.None;
this.textBoxPassword.Location = new System.Drawing.Point(467, 287);
this.textBoxPassword.MaxLength = 16;
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.PasswordChar = '*';
this.textBoxPassword.Size = new System.Drawing.Size(167, 20);
this.textBoxPassword.TabIndex = 2;
//
// textBoxUsername
//
this.textBoxUsername.Anchor = System.Windows.Forms.AnchorStyles.None;
this.textBoxUsername.Location = new System.Drawing.Point(468, 231);
this.textBoxUsername.MaxLength = 16;
this.textBoxUsername.Name = "textBoxUsername";
this.textBoxUsername.Size = new System.Drawing.Size(167, 20);
this.textBoxUsername.TabIndex = 2;
//
// lblLoginTitle
//
this.lblLoginTitle.Anchor = System.Windows.Forms.AnchorStyles.None;
this.lblLoginTitle.AutoSize = true;
this.lblLoginTitle.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblLoginTitle.Location = new System.Drawing.Point(461, 141);
this.lblLoginTitle.Name = "lblLoginTitle";
this.lblLoginTitle.Size = new System.Drawing.Size(87, 32);
this.lblLoginTitle.TabIndex = 1;
this.lblLoginTitle.Text = "Log In";
//
// lblVerification
//
this.lblVerification.Anchor = System.Windows.Forms.AnchorStyles.None;
this.lblVerification.AutoSize = true;
this.lblVerification.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblVerification.Location = new System.Drawing.Point(140, 415);
this.lblVerification.Name = "lvlVerification";
this.lblVerification.Size = new System.Drawing.Size(200, 21);
this.lblVerification.TabIndex = 1;
this.lblVerification.Text = "Verification label";
this.lblVerification.Visible = false;
//
// lblUsername
//
this.lblUsername.Anchor = System.Windows.Forms.AnchorStyles.None;
this.lblUsername.AutoSize = true;
this.lblUsername.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblUsername.Location = new System.Drawing.Point(464, 207);
this.lblUsername.Name = "lblUsername";
this.lblUsername.Size = new System.Drawing.Size(128, 21);
this.lblUsername.TabIndex = 1;
this.lblUsername.Text = "Gebruikersnaam";
//
// lblPassword
//
this.lblPassword.Anchor = System.Windows.Forms.AnchorStyles.None;
this.lblPassword.AutoSize = true;
this.lblPassword.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold);
this.lblPassword.Location = new System.Drawing.Point(464, 263);
this.lblPassword.Name = "lblPassword";
this.lblPassword.Size = new System.Drawing.Size(103, 21);
this.lblPassword.TabIndex = 0;
this.lblPassword.Text = "Wachtwoord";
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBike)).EndInit();
}
public void buttonLogin_Click(object sender, EventArgs e)
{
string username = textBoxUsername.Text;
string password = textBoxPassword.Text;
this.app.validateLogin(username,password);
}
}
}
@@ -8,10 +8,10 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace ErgometerApplication.Properties
{
namespace ErgometerApplication.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@@ -22,50 +22,52 @@ namespace ErgometerApplication.Properties
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ErgometerApplication.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set
{
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap flatbike {
get {
object obj = ResourceManager.GetObject("flatbike", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}
@@ -46,7 +46,7 @@
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
@@ -60,6 +60,7 @@
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
@@ -68,9 +69,10 @@
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
@@ -85,9 +87,10 @@
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
@@ -109,9 +112,13 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="flatbike" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\flatbike.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

@@ -30,3 +30,14 @@ C:\Users\startklaar\Source\Repos\ErgometerApplication\ErgometerApplication\Ergom
C:\Users\startklaar\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.exe
C:\Users\startklaar\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.pdb
C:\Users\startklaar\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.ClientApplicatie.resources
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\bin\Debug\ErgometerApplication.exe.config
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.exe
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.pdb
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\bin\Debug\ErgometerApplication.exe
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\bin\Debug\ErgometerApplication.pdb
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\bin\Debug\Newtonsoft.Json.dll
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\bin\Debug\Newtonsoft.Json.xml
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.csprojResolveAssemblyReference.cache
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.ClientApplicatie.resources
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.Properties.Resources.resources
D:\Source\Repos\ErgometerApplication\ErgometerApplication\ErgometerApplication\obj\Debug\ErgometerApplication.csproj.GenerateResource.Cache