PC Review


Reply
Thread Tools Rate Thread

Calculator events

 
 
Haim Turjeman
Guest
Posts: n/a
 
      5th Aug 2003
hi,
i want to make a calc control in C#.
i already did it but i had to add 10 buttons (button0..9)
and another 10 event handlers.
in VB (at least 6.0) i could declare an array of button from the desginer.

could someone tell me if there is another way to do it in C#?

thanx.

 
Reply With Quote
 
 
 
 
John Kennedy[MSFT]
Guest
Posts: n/a
 
      6th Aug 2003

You can definitely have an array of buttons in C#. Check out this example
program on MSDN, which creates a grid of buttons.
Although it was written for the PocketPC, it uses C# so the fundamentals
are the same.

http://msdn.microsoft.com/library/en...ad07102002.asp

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Item open events and double click events in exchange client extension. Fanxa Microsoft Outlook Program Addins 1 9th Aug 2006 08:18 AM
Integrated calculator in excel 07 instead of separate calculator =?Utf-8?B?V2F5bmU=?= Microsoft Excel Programming 1 26th Jul 2006 04:16 PM
Calculator like mouse events Raj Chudasama Microsoft C# .NET 4 22nd Sep 2005 09:52 PM
Difference Between MS Power Calculator and MS Calculator Plus Sam Windows XP General 5 12th Jul 2005 12:52 AM
GPA Calculator, problem - GPA Calculator.xls (0/1) bentley_rhodes Microsoft Excel Discussion 2 10th Oct 2004 07:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 PM.