Korero

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ HEAD  →  ?path2? @ 1
/Korero/Chat/AutoResponseForm.Designer.cs
@@ -101,7 +101,6 @@
this.MaximizeBox = false;
this.Name = "AutoResponseForm";
this.Text = "Korero: Set Auto Response";
this.Load += new System.EventHandler(this.AutoResponseForm_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.ResumeLayout(false);
/Korero/Chat/AutoResponseForm.cs
@@ -16,15 +16,13 @@
public AutoResponseForm()
{
InitializeComponent();
Utilities.WindowState.FormTracker.Track(this);
}
 
#endregion
 
#region Event Handlers
private void AutoResponseForm_Load(object sender, EventArgs e)
{
Utilities.WindowState.FormTracker.Track(this);
}
 
private void Button1_Click(object sender, EventArgs e)
{
AutoResponseSet?.Invoke(this, new AutoResponseSetEventArgs(richTextBox1.Text));
@@ -33,7 +31,5 @@
}
 
#endregion
 
 
}
}
/Korero/Chat/ChatForm.Designer.cs
@@ -105,7 +105,7 @@
this.setAutoResponseToolStripMenuItem,
this.toolStripSeparator3});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 21);
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 21);
this.fileToolStripMenuItem.Text = "File";
//
// toolStripSeparator1
@@ -152,7 +152,7 @@
//
this.openAllToolStripMenuItem.Image = global::Korero.Properties.Resources.openfile;
this.openAllToolStripMenuItem.Name = "openAllToolStripMenuItem";
this.openAllToolStripMenuItem.Size = new System.Drawing.Size(113, 22);
this.openAllToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
this.openAllToolStripMenuItem.Text = "Open all";
this.openAllToolStripMenuItem.Click += new System.EventHandler(this.OpenAllToolStripMenuItem_Click);
//
@@ -160,7 +160,7 @@
//
this.closeAllToolStripMenuItem1.Image = global::Korero.Properties.Resources.closefile;
this.closeAllToolStripMenuItem1.Name = "closeAllToolStripMenuItem1";
this.closeAllToolStripMenuItem1.Size = new System.Drawing.Size(113, 22);
this.closeAllToolStripMenuItem1.Size = new System.Drawing.Size(117, 22);
this.closeAllToolStripMenuItem1.Text = "Close all";
this.closeAllToolStripMenuItem1.Click += new System.EventHandler(this.CloseAllToolStripMenuItem1_Click);
//
@@ -353,13 +353,13 @@
this.toolStripSeparator5,
this.closeToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(145, 126);
this.contextMenuStrip1.Size = new System.Drawing.Size(150, 126);
//
// profileToolStripMenuItem
//
this.profileToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("profileToolStripMenuItem.Image")));
this.profileToolStripMenuItem.Name = "profileToolStripMenuItem";
this.profileToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
this.profileToolStripMenuItem.Size = new System.Drawing.Size(149, 22);
this.profileToolStripMenuItem.Text = "Profile...";
this.profileToolStripMenuItem.Click += new System.EventHandler(this.ProfileToolStripMenuItem_Click);
//
@@ -367,7 +367,7 @@
//
this.payToolStripMenuItem.Image = global::Korero.Properties.Resources.salary;
this.payToolStripMenuItem.Name = "payToolStripMenuItem";
this.payToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
this.payToolStripMenuItem.Size = new System.Drawing.Size(149, 22);
this.payToolStripMenuItem.Text = "Pay...";
this.payToolStripMenuItem.Click += new System.EventHandler(this.PayToolStripMenuItem_Click);
//
@@ -374,13 +374,13 @@
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(141, 6);
this.toolStripSeparator4.Size = new System.Drawing.Size(146, 6);
//
// offerTeleportToolStripMenuItem
//
this.offerTeleportToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("offerTeleportToolStripMenuItem.Image")));
this.offerTeleportToolStripMenuItem.Name = "offerTeleportToolStripMenuItem";
this.offerTeleportToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
this.offerTeleportToolStripMenuItem.Size = new System.Drawing.Size(149, 22);
this.offerTeleportToolStripMenuItem.Text = "Offer Teleport";
this.offerTeleportToolStripMenuItem.Click += new System.EventHandler(this.OfferTeleportToolStripMenuItem_Click);
//
@@ -388,7 +388,7 @@
//
this.addToFriendsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("addToFriendsToolStripMenuItem.Image")));
this.addToFriendsToolStripMenuItem.Name = "addToFriendsToolStripMenuItem";
this.addToFriendsToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
this.addToFriendsToolStripMenuItem.Size = new System.Drawing.Size(149, 22);
this.addToFriendsToolStripMenuItem.Text = "Add to Friends";
this.addToFriendsToolStripMenuItem.Click += new System.EventHandler(this.AddToFriendsToolStripMenuItem_Click);
//
@@ -395,13 +395,13 @@
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(141, 6);
this.toolStripSeparator5.Size = new System.Drawing.Size(146, 6);
//
// closeToolStripMenuItem
//
this.closeToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("closeToolStripMenuItem.Image")));
this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
this.closeToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
this.closeToolStripMenuItem.Size = new System.Drawing.Size(149, 22);
this.closeToolStripMenuItem.Text = "Close";
this.closeToolStripMenuItem.Click += new System.EventHandler(this.CloseToolStripMenuItem_Click);
//
@@ -415,7 +415,6 @@
this.Name = "ChatForm";
this.Text = "Korero: Chat";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChatForm_FormClosing);
this.Load += new System.EventHandler(this.ChatForm_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.menuStrip1.ResumeLayout(false);
/Korero/Chat/ChatForm.cs
@@ -50,6 +50,7 @@
public ChatForm()
{
InitializeComponent();
Utilities.WindowState.FormTracker.Track(this);
 
_cancellationTokenSource = new CancellationTokenSource();
_cancellationToken = _cancellationTokenSource.Token;
@@ -86,10 +87,6 @@
#endregion
 
#region Event Handlers
private void ChatForm_Load(object sender, EventArgs e)
{
Utilities.WindowState.FormTracker.Track(this);
}
 
private async void MqttCommunication_NotificationReceived(object sender, MqttNotificationEventArgs e)
{
@@ -1072,7 +1069,5 @@
}
 
#endregion
 
 
}
}
/Korero/Chat/NewConversationForm.Designer.cs
@@ -25,20 +25,20 @@
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.friendsListBox = new System.Windows.Forms.ListBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.button1 = new System.Windows.Forms.Button();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel1.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox4.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox5.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.groupBox5.SuspendLayout();
this.groupBox6.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
@@ -140,23 +140,6 @@
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Manual";
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 1;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Controls.Add(this.button1, 0, 2);
this.tableLayoutPanel2.Controls.Add(this.groupBox5, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.groupBox6, 0, 1);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 16);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 3;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.Size = new System.Drawing.Size(199, 257);
this.tableLayoutPanel2.TabIndex = 3;
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -169,6 +152,25 @@
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1_Click);
//
// groupBox6
//
this.groupBox6.Controls.Add(this.textBox2);
this.groupBox6.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox6.Location = new System.Drawing.Point(3, 59);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(193, 47);
this.groupBox6.TabIndex = 1;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "Last Name";
//
// textBox2
//
this.textBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox2.Location = new System.Drawing.Point(3, 16);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(187, 20);
this.textBox2.TabIndex = 0;
//
// groupBox5
//
this.groupBox5.Controls.Add(this.textBox1);
@@ -188,25 +190,23 @@
this.textBox1.Size = new System.Drawing.Size(187, 20);
this.textBox1.TabIndex = 0;
//
// groupBox6
// tableLayoutPanel2
//
this.groupBox6.Controls.Add(this.textBox2);
this.groupBox6.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox6.Location = new System.Drawing.Point(3, 59);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(193, 47);
this.groupBox6.TabIndex = 1;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "Last Name";
this.tableLayoutPanel2.ColumnCount = 1;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Controls.Add(this.button1, 0, 2);
this.tableLayoutPanel2.Controls.Add(this.groupBox5, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.groupBox6, 0, 1);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 16);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 3;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.Size = new System.Drawing.Size(199, 257);
this.tableLayoutPanel2.TabIndex = 3;
//
// textBox2
//
this.textBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox2.Location = new System.Drawing.Point(3, 16);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(187, 20);
this.textBox2.TabIndex = 0;
//
// NewConversationForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -216,7 +216,6 @@
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "NewConversationForm";
this.Text = "Korero: New Chat";
this.Load += new System.EventHandler(this.NewConversationForm_Load);
this.Shown += new System.EventHandler(this.NewConversationForm_Shown);
this.tableLayoutPanel1.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
@@ -223,11 +222,11 @@
this.groupBox2.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.groupBox6.ResumeLayout(false);
this.groupBox6.PerformLayout();
this.groupBox5.ResumeLayout(false);
this.groupBox5.PerformLayout();
this.groupBox6.ResumeLayout(false);
this.groupBox6.PerformLayout();
this.tableLayoutPanel2.ResumeLayout(false);
this.ResumeLayout(false);
 
}
/Korero/Chat/NewConversationForm.cs
@@ -34,6 +34,7 @@
public NewConversationForm()
{
InitializeComponent();
Utilities.WindowState.FormTracker.Track(this);
 
_cancellationTokenSource = new CancellationTokenSource();
_cancellationToken = _cancellationTokenSource.Token;
@@ -63,10 +64,7 @@
#endregion
 
#region Event Handlers
private void NewConversationForm_Load(object sender, EventArgs e)
{
Utilities.WindowState.FormTracker.Track(this);
}
 
private void RegionListBox_SelectedIndexChanged(object sender, EventArgs e)
{
if (regionListBox.SelectedIndex > -1)
@@ -264,7 +262,5 @@
}
 
#endregion
 
 
}
}