Click here to Skip to main content
15,890,381 members
Home / Discussions / C#
   

C#

 
AnswerRe: Autoscroll in RichTextBox? Pin
Dave Kreskowiak9-May-05 4:20
mveDave Kreskowiak9-May-05 4:20 
GeneralExtracting Video Scene from movie in C# Pin
rajshukla1238-May-05 18:00
rajshukla1238-May-05 18:00 
QuestionHow to user Name and password to Windows 2000 Login Dialog using C#? Pin
pubududilena8-May-05 17:55
pubududilena8-May-05 17:55 
AnswerRe: How to user Name and password to Windows 2000 Login Dialog using C#? Pin
Christian Graus8-May-05 18:24
protectorChristian Graus8-May-05 18:24 
GeneralRe: How to user Name and password to Windows 2000 Login Dialog using C#? Pin
pubududilena8-May-05 20:20
pubududilena8-May-05 20:20 
GeneralRe: How to user Name and password to Windows 2000 Login Dialog using C#? Pin
Dave Kreskowiak9-May-05 1:15
mveDave Kreskowiak9-May-05 1:15 
GeneralRe: How to user Name and password to Windows 2000 Login Dialog using C#? Pin
pubududilena12-May-05 16:39
pubududilena12-May-05 16:39 
QuestionResizing a graphics object??? Pin
Grimtaz8-May-05 17:40
Grimtaz8-May-05 17:40 
I am using the following code to create a graphics object (image) which i then write text to and display on the screen. When I try to resize the object's width i get an error saying that it is read only? What does this mean and how can I resize it?

m_objDrawingSurface = new Bitmap(this.ClientRectangle.Width,
this.ClientRectangle.Height, System.Drawing.Imaging.PixelFormat.Format24bppRgb);

To resize it I am trying to use:

m_objDrawingSurface.Width = this.ClientRectangle.Width;

Im trying to resize the image to match the window size when it changes.

Could someone please help to correctly change the size??
AnswerRe: Resizing a graphics object??? Pin
Christian Graus8-May-05 17:46
protectorChristian Graus8-May-05 17:46 
GeneralShutdown computer Pin
letusC#8-May-05 16:44
letusC#8-May-05 16:44 
GeneralRe: Shutdown computer Pin
Christian Graus8-May-05 17:44
protectorChristian Graus8-May-05 17:44 
GeneralRe: Shutdown computer Pin
Polis Pilavas9-May-05 1:47
Polis Pilavas9-May-05 1:47 
GeneralRe: Shutdown computer Pin
lgstef16-May-05 4:30
lgstef16-May-05 4:30 
Generalindexers Pin
addee8-May-05 12:46
addee8-May-05 12:46 
GeneralRe: indexers Pin
Polis Pilavas8-May-05 13:24
Polis Pilavas8-May-05 13:24 
GeneralRe: indexers Pin
S. Senthil Kumar8-May-05 21:12
S. Senthil Kumar8-May-05 21:12 
GeneralUser Controls for PocketPC Pin
hhrafn8-May-05 12:37
hhrafn8-May-05 12:37 
GeneralRe: User Controls for PocketPC Pin
Polis Pilavas8-May-05 13:28
Polis Pilavas8-May-05 13:28 
GeneralRe: User Controls for PocketPC Pin
hhrafn9-May-05 1:00
hhrafn9-May-05 1:00 
GeneralRe: User Controls for PocketPC Pin
Polis Pilavas9-May-05 1:35
Polis Pilavas9-May-05 1:35 
General.NET Remoting on a virtual server Pin
Ryan Roberts8-May-05 12:34
Ryan Roberts8-May-05 12:34 
GeneralGames and different rooms Pin
Anthony Mushrow8-May-05 12:18
professionalAnthony Mushrow8-May-05 12:18 
GeneralRe: Games and different rooms Pin
Christian Graus8-May-05 14:17
protectorChristian Graus8-May-05 14:17 
GeneralRe: Games and different rooms Pin
MoustafaS8-May-05 14:54
MoustafaS8-May-05 14:54 
Generalgeting image from scanner Pin
Member 18966488-May-05 10:07
Member 18966488-May-05 10:07 

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.