Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2008 > C# 2008 aka C# 3.0
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.0 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 11th, 2011, 11:02 PM
Registered User
 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change the FontStyle of SelectionFont!

Hi,everyone!I began learning Csharp last month.
As a new learner, I am trying to complete a small Notepad.I run into a problem when I am trying to chang the FontStyle of SelectionFont.It will throw a exception called "NullReferenceException" whenever some words whith different FontFamliy are selected.Some documents tells me why it happened.My question is : how can I change the FontStyle of SelectionText with different FontFamliy?
Thank you very much for your help.And forgive me for my pool English.





Similar Threads
Thread Thread Starter Forum Replies Last Post
What Do I Change? myself Classic ASP Basics 2 August 1st, 2006 04:01 PM
Change 1 attribute safin XSLT 1 October 3rd, 2005 12:19 PM
Value change in remoting stephanel General .NET 0 March 7th, 2005 02:36 PM
change z-index anshul Javascript How-To 1 July 27th, 2004 03:19 AM
Why does it change kilika VBScript 0 September 18th, 2003 05:14 PM





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