Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > BOOK: Beginning Visual C# 2010
|
BOOK: Beginning Visual C# 2010
This is the forum to discuss the Wrox book Beginning Visual C# 2010 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, ; ISBN: 9780470502266
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 31st, 2011, 07:21 AM
Registered User
 
Join Date: May 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Hello i'm new here..need your help about Windows application visual 2010

i am newbie to build my first project..i want to make windows application..but i don't know how to put "=countif " in the label..i need to "=countif " textBox1 till textBox23..please help me and 1 more my problem i dont know how to use marcos in visual 2010...
 
Old May 31st, 2011, 11:27 AM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

Not sure what you want to achive. You want to make a Windows application - Windows Forms or WPF? Then you want to have the string "=countif" in the label? What about setting the Text property (in case of Windows Forms) of the label to "=countif"? Or do you want to count the number of textbox controls?
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel
 
Old June 1st, 2011, 02:36 AM
Registered User
 
Join Date: May 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank a lot ChristianNagel..actually i gonna make windows application-windows Forms and =countif in label for count number on the textbox..if u don't care,i will send to u the pic my project...this is my email address [email protected] really need ur supports..TQ
 
Old June 1st, 2011, 04:49 AM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

Maybe I see your issues. You need to calculate a number that's input from a textbox. With the textbox you get a string, you can convert this to an int by using
Code:
int val1 = int.Parse(textBox1.Text);
Then you can do calculations, and assign a result to the label
Code:
label1.Text = valx.ToString();
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2005 - VB Windows Mobile 6 Application testsubject Visual Studio 2005 0 December 20th, 2010 12:06 PM
Can Visual Studio 2010 Professional create a Windows XP executable? CoderTim .NET 4 and Visual Studio 2010 General Discussions 0 October 13th, 2010 03:29 PM
Visual Studio 2010 in Focus at Great Indian Developer Summit 2010 shaguf5575 ASP.NET 1.x and 2.0 Application Design 0 February 24th, 2010 07:03 AM
Visual Studio 2010 in Focus at Great Indian Developer Summit 2010 shaguf5575 ASP.NET 1.x and 2.0 Application Design 0 February 24th, 2010 07:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.