コード例 #1
0
 public void OnSaveLayout(ISettingsProvider settingsProvider)
 {
     var settings = new ExceptionViewSettings
                         {
                             Left = this.Left, Top = this.Top,
                             Width = this.ActualWidth, Height = this.ActualHeight,
                             WindowState = this.WindowState
                         };
     settingsProvider.SaveSettings(settings);
 }
コード例 #2
0
        public void OnSaveLayout(ISettingsProvider settingsProvider)
        {
            var settings = new ExceptionViewSettings
            {
                Left        = this.Left, Top = this.Top,
                Width       = this.ActualWidth, Height = this.ActualHeight,
                WindowState = this.WindowState
            };

            settingsProvider.SaveSettings(settings);
        }