private void OnDisconnectCommand() { if (Program.IsRun) { DR2API.DR2_Click(ApiHandle, 2); } }
private void OnMenuClickHelp(object sender, RoutedEventArgs e) { if (Program.IsRun) { DR2API.DR2_Click(ViewModelBase.ApiHandle, 4, _isLangUS); } }
private void OnHowToConnectCommand2() { if (Program.IsRun) { DR2API.DR2_Click(ApiHandle, 4, _view._isLangUS); } }
private void OnDisConnectClick(object sender, EventArgs e) { if (Program.IsRun) { DR2API.DR2_Click(ViewModelBase.ApiHandle, 2); } }
private void OnHowToConnectCommand() { if (Program.IsRun) { DR2API.DR2_Click(ApiHandle, 1, m_MainWindow._isLangUS); } }
private void OnCloseCommand() { if (Program.IsRun) { // DR2API.DR2_SetFullscreen(ApiHandle, false); DR2API.DR2_Click(ApiHandle, 2); } }
public static void Stop() { if (Program.IsRun) { DR2API.DR2_Click(ApiHandle, 2); DR2API.DR2_Stop(ApiHandle); } Started = false; }
private void OnCloseCommand() { Window.GetWindow(_client as DependencyObject).Close(); if (Program.IsRun) { //DR2API.DR2_SetFullscreen(ApiHandle, false); DR2API.DR2_Click(ApiHandle, 2); } }