Click here to Skip to main content
15,921,905 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to save Data to CSV file? Pin
Stefan Troschuetz17-Mar-07 23:07
Stefan Troschuetz17-Mar-07 23:07 
GeneralRe: How to save Data to CSV file? Pin
Khoramdin17-Mar-07 23:37
Khoramdin17-Mar-07 23:37 
AnswerRe: How to save Data to CSV file? Pin
Wayne Phipps17-Mar-07 23:12
Wayne Phipps17-Mar-07 23:12 
GeneralRe: How to save Data to CSV file? Pin
Khoramdin17-Mar-07 23:36
Khoramdin17-Mar-07 23:36 
Questiondate value Pin
md_refay17-Mar-07 18:35
md_refay17-Mar-07 18:35 
AnswerRe: date value Pin
Stefan Troschuetz17-Mar-07 23:03
Stefan Troschuetz17-Mar-07 23:03 
QuestionBuilding a class and interacting with GUI Pin
apricotsun17-Mar-07 17:35
apricotsun17-Mar-07 17:35 
AnswerRe: Building a class and interacting with GUI Pin
Christian Graus17-Mar-07 18:27
protectorChristian Graus17-Mar-07 18:27 
apricotsun wrote:
public void buttonGoToSleep_Click(object sender, EventArgs e)
{

}


This is an event handler. Assuming that myDog is a member variable ( declared inside a class, not inside any method, and therefore visible to all methods for this instance of this class ), you should do myDog.GoToSleep(); here. I trust you can see how this pattern would apply to your other methods/events.


apricotsun wrote:
I have placed images of dogs in an image list but don't know how to proceed from here.


There are a number of controls that will show an image from an image list, they will take the image list and an index into the list. So, if you use such a control, you can just change the index in the control that shows the image, inside those event handlers.

An alternative is to add the images to your resources, and load them from there. Then you can just use a PictureBox and keep changing what image it shows.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Building a class and interacting with GUI Pin
apricotsun18-Mar-07 3:43
apricotsun18-Mar-07 3:43 
GeneralRe: Building a class and interacting with GUI Pin
apricotsun18-Mar-07 3:51
apricotsun18-Mar-07 3:51 
GeneralRe: Building a class and interacting with GUI Pin
apricotsun18-Mar-07 4:03
apricotsun18-Mar-07 4:03 
Questionopening clicked file in my program Pin
dsl/fahk17-Mar-07 17:26
dsl/fahk17-Mar-07 17:26 
AnswerRe: opening clicked file in my program Pin
Stefan Troschuetz17-Mar-07 22:38
Stefan Troschuetz17-Mar-07 22:38 
QuestionNew to ToolStrip, simple question. Pin
Neal Conrardy17-Mar-07 17:20
Neal Conrardy17-Mar-07 17:20 
AnswerRe: New to ToolStrip, simple question. Pin
Christian Graus17-Mar-07 18:28
protectorChristian Graus17-Mar-07 18:28 
GeneralRe: New to ToolStrip, simple question. Pin
Neal Conrardy18-Mar-07 5:43
Neal Conrardy18-Mar-07 5:43 
GeneralRe: New to ToolStrip, simple question. Pin
Neal Conrardy18-Mar-07 6:34
Neal Conrardy18-Mar-07 6:34 
QuestionRe: New to ToolStrip, simple question. Pin
Neal Conrardy18-Mar-07 8:34
Neal Conrardy18-Mar-07 8:34 
AnswerRe: New to ToolStrip, simple question. Pin
Neal Conrardy18-Mar-07 16:50
Neal Conrardy18-Mar-07 16:50 
QuestionRe: New to ToolStrip, simple question. Pin
Neal Conrardy19-Mar-07 10:20
Neal Conrardy19-Mar-07 10:20 
AnswerRe: New to ToolStrip, simple question. Pin
Neal Conrardy20-Mar-07 7:46
Neal Conrardy20-Mar-07 7:46 
QuestionFTP Pin
bwagz17-Mar-07 16:44
bwagz17-Mar-07 16:44 
AnswerRe: FTP Pin
Ryno Burger17-Mar-07 21:15
Ryno Burger17-Mar-07 21:15 
QuestionC# threads and graphics Pin
bruceczelenka17-Mar-07 15:36
bruceczelenka17-Mar-07 15:36 
AnswerRe: C# threads and graphics Pin
Christian Graus17-Mar-07 18:12
protectorChristian Graus17-Mar-07 18:12 

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.