Click here to Skip to main content
15,902,636 members
Home / Discussions / C#
   

C#

 
GeneralResource file (.resource/.resx) help/howto Pin
Andrew Connell23-Feb-02 4:55
Andrew Connell23-Feb-02 4:55 
GeneralRe: Resource file (.resource/.resx) help/howto Pin
Andrew Connell23-Feb-02 13:37
Andrew Connell23-Feb-02 13:37 
GeneralRe: Resource file (.resource/.resx) help/howto Pin
Peter Stephens24-Feb-02 11:18
Peter Stephens24-Feb-02 11:18 
GeneralCompile error, help! Pin
22-Feb-02 16:55
suss22-Feb-02 16:55 
GeneralRe: Compile error, help! Pin
James T. Johnson22-Feb-02 17:11
James T. Johnson22-Feb-02 17:11 
GeneralRe: Compile error, help! Pin
Anders Molin24-Feb-02 11:28
professionalAnders Molin24-Feb-02 11:28 
GeneralRe: Compile error, help! Pin
Peter Stephens24-Feb-02 11:43
Peter Stephens24-Feb-02 11:43 
GeneralChanging value of all TextBoxes Pin
Gavin_Mannion21-Feb-02 22:59
Gavin_Mannion21-Feb-02 22:59 
Hi All,

Simple question here (I Hope)

I need to reset all my textboxes back to blank and am trying to do it in a nice clean loop.

I have the following but it does not work
foreach (TextBox t in this)
{
	t.Text = "";
}

I am getting the error message
C:\Documents and Settings\gavin\My Documents\Visual Studio Projects\LTBRMaintenance\EditClinic.cs(487): foreach statement cannot operate on variables of type 'LTBRMaintenance.EditClinic' because 'LTBRMaintenance.EditClinic' does not contain a definition for 'GetEnumerator', or it is inaccessible


I have a feeling I am nearly there but am missing something obvious..

Thanks
GeneralRe: Changing value of all TextBoxes Pin
SimonS21-Feb-02 23:07
SimonS21-Feb-02 23:07 
GeneralRe: Changing value of all TextBoxes Pin
Gavin_Mannion21-Feb-02 23:26
Gavin_Mannion21-Feb-02 23:26 
GeneralRe: Changing value of all TextBoxes Pin
James T. Johnson22-Feb-02 7:27
James T. Johnson22-Feb-02 7:27 
GeneralRe: Changing value of all TextBoxes Pin
SimonS25-Feb-02 0:14
SimonS25-Feb-02 0:14 
QuestionHow to Chnage the Default Select bgcolor of the TreeView item Pin
Welson21-Feb-02 16:05
Welson21-Feb-02 16:05 
QuestionHow do you create an object from a C++ DLL in C# Pin
21-Feb-02 14:05
suss21-Feb-02 14:05 
AnswerRe: How do you create an object from a C++ DLL in C# Pin
Nemanja Trifunovic21-Feb-02 14:52
Nemanja Trifunovic21-Feb-02 14:52 
GeneralPlaying sounds through c# Pin
Profox Jase21-Feb-02 4:57
Profox Jase21-Feb-02 4:57 
GeneralRe: Playing sounds through c# Pin
21-Feb-02 7:22
suss21-Feb-02 7:22 
GeneralRe: Playing sounds through c# Pin
Peter Stephens21-Feb-02 7:42
Peter Stephens21-Feb-02 7:42 
GeneralRe: Playing sounds through c# Pin
Profox Jase21-Feb-02 9:38
Profox Jase21-Feb-02 9:38 
GeneralRe: Playing sounds through c# Pin
Peter Stephens21-Feb-02 9:56
Peter Stephens21-Feb-02 9:56 
GeneralRe: Playing sounds through c# Pin
Profox Jase21-Feb-02 9:36
Profox Jase21-Feb-02 9:36 
GeneralRe: Playing sounds through c# Pin
Profox Jase22-Feb-02 0:37
Profox Jase22-Feb-02 0:37 
GeneralRe: Playing sounds through c# Pin
22-Feb-02 3:35
suss22-Feb-02 3:35 
GeneralRe: Playing sounds through c# Pin
Peter Stephens22-Feb-02 7:48
Peter Stephens22-Feb-02 7:48 
GeneralRe: Playing sounds through c# Pin
Profox Jase25-Feb-02 5:25
Profox Jase25-Feb-02 5:25 

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.