private void Model_MenuUpdated(object sender, MenuUpdatedEventArgs e) { switch (e.UpdateOperation) { case UpdateOperation.Updated: ReloadData = true; break; case UpdateOperation.Cancelled: ReloadData = false; break; default: break; } Close(); }
protected virtual void OnMenuOpdated(MenuUpdatedEventArgs e) { MenuUpdated?.Invoke(this, e); }
protected virtual void OnMenuOpdated(MenuUpdatedEventArgs e) { MenuUpdated?.Invoke(this, e); }