Click here to Skip to main content
15,904,339 members
Home / Discussions / C#
   

C#

 
AnswerRe: read pst file and convert in Thunderbird,live Pin
Dave Kreskowiak11-Apr-11 1:13
mveDave Kreskowiak11-Apr-11 1:13 
GeneralRe: read pst file and convert in Thunderbird,live Pin
situ2111-Apr-11 2:06
situ2111-Apr-11 2:06 
GeneralRe: read pst file and convert in Thunderbird,live Pin
Dave Kreskowiak11-Apr-11 2:21
mveDave Kreskowiak11-Apr-11 2:21 
GeneralRe: read pst file and convert in Thunderbird,live Pin
Pete O'Hanlon11-Apr-11 2:38
mvePete O'Hanlon11-Apr-11 2:38 
GeneralRe: read pst file and convert in Thunderbird,live Pin
situ2111-Apr-11 3:00
situ2111-Apr-11 3:00 
GeneralRe: read pst file and convert in Thunderbird,live Pin
Pete O'Hanlon11-Apr-11 3:04
mvePete O'Hanlon11-Apr-11 3:04 
AnswerRe: read pst file and convert in Thunderbird,live Pin
Richard MacCutchan11-Apr-11 3:12
mveRichard MacCutchan11-Apr-11 3:12 
Questionfixed-Length formatting of String Pin
Ravi Sant10-Apr-11 20:14
Ravi Sant10-Apr-11 20:14 
AnswerRe: fixed-Length formatting of String Pin
Abhinav S10-Apr-11 20:20
Abhinav S10-Apr-11 20:20 
AnswerRe: fixed-Length formatting of String Pin
GlobX10-Apr-11 20:29
GlobX10-Apr-11 20:29 
AnswerRe: fixed-Length formatting of String Pin
OriginalGriff10-Apr-11 20:38
mveOriginalGriff10-Apr-11 20:38 
AnswerRe: fixed-Length formatting of String Pin
Rob Grainger10-Apr-11 23:53
Rob Grainger10-Apr-11 23:53 
AnswerRe: fixed-Length formatting of String Pin
Luc Pattyn11-Apr-11 0:48
sitebuilderLuc Pattyn11-Apr-11 0:48 
QuestionEnable & Disable Dual Monitors Pin
Kevin Marois9-Apr-11 9:20
professionalKevin Marois9-Apr-11 9:20 
AnswerRe: Enable & Disable Dual Monitors Pin
GlobX10-Apr-11 18:29
GlobX10-Apr-11 18:29 
QuestionSetup problem Pin
milenalukic9-Apr-11 4:56
milenalukic9-Apr-11 4:56 
AnswerRe: Setup problem Pin
Not Active9-Apr-11 6:54
mentorNot Active9-Apr-11 6:54 
GeneralRe: Setup problem Pin
Wendelius9-Apr-11 8:08
mentorWendelius9-Apr-11 8:08 
QuestionPolyGon To Shift Right Pin
Anubhava Dimri8-Apr-11 20:22
Anubhava Dimri8-Apr-11 20:22 
AnswerRe: PolyGon To Shift Right Pin
OriginalGriff8-Apr-11 20:39
mveOriginalGriff8-Apr-11 20:39 
GeneralRe: PolyGon To Shift Right Pin
Anubhava Dimri8-Apr-11 20:49
Anubhava Dimri8-Apr-11 20:49 
GeneralRe: PolyGon To Shift Right Pin
OriginalGriff8-Apr-11 21:02
mveOriginalGriff8-Apr-11 21:02 
GeneralRe: PolyGon To Shift Right Pin
Anubhava Dimri8-Apr-11 22:44
Anubhava Dimri8-Apr-11 22:44 
Hello Sir,

I am drawing Polygon and Now I want it to shift in Left Side.

In Case of Rectangle We Can Use the Rectangle.X = 0

But How to Shift Polygon.

Code For Drawing Polygon is given below :

 Point point1 = new Point(50,  50);
 Point point2 = new Point(100,  25);
 Point point3 = new Point(200,   5);
 Point point4 = new Point(250,  50);
 Point point5 = new Point(300, 100);
 Point point6 = new Point(350, 200);
 Point point7 = new Point(250, 250);

public void DrawPolygonPoint(PaintEventArgs e)
{
    // Create pen.
    Pen blackPen = new Pen(Color.Black, 3);

    // Create points that define polygon.
    Point[] curvePoints =
             {
                 point1,
                 point2,
                 point3,
                 point4,
                 point5,
                 point6,
                 point7
             };

    // Draw polygon to screen.
    e.Graphics.DrawPolygon(blackPen, curvePoints);
}

If you can think then I Can.

AnswerRe: PolyGon To Shift Right Pin
Richard MacCutchan8-Apr-11 23:22
mveRichard MacCutchan8-Apr-11 23:22 
AnswerRe: PolyGon To Shift Right Pin
OriginalGriff8-Apr-11 23:29
mveOriginalGriff8-Apr-11 23:29 

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.