Winify

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 12  →  ?path2? @ 13
/trunk/Winify/NotificationForm.cs
@@ -32,7 +32,7 @@
InitializeComponent();
}
 
public NotificationForm(int index, Image image, Stream sound, string title, string text, int milliseconds) :
public NotificationForm(int index, Image image, string title, string text, int milliseconds) :
this()
{
Index = index;
@@ -43,11 +43,6 @@
richTextBox2.InvokeIfRequired(richTextBox => { richTextBox.Text = title; });
richTextBox1.InvokeIfRequired(richTextBox => { richTextBox.Text = text; });
 
using (var soundPlayer = new SoundPlayer(sound))
{
soundPlayer.Play();
}
 
Task.Delay(milliseconds).ContinueWith(task =>
this.InvokeIfRequired(form => { form.Close(); }));
}
/trunk/Winify/NotificationManager.cs
@@ -90,7 +90,7 @@
}
 
var notificationForm =
new NotificationForm(i, e.Image, Resources.notification, e.Notification.Title,
new NotificationForm(i, e.Image, e.Notification.Title,
e.Notification.Message, 5000);
 
_notificationList[i] = notificationForm;
/trunk/Winify/Properties/Resources.Designer.cs
@@ -59,94 +59,5 @@
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap about {
get {
object obj = ResourceManager.GetObject("about", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap close {
get {
object obj = ResourceManager.GetObject("close", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap exit {
get {
object obj = ResourceManager.GetObject("exit", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream.
/// </summary>
internal static System.IO.UnmanagedMemoryStream notification {
get {
return ResourceManager.GetStream("notification", resourceCulture);
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap settings {
get {
object obj = ResourceManager.GetObject("settings", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap update {
get {
object obj = ResourceManager.GetObject("update", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon Winify {
get {
object obj = ResourceManager.GetObject("Winify", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap winify1 {
get {
object obj = ResourceManager.GetObject("winify1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] winify2 {
get {
object obj = ResourceManager.GetObject("winify2", resourceCulture);
return ((byte[])(obj));
}
}
}
}
/trunk/Winify/Properties/Resources.resx
@@ -117,32 +117,4 @@
<resheader name="writer">
<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="about" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="close" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="exit" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="notification" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\notification.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="settings" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="update" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\update.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Winify" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\winify.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="winify1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\winify.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="winify2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\winify.psd;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>
/trunk/Winify/SettingsForm.Designer.cs
@@ -44,8 +44,6 @@
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.serverPasswordTextBox = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.serverNameTextBox = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
@@ -52,6 +50,8 @@
this.serverUrlTextBox = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.serverUsernameTextBox = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.serverPasswordTextBox = new System.Windows.Forms.TextBox();
this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
this.button1 = new System.Windows.Forms.Button();
this.tabControl1.SuspendLayout();
@@ -229,8 +229,8 @@
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 2;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 75F));
this.tableLayoutPanel2.Controls.Add(this.serverNameTextBox, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.label5, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.label3, 0, 1);
@@ -247,35 +247,15 @@
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(252, 185);
this.tableLayoutPanel2.TabIndex = 0;
//
// serverPasswordTextBox
//
this.serverPasswordTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.serverPasswordTextBox.Location = new System.Drawing.Point(129, 151);
this.serverPasswordTextBox.Name = "serverPasswordTextBox";
this.serverPasswordTextBox.PasswordChar = '*';
this.serverPasswordTextBox.Size = new System.Drawing.Size(120, 20);
this.serverPasswordTextBox.TabIndex = 5;
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(3, 155);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(120, 13);
this.label2.TabIndex = 7;
this.label2.Text = "Password";
//
// serverNameTextBox
//
this.serverNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.serverNameTextBox.Location = new System.Drawing.Point(129, 13);
this.serverNameTextBox.Location = new System.Drawing.Point(66, 13);
this.serverNameTextBox.Name = "serverNameTextBox";
this.serverNameTextBox.Size = new System.Drawing.Size(120, 20);
this.serverNameTextBox.Size = new System.Drawing.Size(183, 20);
this.serverNameTextBox.TabIndex = 1;
//
// label5
@@ -284,7 +264,7 @@
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(3, 16);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(120, 13);
this.label5.Size = new System.Drawing.Size(57, 13);
this.label5.TabIndex = 3;
this.label5.Text = "Name";
//
@@ -294,16 +274,16 @@
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(3, 62);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(120, 13);
this.label3.Size = new System.Drawing.Size(57, 13);
this.label3.TabIndex = 2;
this.label3.Text = "URL";
//
// serverHostTextBox
// serverUrlTextBox
//
this.serverUrlTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.serverUrlTextBox.Location = new System.Drawing.Point(129, 59);
this.serverUrlTextBox.Location = new System.Drawing.Point(66, 59);
this.serverUrlTextBox.Name = "serverUrlTextBox";
this.serverUrlTextBox.Size = new System.Drawing.Size(120, 20);
this.serverUrlTextBox.Size = new System.Drawing.Size(183, 20);
this.serverUrlTextBox.TabIndex = 2;
//
// label1
@@ -312,7 +292,7 @@
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 108);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(120, 13);
this.label1.Size = new System.Drawing.Size(57, 13);
this.label1.TabIndex = 5;
this.label1.Text = "Username";
//
@@ -319,11 +299,30 @@
// serverUsernameTextBox
//
this.serverUsernameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.serverUsernameTextBox.Location = new System.Drawing.Point(129, 105);
this.serverUsernameTextBox.Location = new System.Drawing.Point(66, 105);
this.serverUsernameTextBox.Name = "serverUsernameTextBox";
this.serverUsernameTextBox.Size = new System.Drawing.Size(120, 20);
this.serverUsernameTextBox.Size = new System.Drawing.Size(183, 20);
this.serverUsernameTextBox.TabIndex = 4;
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(3, 155);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(57, 13);
this.label2.TabIndex = 7;
this.label2.Text = "Password";
//
// serverPasswordTextBox
//
this.serverPasswordTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.serverPasswordTextBox.Location = new System.Drawing.Point(66, 151);
this.serverPasswordTextBox.Name = "serverPasswordTextBox";
this.serverPasswordTextBox.PasswordChar = '*';
this.serverPasswordTextBox.Size = new System.Drawing.Size(183, 20);
this.serverPasswordTextBox.TabIndex = 5;
//
// tableLayoutPanel5
//
this.tableLayoutPanel5.ColumnCount = 3;