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(); }
public void Close() { _Form?.Close(); _Form = null; }