mirror of
https://github.com/4sval/FModel.git
synced 2026-04-15 14:06:42 -05:00
16 lines
416 B
C#
16 lines
416 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();
|
|
}
|
|
}
|
|
} |