Click here to Skip to main content
16,013,642 members
Home / Discussions / C#
   

C#

 
GeneralRe: plz tell me how i can develope backup server using C# and MS Sql Pin
Christian Graus5-Mar-08 14:55
protectorChristian Graus5-Mar-08 14:55 
GeneralRe: plz tell me how i can develope backup server using C# and MS Sql Pin
Pete O'Hanlon5-Mar-08 22:03
mvePete O'Hanlon5-Mar-08 22:03 
GeneralRichtextbox questions/problems.. Pin
Jacob Dixon5-Mar-08 13:31
Jacob Dixon5-Mar-08 13:31 
GeneralRe: Richtextbox questions/problems.. Pin
Jacob Dixon5-Mar-08 15:23
Jacob Dixon5-Mar-08 15:23 
GeneralRe: Richtextbox questions/problems.. Pin
W Balboos, GHB6-Mar-08 9:46
W Balboos, GHB6-Mar-08 9:46 
GeneralRe: Richtextbox questions/problems.. Pin
Jacob Dixon6-Mar-08 12:29
Jacob Dixon6-Mar-08 12:29 
GeneralRe: Richtextbox questions/problems.. Pin
Jacob Dixon6-Mar-08 12:53
Jacob Dixon6-Mar-08 12:53 
GeneralRe: Richtextbox questions/problems.. Pin
W Balboos, GHB7-Mar-08 2:31
W Balboos, GHB7-Mar-08 2:31 
Without going into the whole document interface thing in any detail:

You need to add a printDOcument object to your application. You write to it through its Graphics object.

Now, if you create a printPreviewControl (or dialog), it allows you (check the properties) to add a document (which is in its select list if you click the blank box). What this connection does is tell the preview which document to look at [you could use the same printPreview for multiple documents by changing that assignment at RT).

Anyway, you need to explore this, and some examples, but basically, you can write to the document anywhere, in any order, with various pens (thickness, linestyle, color, ...), brushes, fonts, lines, shapes. After a break-in period, you can do shading, too. Also, add graphics.

Much "richer" than the rich text box: downside? You can't type into it on the screen - it's a display method, and WYSIWYG print method. If you need to have the user type directly into the box, you're out of luck, unless you work-around (ex: enter name in simple text-box, and update the printPreview either as they go along, when the box loses focus, or when the press an update button.

I don't know your final needs, so I suggested a print/display oriented item rather than an editbox type item.

"The difference between genius and stupidity is that genius has its limits." - Albert Einstein

"How do you find out if you're unwanted if everyone you try to ask tells you to go away?" - Balboos HaGadol



GeneralRe: Richtextbox questions/problems.. Pin
Jacob Dixon7-Mar-08 12:45
Jacob Dixon7-Mar-08 12:45 
GeneralRe: Richtextbox questions/problems.. Pin
Jacob Dixon7-Mar-08 13:29
Jacob Dixon7-Mar-08 13:29 
GeneralRe: Richtextbox questions/problems.. Pin
W Balboos, GHB10-Mar-08 1:11
W Balboos, GHB10-Mar-08 1:11 
QuestionArchitecture Question! Pin
Jammer5-Mar-08 10:41
Jammer5-Mar-08 10:41 
GeneralRe: Architecture Question! Pin
Christian Graus5-Mar-08 10:56
protectorChristian Graus5-Mar-08 10:56 
GeneralRe: Architecture Question! Pin
Jammer5-Mar-08 11:01
Jammer5-Mar-08 11:01 
GeneralRe: Architecture Question! Pin
Jammer5-Mar-08 11:03
Jammer5-Mar-08 11:03 
GeneralRe: Architecture Question! Pin
Jammer5-Mar-08 11:13
Jammer5-Mar-08 11:13 
GeneralRe: Architecture Question! Pin
Christian Graus5-Mar-08 11:19
protectorChristian Graus5-Mar-08 11:19 
GeneralRe: Architecture Question! Pin
led mike5-Mar-08 11:23
led mike5-Mar-08 11:23 
GeneralRe: Architecture Question! Pin
Jammer5-Mar-08 11:26
Jammer5-Mar-08 11:26 
GeneralRe: Architecture Question! Pin
Christian Graus5-Mar-08 11:44
protectorChristian Graus5-Mar-08 11:44 
GeneralRe: Architecture Question! Pin
Jammer5-Mar-08 11:49
Jammer5-Mar-08 11:49 
GeneralRe: Architecture Question! Pin
Christian Graus5-Mar-08 12:30
protectorChristian Graus5-Mar-08 12:30 
GeneralRe: Architecture Question! Pin
Jammer5-Mar-08 12:40
Jammer5-Mar-08 12:40 
GeneralRe: Architecture Question! Pin
Christian Graus5-Mar-08 14:10
protectorChristian Graus5-Mar-08 14:10 
GeneralRe: Architecture Question! Pin
Jammer5-Mar-08 14:17
Jammer5-Mar-08 14:17 

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

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