34 lines
710 B
C#
34 lines
710 B
C#
|
|
using System;
|
|||
|
|
using System.Windows.Forms;
|
|||
|
|
|
|||
|
|
namespace trxGui
|
|||
|
|
{
|
|||
|
|
public partial class Form_screen : Form
|
|||
|
|
{
|
|||
|
|
public Form_screen()
|
|||
|
|
{
|
|||
|
|
InitializeComponent();
|
|||
|
|
|
|||
|
|
this.Height = 80;
|
|||
|
|
this.Width = 180;
|
|||
|
|
|
|||
|
|
comboBox1.Width = 140;
|
|||
|
|
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
comboBox1.SelectedIndex = statics.windowsize;
|
|||
|
|
}
|
|||
|
|
catch
|
|||
|
|
{
|
|||
|
|
comboBox1.SelectedIndex = 0;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private void comboBox1_DropDownClosed(object sender, EventArgs e)
|
|||
|
|
{
|
|||
|
|
statics.windowsize = comboBox1.SelectedIndex;
|
|||
|
|
Close();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|