コード例 #1
0
        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;
        }
コード例 #2
0
 public frmRemoveGUID(frmMain mainForm)
 {
     InitializeComponent();
     parentForm = mainForm;
 }
コード例 #3
0
 public frmAddGUID(frmMain form1)
 {
     InitializeComponent();
     parentForm = form1;
 }