private void Rotary_Click(IPushButton sender, EmptyEventArgs args) { Dispatcher.Run(() => { AddOutput("Rotary clicked"); }); }
void Resize(object?sender, EmptyEventArgs _) { var window = (Window?)sender ?? throw new InvalidOperationException(); entries.Add(new LogEntry { label = window.Title, type = "Resize ", message = $"{window.Size}" }); }
void LostFocus(object?sender, EmptyEventArgs _) { var window = (Window?)sender ?? throw new InvalidOperationException(); entries.Add(new LogEntry { label = window.Title, type = "LostFocus ", message = "" }); }
void Moved(object?sender, EmptyEventArgs _) { var window = (Window?)sender ?? throw new InvalidOperationException(); entries.Add(new LogEntry { label = window.Title, type = "Moved ", message = window.Location.ToString() }); }
private void PushButton_Released(IPushButton sender, EmptyEventArgs args) { Dispatcher.Run(() => { AddOutput("Released"); ColorDot.Fill = new SolidColorBrush(Colors.Yellow); }); }
private void OnBrowserLostHighlight(EmptyEventArgs args) { ResetHighlighter(); }
private void PushButton_Click(IPushButton sender, EmptyEventArgs args) { Dispatcher.Run(() => AddOutput("Click")); }
private void OnCursorLeftLockOn(EmptyEventArgs args) { _lockedOnTransform = null; }
private void OnGameStarting(EmptyEventArgs args) { ScrapLabel.text = "Scrap: " + PlayerManager.instance.CollectedScrap; HealthLabel.text = "Health: " + VehiclesManager.instance.PlayerShipCurrent.CurrentHealth; }
private void OnGameFinishing(EmptyEventArgs args) { GUIManager.instance.ShowWindow(GUIWindowType.Garage); }
public void TestAtConstructorInitiererEmptyEventArgs() { var emptyEventArgs = new EmptyEventArgs(); Assert.That(emptyEventArgs, Is.Not.Null); }
private void OnBrowserLostHighlight(EmptyEventArgs args) { highlightedObj = null; }