MCPcopy Create free account
hub / github.com/M2Team/NanaBox / RestartVirtualMachineButtonClick

Method RestartVirtualMachineButtonClick

NanaBox/MainWindowControl.cpp:128–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 void MainWindowControl::RestartVirtualMachineButtonClick(
129 winrt::IInspectable const& sender,
130 winrt::RoutedEventArgs const& e)
131 {
132 UNREFERENCED_PARAMETER(sender);
133 UNREFERENCED_PARAMETER(e);
134
135 ::PostMessageW(
136 this->m_WindowHandle,
137 WM_COMMAND,
138 MAKEWPARAM(
139 NanaBox::MainWindowCommands::RestartVirtualMachine,
140 BN_CLICKED),
141 0);
142 }
143
144 void MainWindowControl::VirtualMachineSettingsButtonClick(
145 winrt::IInspectable const& sender,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected