private void exitButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("exitButton_Click"); result = GameFilesWindowResult.exit; this.Close(); }
private void patreonButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("patreonButton_Click"); Process.Start("https://www.patreon.com/cutflame"); this.Close(); }
private void buyMeACoffeeButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("buyMeACoffeeButton_Click"); Process.Start("https://www.buymeacoffee.com/cutflame"); this.Close(); }
private void gildedButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("gildedButton_Click"); selectedEnchantmentId(Constants.DEFAULT_ENCHANTMENT_ID); }
private void closeButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("closeButton_Click"); close?.Execute(null); }
private void allEnchantedItemsButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("allEnchantedItemsButton_Click"); setItemFilter(ItemFilterEnum.Enchanted); }
private void netheriteEnchantmentRemoveButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("netheriteEnchantmentRemoveButton_Click"); selectedEnchantmentId(null); }
private void allRangedItemsButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("allRangedItemsButton_Click"); setItemFilter(ItemFilterEnum.RangedWeapons); }
private void allArtifactItemsButton_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("allArtifactItemsButton_Click"); setItemFilter(ItemFilterEnum.Artifacts); }
private void updateMenuItem_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("updateMenuItem_Click"); Process.Start(Config.instance.newVersionDownloadURL()); }
private void saveCommandBinding_Executed(object sender, ExecutedRoutedEventArgs e) { EventLogger.logEvent("saveCommandBinding_Executed"); handleFileSaveAsync(_model?.filePath); }
private void relaunchMenuItem_Click(object sender, RoutedEventArgs e) { EventLogger.logEvent("relaunchMenuItem_Click"); onRelaunch?.Invoke(); }
private void exitCommandBinding_Executed(object sender, ExecutedRoutedEventArgs e) { EventLogger.logEvent("exitCommandBinding_Executed"); Application.Current.Shutdown(); }
protected override void OnExit(ExitEventArgs e) { EventLogger.dispose(); base.OnExit(e); }