示例#1
0
        protected override void SaveWindowSettings()
        {
            base.SaveWindowSettings();

            OSCEditorSettings.SetColor(_controlColorSettings, rootPanel.ControlColor);
            OSCEditorSettings.SetBool(_addInformerSettings, rootPanel.AddInformer);
            OSCEditorSettings.GetString(_informerAddressSettings, rootPanel.InformerAddress);
            OSCEditorSettings.GetBool(_informOnChangedSettings, rootPanel.InformOnChanged);
            OSCEditorSettings.GetFloat(_informerIntervalSettings, rootPanel.InformerInterval);
            OSCEditorSettings.SetTransmitter(_informerTransmitterSettings, rootPanel.InformerTransmitter);
        }
示例#2
0
        protected override void SaveWindowSettings()
        {
            base.SaveWindowSettings();

            if (logPanel == null)
            {
                return;
            }

            OSCEditorSettings.SetBool(_showReceivedSettings, logPanel.ShowReceived);
            OSCEditorSettings.SetBool(_showTransmittedSettings, logPanel.ShowTransmitted);
            OSCEditorSettings.SetBool(_trackLastSettings, logPanel.TrackLast);
        }