Beispiel #1
0
        private void checkIfConfigExists()
        {
            ReadInConfig config = new ReadInConfig();

            if (!config.runConfig())
            {
                MessageBox.Show("Config file is not setup. DeviceID is mandatory to fill in, rest is optional.");
                sendButton.Enabled = false;
            }
            else
            {
                getSettingsFromConfig(config);
            }
        }