예제 #1
0
 private void exitButton_Click(object sender, RoutedEventArgs e)
 {
     EventLogger.logEvent("exitButton_Click");
     result = GameFilesWindowResult.exit;
     this.Close();
 }
예제 #2
0
 private void patreonButton_Click(object sender, RoutedEventArgs e)
 {
     EventLogger.logEvent("patreonButton_Click");
     Process.Start("https://www.patreon.com/cutflame");
     this.Close();
 }
예제 #3
0
 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);
 }
예제 #5
0
 private void closeButton_Click(object sender, RoutedEventArgs e)
 {
     EventLogger.logEvent("closeButton_Click");
     close?.Execute(null);
 }
예제 #6
0
 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);
 }
예제 #8
0
 private void allRangedItemsButton_Click(object sender, RoutedEventArgs e)
 {
     EventLogger.logEvent("allRangedItemsButton_Click");
     setItemFilter(ItemFilterEnum.RangedWeapons);
 }
예제 #9
0
 private void allArtifactItemsButton_Click(object sender, RoutedEventArgs e)
 {
     EventLogger.logEvent("allArtifactItemsButton_Click");
     setItemFilter(ItemFilterEnum.Artifacts);
 }
예제 #10
0
 private void updateMenuItem_Click(object sender, RoutedEventArgs e)
 {
     EventLogger.logEvent("updateMenuItem_Click");
     Process.Start(Config.instance.newVersionDownloadURL());
 }
예제 #11
0
 private void saveCommandBinding_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     EventLogger.logEvent("saveCommandBinding_Executed");
     handleFileSaveAsync(_model?.filePath);
 }
예제 #12
0
 private void relaunchMenuItem_Click(object sender, RoutedEventArgs e)
 {
     EventLogger.logEvent("relaunchMenuItem_Click");
     onRelaunch?.Invoke();
 }
예제 #13
0
 private void exitCommandBinding_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     EventLogger.logEvent("exitCommandBinding_Executed");
     Application.Current.Shutdown();
 }
예제 #14
0
 protected override void OnExit(ExitEventArgs e)
 {
     EventLogger.dispose();
     base.OnExit(e);
 }