Click here to Skip to main content
11,583,865 members (64,813 online)
   

C#

 
AnswerRe: C# app.config permission Pin
LokoLuke30-Jan-13 0:35
memberLokoLuke30-Jan-13 0:35 
AnswerRe: C# app.config permission Pin
Shameel30-Jan-13 3:22
memberShameel30-Jan-13 3:22 
GeneralRe: C# app.config permission Pin
jschell30-Jan-13 8:07
memberjschell30-Jan-13 8:07 
QuestionC# linq to sql error Pin
classy_dog29-Jan-13 19:10
memberclassy_dog29-Jan-13 19:10 
AnswerRe: C# linq to sql error Pin
Richard MacCutchan29-Jan-13 21:13
mvpRichard MacCutchan29-Jan-13 21:13 
QuestionReference confusion Pin
yudhistira dewanata29-Jan-13 18:57
memberyudhistira dewanata29-Jan-13 18:57 
AnswerRe: Reference confusion Pin
Abhinav S29-Jan-13 19:01
mvpAbhinav S29-Jan-13 19:01 
GeneralRe: Reference confusion Pin
Shameel30-Jan-13 3:26
memberShameel30-Jan-13 3:26 
QuestionSerial Port Errors, User Messages Pin
C-P-User-329-Jan-13 6:23
memberC-P-User-329-Jan-13 6:23 
AnswerRe: Serial Port Errors, User Messages Pin
jibesh29-Jan-13 11:57
memberjibesh29-Jan-13 11:57 
QuestionDynamic Reference to Dll Path Pin
Member 461637929-Jan-13 1:53
memberMember 461637929-Jan-13 1:53 
AnswerRe: Dynamic Reference to Dll Path Pin
Alan N29-Jan-13 3:29
memberAlan N29-Jan-13 3:29 
AnswerRe: Dynamic Reference to Dll Path Pin
jschell29-Jan-13 13:50
memberjschell29-Jan-13 13:50 
Question.NET Brush serialization/WYSIWIG [Solved] Pin
Amlanjyoti Saikia29-Jan-13 0:32
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:49am.

AnswerRe: .NET Brush serialization/WYSIWIG Pin
Brisingr Aerowing29-Jan-13 3:12
memberBrisingr Aerowing29-Jan-13 3:12 
GeneralRe: .NET Brush serialization/WYSIWIG Pin
Amlanjyoti Saikia30-Jan-13 1:54
memberAmlanjyoti Saikia30-Jan-13 1:54 
Questionhow to check the avaialbility of username from database Pin
Santhosh V.T28-Jan-13 20:51
memberSanthosh V.T28-Jan-13 20:51 
AnswerRe: how to check the avaialbility of username from database Pin
OriginalGriff28-Jan-13 21:17
mvpOriginalGriff28-Jan-13 21:17 
AnswerRe: how to check the avaialbility of username from database Pin
PIEBALDconsult29-Jan-13 3:59
memberPIEBALDconsult29-Jan-13 3:59 
AnswerRe: how to check the avaialbility of username from database Pin
Marcus Kramer29-Jan-13 5:11
mvpMarcus Kramer29-Jan-13 5:11 
QuestionLearning C# .Net - From where to start.? Pin
mbatra3128-Jan-13 19:21
membermbatra3128-Jan-13 19:21 
AnswerRe: Learning C# .Net - From where to start.? Pin
OriginalGriff28-Jan-13 21:23
mvpOriginalGriff28-Jan-13 21:23 
AnswerRe: Learning C# .Net - From where to start.? Pin
Richard MacCutchan28-Jan-13 22:53
mvpRichard MacCutchan28-Jan-13 22:53 
AnswerRe: Learning C# .Net - From where to start.? Pin
Abhinav S29-Jan-13 19:02
mvpAbhinav S29-Jan-13 19:02 
QuestionSocket programming Pin
Naina Dhande28-Jan-13 19:04
memberNaina Dhande28-Jan-13 19:04 
AnswerRe: Socket programming Pin
Richard MacCutchan28-Jan-13 22:51
mvpRichard MacCutchan28-Jan-13 22:51 
AnswerRe: Socket programming Pin
pt140129-Jan-13 10:35
memberpt140129-Jan-13 10:35 
QuestionDisplay an array elements in 2 columns using the console Pin
TheGermoz28-Jan-13 9:53
memberTheGermoz28-Jan-13 9:53 
AnswerRe: Display an array elements in 2 columns using the console Pin
Richard Deeming28-Jan-13 10:09
memberRichard Deeming28-Jan-13 10:09 
GeneralRe: Display an array elements in 2 columns using the console Pin
TheGermoz28-Jan-13 11:47
memberTheGermoz28-Jan-13 11:47 
QuestionDoes backgroundWorker make code slower? Pin
MichCl28-Jan-13 9:35
memberMichCl28-Jan-13 9:35 
AnswerRe: Does backgroundWorker make code slower? Pin
PIEBALDconsult28-Jan-13 16:02
memberPIEBALDconsult28-Jan-13 16:02 
GeneralRe: Does backgroundWorker make code slower? Pin
MichCl29-Jan-13 2:18
memberMichCl29-Jan-13 2:18 
GeneralRe: Does backgroundWorker make code slower? Pin
PIEBALDconsult29-Jan-13 3:16
memberPIEBALDconsult29-Jan-13 3:16 
QuestionDoes backgroundWorker make code slower? Pin
MichCl28-Jan-13 9:35
memberMichCl28-Jan-13 9:35 
AnswerRe: Does backgroundWorker make code slower? Pin
Pete O'Hanlon28-Jan-13 9:51
protectorPete O'Hanlon28-Jan-13 9:51 
GeneralRe: Does backgroundWorker make code slower? Pin
MichCl29-Jan-13 2:19
memberMichCl29-Jan-13 2:19 
GeneralRe: Does backgroundWorker make code slower? Pin
MichCl29-Jan-13 4:02
memberMichCl29-Jan-13 4:02 
GeneralRe: Does backgroundWorker make code slower? Pin
Pete O'Hanlon29-Jan-13 4:12
protectorPete O'Hanlon29-Jan-13 4:12 
QuestionGroupPrincipalExt can not be used in a query against this store Pin
JD8628-Jan-13 8:18
memberJD8628-Jan-13 8:18 
AnswerRe: GroupPrincipalExt can not be used in a query against this store Pin
Richard Deeming28-Jan-13 8:26
memberRichard Deeming28-Jan-13 8:26 
GeneralRe: GroupPrincipalExt can not be used in a query against this store Pin
JD8628-Jan-13 9:49
memberJD8628-Jan-13 9:49 
QuestionCheck if polygon is Inside another Pin
gilvani28-Jan-13 7:48
membergilvani28-Jan-13 7:48 
AnswerRe: Check if polygon is Inside another Pin
pt140128-Jan-13 8:05
memberpt140128-Jan-13 8:05 
GeneralRe: Check if polygon is Inside another Pin
gilvani28-Jan-13 23:03
membergilvani28-Jan-13 23:03 
AnswerRe: Check if polygon is Inside another Pin
Alan Balkany29-Jan-13 4:12
memberAlan Balkany29-Jan-13 4:12 
GeneralRe: Check if polygon is Inside another Pin
gilvani29-Jan-13 4:16
membergilvani29-Jan-13 4:16 
GeneralRe: Check if polygon is Inside another Pin
Alan Balkany29-Jan-13 4:22
memberAlan Balkany29-Jan-13 4:22 
QuestionProblems in retrieving HttpResponse content Pin
tiwal28-Jan-13 4:16
membertiwal28-Jan-13 4:16 
AnswerRe: Problems in retrieving HttpResponse content Pin
Richard Deeming28-Jan-13 5:06
memberRichard Deeming28-Jan-13 5:06 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 7 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid