GooBad
GooBad
CC#
Created by GooBad on 10/17/2024 in #help
MVVM Toolkit Messenger - RequestMessage
It's because this is just disposed at some point before... 😄
3 replies
CC#
Created by GooBad on 10/17/2024 in #help
MVVM Toolkit Messenger - RequestMessage
And I don't mean that both should be executed, it's just that one of them won't ever execute even if its the only one registered.
3 replies
CC#
Created by cipro on 10/13/2024 in #help
WPF login system
Send him code and error
30 replies
CC#
Created by cipro on 10/13/2024 in #help
WPF login system
I suggest you try to resolve this error with chat gpt first :))
30 replies
CC#
Created by cipro on 10/13/2024 in #help
WPF login system
So its readable in discord
30 replies
CC#
Created by cipro on 10/13/2024 in #help
WPF login system
Whats your error? Can you post errors in format like that:
<error>
<error>
30 replies
CC#
Created by cipro on 10/13/2024 in #help
WPF login system
You should post the error you got
30 replies
CC#
Created by cipro on 10/13/2024 in #help
WPF login system
Can you paste into chat gpt and send what he replied?
30 replies
CC#
Created by cipro on 10/13/2024 in #help
WPF login system
This is my solution using Newtonsoft.Json;
c#
private static readonly string LoginDataPath = "login.json";

public class LoginData
{

public string Login { get; set; }
public string System { get; set; }
public string Gateway { get; set; }
public string Password { get; set; }

public void Save()
{
var json = JsonConvert.SerializeObject(this, Formatting.Indented);
File.WriteAllText(LoginDataPath, json);
}

public static LoginData Load()
{
var json = File.ReadAllText(LoginDataPath);
var loginData = JsonConvert.DeserializeObject<LoginData>(json);
return loginData;
}
}
c#
private static readonly string LoginDataPath = "login.json";

public class LoginData
{

public string Login { get; set; }
public string System { get; set; }
public string Gateway { get; set; }
public string Password { get; set; }

public void Save()
{
var json = JsonConvert.SerializeObject(this, Formatting.Indented);
File.WriteAllText(LoginDataPath, json);
}

public static LoginData Load()
{
var json = File.ReadAllText(LoginDataPath);
var loginData = JsonConvert.DeserializeObject<LoginData>(json);
return loginData;
}
}
30 replies
CC#
Created by GooBad on 7/18/2024 in #help
What is the name of this Linting rule in Rider?
sorry for confusion
9 replies
CC#
Created by GooBad on 7/18/2024 in #help
What is the name of this Linting rule in Rider?
well i want the ?? new be in the same "column" like =
9 replies
CC#
Created by GooBad on 7/18/2024 in #help
What is the name of this Linting rule in Rider?
No description
9 replies
CC#
Created by GooBad on 2/16/2024 in #help
Logging...
winform
18 replies
CC#
Created by GooBad on 2/16/2024 in #help
Logging...
thank you, do you know any "epic" and "simple" at the same time examples?
18 replies
CC#
Created by GooBad on 2/16/2024 in #help
Logging...
thank you :Dl ol
18 replies
CC#
Created by GooBad on 2/16/2024 in #help
Logging...
so Dependency Injection is just depeneding on interface not implementation ?> 🤣
18 replies
CC#
Created by GooBad on 2/16/2024 in #help
Logging...
its just NET and sorry i am coming from Python and i never did dependency injection ill take a look
18 replies