public void Show(TAccountItem editingItem) { EditingObject = editingItem; IsClosed = false; _Form = new TExtention02View(); _Form.DataContext = this; // _Form.Deactivated += _Form_Deactivated; _Form.Closing += _Form_Closing; _Form.Show(); }
public void Close() { _Form?.Close(); _Form = null; }