mirror of
https://github.com/4sval/FModel.git
synced 2026-03-22 01:34:37 -05:00
15 lines
374 B
C#
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();
|
|
}
|
|
} |