Пример #1
0
        public MainWindow()
        {
            Instance = this;
            InitializeComponent();

            UpdateButtonsState();

            Closing += (sender, args) => {
                if (_solution != null)
                {
                    _solution.Dispose();
                }
            };
        }