417 lines
20 KiB
C#
417 lines
20 KiB
C#
namespace Client_GUI
|
|
{
|
|
partial class MainUI
|
|
{
|
|
/// <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()
|
|
{
|
|
listbox_log = new ListBox();
|
|
listBox_OnlineUser = new ListBox();
|
|
textBox_chatsendmsg = new TextBox();
|
|
btn_chatsend = new Button();
|
|
tabControl_Main = new ReaLTaiizor.Controls.MetroTabControl();
|
|
tabPage1 = new TabPage();
|
|
listBox_AllChatMsg = new ListBox();
|
|
tabPage2 = new TabPage();
|
|
label_P2P_SendFile_Pr = new ReaLTaiizor.Controls.MaterialLabel();
|
|
metroLabel5 = new ReaLTaiizor.Controls.MetroLabel();
|
|
label_P2P_SendFile_State = new ReaLTaiizor.Controls.MaterialLabel();
|
|
metroLabel4 = new ReaLTaiizor.Controls.MetroLabel();
|
|
btn_P2P_SendFile = new ReaLTaiizor.Controls.MaterialButton();
|
|
foxLabel2 = new ReaLTaiizor.Controls.FoxLabel();
|
|
foxLabel1 = new ReaLTaiizor.Controls.FoxLabel();
|
|
label_P2P_SendFilePath = new ReaLTaiizor.Controls.MaterialLabel();
|
|
metroLabel3 = new ReaLTaiizor.Controls.MetroLabel();
|
|
btn_P2P_ChangeSendFile = new ReaLTaiizor.Controls.MaterialButton();
|
|
label_P2P_State = new ReaLTaiizor.Controls.MaterialLabel();
|
|
metroLabel2 = new ReaLTaiizor.Controls.MetroLabel();
|
|
label_P2P_TargetUName = new ReaLTaiizor.Controls.MaterialLabel();
|
|
metroLabel1 = new ReaLTaiizor.Controls.MetroLabel();
|
|
foxLabel3 = new ReaLTaiizor.Controls.FoxLabel();
|
|
tabControl_Main.SuspendLayout();
|
|
tabPage1.SuspendLayout();
|
|
tabPage2.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// listbox_log
|
|
//
|
|
listbox_log.FormattingEnabled = true;
|
|
listbox_log.ItemHeight = 17;
|
|
listbox_log.Location = new Point(12, 335);
|
|
listbox_log.Name = "listbox_log";
|
|
listbox_log.Size = new Size(776, 106);
|
|
listbox_log.TabIndex = 0;
|
|
//
|
|
// listBox_OnlineUser
|
|
//
|
|
listBox_OnlineUser.FormattingEnabled = true;
|
|
listBox_OnlineUser.ItemHeight = 17;
|
|
listBox_OnlineUser.Location = new Point(12, 46);
|
|
listBox_OnlineUser.Name = "listBox_OnlineUser";
|
|
listBox_OnlineUser.Size = new Size(160, 276);
|
|
listBox_OnlineUser.TabIndex = 1;
|
|
listBox_OnlineUser.DoubleClick += listBox_OnlineUser_DoubleClick;
|
|
//
|
|
// textBox_chatsendmsg
|
|
//
|
|
textBox_chatsendmsg.Location = new Point(3, 234);
|
|
textBox_chatsendmsg.Name = "textBox_chatsendmsg";
|
|
textBox_chatsendmsg.Size = new Size(485, 23);
|
|
textBox_chatsendmsg.TabIndex = 3;
|
|
//
|
|
// btn_chatsend
|
|
//
|
|
btn_chatsend.Location = new Point(494, 234);
|
|
btn_chatsend.Name = "btn_chatsend";
|
|
btn_chatsend.Size = new Size(102, 23);
|
|
btn_chatsend.TabIndex = 4;
|
|
btn_chatsend.Text = "发送";
|
|
btn_chatsend.UseVisualStyleBackColor = true;
|
|
btn_chatsend.Click += btn_chatsend_Click;
|
|
//
|
|
// tabControl_Main
|
|
//
|
|
tabControl_Main.AnimateEasingType = ReaLTaiizor.Enum.Metro.EasingType.CubeOut;
|
|
tabControl_Main.AnimateTime = 200;
|
|
tabControl_Main.BackgroundColor = Color.White;
|
|
tabControl_Main.Controls.Add(tabPage1);
|
|
tabControl_Main.Controls.Add(tabPage2);
|
|
tabControl_Main.ControlsVisible = true;
|
|
tabControl_Main.IsDerivedStyle = true;
|
|
tabControl_Main.ItemSize = new Size(100, 38);
|
|
tabControl_Main.Location = new Point(178, 12);
|
|
tabControl_Main.MCursor = Cursors.Hand;
|
|
tabControl_Main.Name = "tabControl_Main";
|
|
tabControl_Main.SelectedIndex = 0;
|
|
tabControl_Main.SelectedTextColor = Color.White;
|
|
tabControl_Main.Size = new Size(610, 310);
|
|
tabControl_Main.SizeMode = TabSizeMode.Fixed;
|
|
tabControl_Main.Speed = 100;
|
|
tabControl_Main.Style = ReaLTaiizor.Enum.Metro.Style.Light;
|
|
tabControl_Main.StyleManager = null;
|
|
tabControl_Main.TabIndex = 6;
|
|
tabControl_Main.ThemeAuthor = "Taiizor";
|
|
tabControl_Main.ThemeName = "MetroLight";
|
|
tabControl_Main.UnselectedTextColor = Color.Gray;
|
|
//
|
|
// tabPage1
|
|
//
|
|
tabPage1.Controls.Add(listBox_AllChatMsg);
|
|
tabPage1.Controls.Add(btn_chatsend);
|
|
tabPage1.Controls.Add(textBox_chatsendmsg);
|
|
tabPage1.Location = new Point(4, 42);
|
|
tabPage1.Name = "tabPage1";
|
|
tabPage1.Padding = new Padding(3);
|
|
tabPage1.Size = new Size(602, 264);
|
|
tabPage1.TabIndex = 0;
|
|
tabPage1.Text = "聊天室";
|
|
tabPage1.UseVisualStyleBackColor = true;
|
|
//
|
|
// listBox_AllChatMsg
|
|
//
|
|
listBox_AllChatMsg.FormattingEnabled = true;
|
|
listBox_AllChatMsg.ItemHeight = 17;
|
|
listBox_AllChatMsg.Location = new Point(3, 3);
|
|
listBox_AllChatMsg.Name = "listBox_AllChatMsg";
|
|
listBox_AllChatMsg.Size = new Size(593, 225);
|
|
listBox_AllChatMsg.TabIndex = 0;
|
|
//
|
|
// tabPage2
|
|
//
|
|
tabPage2.Controls.Add(label_P2P_SendFile_Pr);
|
|
tabPage2.Controls.Add(metroLabel5);
|
|
tabPage2.Controls.Add(label_P2P_SendFile_State);
|
|
tabPage2.Controls.Add(metroLabel4);
|
|
tabPage2.Controls.Add(btn_P2P_SendFile);
|
|
tabPage2.Controls.Add(foxLabel2);
|
|
tabPage2.Controls.Add(foxLabel1);
|
|
tabPage2.Controls.Add(label_P2P_SendFilePath);
|
|
tabPage2.Controls.Add(metroLabel3);
|
|
tabPage2.Controls.Add(btn_P2P_ChangeSendFile);
|
|
tabPage2.Controls.Add(label_P2P_State);
|
|
tabPage2.Controls.Add(metroLabel2);
|
|
tabPage2.Controls.Add(label_P2P_TargetUName);
|
|
tabPage2.Controls.Add(metroLabel1);
|
|
tabPage2.Location = new Point(4, 42);
|
|
tabPage2.Name = "tabPage2";
|
|
tabPage2.Padding = new Padding(3);
|
|
tabPage2.Size = new Size(602, 264);
|
|
tabPage2.TabIndex = 1;
|
|
tabPage2.Text = "P2P传文件";
|
|
tabPage2.UseVisualStyleBackColor = true;
|
|
//
|
|
// label_P2P_SendFile_Pr
|
|
//
|
|
label_P2P_SendFile_Pr.AutoSize = true;
|
|
label_P2P_SendFile_Pr.Depth = 0;
|
|
label_P2P_SendFile_Pr.Font = new Font("Roboto", 14F, FontStyle.Regular, GraphicsUnit.Pixel);
|
|
label_P2P_SendFile_Pr.Location = new Point(269, 89);
|
|
label_P2P_SendFile_Pr.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
label_P2P_SendFile_Pr.Name = "label_P2P_SendFile_Pr";
|
|
label_P2P_SendFile_Pr.Size = new Size(49, 19);
|
|
label_P2P_SendFile_Pr.TabIndex = 13;
|
|
label_P2P_SendFile_Pr.Text = "未发送";
|
|
//
|
|
// metroLabel5
|
|
//
|
|
metroLabel5.Font = new Font("Microsoft Sans Serif", 10F);
|
|
metroLabel5.IsDerivedStyle = true;
|
|
metroLabel5.Location = new Point(229, 89);
|
|
metroLabel5.Name = "metroLabel5";
|
|
metroLabel5.Size = new Size(45, 23);
|
|
metroLabel5.Style = ReaLTaiizor.Enum.Metro.Style.Light;
|
|
metroLabel5.StyleManager = null;
|
|
metroLabel5.TabIndex = 12;
|
|
metroLabel5.Text = "进度:";
|
|
metroLabel5.ThemeAuthor = "Taiizor";
|
|
metroLabel5.ThemeName = "MetroLight";
|
|
//
|
|
// label_P2P_SendFile_State
|
|
//
|
|
label_P2P_SendFile_State.AutoSize = true;
|
|
label_P2P_SendFile_State.Depth = 0;
|
|
label_P2P_SendFile_State.Font = new Font("Roboto", 14F, FontStyle.Regular, GraphicsUnit.Pixel);
|
|
label_P2P_SendFile_State.Location = new Point(139, 89);
|
|
label_P2P_SendFile_State.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
label_P2P_SendFile_State.Name = "label_P2P_SendFile_State";
|
|
label_P2P_SendFile_State.Size = new Size(49, 19);
|
|
label_P2P_SendFile_State.TabIndex = 11;
|
|
label_P2P_SendFile_State.Text = "未发送";
|
|
//
|
|
// metroLabel4
|
|
//
|
|
metroLabel4.Font = new Font("Microsoft Sans Serif", 10F);
|
|
metroLabel4.IsDerivedStyle = true;
|
|
metroLabel4.Location = new Point(99, 89);
|
|
metroLabel4.Name = "metroLabel4";
|
|
metroLabel4.Size = new Size(45, 23);
|
|
metroLabel4.Style = ReaLTaiizor.Enum.Metro.Style.Light;
|
|
metroLabel4.StyleManager = null;
|
|
metroLabel4.TabIndex = 10;
|
|
metroLabel4.Text = "状态:";
|
|
metroLabel4.ThemeAuthor = "Taiizor";
|
|
metroLabel4.ThemeName = "MetroLight";
|
|
//
|
|
// btn_P2P_SendFile
|
|
//
|
|
btn_P2P_SendFile.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
btn_P2P_SendFile.Density = ReaLTaiizor.Controls.MaterialButton.MaterialButtonDensity.Default;
|
|
btn_P2P_SendFile.Depth = 0;
|
|
btn_P2P_SendFile.HighEmphasis = true;
|
|
btn_P2P_SendFile.Icon = null;
|
|
btn_P2P_SendFile.IconType = ReaLTaiizor.Controls.MaterialButton.MaterialIconType.Rebase;
|
|
btn_P2P_SendFile.Location = new Point(7, 89);
|
|
btn_P2P_SendFile.Margin = new Padding(4, 6, 4, 6);
|
|
btn_P2P_SendFile.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
btn_P2P_SendFile.Name = "btn_P2P_SendFile";
|
|
btn_P2P_SendFile.NoAccentTextColor = Color.Empty;
|
|
btn_P2P_SendFile.Size = new Size(85, 36);
|
|
btn_P2P_SendFile.TabIndex = 9;
|
|
btn_P2P_SendFile.Text = "发送文件";
|
|
btn_P2P_SendFile.Type = ReaLTaiizor.Controls.MaterialButton.MaterialButtonType.Contained;
|
|
btn_P2P_SendFile.UseAccentColor = false;
|
|
btn_P2P_SendFile.UseVisualStyleBackColor = true;
|
|
btn_P2P_SendFile.Click += btn_P2P_SendFile_Click;
|
|
//
|
|
// foxLabel2
|
|
//
|
|
foxLabel2.BackColor = Color.Transparent;
|
|
foxLabel2.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
foxLabel2.ForeColor = Color.FromArgb(76, 88, 100);
|
|
foxLabel2.Location = new Point(139, 131);
|
|
foxLabel2.Name = "foxLabel2";
|
|
foxLabel2.Size = new Size(243, 19);
|
|
foxLabel2.TabIndex = 8;
|
|
foxLabel2.Text = "------------------收文件------------------";
|
|
//
|
|
// foxLabel1
|
|
//
|
|
foxLabel1.BackColor = Color.Transparent;
|
|
foxLabel1.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
foxLabel1.ForeColor = Color.FromArgb(76, 88, 100);
|
|
foxLabel1.Location = new Point(139, 25);
|
|
foxLabel1.Name = "foxLabel1";
|
|
foxLabel1.Size = new Size(243, 19);
|
|
foxLabel1.TabIndex = 7;
|
|
foxLabel1.Text = "------------------传文件------------------";
|
|
//
|
|
// label_P2P_SendFilePath
|
|
//
|
|
label_P2P_SendFilePath.AutoSize = true;
|
|
label_P2P_SendFilePath.Depth = 0;
|
|
label_P2P_SendFilePath.Font = new Font("Roboto", 14F, FontStyle.Regular, GraphicsUnit.Pixel);
|
|
label_P2P_SendFilePath.Location = new Point(139, 57);
|
|
label_P2P_SendFilePath.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
label_P2P_SendFilePath.Name = "label_P2P_SendFilePath";
|
|
label_P2P_SendFilePath.Size = new Size(104, 19);
|
|
label_P2P_SendFilePath.TabIndex = 6;
|
|
label_P2P_SendFilePath.Text = "C:\\abc\\123.txt";
|
|
//
|
|
// metroLabel3
|
|
//
|
|
metroLabel3.Font = new Font("Microsoft Sans Serif", 10F);
|
|
metroLabel3.IsDerivedStyle = true;
|
|
metroLabel3.Location = new Point(99, 57);
|
|
metroLabel3.Name = "metroLabel3";
|
|
metroLabel3.Size = new Size(45, 23);
|
|
metroLabel3.Style = ReaLTaiizor.Enum.Metro.Style.Light;
|
|
metroLabel3.StyleManager = null;
|
|
metroLabel3.TabIndex = 5;
|
|
metroLabel3.Text = "文件:";
|
|
metroLabel3.ThemeAuthor = "Taiizor";
|
|
metroLabel3.ThemeName = "MetroLight";
|
|
//
|
|
// btn_P2P_ChangeSendFile
|
|
//
|
|
btn_P2P_ChangeSendFile.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
btn_P2P_ChangeSendFile.Density = ReaLTaiizor.Controls.MaterialButton.MaterialButtonDensity.Default;
|
|
btn_P2P_ChangeSendFile.Depth = 0;
|
|
btn_P2P_ChangeSendFile.HighEmphasis = true;
|
|
btn_P2P_ChangeSendFile.Icon = null;
|
|
btn_P2P_ChangeSendFile.IconType = ReaLTaiizor.Controls.MaterialButton.MaterialIconType.Rebase;
|
|
btn_P2P_ChangeSendFile.Location = new Point(7, 47);
|
|
btn_P2P_ChangeSendFile.Margin = new Padding(4, 6, 4, 6);
|
|
btn_P2P_ChangeSendFile.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
btn_P2P_ChangeSendFile.Name = "btn_P2P_ChangeSendFile";
|
|
btn_P2P_ChangeSendFile.NoAccentTextColor = Color.Empty;
|
|
btn_P2P_ChangeSendFile.Size = new Size(85, 36);
|
|
btn_P2P_ChangeSendFile.TabIndex = 4;
|
|
btn_P2P_ChangeSendFile.Text = "选择文件";
|
|
btn_P2P_ChangeSendFile.Type = ReaLTaiizor.Controls.MaterialButton.MaterialButtonType.Contained;
|
|
btn_P2P_ChangeSendFile.UseAccentColor = false;
|
|
btn_P2P_ChangeSendFile.UseVisualStyleBackColor = true;
|
|
btn_P2P_ChangeSendFile.Click += btn_P2P_ChangeSendFile_Click;
|
|
//
|
|
// label_P2P_State
|
|
//
|
|
label_P2P_State.AutoSize = true;
|
|
label_P2P_State.Depth = 0;
|
|
label_P2P_State.Font = new Font("Roboto", 14F, FontStyle.Regular, GraphicsUnit.Pixel);
|
|
label_P2P_State.Location = new Point(269, 3);
|
|
label_P2P_State.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
label_P2P_State.Name = "label_P2P_State";
|
|
label_P2P_State.Size = new Size(49, 19);
|
|
label_P2P_State.TabIndex = 3;
|
|
label_P2P_State.Text = "未连接";
|
|
//
|
|
// metroLabel2
|
|
//
|
|
metroLabel2.Font = new Font("Microsoft Sans Serif", 10F);
|
|
metroLabel2.IsDerivedStyle = true;
|
|
metroLabel2.Location = new Point(197, 3);
|
|
metroLabel2.Name = "metroLabel2";
|
|
metroLabel2.Size = new Size(77, 23);
|
|
metroLabel2.Style = ReaLTaiizor.Enum.Metro.Style.Light;
|
|
metroLabel2.StyleManager = null;
|
|
metroLabel2.TabIndex = 2;
|
|
metroLabel2.Text = "P2P状态:";
|
|
metroLabel2.ThemeAuthor = "Taiizor";
|
|
metroLabel2.ThemeName = "MetroLight";
|
|
//
|
|
// label_P2P_TargetUName
|
|
//
|
|
label_P2P_TargetUName.AutoSize = true;
|
|
label_P2P_TargetUName.Depth = 0;
|
|
label_P2P_TargetUName.Font = new Font("Roboto", 14F, FontStyle.Regular, GraphicsUnit.Pixel);
|
|
label_P2P_TargetUName.Location = new Point(78, 3);
|
|
label_P2P_TargetUName.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
label_P2P_TargetUName.Name = "label_P2P_TargetUName";
|
|
label_P2P_TargetUName.Size = new Size(49, 19);
|
|
label_P2P_TargetUName.TabIndex = 1;
|
|
label_P2P_TargetUName.Text = "用户名";
|
|
//
|
|
// metroLabel1
|
|
//
|
|
metroLabel1.Font = new Font("Microsoft Sans Serif", 10F);
|
|
metroLabel1.IsDerivedStyle = true;
|
|
metroLabel1.Location = new Point(6, 3);
|
|
metroLabel1.Name = "metroLabel1";
|
|
metroLabel1.Size = new Size(77, 23);
|
|
metroLabel1.Style = ReaLTaiizor.Enum.Metro.Style.Light;
|
|
metroLabel1.StyleManager = null;
|
|
metroLabel1.TabIndex = 0;
|
|
metroLabel1.Text = "目标对象:";
|
|
metroLabel1.ThemeAuthor = "Taiizor";
|
|
metroLabel1.ThemeName = "MetroLight";
|
|
//
|
|
// foxLabel3
|
|
//
|
|
foxLabel3.BackColor = Color.Transparent;
|
|
foxLabel3.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
foxLabel3.ForeColor = Color.FromArgb(76, 88, 100);
|
|
foxLabel3.Location = new Point(12, 21);
|
|
foxLabel3.Name = "foxLabel3";
|
|
foxLabel3.Size = new Size(160, 19);
|
|
foxLabel3.TabIndex = 14;
|
|
foxLabel3.Text = "在线用户";
|
|
//
|
|
// MainUI
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(796, 450);
|
|
Controls.Add(foxLabel3);
|
|
Controls.Add(tabControl_Main);
|
|
Controls.Add(listBox_OnlineUser);
|
|
Controls.Add(listbox_log);
|
|
Name = "MainUI";
|
|
Text = "HaoYueTunnel";
|
|
Load += MainUI_Load;
|
|
tabControl_Main.ResumeLayout(false);
|
|
tabPage1.ResumeLayout(false);
|
|
tabPage1.PerformLayout();
|
|
tabPage2.ResumeLayout(false);
|
|
tabPage2.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private ListBox listbox_log;
|
|
private ListBox listBox_OnlineUser;
|
|
private TextBox textBox_chatsendmsg;
|
|
private Button btn_chatsend;
|
|
private ReaLTaiizor.Controls.MetroTabControl tabControl_Main;
|
|
private TabPage tabPage1;
|
|
private TabPage tabPage2;
|
|
private ListBox listBox_AllChatMsg;
|
|
private ReaLTaiizor.Controls.MaterialLabel label_P2P_TargetUName;
|
|
private ReaLTaiizor.Controls.MetroLabel metroLabel1;
|
|
private ReaLTaiizor.Controls.MaterialLabel label_P2P_State;
|
|
private ReaLTaiizor.Controls.MetroLabel metroLabel2;
|
|
private ReaLTaiizor.Controls.MaterialButton btn_P2P_ChangeSendFile;
|
|
private ReaLTaiizor.Controls.MaterialLabel label_P2P_SendFilePath;
|
|
private ReaLTaiizor.Controls.MetroLabel metroLabel3;
|
|
private ReaLTaiizor.Controls.FoxLabel foxLabel2;
|
|
private ReaLTaiizor.Controls.FoxLabel foxLabel1;
|
|
private ReaLTaiizor.Controls.MaterialButton btn_P2P_SendFile;
|
|
private ReaLTaiizor.Controls.MaterialLabel label_P2P_SendFile_State;
|
|
private ReaLTaiizor.Controls.MetroLabel metroLabel4;
|
|
private ReaLTaiizor.Controls.MaterialLabel label_P2P_SendFile_Pr;
|
|
private ReaLTaiizor.Controls.MetroLabel metroLabel5;
|
|
private ReaLTaiizor.Controls.FoxLabel foxLabel3;
|
|
}
|
|
} |