add fileswaps first test
This commit is contained in:
		| @@ -34,16 +34,22 @@ namespace MareSynchronos.UI | ||||
|         private float _windowContentWidth = 0; | ||||
|  | ||||
|         public CompactUi(WindowSystem windowSystem, | ||||
|             UiShared uiShared, Configuration configuration, ApiController apiController) | ||||
| #if DEBUG | ||||
|             : base("Mare Synchronos " + new FileInfo(Assembly.GetExecutingAssembly().Location).LastWriteTime.ToString("yyyyMMddHHmmss")+ "###MareSynchronosMainUI") | ||||
| #else | ||||
|             : base("Mare Synchronos " + Assembly.GetExecutingAssembly().GetName().Version + "###MareSynchronosMainUI") | ||||
| #endif | ||||
|  | ||||
|             UiShared uiShared, Configuration configuration, ApiController apiController) : base("###MareSynchronosMainUI") | ||||
|         { | ||||
|             Logger.Verbose("Creating " + nameof(CompactUi)); | ||||
|  | ||||
| #if DEBUG | ||||
|             string dateTime = "DEV VERSION"; | ||||
|             try | ||||
|             { | ||||
|                 dateTime = new FileInfo(Assembly.GetExecutingAssembly().Location).LastWriteTime.ToString("yyyyMMddHHmmss"); | ||||
|             } | ||||
|             catch { } | ||||
|             this.WindowName = "Mare Synchronos " + dateTime + "###MareSynchronosMainUI"; | ||||
| #else | ||||
|             this.WindowName = "Mare Synchronos " + Assembly.GetExecutingAssembly().GetName().Version + "###MareSynchronosMainUI"; | ||||
| #endif | ||||
|  | ||||
|             _windowSystem = windowSystem; | ||||
|             _uiShared = uiShared; | ||||
|             _configuration = configuration; | ||||
|   | ||||
| @@ -40,9 +40,10 @@ namespace MareSynchronos.UI | ||||
|         private Dictionary<string, string> _languages = new() { { "English", "en" }, { "Deutsch", "de" }, { "Français", "fr" } }; | ||||
|         private int _currentLanguage; | ||||
|  | ||||
|         private bool DarkSoulsCaptchaValid => _darkSoulsCaptcha1.Item2 == _enteredDarkSoulsCaptcha1 | ||||
|             && _darkSoulsCaptcha2.Item2 == _enteredDarkSoulsCaptcha2 | ||||
|             && _darkSoulsCaptcha3.Item2 == _enteredDarkSoulsCaptcha3; | ||||
|         private bool DarkSoulsCaptchaValid => _darkSoulsCaptcha1.Item2 == _enteredDarkSoulsCaptcha1.Trim() | ||||
|             && _darkSoulsCaptcha2.Item2 == _enteredDarkSoulsCaptcha2.Trim() | ||||
|             && _darkSoulsCaptcha3.Item2 == _enteredDarkSoulsCaptcha3.Trim(); | ||||
|  | ||||
|  | ||||
|         public void Dispose() | ||||
|         { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stanley Dimant
					Stanley Dimant