You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2025. It is now read-only.
//This check is necessary in case the specified VM was already removed but the shortcut remains
1029
1038
if(lvi!=null)
@@ -1033,7 +1042,7 @@ protected override void WndProc(ref Message m)
1033
1042
//If the VM is already running, display an error, otherwise, start it
1034
1043
if(vm.Status!=VM.STATUS_STOPPED)
1035
1044
{
1036
-
MessageBox.Show("The virtual machine \""+ds.Data+"\" is already running.","Virtual machine already running",MessageBoxButtons.OK,MessageBoxIcon.Information);
1045
+
MessageBox.Show("The virtual machine \""+vmName+"\" is already running.","Virtual machine already running",MessageBoxButtons.OK,MessageBoxIcon.Information);
1037
1046
}
1038
1047
else
1039
1048
{
@@ -1044,7 +1053,7 @@ protected override void WndProc(ref Message m)
1044
1053
}
1045
1054
else
1046
1055
{
1047
-
MessageBox.Show("The virtual machine \""+ds.Data+"\" could not be found. It may have been removed or the specified name is incorrect.","Virtual machine not found",MessageBoxButtons.OK,MessageBoxIcon.Error);
1056
+
MessageBox.Show("The virtual machine \""+vmName+"\" could not be found. It may have been removed or the specified name is incorrect.","Virtual machine not found",MessageBoxButtons.OK,MessageBoxIcon.Error);
1048
1057
}
1049
1058
}
1050
1059
base.WndProc(refm);
@@ -1186,7 +1195,7 @@ private void VMKill()
1186
1195
{
1187
1196
VMvm=(VM)lstVMs.SelectedItems[0].Tag;
1188
1197
try
1189
-
{
1198
+
{
1190
1199
Processp=Process.GetProcessById(vm.Pid);
1191
1200
p.Kill();
1192
1201
}
@@ -1277,7 +1286,7 @@ private void VMWipe()
1277
1286
catch(Exceptionex)
1278
1287
{
1279
1288
MessageBox.Show("An error occurred trying to wipe the selected virtual machine.","Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
0 commit comments