public ManageWindow(SysLinuxConfigFile sysLinuxConfigFile, DriveInfo driveInfo) { InitializeComponent(); Title = $"Manage {driveInfo.Name} ({driveInfo.VolumeLabel})"; DataContext = new ManageViewModel(sysLinuxConfigFile, driveInfo, this); }
public ManageViewModel(SysLinuxConfigFile sysLinuxConfigFile, DriveInfo drive, Window window) { _window = window; SysLinuxConfigFile = sysLinuxConfigFile; Drive = drive; }