This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package classes; | |
| import javafx.event.EventHandler; | |
| import javafx.scene.Cursor; | |
| import javafx.scene.Scene; | |
| import javafx.scene.input.MouseEvent; | |
| import javafx.stage.Screen; | |
| import javafx.stage.Stage; | |
| import java.util.HashMap; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Left shift operator for Base64Decode (Inno Setup does not support << ) | |
| function BitwiseLeftShift (input: LongInt; shiftFactor: Integer): LongInt; | |
| var | |
| exp: LongInt; // Total to multiply by | |
| i: Integer; | |
| //Result: LongInt; | |
| begin | |
| Result := 0; | |
| exp := 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Read contents of an embedded resource file | |
| /// </summary> | |
| private string ReadResourceFile(string filename) | |
| { | |
| var thisAssembly = Assembly.GetExecutingAssembly(); | |
| using (var stream = thisAssembly.GetManifestResourceStream(filename)) | |
| { | |
| using (var reader = new StreamReader(stream)) | |
| { |