Click here to Skip to main content
15,893,337 members
Home / Discussions / C#
   

C#

 
Generalkinds of software licence Pin
Pooya Musavi18-Feb-08 19:22
Pooya Musavi18-Feb-08 19:22 
GeneralRe: kinds of software licence Pin
Ravi Bhavnani18-Feb-08 19:53
professionalRavi Bhavnani18-Feb-08 19:53 
GeneralRemoving duplicates from a string. Pin
Tina_K18-Feb-08 19:21
Tina_K18-Feb-08 19:21 
GeneralRe: Removing duplicates from a string. Pin
Ravi Bhavnani18-Feb-08 19:51
professionalRavi Bhavnani18-Feb-08 19:51 
AnswerRe: Removing duplicates from a string. Pin
Eslam Afifi18-Feb-08 20:16
Eslam Afifi18-Feb-08 20:16 
QuestionThread.SetApartmentState method problem Pin
xibeifeijian18-Feb-08 19:12
xibeifeijian18-Feb-08 19:12 
GeneralRe: Thread.SetApartmentState method problem Pin
Ravi Bhavnani18-Feb-08 19:46
professionalRavi Bhavnani18-Feb-08 19:46 
QuestionDelegates and Events Problem Pin
jowecape18-Feb-08 19:09
jowecape18-Feb-08 19:09 
I have created a class called BankAccount. the samle is a floows

public delegate void myEventDelegate();
class BankAccount
{
public static long Balance;
public event myEventDelegate myEvent;
public void WithDraw(long amount)
{
Balance -= amount;
myEvent();
}


}

i then wired my event in the frm load to an event handler "OnWithdraw"

i also a textbox where by i subtract the money to be withdrawn from the account. The method display an event to the user when the account bal < 0;

when i run the program i receiven a NullArgumentException error on the "myEvent" int BankAccount class

how do i make my event work?
GeneralRe: Delegates and Events Problem Pin
Christian Graus18-Feb-08 22:00
protectorChristian Graus18-Feb-08 22:00 
GeneralRe: Delegates and Events Problem Pin
jowecape18-Feb-08 22:50
jowecape18-Feb-08 22:50 
Generalimport dbf file to SQL Pin
rkherath18-Feb-08 18:52
rkherath18-Feb-08 18:52 
GeneralChanging control Font size programatically Pin
D i x y18-Feb-08 18:28
D i x y18-Feb-08 18:28 
AnswerRe: Changing control Font size programatically Pin
Eslam Afifi18-Feb-08 19:45
Eslam Afifi18-Feb-08 19:45 
GeneralHelp me !!!!!!!!!!!!!!!!!!!!!!!!! in Process [modified] Pin
sobhaniir18-Feb-08 17:46
sobhaniir18-Feb-08 17:46 
QuestionHow to implement paging in pop up window Pin
JohnyCoder18-Feb-08 16:38
JohnyCoder18-Feb-08 16:38 
AnswerRe: How to implement paging in pop up window Pin
Christian Graus18-Feb-08 17:27
protectorChristian Graus18-Feb-08 17:27 
GeneralRe: How to implement paging in pop up window Pin
JohnyCoder19-Feb-08 2:48
JohnyCoder19-Feb-08 2:48 
Questionhow can i create internal email for users to send receive to each other within my website? Pin
aspmax18-Feb-08 12:44
aspmax18-Feb-08 12:44 
AnswerRe: how can i create internal email for users to send receive to each other within my website? Pin
DaveyM6918-Feb-08 13:29
professionalDaveyM6918-Feb-08 13:29 
GeneralRe: how can i create internal email for users to send receive to each other within my website? Pin
aspmax19-Feb-08 16:59
aspmax19-Feb-08 16:59 
Questionhow do i gather info from fields and pass it over to a member profile page? Pin
aspmax18-Feb-08 12:43
aspmax18-Feb-08 12:43 
AnswerRe: how do i gather info from fields and pass it over to a member profile page? Pin
Not Active18-Feb-08 15:20
mentorNot Active18-Feb-08 15:20 
GeneralRe: how do i gather info from fields and pass it over to a member profile page? Pin
aspmax19-Feb-08 16:52
aspmax19-Feb-08 16:52 
GeneralRe: how do i gather info from fields and pass it over to a member profile page? Pin
aspmax19-Feb-08 17:46
aspmax19-Feb-08 17:46 
GeneralRe: how do i gather info from fields and pass it over to a member profile page? Pin
aspmax19-Feb-08 17:46
aspmax19-Feb-08 17:46 

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.