コード例 #1
0
ファイル: Configuration.xaml.cs プロジェクト: Starwer/Lime
        // --------------------------------------------------------------------------------------------------
        #region GUI Callbacks

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            // Restore window state/dimensions
            Handle = ((HwndSource)PresentationSource.FromVisual(this)).Handle;
            var wcfg = Global.Local.WindowSettings;

            if (wcfg.Length > 0)
            {
                WPF.SetWindowPlacement(Handle, wcfg, this);
            }
        }