Click here to Skip to main content
15,885,985 members
Home / Discussions / C#
   

C#

 
QuestionSelect ListView Item on KeyPress Pin
miah alom20-Sep-05 3:59
miah alom20-Sep-05 3:59 
AnswerRe: Select ListView Item on KeyPress Pin
John Fisher20-Sep-05 9:27
John Fisher20-Sep-05 9:27 
GeneralRe: Select ListView Item on KeyPress Pin
miah alom20-Sep-05 9:40
miah alom20-Sep-05 9:40 
GeneralRe: Select ListView Item on KeyPress Pin
Abdullah_Hunzai22-Oct-09 20:00
Abdullah_Hunzai22-Oct-09 20:00 
QuestionStretching a polygon side in C# Pin
20-Sep-05 3:52
suss20-Sep-05 3:52 
AnswerRe: Stretching a polygon side in C# Pin
Yoyosch20-Sep-05 4:06
Yoyosch20-Sep-05 4:06 
GeneralRe: Stretching a polygon side in C# Pin
subramanyeswari20-Sep-05 17:43
subramanyeswari20-Sep-05 17:43 
AnswerRe: Stretching a polygon side in C# Pin
Andy Moore20-Sep-05 18:15
Andy Moore20-Sep-05 18:15 
Take a look at the System.Drawing.Drawing2D.GraphicsPath class. You can do something like this:

System.Drawing.Point pts[] = new Point[3];<br />
System.Drawing.Drawing2D.GraphicsPath gp = new System.Drawing.Drawing2D.GraphicsPath();<br />
<br />
gp.AddPolygon( pts );<br />
gp.CloseFigure();<br />

According to which points you select and drag, you would need to recompute the points in the pts[] array then regenerate the GraphicsPath.

I hope this helps.

Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons
GeneralRe: Stretching a polygon side in C# Pin
subramanyeswari21-Sep-05 17:30
subramanyeswari21-Sep-05 17:30 
QuestionVisual Studio tools for Office Pin
Giannis Zetas20-Sep-05 3:15
Giannis Zetas20-Sep-05 3:15 
AnswerRe: Visual Studio tools for Office Pin
NassosReyzidis20-Sep-05 3:31
NassosReyzidis20-Sep-05 3:31 
QuestionProgrammatically showing and hiding a scollbar in a multiline textbox Pin
Dan Neely20-Sep-05 3:07
Dan Neely20-Sep-05 3:07 
Questionoverride Paint method for DataGrid Pin
zaboboa20-Sep-05 2:52
zaboboa20-Sep-05 2:52 
QuestionDialog box exit Pin
baronics20-Sep-05 2:37
baronics20-Sep-05 2:37 
AnswerRe: Dialog box exit Pin
Ashok Dhamija20-Sep-05 3:22
Ashok Dhamija20-Sep-05 3:22 
GeneralRe: Dialog box exit Pin
baronics20-Sep-05 4:58
baronics20-Sep-05 4:58 
QuestionC# ,Directx and MPEG2 encoding Pin
Member 242731820-Sep-05 2:33
Member 242731820-Sep-05 2:33 
QuestionOverhead Representation Pin
PHDENG8120-Sep-05 1:24
PHDENG8120-Sep-05 1:24 
AnswerRe: Overhead Representation Pin
Anonymous20-Sep-05 4:46
Anonymous20-Sep-05 4:46 
AnswerRe: Overhead Representation Pin
Anonymous20-Sep-05 4:46
Anonymous20-Sep-05 4:46 
QuestionCapturing Frames from a AVI File Pin
Balasubramanian_198020-Sep-05 1:00
Balasubramanian_198020-Sep-05 1:00 
AnswerRe: Capturing Frames from a AVI File Pin
Andrew Kirillov20-Sep-05 2:17
Andrew Kirillov20-Sep-05 2:17 
AnswerRe: Capturing Frames from a AVI File Pin
Andrew Kirillov20-Sep-05 3:42
Andrew Kirillov20-Sep-05 3:42 
QuestionHeader / Detail in c# Pin
dabuskol20-Sep-05 0:48
dabuskol20-Sep-05 0:48 
QuestionForm Controls Pin
deepscyberpulse20-Sep-05 0:24
deepscyberpulse20-Sep-05 0:24 

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.