Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
ojask committed May 3, 2023
1 parent 560300e commit 43016dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion QEMUWF/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal class Core
public static string qemuPath = (string)Properties.Settings.Default.qemuPath;
public static DirectoryInfo dinfo = new DirectoryInfo(qemuPath);
public static ComputerInfo info = new ComputerInfo();
public static void SetStaticControls(TrackBar trackBar, TrackBar trackBar1, ComboBox comboBox, ComboBox comboBox2, TabControl tabControl, NumericUpDown numericUpDown)
public static void SetStaticControls(TrackBar trackBar, TrackBar trackBar1, ComboBox comboBox, ComboBox comboBox1, ComboBox comboBox2, TabControl tabControl, NumericUpDown numericUpDown)
{
var f = dinfo.GetFiles("qemu-system-*.exe");
ulong h = info.TotalPhysicalMemory / (1024 * 1024);
Expand Down Expand Up @@ -40,6 +40,7 @@ public static void SetStaticControls(TrackBar trackBar, TrackBar trackBar1, Comb
trackBar1.SmallChange = trackBar1.Maximum / trackBar1.TickFrequency;
trackBar1.Minimum = 2;
comboBox.SelectedIndex = 0;
comboBox1.SelectedIndex = 0;
comboBox2.SelectedIndex = 0;
tabControl.Location = new Point(0, -25);
tabControl.Size = new Size(438, 480);
Expand Down
2 changes: 1 addition & 1 deletion QEMUWF/Form3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public partial class Form3 : Form
public Form3()
{
InitializeComponent();
Core.SetStaticControls(trackBar1, trackBar2, comboBox1, comboBox2, tabControl1, numericUpDown1);
Core.SetStaticControls(trackBar1, trackBar2, comboBox1, comboBox2, comboBox4, tabControl1, numericUpDown1);
}

private void Form3_Load(object sender, EventArgs e)
Expand Down

0 comments on commit 43016dc

Please sign in to comment.