예제 #1
0
        public void Show(string ver)
        {
            IsClosed                    = false;
            _Form                       = new TAboutView();
            _Form.DataContext           = this;
            VersionApp                  = "Version: " + ver;
            _Form.WindowStartupLocation = WindowStartupLocation.Manual;
            var desktopWorkingArea = System.Windows.SystemParameters.WorkArea;

            _Form.Left = desktopWorkingArea.Right - _Form.Width;
            _Form.Top  = desktopWorkingArea.Bottom - _Form.Height;
            _Form.Show();
        }
예제 #2
0
 public void Close()
 {
     _Form?.Close();
     _Form = null;
 }