Exemple #1
0
        public void init()
        {
            String value = configService.getConfigById("ServerAddress");

            if (value != null)
            {
                view.serverAddressInput.Text = value;
            }
            String code = configService.getConfigById("initcode");

            if (code != null)
            {
                view.registerCodeInput.Text = code;
            }
            dt = configService.getTable();
            view.dataGridView1.DataSource = dt;
        }