Click here to Skip to main content
15,920,217 members
Home / Discussions / C#
   

C#

 
AnswerRe: don't use CreateGraphics Pin
Luc Pattyn14-Nov-09 23:39
sitebuilderLuc Pattyn14-Nov-09 23:39 
GeneralRe: don't use CreateGraphics Pin
lexical115-Nov-09 2:34
lexical115-Nov-09 2:34 
QuestionRefresh database using c# Pin
tasumisra14-Nov-09 20:02
tasumisra14-Nov-09 20:02 
AnswerRe: Refresh database using c# Pin
Shameel14-Nov-09 22:17
professionalShameel14-Nov-09 22:17 
AnswerRe: Refresh database using c# Pin
Abhishek Sur14-Nov-09 23:34
professionalAbhishek Sur14-Nov-09 23:34 
GeneralRe: Refresh database using c# Pin
binhvtt14-Nov-09 23:44
binhvtt14-Nov-09 23:44 
AnswerRe: Refresh database using c# Pin
Abhishek Sur15-Nov-09 0:14
professionalAbhishek Sur15-Nov-09 0:14 
GeneralRe: Refresh database using c# Pin
tasumisra15-Nov-09 3:23
tasumisra15-Nov-09 3:23 
Questioncopying large tables Pin
hosseinghazanfary14-Nov-09 19:40
hosseinghazanfary14-Nov-09 19:40 
AnswerRe: copying large tables Pin
N a v a n e e t h14-Nov-09 20:23
N a v a n e e t h14-Nov-09 20:23 
GeneralRe: copying large tables Pin
OriginalGriff14-Nov-09 22:01
mveOriginalGriff14-Nov-09 22:01 
GeneralRe: copying large tables Pin
hosseinghazanfary19-Nov-09 3:21
hosseinghazanfary19-Nov-09 3:21 
QuestionC# UnPacking Executables Pin
fuze14-Nov-09 16:04
fuze14-Nov-09 16:04 
AnswerRe: C# UnPacking Executables Pin
Dave Kreskowiak14-Nov-09 18:09
mveDave Kreskowiak14-Nov-09 18:09 
Questionconnect clients using share host callback Pin
doronpp14-Nov-09 13:25
doronpp14-Nov-09 13:25 
QuestionStoring Data Pin
_Q12_14-Nov-09 12:18
_Q12_14-Nov-09 12:18 
AnswerRe: Storing Data Pin
Luc Pattyn14-Nov-09 12:57
sitebuilderLuc Pattyn14-Nov-09 12:57 
GeneralRe: Storing Data Pin
Not Active14-Nov-09 13:27
mentorNot Active14-Nov-09 13:27 
AnswerRe: Storing Data Pin
Not Active14-Nov-09 13:25
mentorNot Active14-Nov-09 13:25 
GeneralRe: Storing Data Pin
Luc Pattyn14-Nov-09 14:03
sitebuilderLuc Pattyn14-Nov-09 14:03 
GeneralRe: Storing Data Pin
_Q12_14-Nov-09 21:33
_Q12_14-Nov-09 21:33 
yeee I find it and it does a great job indeed.
ha. I must now find a way to integrate an array there.

Here is How To Save Inside Your App !

1. select a button in the designer, open Properties for it, and see the first property named "ApplicationSettings". Click on the + sign to open his sub-properties. At the "text" property click the down arrow and it appear a little box-window. There inside click on the "(New...)".
2. At this stage, you should see a window named "New Application Setting". Change the name to "mySetting", Scope = User, Default Value = "aha". Click Ok.
3. (optional) To verify if all is how you want to be, open Solution Explorer - Properties-Settings.settings. A new window appear and open the Settings tab from the left. You will see there all your custom settings.
A little advice: select the button in the designer, go to it's properties again, and at it's Name property verify if it has the "aha" value there. It must be there, because you set it in the Default Value, last time. Wink | ;)
4. In the code for that button, write this:

private void buttonSave_Click(object sender, EventArgs e)
        {
            if (buttonRestore.Text == "aha" )
            {
                buttonRestore.Text = "-!aha!-";
            }
            else
            {
                buttonRestore.Text = "aha";
            }
          Properties.Settings.Default.Save();
        }



5. Run your app, click the button to change it's appearance, and restart app.
VOILA! Smile | :)
GeneralRe: Storing Data Pin
_Q12_14-Nov-09 22:53
_Q12_14-Nov-09 22:53 
GeneralRe: Storing Data Pin
OriginalGriff14-Nov-09 23:13
mveOriginalGriff14-Nov-09 23:13 
QuestionTimer in C# - Tick not available Pin
Femtofarad14-Nov-09 11:31
Femtofarad14-Nov-09 11:31 
AnswerRe: Timer in C# - Tick not available Pin
Luc Pattyn14-Nov-09 11:43
sitebuilderLuc Pattyn14-Nov-09 11:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.