Click here to Skip to main content
       

C#

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
AnswerRe: Dynamic Reference to Dll PathmemberAlan N29 Jan '13 - 3:29 
AnswerRe: Dynamic Reference to Dll Pathmemberjschell29 Jan '13 - 13:50 
Question.NET Brush serialization/WYSIWIG [Solved] [modified]memberAmlanjyoti Saikia29 Jan '13 - 0:32 
Hi,
Now I have two questions here.
1.
I am using the graphics object to create a customized report from a database. To ensure WYSIWIG, I use the same functions in the paint event of the panel with the printPage event of a PrintDocument after passing the necessary event arguments.
So far there is no trouble. Printing and previewing works just the way I want.
(NB - Did not use the printPreviewControl as I felt it was way slower than a panel. Don't know if I am right.)
So, Am I going the right way to create a WYSIWIG compliant application?
 
2.
I want to save the created report into a XML format. I used the XMLWriter class, and was almost succesful in saving the report. I was ready to pat myself in the back and call it a day when it occured that I knew no way to serialize a Brush object. All I want to store is just the brush color. Sigh | :sigh:
How can I get the color of a brush object? Because I don't see any properties exposed. Any workarounds?

modified 30 Jan '13 - 7:49.

AnswerRe: .NET Brush serialization/WYSIWIGmemberBrisingr Aerowing29 Jan '13 - 3:12 
GeneralRe: .NET Brush serialization/WYSIWIGmemberAmlanjyoti Saikia30 Jan '13 - 1:54 
Questionhow to check the avaialbility of username from databasememberSanthosh V.T28 Jan '13 - 20:51 
AnswerRe: how to check the avaialbility of username from databasemvpOriginalGriff28 Jan '13 - 21:17 
AnswerRe: how to check the avaialbility of username from databasememberPIEBALDconsult29 Jan '13 - 3:59 
AnswerRe: how to check the avaialbility of username from databasemvpMarcus Kramer29 Jan '13 - 5:11 
QuestionLearning C# .Net - From where to start.?membermbatra3128 Jan '13 - 19:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 21 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid