public DialogConfigure(TetraSettings tetraSettings, TetraPanel tetra)
        {
            _tetraSettings = tetraSettings;
            _tetra         = tetra;
            InitializeComponent();

            ignoreEncodedSpeechCheckBox.Checked = _tetraSettings.IgnoreEncodedSpeech;
            enableUdpOutputCheckBox.Checked     = _tetraSettings.UdpEnabled;
            udpPortNumericUpDown.Value          = _tetraSettings.UdpPort;
            afcCheckBox.Checked = _tetraSettings.AfcDisabled;

            logFolderBrowserDialog.SelectedPath = _tetraSettings.LogWriteFolder;
            logFileRulesTextBox.Text            = _tetraSettings.LogFileNameRules;
            LogFileRulesTextBox_TextChanged(null, null);
            logEntriesRulesTextBox.Text = _tetraSettings.LogEntryRules;
            LogEntriesRulesTextBox_TextChanged(null, null);
            logSeparatorTextBox.Text  = _tetraSettings.LogSeparator;
            logEnableCheckBox.Checked = _tetraSettings.LogEnabled;
        }
Esempio n. 2
0
 public void Initialize(ISharpControl control)
 {
     _controlInterface = control;
     _qpskPanel        = new TetraPanel(_controlInterface);
 }