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