Click here to Skip to main content
16,009,112 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to set row header labels in a Datagrid? Pin
Frank Olorin Rizzi15-Jul-03 8:16
Frank Olorin Rizzi15-Jul-03 8:16 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 8:28
work_to_live15-Jul-03 8:28 
GeneralRe: How to set row header labels in a Datagrid? Pin
Frank Olorin Rizzi15-Jul-03 8:44
Frank Olorin Rizzi15-Jul-03 8:44 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 9:05
work_to_live15-Jul-03 9:05 
GeneralRe: How to set row header labels in a Datagrid? Pin
Not Active15-Jul-03 9:20
mentorNot Active15-Jul-03 9:20 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 9:33
work_to_live15-Jul-03 9:33 
GeneralFileSystemWatcher Pin
puppiesLover15-Jul-03 5:56
puppiesLover15-Jul-03 5:56 
GeneralReturning a collection class Pin
Andrew Bromfield15-Jul-03 4:26
Andrew Bromfield15-Jul-03 4:26 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 6:18
Frank Olorin Rizzi15-Jul-03 6:18 
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 6:22
Andrew Bromfield15-Jul-03 6:22 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 6:28
Frank Olorin Rizzi15-Jul-03 6:28 
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 6:50
Andrew Bromfield15-Jul-03 6:50 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 7:18
Frank Olorin Rizzi15-Jul-03 7:18 
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 8:06
Andrew Bromfield15-Jul-03 8:06 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 12:19
Frank Olorin Rizzi15-Jul-03 12:19 
GeneralRe: Returning a collection class Pin
Andrew Bromfield16-Jul-03 4:13
Andrew Bromfield16-Jul-03 4:13 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi16-Jul-03 4:49
Frank Olorin Rizzi16-Jul-03 4:49 
GeneralRe: Returning a collection class Pin
Andrew Bromfield16-Jul-03 10:36
Andrew Bromfield16-Jul-03 10:36 
GeneralDrawing on Desktop Pin
Juergen15-Jul-03 3:48
Juergen15-Jul-03 3:48 
GeneralRe: Drawing on Desktop Pin
jtmtv1816-Jul-03 16:50
jtmtv1816-Jul-03 16:50 
i did it by accident a few weeks ago and im not sure if this is the code i used but i think you could give it a shot
//
okay i remeber how i did it..i originally posted a message here that was long..but i found the solution. you can do it using a class that was already wrote..and ill show you how... first off download the clas here : Link[^]

second....adapt this code segment i just wrote into your needs...and it should work....remeber to add the namespaces that the class you downloaded uses... also the class you downloaded uses unsafe code so you will have to turn on the unsafe option in vs.net you can do it by selecting the properties of your project

<br />
//api calls<br />
<br />
[DllImport("user32.dll")]<br />
		private static extern IntPtr GetWindowDC(int Pointer);<br />
//method<br />
Win32Window ww = Win32Util.Win32Window.DesktopWindow;<br />
			IntPtr DC = GetWindowDC(ww.Window.ToInt32());<br />
			Graphics jm = Graphics.FromHdc(DC);<br />
			jm.DrawLine(Pens.Yellow,130,30,30,130);<br />
			jm.DrawRectangle(Pens.Red,100,100,300,300);<br />

GeneralRe: Drawing on Desktop Pin
Juergen16-Jul-03 22:08
Juergen16-Jul-03 22:08 
GeneralRe: Drawing on Desktop Pin
jtmtv1816-Jul-03 22:34
jtmtv1816-Jul-03 22:34 
GeneralRe: Drawing on Desktop Pin
Juergen16-Jul-03 22:47
Juergen16-Jul-03 22:47 
GeneralRe: Drawing on Desktop Pin
jtmtv1816-Jul-03 23:04
jtmtv1816-Jul-03 23:04 
GeneralSerialization in C# Pin
Stephane David14-Jul-03 22:38
Stephane David14-Jul-03 22:38 

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.