G
ganeshgebhard
Guest
Hi all,
I have a program that makes a screenshot of a pictureBox with label and which allows the users to save this image using a saveFileDialog1.
I have also build an option which allows users to choose there own colors as background, using ColorDialog1.
So when the user chooses a color, it will be added to the custom color.
This works, but when I close the program, the custom colors will be deleted. So when I start the program again, it didnt save the custom colors.
Now I have two questions:
1) Is it possible for the program to remember the colors that the user made before? This so that the user easily can select the custom colors he/she made earlier. If yes, how?
2) When a new color is chosen as background, I would like that the program remembers this, so that the next time the program will open, the background is the same as the user left it.
I hope that I dont ask too much and that someone can help.
Thanks in advance!
Ganesh Gebhard
Continue reading...
I have a program that makes a screenshot of a pictureBox with label and which allows the users to save this image using a saveFileDialog1.
I have also build an option which allows users to choose there own colors as background, using ColorDialog1.
So when the user chooses a color, it will be added to the custom color.
This works, but when I close the program, the custom colors will be deleted. So when I start the program again, it didnt save the custom colors.
Now I have two questions:
1) Is it possible for the program to remember the colors that the user made before? This so that the user easily can select the custom colors he/she made earlier. If yes, how?
2) When a new color is chosen as background, I would like that the program remembers this, so that the next time the program will open, the background is the same as the user left it.
I hope that I dont ask too much and that someone can help.
Thanks in advance!
Ganesh Gebhard
Continue reading...