public frmSettings(frmMain form1)
        {
            InitializeComponent();
            parentForm = form1;

            // DB settings
            txtSettingDbDatabase.Text = Properties.Settings.Default.dbDatabase;
            txtSettingDbIP.Text       = Properties.Settings.Default.dbHost;
            txtSettingDbPassword.Text = Properties.Settings.Default.dbPass;
            txtSettingDbUsername.Text = Properties.Settings.Default.dbUser;
            txtSettingDbPort.Text     = Properties.Settings.Default.dbPort.ToString();

            // Rcon settings
            txtSettingRconIP.Text       = Properties.Settings.Default.rconIP;
            txtSettingRconPort.Text     = Properties.Settings.Default.rconPort.ToString();
            txtSettingRconPassword.Text = Properties.Settings.Default.rconPass;
        }
 public frmRemoveGUID(frmMain mainForm)
 {
     InitializeComponent();
     parentForm = mainForm;
 }
Пример #3
0
 public frmAddGUID(frmMain form1)
 {
     InitializeComponent();
     parentForm = form1;
 }