Pierwsze publiczne wydanie

This commit is contained in:
Christopher
2020-12-30 17:19:04 +01:00
parent 2eb9f305f3
commit 3e28ad51ef
32 changed files with 9642 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="showMeInfo.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<userSettings>
<showMeInfo.Properties.Settings>
<setting name="pathToIcon" serializeAs="String">
<value />
</setting>
<setting name="titleNotify" serializeAs="String">
<value>Witaj świecie!</value>
</setting>
<setting name="textNotify" serializeAs="String">
<value>Jestem powiadomieniem (ノ◕ヮ◕)ノ*:・゚✧</value>
</setting>
<setting name="showTime" serializeAs="String">
<value>True</value>
</setting>
<setting name="timeout" serializeAs="String">
<value>1000</value>
</setting>
<setting name="firstRun" serializeAs="String">
<value>False</value>
</setting>
</showMeInfo.Properties.Settings>
</userSettings>
</configuration>
+110
View File
@@ -0,0 +1,110 @@
namespace showMeInfo
{
partial class Form1
{
/// <summary>
/// Wymagana zmienna projektanta.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Wyczyść wszystkie używane zasoby.
/// </summary>
/// <param name="disposing">prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Kod generowany przez Projektanta formularzy systemu Windows
/// <summary>
/// Metoda wymagana do obsługi projektanta — nie należy modyfikować
/// jej zawartości w edytorze kodu.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.openSettings = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.shutdown = new System.Windows.Forms.ToolStripMenuItem();
this.contextMenuStrip1.SuspendLayout();
this.SuspendLayout();
//
// notifyIcon1
//
this.notifyIcon1.BalloonTipTitle = "Krzysztof Smaga - nr 18";
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
this.notifyIcon1.Text = "Pokaż powiadomienie";
this.notifyIcon1.Visible = true;
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.showBallon);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.openSettings,
this.toolStripSeparator1,
this.shutdown});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(217, 54);
//
// openSettings
//
this.openSettings.Name = "openSettings";
this.openSettings.Size = new System.Drawing.Size(216, 22);
this.openSettings.Text = "Ustawienia powiadomienia";
this.openSettings.Click += new System.EventHandler(this.openSettings_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(213, 6);
//
// shutdown
//
this.shutdown.Name = "shutdown";
this.shutdown.Size = new System.Drawing.Size(216, 22);
this.shutdown.Text = "Zamknij";
this.shutdown.Click += new System.EventHandler(this.shutdown_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(384, 236);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(400, 275);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(400, 275);
this.Name = "Form1";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Notify Tool - Stworzone przez KrzysiekSiemv";
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
this.Load += new System.EventHandler(this.Form1_Load);
this.contextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.NotifyIcon notifyIcon1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem openSettings;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem shutdown;
}
}
+61
View File
@@ -0,0 +1,61 @@
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 showMeInfo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
this.Visible = false;
var ustawienia = Properties.Settings.Default;
if (!ustawienia.firstRun)
{
notifyIcon1.BalloonTipTitle = "Program działa!";
notifyIcon1.BalloonTipText = "Wciśnij 2 razy na ikonę dzwonka, aby pokazało się powiadomienie. Naciśnij prawy przycisk myszy na ikonę, aby wyłączyć program lub włączyć ustawienia powiadomienia";
notifyIcon1.ShowBalloonTip(4000);
ustawienia.firstRun = true;
ustawienia.Save();
}
}
private void showBallon(object sender, MouseEventArgs e)
{
var ustawienia = Properties.Settings.Default;
notifyIcon1.BalloonTipTitle = ustawienia.titleNotify;
if (ustawienia.showTime)
notifyIcon1.BalloonTipText = ustawienia.textNotify + DateTime.Now;
else
notifyIcon1.BalloonTipText = ustawienia.textNotify;
if (ustawienia.pathToIcon != "")
notifyIcon1.Icon = new Icon(ustawienia.pathToIcon);
notifyIcon1.ShowBalloonTip(ustawienia.timeout);
}
private void openSettings_Click(object sender, EventArgs e)
{
Form2 form2 = new Form2();
form2.Show();
}
private void shutdown_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}
File diff suppressed because it is too large Load Diff
+212
View File
@@ -0,0 +1,212 @@
namespace showMeInfo
{
partial class Form2
{
/// <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(Form2));
this.label5 = new System.Windows.Forms.Label();
this.update = new System.Windows.Forms.Button();
this.addTime = new System.Windows.Forms.CheckBox();
this.label4 = new System.Windows.Forms.Label();
this.timeoutValue = new System.Windows.Forms.NumericUpDown();
this.pathToIcon = new System.Windows.Forms.TextBox();
this.addIcon = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.textNotify = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.titleNotify = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
((System.ComponentModel.ISupportInitialize)(this.timeoutValue)).BeginInit();
this.SuspendLayout();
//
// label5
//
this.label5.Location = new System.Drawing.Point(17, 184);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(355, 43);
this.label5.TabIndex = 23;
this.label5.Text = "Czas pojawi się w \"Tekst powiadomienia\" na samym końcu tekstu. \r\nCzas powiadomien" +
"ia jest podawana w milisekundach. \r\n1 sekunda jest równa 1000 milisekundom.\r\n";
//
// update
//
this.update.Location = new System.Drawing.Point(297, 158);
this.update.Name = "update";
this.update.Size = new System.Drawing.Size(75, 23);
this.update.TabIndex = 22;
this.update.Text = "Zaaktualizuj";
this.update.UseVisualStyleBackColor = true;
this.update.Click += new System.EventHandler(this.update_Click);
//
// addTime
//
this.addTime.AutoSize = true;
this.addTime.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.addTime.Location = new System.Drawing.Point(62, 158);
this.addTime.Name = "addTime";
this.addTime.Size = new System.Drawing.Size(82, 17);
this.addTime.TabIndex = 21;
this.addTime.Text = "Dodaj czas:";
this.addTime.UseVisualStyleBackColor = true;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(20, 134);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(106, 13);
this.label4.TabIndex = 20;
this.label4.Text = "Czas powiadomienia:";
//
// timeoutValue
//
this.timeoutValue.Location = new System.Drawing.Point(130, 132);
this.timeoutValue.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.timeoutValue.Name = "timeoutValue";
this.timeoutValue.Size = new System.Drawing.Size(242, 20);
this.timeoutValue.TabIndex = 19;
//
// pathToIcon
//
this.pathToIcon.Location = new System.Drawing.Point(130, 106);
this.pathToIcon.Name = "pathToIcon";
this.pathToIcon.Size = new System.Drawing.Size(161, 20);
this.pathToIcon.TabIndex = 18;
//
// addIcon
//
this.addIcon.Location = new System.Drawing.Point(297, 104);
this.addIcon.Name = "addIcon";
this.addIcon.Size = new System.Drawing.Size(75, 23);
this.addIcon.TabIndex = 17;
this.addIcon.Text = "Wybierz";
this.addIcon.UseVisualStyleBackColor = true;
this.addIcon.Click += new System.EventHandler(this.addIcon_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(16, 109);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(110, 13);
this.label3.TabIndex = 16;
this.label3.Text = "Ikona powiadomienia:";
//
// textNotify
//
this.textNotify.Location = new System.Drawing.Point(130, 35);
this.textNotify.Multiline = true;
this.textNotify.Name = "textNotify";
this.textNotify.Size = new System.Drawing.Size(242, 63);
this.textNotify.TabIndex = 15;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(14, 38);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(110, 13);
this.label2.TabIndex = 14;
this.label2.Text = "Tekst powiadomienia:";
//
// titleNotify
//
this.titleNotify.Location = new System.Drawing.Point(130, 9);
this.titleNotify.Name = "titleNotify";
this.titleNotify.Size = new System.Drawing.Size(242, 20);
this.titleNotify.TabIndex = 13;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(16, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(108, 13);
this.label1.TabIndex = 12;
this.label1.Text = "Tytuł powiadomienia:";
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
this.openFileDialog1.Filter = "Ikona (*.ico)|*.ico";
this.openFileDialog1.Title = "Wybierz ikonę";
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(384, 236);
this.Controls.Add(this.label5);
this.Controls.Add(this.update);
this.Controls.Add(this.addTime);
this.Controls.Add(this.label4);
this.Controls.Add(this.timeoutValue);
this.Controls.Add(this.pathToIcon);
this.Controls.Add(this.addIcon);
this.Controls.Add(this.label3);
this.Controls.Add(this.textNotify);
this.Controls.Add(this.label2);
this.Controls.Add(this.titleNotify);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximumSize = new System.Drawing.Size(400, 275);
this.MinimumSize = new System.Drawing.Size(400, 275);
this.Name = "Form2";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Notify Tool - Stworzone przez KrzysiekSiemv";
this.Load += new System.EventHandler(this.Form2_Load);
((System.ComponentModel.ISupportInitialize)(this.timeoutValue)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Button update;
private System.Windows.Forms.CheckBox addTime;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.NumericUpDown timeoutValue;
private System.Windows.Forms.TextBox pathToIcon;
private System.Windows.Forms.Button addIcon;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox textNotify;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox titleNotify;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
}
}
+52
View File
@@ -0,0 +1,52 @@
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 showMeInfo
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
private void update_Click(object sender, EventArgs e)
{
if (titleNotify.Text != "" && textNotify.Text != "" && timeoutValue.Value != 0)
{
var ustawienia = Properties.Settings.Default;
ustawienia.pathToIcon = pathToIcon.Text;
ustawienia.titleNotify = titleNotify.Text;
ustawienia.textNotify = textNotify.Text;
ustawienia.timeout = (int)timeoutValue.Value;
ustawienia.showTime = addTime.Checked;
ustawienia.Save();
}
else
MessageBox.Show("Pole tytułu oraz tekstu nie może być puste, a czas powiadomienia nie może być zerowy.", "Pola wymagane są puste", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
private void addIcon_Click(object sender, EventArgs e)
{
if (openFileDialog1.ShowDialog() == DialogResult.OK)
pathToIcon.Text = openFileDialog1.FileName;
}
private void Form2_Load(object sender, EventArgs e)
{
var ustawienia = Properties.Settings.Default;
pathToIcon.Text = ustawienia.pathToIcon;
titleNotify.Text = ustawienia.titleNotify;
textNotify.Text = ustawienia.textNotify;
timeoutValue.Value = ustawienia.timeout;
addTime.Checked = ustawienia.showTime;
}
}
}
File diff suppressed because it is too large Load Diff
+22
View File
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace showMeInfo
{
static class Program
{
/// <summary>
/// Główny punkt wejścia dla aplikacji.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
+36
View File
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Ogólne informacje o zestawie są kontrolowane poprzez następujący
// zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje
// powiązane z zestawem.
[assembly: AssemblyTitle("Notify")]
[assembly: AssemblyDescription("Twórz powiadomienia w prosty sposób")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Krzysztof 'KrzysiekSiemv' Smaga")]
[assembly: AssemblyProduct("Notify")]
[assembly: AssemblyCopyright("Copyright © KrzysiekSiemv 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Ustawienie elementu ComVisible na wartość false sprawia, że typy w tym zestawie są niewidoczne
// dla składników COM. Jeśli potrzebny jest dostęp do typu w tym zestawie z
// COM, ustaw wartość true dla atrybutu ComVisible tego typu.
[assembly: ComVisible(false)]
// Następujący identyfikator GUID jest identyfikatorem biblioteki typów w przypadku udostępnienia tego projektu w modelu COM
[assembly: Guid("1ef5bb8a-6ab8-4e04-82ab-5717894c760f")]
// Informacje o wersji zestawu zawierają następujące cztery wartości:
//
// Wersja główna
// Wersja pomocnicza
// Numer kompilacji
// Poprawka
//
// Możesz określić wszystkie wartości lub użyć domyślnych numerów kompilacji i poprawki
// przy użyciu symbolu „*”, tak jak pokazano poniżej:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
+70
View File
@@ -0,0 +1,70 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
// Wersja środowiska uruchomieniowego: 4.0.30319.42000
//
// Modyfikacje tego pliku mogą spowodować niewłaściwe zachowanie i zostaną utracone
// w przypadku ponownego wygenerowania kodu.
// </auto-generated>
//------------------------------------------------------------------------------
namespace showMeInfo.Properties
{
/// <summary>
/// Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itd.
/// </summary>
// Ta klasa została automatycznie wygenerowana za pomocą klasy StronglyTypedResourceBuilder
// przez narzędzie, takie jak ResGen lub Visual Studio.
// Aby dodać lub usunąć składowe, edytuj plik ResX, a następnie ponownie uruchom narzędzie ResGen
// z opcją /str lub ponownie skompiluj projekt programu VS.
[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
{
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()
{
}
/// <summary>
/// Zwraca buforowane wystąpienie składnika ResourceManager używane przez tę klasę.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("showMeInfo.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich
/// przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}
+117
View 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>
+98
View File
@@ -0,0 +1,98 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
// Wersja wykonawcza:4.0.30319.42000
//
// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
// kod zostanie ponownie wygenerowany.
// </auto-generated>
//------------------------------------------------------------------------------
namespace showMeInfo.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.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;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string pathToIcon {
get {
return ((string)(this["pathToIcon"]));
}
set {
this["pathToIcon"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Witaj świecie!")]
public string titleNotify {
get {
return ((string)(this["titleNotify"]));
}
set {
this["titleNotify"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Jestem powiadomieniem (ノ◕ヮ◕)ノ*:・゚✧")]
public string textNotify {
get {
return ((string)(this["textNotify"]));
}
set {
this["textNotify"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool showTime {
get {
return ((bool)(this["showTime"]));
}
set {
this["showTime"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("1000")]
public int timeout {
get {
return ((int)(this["timeout"]));
}
set {
this["timeout"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool firstRun {
get {
return ((bool)(this["firstRun"]));
}
set {
this["firstRun"] = value;
}
}
}
}
+24
View File
@@ -0,0 +1,24 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="showMeInfo.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="pathToIcon" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="titleNotify" Type="System.String" Scope="User">
<Value Profile="(Default)">Witaj świecie!</Value>
</Setting>
<Setting Name="textNotify" Type="System.String" Scope="User">
<Value Profile="(Default)">Jestem powiadomieniem (ノ◕ヮ◕)ノ*:・゚✧</Value>
</Setting>
<Setting Name="showTime" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="timeout" Type="System.Int32" Scope="User">
<Value Profile="(Default)">1000</Value>
</Setting>
<Setting Name="firstRun" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>
Binary file not shown.
+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="showMeInfo.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<userSettings>
<showMeInfo.Properties.Settings>
<setting name="pathToIcon" serializeAs="String">
<value />
</setting>
<setting name="titleNotify" serializeAs="String">
<value>Witaj świecie!</value>
</setting>
<setting name="textNotify" serializeAs="String">
<value>Jestem powiadomieniem (ノ◕ヮ◕)ノ*:・゚✧</value>
</setting>
<setting name="showTime" serializeAs="String">
<value>True</value>
</setting>
<setting name="timeout" serializeAs="String">
<value>1000</value>
</setting>
<setting name="firstRun" serializeAs="String">
<value>False</value>
</setting>
</showMeInfo.Properties.Settings>
</userSettings>
</configuration>
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
4d9d3c9a6e786f24d923df8982dfc2bc1d620152
@@ -0,0 +1,11 @@
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\obj\Debug\showMeInfo.csprojAssemblyReference.cache
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\obj\Debug\showMeInfo.Form1.resources
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\obj\Debug\showMeInfo.Properties.Resources.resources
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\obj\Debug\showMeInfo.csproj.GenerateResource.cache
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\obj\Debug\showMeInfo.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\bin\Debug\Notify.exe.config
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\bin\Debug\Notify.exe
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\bin\Debug\Notify.pdb
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\obj\Debug\Notify.exe
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\obj\Debug\Notify.pdb
C:\Users\Krzysiek\source\repos\showMeInfo\showMeInfo\obj\Debug\showMeInfo.Form2.resources
+97
View File
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{1EF5BB8A-6AB8-4E04-82AB-5717894C760F}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>showMeInfo</RootNamespace>
<AssemblyName>Notify</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</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>
<PropertyGroup>
<ApplicationIcon>notify.ico</ApplicationIcon>
</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="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Form2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form2.Designer.cs">
<DependentUpon>Form2.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form2.resx">
<DependentUpon>Form2.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>
</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>
<ItemGroup>
<Content Include="notify.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>