work on characterlist

This commit is contained in:
Zoe Fenris
2024-06-21 20:05:43 +02:00
parent 181c517ca1
commit f46eab015d
10 changed files with 331 additions and 35 deletions

View File

@@ -29,30 +29,100 @@
private void InitializeComponent()
{
radListView_CharList = new Telerik.WinControls.UI.RadListView();
radMenu1 = new Telerik.WinControls.UI.RadMenu();
radMenuItem_CreateChar = new Telerik.WinControls.UI.RadMenuItem();
radMenuItem_DeleteChar = new Telerik.WinControls.UI.RadMenuItem();
radMenuItem_OpenChar = new Telerik.WinControls.UI.RadMenuItem();
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
radTextBoxControl1 = new Telerik.WinControls.UI.RadTextBoxControl();
((System.ComponentModel.ISupportInitialize)radListView_CharList).BeginInit();
((System.ComponentModel.ISupportInitialize)radMenu1).BeginInit();
tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)radTextBoxControl1).BeginInit();
SuspendLayout();
//
// radListView_CharList
//
radListView_CharList.Dock = System.Windows.Forms.DockStyle.Fill;
radListView_CharList.Location = new System.Drawing.Point(0, 0);
radListView_CharList.Location = new System.Drawing.Point(3, 31);
radListView_CharList.Name = "radListView_CharList";
radListView_CharList.Size = new System.Drawing.Size(500, 500);
radListView_CharList.Size = new System.Drawing.Size(494, 446);
radListView_CharList.TabIndex = 0;
//
// radMenu1
//
radMenu1.Items.AddRange(new Telerik.WinControls.RadItem[] { radMenuItem_CreateChar, radMenuItem_DeleteChar, radMenuItem_OpenChar });
radMenu1.Location = new System.Drawing.Point(0, 0);
radMenu1.Name = "radMenu1";
radMenu1.Size = new System.Drawing.Size(500, 20);
radMenu1.TabIndex = 0;
//
// radMenuItem_CreateChar
//
radMenuItem_CreateChar.Name = "radMenuItem_CreateChar";
radMenuItem_CreateChar.Text = "New";
radMenuItem_CreateChar.Click += RadMenuItem_AddChar_Click;
//
// radMenuItem_DeleteChar
//
radMenuItem_DeleteChar.Name = "radMenuItem_DeleteChar";
radMenuItem_DeleteChar.Text = "Delete";
radMenuItem_DeleteChar.Click += RadMenuItem_DeleteChar_Click;
//
// radMenuItem_OpenChar
//
radMenuItem_OpenChar.Name = "radMenuItem_OpenChar";
radMenuItem_OpenChar.Text = "Open";
radMenuItem_OpenChar.Click += RadMenuItem_OpenChar_Click;
//
// tableLayoutPanel1
//
tableLayoutPanel1.ColumnCount = 1;
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.Controls.Add(radListView_CharList, 0, 1);
tableLayoutPanel1.Controls.Add(radTextBoxControl1, 0, 0);
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
tableLayoutPanel1.Location = new System.Drawing.Point(0, 20);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 2;
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.Size = new System.Drawing.Size(500, 480);
tableLayoutPanel1.TabIndex = 1;
//
// radTextBoxControl1
//
radTextBoxControl1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
radTextBoxControl1.Location = new System.Drawing.Point(3, 3);
radTextBoxControl1.Name = "radTextBoxControl1";
radTextBoxControl1.NullText = "Search...";
radTextBoxControl1.Size = new System.Drawing.Size(494, 22);
radTextBoxControl1.TabIndex = 1;
//
// CharacterListControl
//
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
Controls.Add(radListView_CharList);
Controls.Add(tableLayoutPanel1);
Controls.Add(radMenu1);
Name = "CharacterListControl";
Size = new System.Drawing.Size(500, 500);
((System.ComponentModel.ISupportInitialize)radListView_CharList).EndInit();
((System.ComponentModel.ISupportInitialize)radMenu1).EndInit();
tableLayoutPanel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)radTextBoxControl1).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private Telerik.WinControls.UI.RadListView radListView_CharList;
private Telerik.WinControls.UI.RadMenu radMenu1;
private Telerik.WinControls.UI.RadMenuItem radMenuItem_CreateChar;
private Telerik.WinControls.UI.RadMenuItem radMenuItem_DeleteChar;
private Telerik.WinControls.UI.RadMenuItem radMenuItem_OpenChar;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private Telerik.WinControls.UI.RadTextBoxControl radTextBoxControl1;
}
}