FModel/FModel/ViewModels/Commands/AddTabCommand.cs
GMatrixGames e21a3be55b
Update/net7 (#290)
* file-scoped namespace & net7.0

* Workflow
2022-06-11 20:07:59 -04:00

15 lines
374 B
C#

using FModel.Framework;
namespace FModel.ViewModels.Commands;
public class AddTabCommand : ViewModelCommand<TabControlViewModel>
{
public AddTabCommand(TabControlViewModel contextViewModel) : base(contextViewModel)
{
}
public override void Execute(TabControlViewModel contextViewModel, object parameter)
{
contextViewModel.AddTab();
}
}