Start work on the chat tab (making this a separate commit because my IDE changed quite a bit of indention)

This commit is contained in:
UnknownShadow200 2016-04-09 08:51:34 +10:00
parent 37a4ce3260
commit 138d28c0e0

View File

@ -46,6 +46,7 @@ namespace MCGalaxy.Gui
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.Windows.Forms.TabPage tabChat;
this.btnSave = new System.Windows.Forms.Button(); this.btnSave = new System.Windows.Forms.Button();
this.btnDiscard = new System.Windows.Forms.Button(); this.btnDiscard = new System.Windows.Forms.Button();
this.btnApply = new System.Windows.Forms.Button(); this.btnApply = new System.Windows.Forms.Button();
@ -154,6 +155,7 @@ namespace MCGalaxy.Gui
this.gbRankSettings = new System.Windows.Forms.GroupBox(); this.gbRankSettings = new System.Windows.Forms.GroupBox();
this.txtLimit = new System.Windows.Forms.TextBox(); this.txtLimit = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label();
this.lblColor = new System.Windows.Forms.Label();
this.txtGrpMOTD = new System.Windows.Forms.TextBox(); this.txtGrpMOTD = new System.Windows.Forms.TextBox();
this.txtPermission = new System.Windows.Forms.TextBox(); this.txtPermission = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label();
@ -166,7 +168,6 @@ namespace MCGalaxy.Gui
this.label16 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label();
this.txtMaxUndo = new System.Windows.Forms.TextBox(); this.txtMaxUndo = new System.Windows.Forms.TextBox();
this.label52 = new System.Windows.Forms.Label(); this.label52 = new System.Windows.Forms.Label();
this.lblColor = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button();
this.btnAddRank = new System.Windows.Forms.Button(); this.btnAddRank = new System.Windows.Forms.Button();
this.listRanks = new System.Windows.Forms.ListBox(); this.listRanks = new System.Windows.Forms.ListBox();
@ -383,6 +384,11 @@ namespace MCGalaxy.Gui
this.gbReviewQueue = new System.Windows.Forms.GroupBox(); this.gbReviewQueue = new System.Windows.Forms.GroupBox();
this.listBox1 = new System.Windows.Forms.ListBox(); this.listBox1 = new System.Windows.Forms.ListBox();
this.timer1 = new System.Windows.Forms.Timer(this.components); this.timer1 = new System.Windows.Forms.Timer(this.components);
this.chat_gbColors = new System.Windows.Forms.GroupBox();
this.chat_gbOther = new System.Windows.Forms.GroupBox();
this.chat_gbMessages = new System.Windows.Forms.GroupBox();
tabChat = new System.Windows.Forms.TabPage();
tabChat.SuspendLayout();
this.pageCommands.SuspendLayout(); this.pageCommands.SuspendLayout();
this.pageCommandsList.SuspendLayout(); this.pageCommandsList.SuspendLayout();
this.tabPage6.SuspendLayout(); this.tabPage6.SuspendLayout();
@ -465,6 +471,19 @@ namespace MCGalaxy.Gui
this.gbReviewQueue.SuspendLayout(); this.gbReviewQueue.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// tabChat
//
tabChat.BackColor = System.Drawing.SystemColors.Control;
tabChat.Controls.Add(this.chat_gbMessages);
tabChat.Controls.Add(this.chat_gbOther);
tabChat.Controls.Add(this.chat_gbColors);
tabChat.Location = new System.Drawing.Point(4, 22);
tabChat.Name = "tabChat";
tabChat.Padding = new System.Windows.Forms.Padding(3);
tabChat.Size = new System.Drawing.Size(488, 509);
tabChat.TabIndex = 10;
tabChat.Text = "Chat";
//
// btnSave // btnSave
// //
this.btnSave.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSave.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -1636,7 +1655,7 @@ namespace MCGalaxy.Gui
this.gbRankGeneral.Controls.Add(this.label37); this.gbRankGeneral.Controls.Add(this.label37);
this.gbRankGeneral.Location = new System.Drawing.Point(11, 317); this.gbRankGeneral.Location = new System.Drawing.Point(11, 317);
this.gbRankGeneral.Name = "gbRankGeneral"; this.gbRankGeneral.Name = "gbRankGeneral";
this.gbRankGeneral.Size = new System.Drawing.Size(202, 177); this.gbRankGeneral.Size = new System.Drawing.Size(191, 185);
this.gbRankGeneral.TabIndex = 19; this.gbRankGeneral.TabIndex = 19;
this.gbRankGeneral.TabStop = false; this.gbRankGeneral.TabStop = false;
this.gbRankGeneral.Text = "General settings"; this.gbRankGeneral.Text = "General settings";
@ -1700,7 +1719,7 @@ namespace MCGalaxy.Gui
this.gbRankSettings.Controls.Add(this.label52); this.gbRankSettings.Controls.Add(this.label52);
this.gbRankSettings.Location = new System.Drawing.Point(11, 16); this.gbRankSettings.Location = new System.Drawing.Point(11, 16);
this.gbRankSettings.Name = "gbRankSettings"; this.gbRankSettings.Name = "gbRankSettings";
this.gbRankSettings.Size = new System.Drawing.Size(202, 239); this.gbRankSettings.Size = new System.Drawing.Size(197, 250);
this.gbRankSettings.TabIndex = 18; this.gbRankSettings.TabIndex = 18;
this.gbRankSettings.TabStop = false; this.gbRankSettings.TabStop = false;
this.gbRankSettings.Text = "Rank settings"; this.gbRankSettings.Text = "Rank settings";
@ -1723,6 +1742,13 @@ namespace MCGalaxy.Gui
this.label12.Text = "Permission:"; this.label12.Text = "Permission:";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// lblColor
//
this.lblColor.Location = new System.Drawing.Point(170, 128);
this.lblColor.Name = "lblColor";
this.lblColor.Size = new System.Drawing.Size(21, 21);
this.lblColor.TabIndex = 13;
//
// txtGrpMOTD // txtGrpMOTD
// //
this.txtGrpMOTD.Location = new System.Drawing.Point(85, 155); this.txtGrpMOTD.Location = new System.Drawing.Point(85, 155);
@ -1831,13 +1857,6 @@ namespace MCGalaxy.Gui
this.label52.Text = "Max Undo:"; this.label52.Text = "Max Undo:";
this.label52.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label52.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// lblColor
//
this.lblColor.Location = new System.Drawing.Point(170, 128);
this.lblColor.Name = "lblColor";
this.lblColor.Size = new System.Drawing.Size(21, 21);
this.lblColor.TabIndex = 13;
//
// button1 // button1
// //
this.button1.Location = new System.Drawing.Point(315, 6); this.button1.Location = new System.Drawing.Point(315, 6);
@ -2713,7 +2732,7 @@ namespace MCGalaxy.Gui
this.grpUpdate.Controls.Add(this.chkUpdates); this.grpUpdate.Controls.Add(this.chkUpdates);
this.grpUpdate.Location = new System.Drawing.Point(8, 408); this.grpUpdate.Location = new System.Drawing.Point(8, 408);
this.grpUpdate.Name = "grpUpdate"; this.grpUpdate.Name = "grpUpdate";
this.grpUpdate.Size = new System.Drawing.Size(296, 93); this.grpUpdate.Size = new System.Drawing.Size(290, 93);
this.grpUpdate.TabIndex = 44; this.grpUpdate.TabIndex = 44;
this.grpUpdate.TabStop = false; this.grpUpdate.TabStop = false;
this.grpUpdate.Text = "Update Settings"; this.grpUpdate.Text = "Update Settings";
@ -2800,7 +2819,7 @@ namespace MCGalaxy.Gui
this.grpPlayers.Controls.Add(this.numGuests); this.grpPlayers.Controls.Add(this.numGuests);
this.grpPlayers.Location = new System.Drawing.Point(8, 168); this.grpPlayers.Location = new System.Drawing.Point(8, 168);
this.grpPlayers.Name = "grpPlayers"; this.grpPlayers.Name = "grpPlayers";
this.grpPlayers.Size = new System.Drawing.Size(409, 85); this.grpPlayers.Size = new System.Drawing.Size(388, 89);
this.grpPlayers.TabIndex = 46; this.grpPlayers.TabIndex = 46;
this.grpPlayers.TabStop = false; this.grpPlayers.TabStop = false;
this.grpPlayers.Text = "Players"; this.grpPlayers.Text = "Players";
@ -2872,6 +2891,7 @@ namespace MCGalaxy.Gui
// tabControl // tabControl
// //
this.tabControl.Controls.Add(this.pageServer); this.tabControl.Controls.Add(this.pageServer);
this.tabControl.Controls.Add(tabChat);
this.tabControl.Controls.Add(this.pageIRC); this.tabControl.Controls.Add(this.pageIRC);
this.tabControl.Controls.Add(this.pageMisc); this.tabControl.Controls.Add(this.pageMisc);
this.tabControl.Controls.Add(this.pageGames); this.tabControl.Controls.Add(this.pageGames);
@ -4259,6 +4279,33 @@ namespace MCGalaxy.Gui
this.listBox1.Size = new System.Drawing.Size(129, 459); this.listBox1.Size = new System.Drawing.Size(129, 459);
this.listBox1.TabIndex = 0; this.listBox1.TabIndex = 0;
// //
// chat_gbColors
//
this.chat_gbColors.Location = new System.Drawing.Point(23, 22);
this.chat_gbColors.Name = "chat_gbColors";
this.chat_gbColors.Size = new System.Drawing.Size(200, 100);
this.chat_gbColors.TabIndex = 0;
this.chat_gbColors.TabStop = false;
this.chat_gbColors.Text = "Colors";
//
// chat_gbOther
//
this.chat_gbOther.Location = new System.Drawing.Point(23, 149);
this.chat_gbOther.Name = "chat_gbOther";
this.chat_gbOther.Size = new System.Drawing.Size(200, 100);
this.chat_gbOther.TabIndex = 1;
this.chat_gbOther.TabStop = false;
this.chat_gbOther.Text = "Other";
//
// chat_gbMessages
//
this.chat_gbMessages.Location = new System.Drawing.Point(23, 290);
this.chat_gbMessages.Name = "chat_gbMessages";
this.chat_gbMessages.Size = new System.Drawing.Size(200, 100);
this.chat_gbMessages.TabIndex = 2;
this.chat_gbMessages.TabStop = false;
this.chat_gbMessages.Text = "Messages";
//
// PropertyWindow // PropertyWindow
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -4277,6 +4324,7 @@ namespace MCGalaxy.Gui
this.Text = "Properties"; this.Text = "Properties";
this.Load += new System.EventHandler(this.PropertyWindow_Load); this.Load += new System.EventHandler(this.PropertyWindow_Load);
this.Disposed += new System.EventHandler(this.PropertyWindow_Unload); this.Disposed += new System.EventHandler(this.PropertyWindow_Unload);
tabChat.ResumeLayout(false);
this.pageCommands.ResumeLayout(false); this.pageCommands.ResumeLayout(false);
this.pageCommandsList.ResumeLayout(false); this.pageCommandsList.ResumeLayout(false);
this.tabPage6.ResumeLayout(false); this.tabPage6.ResumeLayout(false);
@ -4306,6 +4354,7 @@ namespace MCGalaxy.Gui
this.pageBlocks.ResumeLayout(false); this.pageBlocks.ResumeLayout(false);
this.pageBlocks.PerformLayout(); this.pageBlocks.PerformLayout();
this.pageRanks.ResumeLayout(false); this.pageRanks.ResumeLayout(false);
this.pageRanks.PerformLayout();
this.gbRankGeneral.ResumeLayout(false); this.gbRankGeneral.ResumeLayout(false);
this.gbRankGeneral.PerformLayout(); this.gbRankGeneral.PerformLayout();
this.gbRankSettings.ResumeLayout(false); this.gbRankSettings.ResumeLayout(false);
@ -4395,6 +4444,7 @@ namespace MCGalaxy.Gui
this.gbReviewPerms.PerformLayout(); this.gbReviewPerms.PerformLayout();
this.gbReviewQueue.ResumeLayout(false); this.gbReviewQueue.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label7;
private System.Windows.Forms.GroupBox gbRankSettings; private System.Windows.Forms.GroupBox gbRankSettings;
@ -4736,5 +4786,8 @@ namespace MCGalaxy.Gui
private System.Windows.Forms.Label lblLoadedCommands; private System.Windows.Forms.Label lblLoadedCommands;
private System.Windows.Forms.ListBox lstCommands; private System.Windows.Forms.ListBox lstCommands;
private System.Windows.Forms.GroupBox groupBox24; private System.Windows.Forms.GroupBox groupBox24;
private System.Windows.Forms.GroupBox chat_gbMessages;
private System.Windows.Forms.GroupBox chat_gbOther;
private System.Windows.Forms.GroupBox chat_gbColors;
} }
} }