bro check it out

This commit is contained in:
Miskolczi Richárd
2023-03-24 12:39:50 +01:00
parent b4a83782e9
commit bb7625d2f8
6 changed files with 36 additions and 19 deletions

View File

@@ -29,10 +29,10 @@
private void InitializeComponent()
{
searchBox = new TextBox();
resultList = new ListBox();
resultList = new ResultListBox();
profileSelection = new ComboBox();
addProfile = new Button();
button2 = new Button();
removeProfile = new Button();
SuspendLayout();
//
// searchBox
@@ -65,30 +65,32 @@
profileSelection.TabIndex = 2;
profileSelection.SelectedIndexChanged += ClearSearchBox;
//
// button1
// addProfile
//
addProfile.Location = new Point(586, 60);
addProfile.Name = "button1";
addProfile.Name = "addProfile";
addProfile.Size = new Size(95, 29);
addProfile.TabIndex = 3;
addProfile.Text = "Add";
addProfile.UseVisualStyleBackColor = true;
addProfile.Click += AddProfile;
//
// button2
//
button2.Location = new Point(691, 60);
button2.Name = "button2";
button2.Size = new Size(95, 29);
button2.TabIndex = 4;
button2.Text = "Delete";
button2.UseVisualStyleBackColor = true;
removeProfile.Location = new Point(691, 60);
removeProfile.Name = "button2";
removeProfile.Size = new Size(95, 29);
removeProfile.TabIndex = 4;
removeProfile.Text = "Delete";
removeProfile.UseVisualStyleBackColor = true;
//
// MainForm
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(button2);
Controls.Add(removeProfile);
Controls.Add(addProfile);
Controls.Add(profileSelection);
Controls.Add(resultList);
@@ -102,9 +104,9 @@
#endregion
public TextBox searchBox;
public ListBox resultList;
public ResultListBox resultList;
public ComboBox profileSelection;
private Button addProfile;
private Button button2;
private Button removeProfile;
}
}