none
How do I apply the Settings.settings values at design time? RRS feed

  • Question

  • I have a form with a lot of controls on it like Buttons, TextBoxes, Panels and so on, and I've defined some properties such as Button_BackColor, Panel_Width, Label_ForColor, App_Font in the Settings.settings file. All things work at runtime but I want to apply this settings as design time, so that I could feel it without running. What can i do?
    • Edited by kokabi Thursday, April 11, 2019 10:31 AM
    Thursday, April 11, 2019 10:31 AM

Answers

  • In case of button, select it, go to Properties, (ApplicationSettings), (PropertyBinding), then bind BackColor to Button_BackColor.

    • Marked as answer by kokabi Thursday, April 11, 2019 12:07 PM
    Thursday, April 11, 2019 11:01 AM

All replies

  • In case of button, select it, go to Properties, (ApplicationSettings), (PropertyBinding), then bind BackColor to Button_BackColor.

    • Marked as answer by kokabi Thursday, April 11, 2019 12:07 PM
    Thursday, April 11, 2019 11:01 AM
  • This question has not answered on stackoverflow yet.

    https://stackoverflow.com/q/55599477/579381

    very thanks ❤


    • Edited by kokabi Thursday, April 11, 2019 12:23 PM
    Thursday, April 11, 2019 12:13 PM