Click here to Skip to main content
15,895,256 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionWebBrowser - window.open and no menubar Pin
jirka.meluzin25-May-08 3:38
jirka.meluzin25-May-08 3:38 
QuestionRichTextBox: How to wrap on character rather than word? Pin
mid=574124-May-08 9:52
mid=574124-May-08 9:52 
QuestionOutlook 2003 Shared Addins not working. Pin
~Khatri Mitesh~24-May-08 2:59
~Khatri Mitesh~24-May-08 2:59 
QuestionAdd Custom Task Pane in Outlook 2003 Pin
~Khatri Mitesh~23-May-08 21:28
~Khatri Mitesh~23-May-08 21:28 
Answer[Cross Post]Re: Add Custom Task Pane in Outlook 2003 Pin
Scott Dorman24-May-08 5:15
professionalScott Dorman24-May-08 5:15 
QuestionHow can i access a variable from another form ? Pin
tamour23-May-08 3:27
tamour23-May-08 3:27 
AnswerRe: How can i access a variable from another form ? Pin
Giorgi Dalakishvili23-May-08 7:05
mentorGiorgi Dalakishvili23-May-08 7:05 
QuestionTestdriven development Pin
N a v a n e e t h23-May-08 2:40
N a v a n e e t h23-May-08 2:40 
1 - Write a small test.
2 - Write code to fail the test.
3 - Write enough code to pass the test
I know these are the basics of TDD. But I am confused about how to write test code before writing the functionality ? Assume I have the following class
class Account
{
     public void Deposit(double amount)
     {
     }
}
I am going to write a test class for testing the Deposit() functionality. But if I have not written the above class how can start writing a test class for it ? Compiler won't compile as there won't be a class called Account.

Is it like, create the Account class first with empty Deposit() method and write test case for it, make them fail, come back to Account class and write code for it, again execute test ?

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

AnswerRe: Testdriven development Pin
Scott Dorman24-May-08 5:07
professionalScott Dorman24-May-08 5:07 
GeneralRe: Testdriven development Pin
N a v a n e e t h24-May-08 7:12
N a v a n e e t h24-May-08 7:12 
GeneralRe: Testdriven development Pin
Scott Dorman24-May-08 10:18
professionalScott Dorman24-May-08 10:18 
GeneralRe: Testdriven development Pin
N a v a n e e t h24-May-08 18:42
N a v a n e e t h24-May-08 18:42 
GeneralRe: Testdriven development Pin
Scott Dorman25-May-08 2:51
professionalScott Dorman25-May-08 2:51 
AnswerRe: Testdriven development Pin
Ravi Bhavnani25-May-08 17:39
professionalRavi Bhavnani25-May-08 17:39 
GeneralRe: Testdriven development Pin
N a v a n e e t h25-May-08 17:57
N a v a n e e t h25-May-08 17:57 
GeneralRe: Testdriven development Pin
Ravi Bhavnani25-May-08 18:04
professionalRavi Bhavnani25-May-08 18:04 
GeneralRe: Testdriven development Pin
N a v a n e e t h25-May-08 18:07
N a v a n e e t h25-May-08 18:07 
GeneralRe: Testdriven development Pin
Ravi Bhavnani25-May-08 18:09
professionalRavi Bhavnani25-May-08 18:09 
GeneralRe: Testdriven development Pin
N a v a n e e t h25-May-08 18:56
N a v a n e e t h25-May-08 18:56 
GeneralRe: Testdriven development Pin
Ravi Bhavnani25-May-08 18:58
professionalRavi Bhavnani25-May-08 18:58 
GeneralRe: Testdriven development Pin
N a v a n e e t h25-May-08 18:59
N a v a n e e t h25-May-08 18:59 
Questiondetermine OS is windows 2003 or 2008 Pin
Amr M. K.22-May-08 19:29
Amr M. K.22-May-08 19:29 
AnswerDouble Post - Please ignore Pin
Giorgi Dalakishvili22-May-08 21:14
mentorGiorgi Dalakishvili22-May-08 21:14 
QuestionSTRPTIME function in Win Mobile 5.0 Pin
Arun John22-May-08 18:51
Arun John22-May-08 18:51 
Questionplease help me regarding this issue Pin
balaji_vbr22-May-08 3:42
balaji_vbr22-May-08 3:42 

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.