Home > Net >  C # winform!!!!! Excuse me, is there any way can make the form several times after the jump, the ini
C # winform!!!!! Excuse me, is there any way can make the form several times after the jump, the ini

Time:10-16

C # winform!!!!! Excuse me, is there any way can make the form several times after the jump, the initial form the values in the text box still exist

CodePudding user response:

Form the activation to text box assignment

CodePudding user response:

reference 1st floor perfect_albert response:
form when activated to text box assignment
I can detailed

CodePudding user response:

The most stupid way: write to the database or TXT, to open the window of time to read and write text box, so whether you to close all Windows or why, unless you delete records or TXT file, all is not lost

CodePudding user response:

Before the jump, with variables, static variables can be considered

CodePudding user response:

references 4 floor in the autumn red fruit reply:
before the jump, use variables to save, can consider the static variable
this is a good solution

CodePudding user response:

Database, singleton, static suggest singleton

CodePudding user response:

The form do not close, it is good to use hidden

CodePudding user response:

Well, you put a static variable

CodePudding user response:

The form do not close, it is good to use hidden
  •  Tags:  
  • C#
  • Related