private void Tile_Click(object sender, RoutedEventArgs e) { //string oldText = PlayButton.Count; //PlayButton.Count = "Launching..."; //PlayButton.Refresh(); LauncherWrapper.LaunchMinecraft(true); //PlayButton.Count = oldText; //PlayButton.Refresh(); }
private void Handler(int state) { currentState = (PACKAGE_EXECUTION_STATE)state; window.updatePlayText(LauncherWrapper.executionStateAsString(currentState)); }
private void OpenModsFolder(object sender, RoutedEventArgs e) { LauncherWrapper.OpenModsFolder(); }