Beispiel #1
0
        public RTCServerView()
        {
            InitializeComponent();

            startupValue = RTC_Config.LoadActiveConfig().DomainName;
            CurentDomain = startupValue;
        }
Beispiel #2
0
        private void Save(Window window)
        {
            try
            {
                var config = RTC_Config.LoadActiveConfig();

                if (DomainChanged)
                {
                    config.DomainName = CurentDomain;
                    config.Save();
                }

                if (window != null)
                {
                    window.Close();
                }
            }
            catch (Exception ex)
            {
                StaticMethods.LogAndShow("Возникло исключение при сохранении RTC-сервера", ex);
            }
        }