Click here to Skip to main content
15,914,010 members
Home / Discussions / C#
   

C#

 
QuestionPrinting from a webservide Pin
Dirso21-Jul-08 12:47
Dirso21-Jul-08 12:47 
AnswerRe: Printing from a webservide Pin
leppie21-Jul-08 14:43
leppie21-Jul-08 14:43 
GeneralRe: Printing from a webservide Pin
Dirso21-Jul-08 15:10
Dirso21-Jul-08 15:10 
QuestionWebService uploading/processing/returning the results Pin
Dirso21-Jul-08 12:40
Dirso21-Jul-08 12:40 
QuestionSpeed Search Text File Pin
polishprogrammer21-Jul-08 11:19
polishprogrammer21-Jul-08 11:19 
AnswerRe: Speed Search Text File Pin
CPallini21-Jul-08 11:35
mveCPallini21-Jul-08 11:35 
GeneralRe: Speed Search Text File Pin
polishprogrammer21-Jul-08 11:42
polishprogrammer21-Jul-08 11:42 
GeneralRe: Speed Search Text File Pin
Luc Pattyn21-Jul-08 12:12
sitebuilderLuc Pattyn21-Jul-08 12:12 
GeneralRe: Speed Search Text File Pin
polishprogrammer21-Jul-08 12:28
polishprogrammer21-Jul-08 12:28 
AnswerRe: Speed Search Text File Pin
nelsonpaixao21-Jul-08 12:52
nelsonpaixao21-Jul-08 12:52 
AnswerRe: Speed Search Text File Pin
Alan Balkany22-Jul-08 4:01
Alan Balkany22-Jul-08 4:01 
GeneralRe: Speed Search Text File Pin
polishprogrammer23-Jul-08 8:08
polishprogrammer23-Jul-08 8:08 
Questionreseting forms Pin
shwaguy21-Jul-08 10:36
shwaguy21-Jul-08 10:36 
AnswerRe: reseting forms Pin
Pete O'Hanlon21-Jul-08 10:44
mvePete O'Hanlon21-Jul-08 10:44 
GeneralRe: reseting forms Pin
shwaguy22-Jul-08 8:59
shwaguy22-Jul-08 8:59 
AnswerRe: reseting forms Pin
Mbah Dhaim21-Jul-08 10:56
Mbah Dhaim21-Jul-08 10:56 
if you mean to reset the controls to its a default value for a property i.e Text you may follow this step
1. create list to buffer a property value for each controls in your form
2. get property value back to controls according its index

sample
private ArrayList initialValues = new ArrayList();
private void StoreInitialValue()
{
foreach (Control ctl in YourForm.Controls)
{
 initialValues.Add(ctl.property);
}

private void ResetToInitialValue()
{
for (int i=0; i< YourForm.Controls.Count; i++)
{
YourForm.Controls[i].Property = (typeof(your.stored.property.type))initialValues[i];
}
}
}


hope it helps

dhaim
programming is a hobby that make some money as side effect Smile | :)

GeneralRe: reseting forms Pin
shwaguy22-Jul-08 9:00
shwaguy22-Jul-08 9:00 
QuestionFingerPrint readers Pin
Dirso21-Jul-08 10:09
Dirso21-Jul-08 10:09 
AnswerRe: FingerPrint readers Pin
Bert delaVega21-Jul-08 17:11
Bert delaVega21-Jul-08 17:11 
QuestionWord Processing (Office 2007) for .NET Pin
JPWheeler21-Jul-08 9:07
JPWheeler21-Jul-08 9:07 
AnswerRe: Word Processing (Office 2007) for .NET Pin
Thomas Stockwell21-Jul-08 9:31
professionalThomas Stockwell21-Jul-08 9:31 
AnswerRe: Word Processing (Office 2007) for .NET Pin
Green Fuze21-Jul-08 12:24
Green Fuze21-Jul-08 12:24 
Questionconvert the pdf file to txt file Pin
Member 226808621-Jul-08 7:38
Member 226808621-Jul-08 7:38 
AnswerRe: convert the pdf file to txt file Pin
DaveyM6921-Jul-08 8:34
professionalDaveyM6921-Jul-08 8:34 
QuestionWeb service calling business logic Pin
Gktony21-Jul-08 6:39
Gktony21-Jul-08 6:39 

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.