private void Window_Loaded(object sender, RoutedEventArgs e) { _reversalTool.DummyChanged += _reversalTool_DummyChanged; _reversalTool.ReversalLoopErrorOccured += _reversalTool_ReversalLoopErrorOccured; _reversalTool.RandomBurstlLoopErrorOccured += _reversalTool_RandomBurstlLoopErrorOccured; LogManager.Instance.LineReceived += LogManager_LineReceived; #if !DEBUG if (_autoUpdate) { UpdateProcess(); } #endif try { _reversalTool.AttachToProcess(); } catch (Exception exception) { string message = $"Guilty Gear not found open! Remember, be in training mode paused when you open this program. This program will now close."; LogManager.Instance.WriteLine(message); MessageBox.Show($"{message}{Environment.NewLine}{exception.Message}"); Application.Current.Shutdown(); return; } RefreshBurstInfo(); }
private void Form1_Load(object sender, EventArgs e) { _reversalTool = new ReversalTool(); _reversalTool.AttachToProcess(); this._stroke = _reversalTool.GetReplayKeyStroke(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { _reversalTool = new ReversalTool(); try { _reversalTool.AttachToProcess(); } catch (Exception exception) { MessageBox.Show($"Guilty Gear not found open! Remember, be in training mode paused when you open this program. This program will now close.{Environment.NewLine}{exception.Message}"); Application.Current.Shutdown(); return; } StartDummyLoop(); }
private void Form1_Load(object sender, EventArgs e) { _reversalTool = new ReversalTool(); _reversalTool.AttachToProcess(); }