Batch Commit Sticky Notes
This commit is contained in:
117
Sticky Notes - C#/StickyNotes/Properties/Resources.resx
Normal file
117
Sticky Notes - C#/StickyNotes/Properties/Resources.resx
Normal file
@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: 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:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<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="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<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>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
26
Sticky Notes - C#/StickyNotes/Properties/Settings.Designer.cs
generated
Normal file
26
Sticky Notes - C#/StickyNotes/Properties/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace StickyNotes.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
206
Sticky Notes - C#/StickyNotes/Sticky.Designer.cs
generated
Normal file
206
Sticky Notes - C#/StickyNotes/Sticky.Designer.cs
generated
Normal file
@ -0,0 +1,206 @@
|
||||
namespace StickyNotes
|
||||
{
|
||||
partial class StickyNote
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StickyNote));
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.MenuBar = new System.Windows.Forms.ToolStrip();
|
||||
this.Add = new System.Windows.Forms.ToolStripButton();
|
||||
this.Settings = new System.Windows.Forms.ToolStripButton();
|
||||
this.Delete = new System.Windows.Forms.ToolStripButton();
|
||||
this.LeftResizePanel = new System.Windows.Forms.Panel();
|
||||
this.LeftBottomResizePanel = new System.Windows.Forms.Panel();
|
||||
this.RightResizePAnel = new System.Windows.Forms.Panel();
|
||||
this.RightBottomCornerPanel = new System.Windows.Forms.Panel();
|
||||
this.BottomResizePAnel = new System.Windows.Forms.Panel();
|
||||
this.TopResizePanel = new System.Windows.Forms.Panel();
|
||||
this.MenuBar.SuspendLayout();
|
||||
this.LeftResizePanel.SuspendLayout();
|
||||
this.RightResizePAnel.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.richTextBox1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.richTextBox1.Location = new System.Drawing.Point(10, 35);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.Size = new System.Drawing.Size(264, 216);
|
||||
this.richTextBox1.TabIndex = 1;
|
||||
this.richTextBox1.Text = "";
|
||||
//
|
||||
// MenuBar
|
||||
//
|
||||
this.MenuBar.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.MenuBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.Add,
|
||||
this.Settings,
|
||||
this.Delete});
|
||||
this.MenuBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.MenuBar.Name = "MenuBar";
|
||||
this.MenuBar.Size = new System.Drawing.Size(284, 25);
|
||||
this.MenuBar.TabIndex = 2;
|
||||
this.MenuBar.Text = "toolStrip1";
|
||||
this.MenuBar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.MenuBar_MouseDown);
|
||||
this.MenuBar.MouseMove += new System.Windows.Forms.MouseEventHandler(this.MenuBar_MouseMove);
|
||||
this.MenuBar.MouseUp += new System.Windows.Forms.MouseEventHandler(this.MenuBar_MouseUp);
|
||||
//
|
||||
// Add
|
||||
//
|
||||
this.Add.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.Add.Image = ((System.Drawing.Image)(resources.GetObject("Add.Image")));
|
||||
this.Add.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.Add.Name = "Add";
|
||||
this.Add.Size = new System.Drawing.Size(23, 22);
|
||||
this.Add.Text = "toolStripButton1";
|
||||
this.Add.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// Settings
|
||||
//
|
||||
this.Settings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.Settings.Image = ((System.Drawing.Image)(resources.GetObject("Settings.Image")));
|
||||
this.Settings.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.Settings.Name = "Settings";
|
||||
this.Settings.Size = new System.Drawing.Size(23, 22);
|
||||
this.Settings.Text = "toolStripButton2";
|
||||
//
|
||||
// Delete
|
||||
//
|
||||
this.Delete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.Delete.Image = ((System.Drawing.Image)(resources.GetObject("Delete.Image")));
|
||||
this.Delete.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.Delete.Name = "Delete";
|
||||
this.Delete.Size = new System.Drawing.Size(23, 22);
|
||||
this.Delete.Text = "toolStripButton3";
|
||||
this.Delete.Click += new System.EventHandler(this.toolStripButton3_Click);
|
||||
//
|
||||
// LeftResizePanel
|
||||
//
|
||||
this.LeftResizePanel.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.LeftResizePanel.Controls.Add(this.LeftBottomResizePanel);
|
||||
this.LeftResizePanel.Cursor = System.Windows.Forms.Cursors.SizeWE;
|
||||
this.LeftResizePanel.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.LeftResizePanel.Location = new System.Drawing.Point(0, 25);
|
||||
this.LeftResizePanel.Name = "LeftResizePanel";
|
||||
this.LeftResizePanel.Size = new System.Drawing.Size(10, 236);
|
||||
this.LeftResizePanel.TabIndex = 3;
|
||||
//
|
||||
// LeftBottomResizePanel
|
||||
//
|
||||
this.LeftBottomResizePanel.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.LeftBottomResizePanel.Cursor = System.Windows.Forms.Cursors.SizeNESW;
|
||||
this.LeftBottomResizePanel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.LeftBottomResizePanel.Location = new System.Drawing.Point(0, 226);
|
||||
this.LeftBottomResizePanel.Name = "LeftBottomResizePanel";
|
||||
this.LeftBottomResizePanel.Size = new System.Drawing.Size(10, 10);
|
||||
this.LeftBottomResizePanel.TabIndex = 0;
|
||||
//
|
||||
// RightResizePAnel
|
||||
//
|
||||
this.RightResizePAnel.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.RightResizePAnel.Controls.Add(this.RightBottomCornerPanel);
|
||||
this.RightResizePAnel.Cursor = System.Windows.Forms.Cursors.SizeWE;
|
||||
this.RightResizePAnel.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.RightResizePAnel.Location = new System.Drawing.Point(274, 25);
|
||||
this.RightResizePAnel.Name = "RightResizePAnel";
|
||||
this.RightResizePAnel.Size = new System.Drawing.Size(10, 236);
|
||||
this.RightResizePAnel.TabIndex = 4;
|
||||
//
|
||||
// RightBottomCornerPanel
|
||||
//
|
||||
this.RightBottomCornerPanel.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.RightBottomCornerPanel.Cursor = System.Windows.Forms.Cursors.SizeNWSE;
|
||||
this.RightBottomCornerPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.RightBottomCornerPanel.Location = new System.Drawing.Point(0, 226);
|
||||
this.RightBottomCornerPanel.Name = "RightBottomCornerPanel";
|
||||
this.RightBottomCornerPanel.Size = new System.Drawing.Size(10, 10);
|
||||
this.RightBottomCornerPanel.TabIndex = 0;
|
||||
//
|
||||
// BottomResizePAnel
|
||||
//
|
||||
this.BottomResizePAnel.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.BottomResizePAnel.Cursor = System.Windows.Forms.Cursors.SizeNS;
|
||||
this.BottomResizePAnel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.BottomResizePAnel.Location = new System.Drawing.Point(10, 251);
|
||||
this.BottomResizePAnel.Name = "BottomResizePAnel";
|
||||
this.BottomResizePAnel.Size = new System.Drawing.Size(264, 10);
|
||||
this.BottomResizePAnel.TabIndex = 5;
|
||||
//
|
||||
// TopResizePanel
|
||||
//
|
||||
this.TopResizePanel.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.TopResizePanel.Cursor = System.Windows.Forms.Cursors.SizeNS;
|
||||
this.TopResizePanel.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.TopResizePanel.Location = new System.Drawing.Point(10, 25);
|
||||
this.TopResizePanel.Name = "TopResizePanel";
|
||||
this.TopResizePanel.Size = new System.Drawing.Size(264, 10);
|
||||
this.TopResizePanel.TabIndex = 6;
|
||||
//
|
||||
// StickyNote
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(284, 261);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.richTextBox1);
|
||||
this.Controls.Add(this.TopResizePanel);
|
||||
this.Controls.Add(this.BottomResizePAnel);
|
||||
this.Controls.Add(this.RightResizePAnel);
|
||||
this.Controls.Add(this.LeftResizePanel);
|
||||
this.Controls.Add(this.MenuBar);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Name = "StickyNote";
|
||||
this.Text = "StickyNote";
|
||||
this.MouseLeave += new System.EventHandler(this.StickyNote_MouseLeave);
|
||||
this.MenuBar.ResumeLayout(false);
|
||||
this.MenuBar.PerformLayout();
|
||||
this.LeftResizePanel.ResumeLayout(false);
|
||||
this.RightResizePAnel.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
private System.Windows.Forms.ToolStrip MenuBar;
|
||||
private System.Windows.Forms.ToolStripButton Add;
|
||||
private System.Windows.Forms.ToolStripButton Settings;
|
||||
private System.Windows.Forms.ToolStripButton Delete;
|
||||
private System.Windows.Forms.Panel LeftResizePanel;
|
||||
private System.Windows.Forms.Panel RightResizePAnel;
|
||||
private System.Windows.Forms.Panel BottomResizePAnel;
|
||||
private System.Windows.Forms.Panel TopResizePanel;
|
||||
private System.Windows.Forms.Panel LeftBottomResizePanel;
|
||||
private System.Windows.Forms.Panel RightBottomCornerPanel;
|
||||
}
|
||||
}
|
||||
|
66
Sticky Notes - C#/StickyNotes/Sticky.cs
Normal file
66
Sticky Notes - C#/StickyNotes/Sticky.cs
Normal file
@ -0,0 +1,66 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace StickyNotes
|
||||
{
|
||||
public partial class StickyNote : Form
|
||||
{
|
||||
|
||||
private bool mouseIsDown = false;
|
||||
private int xDiff;
|
||||
private int yDiff;
|
||||
private bool mouseonMenu = false;
|
||||
public StickyNote()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
new StickyNote().Show();
|
||||
|
||||
}
|
||||
|
||||
private void MenuBar_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
mouseIsDown = true;
|
||||
xDiff = Cursor.Position.X - Location.X;
|
||||
yDiff = Cursor.Position.Y - Location.Y;
|
||||
}
|
||||
|
||||
private void MenuBar_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
mouseIsDown = false;
|
||||
}
|
||||
|
||||
private void MenuBar_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (mouseIsDown)
|
||||
{
|
||||
// Set the new point
|
||||
|
||||
int x = MousePosition.X - xDiff;
|
||||
int y = MousePosition.Y - yDiff;
|
||||
Location = new Point(x, y);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void StickyNote_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
MenuBar.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
183
Sticky Notes - C#/StickyNotes/Sticky.resx
Normal file
183
Sticky Notes - C#/StickyNotes/Sticky.resx
Normal file
@ -0,0 +1,183 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: 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">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<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">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<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" 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">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="MenuBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="Add.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABGSURBVDhP3ZExCgAwCMR8m/9/j2uLcEOFgJ0vkClyHRpE
|
||||
VR1SeaePM3PoPNCBpAESX/vVaYCkY1J/MelAA8o7JgOk8kPEBZNVkqxhV43UAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="Settings.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJdSURBVFhHxZcxUkIxEIY5kmegZ8YjWNDTIhUVrT3DjCW3
|
||||
4AraKoUHoEAHHpQxX8j/XGKQF3iMO/Nr3Oz+u9nsRuhcK9vt9m6z2XzsdjtngY69aNauVFV1L3LWaXCB
|
||||
PWyw1fpq8cRPCrDf7x888Zj1bDZz3W43gHVMYIyN7D2eIs1l4gmfDZmw5ncuAe1ZwBHpysQ7h5OvVivX
|
||||
7/fdZDIJaxEPBoM6AdbSY4MtOmNfVgnuT4QEVyDWi8XCjUajWiegYy+1Fw+ckf680ERy5DQ2UAnwFU/x
|
||||
hKiZdAW5AH8BH10BXJH2vFCqdM4hms/nNflw+Oje35buc/0VwBqdTYDriP5rzzmG92QV7GbukREUXIFT
|
||||
2CToidQf7hDQit84mnOtc2NGZy/fl9wnTeWm02kI+vLyGhKgEvIB2ONrxtTFsAfxJLk5D8glwG8Cy0b9
|
||||
YatiE7CQTwx9POdkeumcAypRlAB3LkU6tyVzrsSoStEV0HBStDHn1faQQFETtjXnnJ7GtMHByTHkB3+g
|
||||
ZBMjjK0zZE3nnPLafhGUIDZHD1Fuzu2d245Oca7E9rEC2adYCjVHmr1OzmwTEDSd8/Q61aSAqtcJYGiJ
|
||||
hF6vlz2trYq1t1AguO2YRv3Pv+NbJ5DCn/z4A4k2bnEFwD7nHr8/iNyyCTXnmrQQMJW2x9AGPxk0J00e
|
||||
InoC5PZOznkToQrKvI2nGNRz3kQolRzt6VlTWtsTAjr2UnvxFJUf8U5XfezGx9hf9gXEZ/1/XzwknuT/
|
||||
vnpJuD81EWsFoMT2WtjDRqPMunWBPPdYoSvq9Kx0Ot/9pVeYQVZoXwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="Delete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAY2SURBVHhe7d3bqxVVAMfxoxaG2s1CC7oZ1UNkRBd8KIjC
|
||||
KKKiIMESfOgiRA/1EhQVdCODIqiIqAh6CS2ILhDlS1FSUWmldrdSy0rTLuo/0PdHTs3arVl7r713cmbN
|
||||
7wcf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ASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="TopResizePanel.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
92
Sticky Notes - C#/StickyNotes/StickyNotes.csproj
Normal file
92
Sticky Notes - C#/StickyNotes/StickyNotes.csproj
Normal file
@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{400845E1-180F-47A1-BFB2-281560B67806}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>StickyNotes</RootNamespace>
|
||||
<AssemblyName>StickyNotes</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Sticky.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Sticky.Designer.cs">
|
||||
<DependentUpon>Sticky.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Sticky.resx">
|
||||
<DependentUpon>Sticky.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</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.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||
</startup>
|
||||
</configuration>
|
BIN
Sticky Notes - C#/StickyNotes/bin/Debug/StickyNotes.pdb
Normal file
BIN
Sticky Notes - C#/StickyNotes/bin/Debug/StickyNotes.pdb
Normal file
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||
</startup>
|
||||
</configuration>
|
Reference in New Issue
Block a user