void LoadSettings()
        {
            portNameEntry.Text = settings.GetString("Communication", "PortName");
            baudRateEntry.Text = settings.GetInt("Communication", "BaudRate").ToString();

            pipelineTextView.Buffer.Text    = settings.GetString("Video", "CustomPipeline");
            recordedFilenameEntry.Text      = settings.GetString("Video", "Filename");
            videoSourceComboBox.Active      = settings.GetInt("Video", "Source");
            testSourceSampleComboBox.Active = settings.GetInt("Video", "TestPattern");
            portEntry.Text      = settings.GetInt("Video", "UDPPort").ToString();
            widthEntry.Text     = settings.GetInt("Video", "Width").ToString();
            heightEntry.Text    = settings.GetInt("Video", "Height").ToString();
            framerateEntry.Text = settings.GetInt("Video", "Framerate").ToString();
        }
Пример #2
0
 public void AppendRecorder()
 {
     filename = settings.GetString("Video", "Filename");
 }