1

enter image description here

I tried to call it as below but I couldn't. That's why the code is incomplete

private void button4_Click(object sender, EventArgs e)
{
    using (ResXResourceSet resxSet = new ResXResourceSet(resxFile))
    {
        this.Text = resxSet.GetString("buttonError");
    }
}
1
  • Assuming the path is correct, you probably wanted to get resxSet.GetString("buttonError.Text") -- Are you sure you want to access UI culture related values like this? Commented Oct 21, 2022 at 16:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.