Murdered WPF and edited some legion stuff
This commit is contained in:
parent
f46e6e8bbc
commit
347bea3315
4 changed files with 514 additions and 257 deletions
|
@ -52,6 +52,7 @@ namespace ShiftOS.WinForms.Applications
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MUDControlCentre));
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.youToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.profileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
@ -63,52 +64,71 @@ namespace ShiftOS.WinForms.Applications
|
|||
this.tasksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.currentTaskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.browseJobsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.legionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.createLegionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.joinLegionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.myLegionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.txtappstatus = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
|
||||
this.lgn_view = new System.Windows.Forms.Panel();
|
||||
this.pnllgnusers = new System.Windows.Forms.Panel();
|
||||
this.lvusers = new System.Windows.Forms.ListView();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.lbdescription = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.banner = new System.Windows.Forms.Panel();
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.btnleavelegion = new System.Windows.Forms.Button();
|
||||
this.btnjoinlegion = new System.Windows.Forms.Button();
|
||||
this.lblegiontitle = new System.Windows.Forms.Label();
|
||||
this.lgn_join = new System.Windows.Forms.Panel();
|
||||
this.fllegionlist = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.you_memos = new System.Windows.Forms.Panel();
|
||||
this.flmemos = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.you_systemstatus = new System.Windows.Forms.Panel();
|
||||
this.lblsysstatus = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.legionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.createLegionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.joinLegionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.myLegionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.lgn_view = new System.Windows.Forms.Panel();
|
||||
this.banner = new System.Windows.Forms.Panel();
|
||||
this.lblegiontitle = new System.Windows.Forms.Label();
|
||||
this.btnleavelegion = new System.Windows.Forms.Button();
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.btnjoinlegion = new System.Windows.Forms.Button();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.lbdescription = new System.Windows.Forms.Label();
|
||||
this.pnllgnusers = new System.Windows.Forms.Panel();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.lvusers = new System.Windows.Forms.ListView();
|
||||
this.lgn_join = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.fllegionlist = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.lgn_create = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.flowLayoutPanel3 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.txtnewlegionshortname = new System.Windows.Forms.TextBox();
|
||||
this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.txtnewlegiontitle = new System.Windows.Forms.TextBox();
|
||||
this.txtnewlegiondescription = new System.Windows.Forms.TextBox();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.toolStripContainer1.BottomToolStripPanel.SuspendLayout();
|
||||
this.toolStripContainer1.ContentPanel.SuspendLayout();
|
||||
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
|
||||
this.toolStripContainer1.SuspendLayout();
|
||||
this.you_memos.SuspendLayout();
|
||||
this.you_systemstatus.SuspendLayout();
|
||||
this.lgn_view.SuspendLayout();
|
||||
this.pnllgnusers.SuspendLayout();
|
||||
this.banner.SuspendLayout();
|
||||
this.flowLayoutPanel1.SuspendLayout();
|
||||
this.pnllgnusers.SuspendLayout();
|
||||
this.lgn_join.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.flowLayoutPanel2.SuspendLayout();
|
||||
this.you_memos.SuspendLayout();
|
||||
this.you_systemstatus.SuspendLayout();
|
||||
this.lgn_create.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.flowLayoutPanel3.SuspendLayout();
|
||||
this.flowLayoutPanel4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// menuStrip1
|
||||
|
@ -168,13 +188,13 @@ namespace ShiftOS.WinForms.Applications
|
|||
// browseToolStripMenuItem
|
||||
//
|
||||
this.browseToolStripMenuItem.Name = "browseToolStripMenuItem";
|
||||
this.browseToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.browseToolStripMenuItem.Size = new System.Drawing.Size(121, 22);
|
||||
this.browseToolStripMenuItem.Text = "Browse";
|
||||
//
|
||||
// myShopToolStripMenuItem
|
||||
//
|
||||
this.myShopToolStripMenuItem.Name = "myShopToolStripMenuItem";
|
||||
this.myShopToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.myShopToolStripMenuItem.Size = new System.Drawing.Size(121, 22);
|
||||
this.myShopToolStripMenuItem.Text = "My Shop";
|
||||
//
|
||||
// tasksToolStripMenuItem
|
||||
|
@ -198,6 +218,37 @@ namespace ShiftOS.WinForms.Applications
|
|||
this.browseJobsToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
|
||||
this.browseJobsToolStripMenuItem.Text = "Browse Jobs";
|
||||
//
|
||||
// legionsToolStripMenuItem
|
||||
//
|
||||
this.legionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.createLegionToolStripMenuItem,
|
||||
this.joinLegionToolStripMenuItem,
|
||||
this.myLegionToolStripMenuItem});
|
||||
this.legionsToolStripMenuItem.Name = "legionsToolStripMenuItem";
|
||||
this.legionsToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
|
||||
this.legionsToolStripMenuItem.Text = "Legions";
|
||||
//
|
||||
// createLegionToolStripMenuItem
|
||||
//
|
||||
this.createLegionToolStripMenuItem.Name = "createLegionToolStripMenuItem";
|
||||
this.createLegionToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.createLegionToolStripMenuItem.Text = "Create Legion";
|
||||
this.createLegionToolStripMenuItem.Click += new System.EventHandler(this.createLegionToolStripMenuItem_Click);
|
||||
//
|
||||
// joinLegionToolStripMenuItem
|
||||
//
|
||||
this.joinLegionToolStripMenuItem.Name = "joinLegionToolStripMenuItem";
|
||||
this.joinLegionToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.joinLegionToolStripMenuItem.Text = "Join Legion";
|
||||
this.joinLegionToolStripMenuItem.Click += new System.EventHandler(this.joinLegionToolStripMenuItem_Click);
|
||||
//
|
||||
// myLegionToolStripMenuItem
|
||||
//
|
||||
this.myLegionToolStripMenuItem.Name = "myLegionToolStripMenuItem";
|
||||
this.myLegionToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.myLegionToolStripMenuItem.Text = "My Legion";
|
||||
this.myLegionToolStripMenuItem.Click += new System.EventHandler(this.myLegionToolStripMenuItem_Click);
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
this.statusStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
||||
|
@ -224,6 +275,7 @@ namespace ShiftOS.WinForms.Applications
|
|||
//
|
||||
// toolStripContainer1.ContentPanel
|
||||
//
|
||||
this.toolStripContainer1.ContentPanel.Controls.Add(this.lgn_create);
|
||||
this.toolStripContainer1.ContentPanel.Controls.Add(this.lgn_view);
|
||||
this.toolStripContainer1.ContentPanel.Controls.Add(this.lgn_join);
|
||||
this.toolStripContainer1.ContentPanel.Controls.Add(this.you_memos);
|
||||
|
@ -240,6 +292,219 @@ namespace ShiftOS.WinForms.Applications
|
|||
//
|
||||
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1);
|
||||
//
|
||||
// lgn_view
|
||||
//
|
||||
this.lgn_view.Controls.Add(this.pnllgnusers);
|
||||
this.lgn_view.Controls.Add(this.lbdescription);
|
||||
this.lgn_view.Controls.Add(this.label2);
|
||||
this.lgn_view.Controls.Add(this.banner);
|
||||
this.lgn_view.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lgn_view.Location = new System.Drawing.Point(0, 0);
|
||||
this.lgn_view.Name = "lgn_view";
|
||||
this.lgn_view.Size = new System.Drawing.Size(756, 442);
|
||||
this.lgn_view.TabIndex = 2;
|
||||
//
|
||||
// pnllgnusers
|
||||
//
|
||||
this.pnllgnusers.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnllgnusers.Controls.Add(this.lvusers);
|
||||
this.pnllgnusers.Controls.Add(this.label4);
|
||||
this.pnllgnusers.Location = new System.Drawing.Point(413, 130);
|
||||
this.pnllgnusers.Name = "pnllgnusers";
|
||||
this.pnllgnusers.Size = new System.Drawing.Size(337, 286);
|
||||
this.pnllgnusers.TabIndex = 3;
|
||||
//
|
||||
// lvusers
|
||||
//
|
||||
this.lvusers.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lvusers.FullRowSelect = true;
|
||||
this.lvusers.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
||||
this.lvusers.HideSelection = false;
|
||||
this.lvusers.Location = new System.Drawing.Point(0, 13);
|
||||
this.lvusers.Name = "lvusers";
|
||||
this.lvusers.Size = new System.Drawing.Size(337, 273);
|
||||
this.lvusers.TabIndex = 3;
|
||||
this.lvusers.UseCompatibleStateImageBehavior = false;
|
||||
this.lvusers.View = System.Windows.Forms.View.SmallIcon;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label4.Location = new System.Drawing.Point(0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(34, 13);
|
||||
this.label4.TabIndex = 2;
|
||||
this.label4.Tag = "header2";
|
||||
this.label4.Text = "Users";
|
||||
//
|
||||
// lbdescription
|
||||
//
|
||||
this.lbdescription.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lbdescription.Location = new System.Drawing.Point(24, 185);
|
||||
this.lbdescription.Name = "lbdescription";
|
||||
this.lbdescription.Size = new System.Drawing.Size(354, 231);
|
||||
this.lbdescription.TabIndex = 2;
|
||||
this.lbdescription.Text = "This is the description of this multi-user domain legion. Keep it descriptive.";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(21, 130);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(60, 13);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Tag = "header2";
|
||||
this.label2.Text = "Description";
|
||||
//
|
||||
// banner
|
||||
//
|
||||
this.banner.BackColor = System.Drawing.Color.Blue;
|
||||
this.banner.Controls.Add(this.flowLayoutPanel1);
|
||||
this.banner.Controls.Add(this.lblegiontitle);
|
||||
this.banner.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.banner.Location = new System.Drawing.Point(0, 0);
|
||||
this.banner.Name = "banner";
|
||||
this.banner.Size = new System.Drawing.Size(756, 100);
|
||||
this.banner.TabIndex = 0;
|
||||
this.banner.Tag = "keepbg";
|
||||
//
|
||||
// flowLayoutPanel1
|
||||
//
|
||||
this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.flowLayoutPanel1.AutoSize = true;
|
||||
this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.flowLayoutPanel1.Controls.Add(this.btnleavelegion);
|
||||
this.flowLayoutPanel1.Controls.Add(this.btnjoinlegion);
|
||||
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(550, 68);
|
||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(203, 29);
|
||||
this.flowLayoutPanel1.TabIndex = 2;
|
||||
this.flowLayoutPanel1.Tag = "keepbg";
|
||||
//
|
||||
// btnleavelegion
|
||||
//
|
||||
this.btnleavelegion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnleavelegion.AutoSize = true;
|
||||
this.btnleavelegion.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.btnleavelegion.Location = new System.Drawing.Point(99, 3);
|
||||
this.btnleavelegion.Name = "btnleavelegion";
|
||||
this.btnleavelegion.Size = new System.Drawing.Size(101, 23);
|
||||
this.btnleavelegion.TabIndex = 1;
|
||||
this.btnleavelegion.Tag = "keepbg";
|
||||
this.btnleavelegion.Text = "Leave this Legion";
|
||||
this.btnleavelegion.UseVisualStyleBackColor = true;
|
||||
this.btnleavelegion.Click += new System.EventHandler(this.btnleavelegion_Click);
|
||||
//
|
||||
// btnjoinlegion
|
||||
//
|
||||
this.btnjoinlegion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnjoinlegion.AutoSize = true;
|
||||
this.btnjoinlegion.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.btnjoinlegion.Location = new System.Drawing.Point(3, 3);
|
||||
this.btnjoinlegion.Name = "btnjoinlegion";
|
||||
this.btnjoinlegion.Size = new System.Drawing.Size(90, 23);
|
||||
this.btnjoinlegion.TabIndex = 2;
|
||||
this.btnjoinlegion.Tag = "keepbg";
|
||||
this.btnjoinlegion.Text = "Join this Legion";
|
||||
this.btnjoinlegion.UseVisualStyleBackColor = true;
|
||||
this.btnjoinlegion.Click += new System.EventHandler(this.btnjoinlegion_Click);
|
||||
//
|
||||
// lblegiontitle
|
||||
//
|
||||
this.lblegiontitle.AutoSize = true;
|
||||
this.lblegiontitle.Location = new System.Drawing.Point(18, 30);
|
||||
this.lblegiontitle.Name = "lblegiontitle";
|
||||
this.lblegiontitle.Size = new System.Drawing.Size(62, 13);
|
||||
this.lblegiontitle.TabIndex = 0;
|
||||
this.lblegiontitle.Tag = "header1 keepbg";
|
||||
this.lblegiontitle.Text = "Legion Title";
|
||||
//
|
||||
// lgn_join
|
||||
//
|
||||
this.lgn_join.Controls.Add(this.fllegionlist);
|
||||
this.lgn_join.Controls.Add(this.panel3);
|
||||
this.lgn_join.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lgn_join.Location = new System.Drawing.Point(0, 0);
|
||||
this.lgn_join.Name = "lgn_join";
|
||||
this.lgn_join.Size = new System.Drawing.Size(756, 442);
|
||||
this.lgn_join.TabIndex = 3;
|
||||
//
|
||||
// fllegionlist
|
||||
//
|
||||
this.fllegionlist.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fllegionlist.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||
this.fllegionlist.Location = new System.Drawing.Point(0, 100);
|
||||
this.fllegionlist.Name = "fllegionlist";
|
||||
this.fllegionlist.Size = new System.Drawing.Size(756, 342);
|
||||
this.fllegionlist.TabIndex = 1;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.Blue;
|
||||
this.panel3.Controls.Add(this.flowLayoutPanel2);
|
||||
this.panel3.Controls.Add(this.label8);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(756, 100);
|
||||
this.panel3.TabIndex = 0;
|
||||
this.panel3.Tag = "";
|
||||
//
|
||||
// flowLayoutPanel2
|
||||
//
|
||||
this.flowLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.flowLayoutPanel2.AutoSize = true;
|
||||
this.flowLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.flowLayoutPanel2.Controls.Add(this.button1);
|
||||
this.flowLayoutPanel2.Controls.Add(this.button2);
|
||||
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||
this.flowLayoutPanel2.Location = new System.Drawing.Point(547, 3);
|
||||
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
|
||||
this.flowLayoutPanel2.Size = new System.Drawing.Size(209, 29);
|
||||
this.flowLayoutPanel2.TabIndex = 2;
|
||||
this.flowLayoutPanel2.Tag = "keepbg";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button1.AutoSize = true;
|
||||
this.button1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.button1.Location = new System.Drawing.Point(100, 3);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(106, 23);
|
||||
this.button1.TabIndex = 1;
|
||||
this.button1.Tag = "keepbg";
|
||||
this.button1.Text = "Create new Legion";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button2.AutoSize = true;
|
||||
this.button2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.button2.Location = new System.Drawing.Point(3, 3);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(91, 23);
|
||||
this.button2.TabIndex = 2;
|
||||
this.button2.Tag = "keepbg";
|
||||
this.button2.Text = "Use invite code";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(18, 17);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(70, 13);
|
||||
this.label8.TabIndex = 0;
|
||||
this.label8.Tag = "header1 keepbg";
|
||||
this.label8.Text = "Join a Legion";
|
||||
//
|
||||
// you_memos
|
||||
//
|
||||
this.you_memos.Controls.Add(this.flmemos);
|
||||
|
@ -308,248 +573,172 @@ namespace ShiftOS.WinForms.Applications
|
|||
this.label1.Tag = "header1";
|
||||
this.label1.Text = "You";
|
||||
//
|
||||
// legionsToolStripMenuItem
|
||||
// lgn_create
|
||||
//
|
||||
this.legionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.createLegionToolStripMenuItem,
|
||||
this.joinLegionToolStripMenuItem,
|
||||
this.myLegionToolStripMenuItem});
|
||||
this.legionsToolStripMenuItem.Name = "legionsToolStripMenuItem";
|
||||
this.legionsToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
|
||||
this.legionsToolStripMenuItem.Text = "Legions";
|
||||
this.lgn_create.Controls.Add(this.txtnewlegiondescription);
|
||||
this.lgn_create.Controls.Add(this.panel2);
|
||||
this.lgn_create.Controls.Add(this.label7);
|
||||
this.lgn_create.Controls.Add(this.panel4);
|
||||
this.lgn_create.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lgn_create.Location = new System.Drawing.Point(0, 0);
|
||||
this.lgn_create.Name = "lgn_create";
|
||||
this.lgn_create.Size = new System.Drawing.Size(756, 442);
|
||||
this.lgn_create.TabIndex = 4;
|
||||
//
|
||||
// createLegionToolStripMenuItem
|
||||
// panel2
|
||||
//
|
||||
this.createLegionToolStripMenuItem.Name = "createLegionToolStripMenuItem";
|
||||
this.createLegionToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.createLegionToolStripMenuItem.Text = "Create Legion";
|
||||
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel2.Controls.Add(this.label10);
|
||||
this.panel2.Controls.Add(this.label5);
|
||||
this.panel2.Location = new System.Drawing.Point(413, 130);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(337, 286);
|
||||
this.panel2.TabIndex = 3;
|
||||
//
|
||||
// joinLegionToolStripMenuItem
|
||||
// label5
|
||||
//
|
||||
this.joinLegionToolStripMenuItem.Name = "joinLegionToolStripMenuItem";
|
||||
this.joinLegionToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.joinLegionToolStripMenuItem.Text = "Join Legion";
|
||||
this.joinLegionToolStripMenuItem.Click += new System.EventHandler(this.joinLegionToolStripMenuItem_Click);
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label5.Location = new System.Drawing.Point(0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(61, 13);
|
||||
this.label5.TabIndex = 2;
|
||||
this.label5.Tag = "header2";
|
||||
this.label5.Text = "Instructions";
|
||||
//
|
||||
// myLegionToolStripMenuItem
|
||||
// label7
|
||||
//
|
||||
this.myLegionToolStripMenuItem.Name = "myLegionToolStripMenuItem";
|
||||
this.myLegionToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.myLegionToolStripMenuItem.Text = "My Legion";
|
||||
this.myLegionToolStripMenuItem.Click += new System.EventHandler(this.myLegionToolStripMenuItem_Click);
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(21, 130);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(60, 13);
|
||||
this.label7.TabIndex = 1;
|
||||
this.label7.Tag = "header2";
|
||||
this.label7.Text = "Description";
|
||||
//
|
||||
// lgn_view
|
||||
// panel4
|
||||
//
|
||||
this.lgn_view.Controls.Add(this.pnllgnusers);
|
||||
this.lgn_view.Controls.Add(this.lbdescription);
|
||||
this.lgn_view.Controls.Add(this.label2);
|
||||
this.lgn_view.Controls.Add(this.banner);
|
||||
this.lgn_view.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lgn_view.Location = new System.Drawing.Point(0, 0);
|
||||
this.lgn_view.Name = "lgn_view";
|
||||
this.lgn_view.Size = new System.Drawing.Size(756, 442);
|
||||
this.lgn_view.TabIndex = 2;
|
||||
this.panel4.BackColor = System.Drawing.Color.Blue;
|
||||
this.panel4.Controls.Add(this.flowLayoutPanel4);
|
||||
this.panel4.Controls.Add(this.flowLayoutPanel3);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel4.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(756, 100);
|
||||
this.panel4.TabIndex = 0;
|
||||
this.panel4.Tag = "keepbg";
|
||||
//
|
||||
// banner
|
||||
// flowLayoutPanel3
|
||||
//
|
||||
this.banner.BackColor = System.Drawing.Color.Blue;
|
||||
this.banner.Controls.Add(this.flowLayoutPanel1);
|
||||
this.banner.Controls.Add(this.lblegiontitle);
|
||||
this.banner.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.banner.Location = new System.Drawing.Point(0, 0);
|
||||
this.banner.Name = "banner";
|
||||
this.banner.Size = new System.Drawing.Size(756, 100);
|
||||
this.banner.TabIndex = 0;
|
||||
this.banner.Tag = "keepbg";
|
||||
this.flowLayoutPanel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.flowLayoutPanel3.AutoSize = true;
|
||||
this.flowLayoutPanel3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.flowLayoutPanel3.Controls.Add(this.button3);
|
||||
this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||
this.flowLayoutPanel3.Location = new System.Drawing.Point(667, 68);
|
||||
this.flowLayoutPanel3.Name = "flowLayoutPanel3";
|
||||
this.flowLayoutPanel3.Size = new System.Drawing.Size(86, 29);
|
||||
this.flowLayoutPanel3.TabIndex = 2;
|
||||
this.flowLayoutPanel3.Tag = "keepbg";
|
||||
//
|
||||
// lblegiontitle
|
||||
// button3
|
||||
//
|
||||
this.lblegiontitle.AutoSize = true;
|
||||
this.lblegiontitle.Location = new System.Drawing.Point(18, 30);
|
||||
this.lblegiontitle.Name = "lblegiontitle";
|
||||
this.lblegiontitle.Size = new System.Drawing.Size(62, 13);
|
||||
this.lblegiontitle.TabIndex = 0;
|
||||
this.lblegiontitle.Tag = "header1 keepbg";
|
||||
this.lblegiontitle.Text = "Legion Title";
|
||||
this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button3.AutoSize = true;
|
||||
this.button3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.button3.Location = new System.Drawing.Point(3, 3);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(80, 23);
|
||||
this.button3.TabIndex = 1;
|
||||
this.button3.Tag = "keepbg";
|
||||
this.button3.Text = "Change color";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnleavelegion
|
||||
// label10
|
||||
//
|
||||
this.btnleavelegion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnleavelegion.AutoSize = true;
|
||||
this.btnleavelegion.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.btnleavelegion.Location = new System.Drawing.Point(99, 3);
|
||||
this.btnleavelegion.Name = "btnleavelegion";
|
||||
this.btnleavelegion.Size = new System.Drawing.Size(101, 23);
|
||||
this.btnleavelegion.TabIndex = 1;
|
||||
this.btnleavelegion.Tag = "keepbg";
|
||||
this.btnleavelegion.Text = "Leave this Legion";
|
||||
this.btnleavelegion.UseVisualStyleBackColor = true;
|
||||
this.btnleavelegion.Click += new System.EventHandler(this.btnleavelegion_Click);
|
||||
this.label10.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label10.Location = new System.Drawing.Point(0, 13);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(337, 273);
|
||||
this.label10.TabIndex = 3;
|
||||
this.label10.Text = resources.GetString("label10.Text");
|
||||
//
|
||||
// flowLayoutPanel1
|
||||
// txtnewlegionshortname
|
||||
//
|
||||
this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.flowLayoutPanel1.AutoSize = true;
|
||||
this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.flowLayoutPanel1.Controls.Add(this.btnleavelegion);
|
||||
this.flowLayoutPanel1.Controls.Add(this.btnjoinlegion);
|
||||
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(550, 68);
|
||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(203, 29);
|
||||
this.flowLayoutPanel1.TabIndex = 2;
|
||||
this.flowLayoutPanel1.Tag = "keepbg";
|
||||
this.txtnewlegionshortname.BackColor = System.Drawing.Color.Blue;
|
||||
this.txtnewlegionshortname.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.txtnewlegionshortname.ForeColor = System.Drawing.Color.White;
|
||||
this.txtnewlegionshortname.Location = new System.Drawing.Point(19, 3);
|
||||
this.txtnewlegionshortname.MaxLength = 4;
|
||||
this.txtnewlegionshortname.MinimumSize = new System.Drawing.Size(4, 13);
|
||||
this.txtnewlegionshortname.Name = "txtnewlegionshortname";
|
||||
this.txtnewlegionshortname.Size = new System.Drawing.Size(36, 13);
|
||||
this.txtnewlegionshortname.TabIndex = 3;
|
||||
this.txtnewlegionshortname.Tag = "inheritbg inheritfg header1";
|
||||
this.txtnewlegionshortname.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.txtnewlegionshortname.TextChanged += new System.EventHandler(this.txtnewlegionshortname_TextChanged);
|
||||
//
|
||||
// btnjoinlegion
|
||||
// flowLayoutPanel4
|
||||
//
|
||||
this.btnjoinlegion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnjoinlegion.AutoSize = true;
|
||||
this.btnjoinlegion.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.btnjoinlegion.Location = new System.Drawing.Point(3, 3);
|
||||
this.btnjoinlegion.Name = "btnjoinlegion";
|
||||
this.btnjoinlegion.Size = new System.Drawing.Size(90, 23);
|
||||
this.btnjoinlegion.TabIndex = 2;
|
||||
this.btnjoinlegion.Tag = "keepbg";
|
||||
this.btnjoinlegion.Text = "Join this Legion";
|
||||
this.btnjoinlegion.UseVisualStyleBackColor = true;
|
||||
this.btnjoinlegion.Click += new System.EventHandler(this.btnjoinlegion_Click);
|
||||
this.flowLayoutPanel4.AutoSize = true;
|
||||
this.flowLayoutPanel4.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.flowLayoutPanel4.Controls.Add(this.label9);
|
||||
this.flowLayoutPanel4.Controls.Add(this.txtnewlegionshortname);
|
||||
this.flowLayoutPanel4.Controls.Add(this.label11);
|
||||
this.flowLayoutPanel4.Controls.Add(this.txtnewlegiontitle);
|
||||
this.flowLayoutPanel4.Location = new System.Drawing.Point(27, 33);
|
||||
this.flowLayoutPanel4.Name = "flowLayoutPanel4";
|
||||
this.flowLayoutPanel4.Size = new System.Drawing.Size(174, 19);
|
||||
this.flowLayoutPanel4.TabIndex = 4;
|
||||
this.flowLayoutPanel4.Tag = "keepbg";
|
||||
//
|
||||
// label2
|
||||
// label9
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(21, 130);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(60, 13);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Tag = "header2";
|
||||
this.label2.Text = "Description";
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(3, 0);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(10, 13);
|
||||
this.label9.TabIndex = 4;
|
||||
this.label9.Tag = "keepbg header1";
|
||||
this.label9.Text = "[";
|
||||
//
|
||||
// lbdescription
|
||||
// label11
|
||||
//
|
||||
this.lbdescription.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(61, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(13, 13);
|
||||
this.label11.TabIndex = 5;
|
||||
this.label11.Tag = "keepbg header1";
|
||||
this.label11.Text = "] ";
|
||||
//
|
||||
// txtnewlegiontitle
|
||||
//
|
||||
this.txtnewlegiontitle.BackColor = System.Drawing.Color.Blue;
|
||||
this.txtnewlegiontitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.txtnewlegiontitle.ForeColor = System.Drawing.Color.White;
|
||||
this.txtnewlegiontitle.Location = new System.Drawing.Point(80, 3);
|
||||
this.txtnewlegiontitle.MaxLength = 25;
|
||||
this.txtnewlegiontitle.MinimumSize = new System.Drawing.Size(91, 13);
|
||||
this.txtnewlegiontitle.Name = "txtnewlegiontitle";
|
||||
this.txtnewlegiontitle.Size = new System.Drawing.Size(91, 13);
|
||||
this.txtnewlegiontitle.TabIndex = 6;
|
||||
this.txtnewlegiontitle.Tag = "inheritbg inheritfg header1";
|
||||
this.txtnewlegiontitle.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.txtnewlegiontitle.TextChanged += new System.EventHandler(this.txtnewlegiontitle_TextChanged);
|
||||
//
|
||||
// txtnewlegiondescription
|
||||
//
|
||||
this.txtnewlegiondescription.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lbdescription.Location = new System.Drawing.Point(24, 185);
|
||||
this.lbdescription.Name = "lbdescription";
|
||||
this.lbdescription.Size = new System.Drawing.Size(354, 231);
|
||||
this.lbdescription.TabIndex = 2;
|
||||
this.lbdescription.Text = "This is the description of this multi-user domain legion. Keep it descriptive.";
|
||||
//
|
||||
// pnllgnusers
|
||||
//
|
||||
this.pnllgnusers.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnllgnusers.Controls.Add(this.lvusers);
|
||||
this.pnllgnusers.Controls.Add(this.label4);
|
||||
this.pnllgnusers.Location = new System.Drawing.Point(413, 130);
|
||||
this.pnllgnusers.Name = "pnllgnusers";
|
||||
this.pnllgnusers.Size = new System.Drawing.Size(337, 286);
|
||||
this.pnllgnusers.TabIndex = 3;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.label4.Location = new System.Drawing.Point(0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(34, 13);
|
||||
this.label4.TabIndex = 2;
|
||||
this.label4.Tag = "header2";
|
||||
this.label4.Text = "Users";
|
||||
//
|
||||
// lvusers
|
||||
//
|
||||
this.lvusers.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lvusers.FullRowSelect = true;
|
||||
this.lvusers.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
||||
this.lvusers.HideSelection = false;
|
||||
this.lvusers.Location = new System.Drawing.Point(0, 13);
|
||||
this.lvusers.Name = "lvusers";
|
||||
this.lvusers.Size = new System.Drawing.Size(337, 273);
|
||||
this.lvusers.TabIndex = 3;
|
||||
this.lvusers.UseCompatibleStateImageBehavior = false;
|
||||
this.lvusers.View = System.Windows.Forms.View.SmallIcon;
|
||||
//
|
||||
// lgn_join
|
||||
//
|
||||
this.lgn_join.Controls.Add(this.fllegionlist);
|
||||
this.lgn_join.Controls.Add(this.panel3);
|
||||
this.lgn_join.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lgn_join.Location = new System.Drawing.Point(0, 0);
|
||||
this.lgn_join.Name = "lgn_join";
|
||||
this.lgn_join.Size = new System.Drawing.Size(756, 442);
|
||||
this.lgn_join.TabIndex = 3;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.Blue;
|
||||
this.panel3.Controls.Add(this.flowLayoutPanel2);
|
||||
this.panel3.Controls.Add(this.label8);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(756, 100);
|
||||
this.panel3.TabIndex = 0;
|
||||
this.panel3.Tag = "";
|
||||
//
|
||||
// flowLayoutPanel2
|
||||
//
|
||||
this.flowLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.flowLayoutPanel2.AutoSize = true;
|
||||
this.flowLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.flowLayoutPanel2.Controls.Add(this.button1);
|
||||
this.flowLayoutPanel2.Controls.Add(this.button2);
|
||||
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||
this.flowLayoutPanel2.Location = new System.Drawing.Point(547, 3);
|
||||
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
|
||||
this.flowLayoutPanel2.Size = new System.Drawing.Size(209, 29);
|
||||
this.flowLayoutPanel2.TabIndex = 2;
|
||||
this.flowLayoutPanel2.Tag = "keepbg";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button1.AutoSize = true;
|
||||
this.button1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.button1.Location = new System.Drawing.Point(100, 3);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(106, 23);
|
||||
this.button1.TabIndex = 1;
|
||||
this.button1.Tag = "keepbg";
|
||||
this.button1.Text = "Create new Legion";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button2.AutoSize = true;
|
||||
this.button2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.button2.Location = new System.Drawing.Point(3, 3);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(91, 23);
|
||||
this.button2.TabIndex = 2;
|
||||
this.button2.Tag = "keepbg";
|
||||
this.button2.Text = "Use invite code";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(18, 17);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(70, 13);
|
||||
this.label8.TabIndex = 0;
|
||||
this.label8.Tag = "header1 keepbg";
|
||||
this.label8.Text = "Join a Legion";
|
||||
//
|
||||
// fllegionlist
|
||||
//
|
||||
this.fllegionlist.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fllegionlist.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||
this.fllegionlist.Location = new System.Drawing.Point(0, 100);
|
||||
this.fllegionlist.Name = "fllegionlist";
|
||||
this.fllegionlist.Size = new System.Drawing.Size(756, 342);
|
||||
this.fllegionlist.TabIndex = 1;
|
||||
this.txtnewlegiondescription.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.txtnewlegiondescription.Location = new System.Drawing.Point(21, 176);
|
||||
this.txtnewlegiondescription.Multiline = true;
|
||||
this.txtnewlegiondescription.Name = "txtnewlegiondescription";
|
||||
this.txtnewlegiondescription.Size = new System.Drawing.Size(368, 240);
|
||||
this.txtnewlegiondescription.TabIndex = 4;
|
||||
//
|
||||
// MUDControlCentre
|
||||
//
|
||||
|
@ -559,7 +748,6 @@ namespace ShiftOS.WinForms.Applications
|
|||
this.Controls.Add(this.toolStripContainer1);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Name = "MUDControlCentre";
|
||||
this.Text = "MUD Control Centre";
|
||||
this.Size = new System.Drawing.Size(756, 488);
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
|
@ -572,23 +760,33 @@ namespace ShiftOS.WinForms.Applications
|
|||
this.toolStripContainer1.TopToolStripPanel.PerformLayout();
|
||||
this.toolStripContainer1.ResumeLayout(false);
|
||||
this.toolStripContainer1.PerformLayout();
|
||||
this.you_memos.ResumeLayout(false);
|
||||
this.you_memos.PerformLayout();
|
||||
this.you_systemstatus.ResumeLayout(false);
|
||||
this.you_systemstatus.PerformLayout();
|
||||
this.lgn_view.ResumeLayout(false);
|
||||
this.lgn_view.PerformLayout();
|
||||
this.pnllgnusers.ResumeLayout(false);
|
||||
this.pnllgnusers.PerformLayout();
|
||||
this.banner.ResumeLayout(false);
|
||||
this.banner.PerformLayout();
|
||||
this.flowLayoutPanel1.ResumeLayout(false);
|
||||
this.flowLayoutPanel1.PerformLayout();
|
||||
this.pnllgnusers.ResumeLayout(false);
|
||||
this.pnllgnusers.PerformLayout();
|
||||
this.lgn_join.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.flowLayoutPanel2.ResumeLayout(false);
|
||||
this.flowLayoutPanel2.PerformLayout();
|
||||
this.you_memos.ResumeLayout(false);
|
||||
this.you_memos.PerformLayout();
|
||||
this.you_systemstatus.ResumeLayout(false);
|
||||
this.you_systemstatus.PerformLayout();
|
||||
this.lgn_create.ResumeLayout(false);
|
||||
this.lgn_create.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel4.PerformLayout();
|
||||
this.flowLayoutPanel3.ResumeLayout(false);
|
||||
this.flowLayoutPanel3.PerformLayout();
|
||||
this.flowLayoutPanel4.ResumeLayout(false);
|
||||
this.flowLayoutPanel4.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
@ -637,5 +835,19 @@ namespace ShiftOS.WinForms.Applications
|
|||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Panel lgn_create;
|
||||
private System.Windows.Forms.TextBox txtnewlegiondescription;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel4;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.TextBox txtnewlegionshortname;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.TextBox txtnewlegiontitle;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel3;
|
||||
private System.Windows.Forms.Button button3;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -334,5 +334,49 @@ Current legions: {legionname}";
|
|||
ServerManager.SendMessage("user_get_legion", JsonConvert.SerializeObject(SaveSystem.CurrentSave));
|
||||
|
||||
}
|
||||
|
||||
Legion newLegion = null;
|
||||
|
||||
private void createLegionToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
newLegion = new Legion();
|
||||
|
||||
SetupLegionEditor(newLegion);
|
||||
}
|
||||
|
||||
public void SetupLegionEditor(Legion l)
|
||||
{
|
||||
if (l.ShortName == null)
|
||||
l.ShortName = "NAME";
|
||||
if (l.Name == null)
|
||||
l.Name = "Legion name";
|
||||
if (l.Description == null)
|
||||
l.Description = "This is your legion description.";
|
||||
|
||||
txtnewlegionshortname.Text = l.ShortName;
|
||||
txtnewlegiondescription.Text = l.Description;
|
||||
txtnewlegiontitle.Text = l.Name;
|
||||
|
||||
lgn_create.BringToFront();
|
||||
}
|
||||
|
||||
private void txtnewlegionshortname_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
var g = txtnewlegionshortname.CreateGraphics();
|
||||
|
||||
SizeF sf = g.MeasureString(txtnewlegionshortname.Text, txtnewlegionshortname.Font);
|
||||
|
||||
txtnewlegionshortname.Size = new Size((int)sf.Width, (int)sf.Height);
|
||||
}
|
||||
|
||||
private void txtnewlegiontitle_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
var g = txtnewlegiontitle.CreateGraphics();
|
||||
|
||||
SizeF sf = g.MeasureString(txtnewlegiontitle.Text, txtnewlegiontitle.Font);
|
||||
|
||||
txtnewlegiontitle.Size = new Size((int)sf.Width, (int)sf.Height);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,4 +123,11 @@
|
|||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>132, 17</value>
|
||||
</metadata>
|
||||
<data name="label10.Text" xml:space="preserve">
|
||||
<value>On this screen you can customize your legion profile. This is how users will see your legion inside the Join Legion screen.
|
||||
|
||||
You can set up a banner color, short and long name, and a description on this screen. The shortname is used to identify your legion. The long name is a more descriptive name for your legion.
|
||||
|
||||
The description will be what explains your legion - what does it do? Why should the user join it? Stuff like that.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -9,8 +9,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShiftOS.Objects", "ShiftOS.
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShiftOS.Server", "ShiftOS.Server\ShiftOS.Server.csproj", "{226C63B4-E60D-4949-B4E7-7A2DDBB96776}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShiftOS.Wpf", "ShiftOS.Wpf\ShiftOS.Wpf.csproj", "{A589969D-227A-48AF-A176-81022CF01E62}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShiftOS.WinForms", "ShiftOS.WinForms\ShiftOS.WinForms.csproj", "{2295D2E2-3A00-4E02-B66F-B961AC329FE6}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShiftOS.MFSProfiler", "ShiftOS.MFSProfiler\ShiftOS.MFSProfiler.csproj", "{AF587F3F-CA85-4183-BEEB-ACF527B1FFF3}"
|
||||
|
@ -33,10 +31,6 @@ Global
|
|||
{226C63B4-E60D-4949-B4E7-7A2DDBB96776}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{226C63B4-E60D-4949-B4E7-7A2DDBB96776}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{226C63B4-E60D-4949-B4E7-7A2DDBB96776}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A589969D-227A-48AF-A176-81022CF01E62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A589969D-227A-48AF-A176-81022CF01E62}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A589969D-227A-48AF-A176-81022CF01E62}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A589969D-227A-48AF-A176-81022CF01E62}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2295D2E2-3A00-4E02-B66F-B961AC329FE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2295D2E2-3A00-4E02-B66F-B961AC329FE6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2295D2E2-3A00-4E02-B66F-B961AC329FE6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
|
|
Reference in a new issue