First Commit

This commit is contained in:
2025-08-31 00:25:32 -05:00
commit cddf6798a6
40 changed files with 2401 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
namespace CrossLangDevStudio.ViewModels;
public partial class TabItemViewModel : ObservableObject
{
[ObservableProperty]
private string _header = "";
public ViewModelBase? Body { get; set; }
public override string ToString() => Header;
public void Save()
{
if (Body is ISavable savable)
{
savable.Save();
}
}
}