Duck
Duck
CC#
Created by Duck on 12/21/2022 in #help
❔ How To Use Saved String Data As ButtonLabel Content
I did a small test on my side... turns out they were initially empty in the first place Nanicat
15 replies
CC#
Created by Duck on 12/21/2022 in #help
❔ How To Use Saved String Data As ButtonLabel Content
oh i thought it does .... and thought u meant when the application start, then this function also starts
public SelectChar()
{
InitializeComponent();
UserIDLoggedIn.Content = "Logged in as: " + UGCLauncher.userId;
this.DataContext = this;
CharSlot1.Content = UGCLauncher.char1;
CharSlot2.Content = UGCLauncher.char2;
CharSlot3.Content = UGCLauncher.char3;
}
public SelectChar()
{
InitializeComponent();
UserIDLoggedIn.Content = "Logged in as: " + UGCLauncher.userId;
this.DataContext = this;
CharSlot1.Content = UGCLauncher.char1;
CharSlot2.Content = UGCLauncher.char2;
CharSlot3.Content = UGCLauncher.char3;
}
which is why the strngs would be empty
15 replies
CC#
Created by Duck on 12/21/2022 in #help
❔ How To Use Saved String Data As ButtonLabel Content
sonicThink does every window load at once when u start an application ? if it does i think im having a serious 5head moment
15 replies
CC#
Created by Duck on 12/21/2022 in #help
❔ How To Use Saved String Data As ButtonLabel Content
once the sql function runs the strings return with values inside of them converted into string, and this function runs before the application loads into this window
15 replies