System.Drawing.Point

Ok. I would have to say this is a pretty profound question, or almost complex. Is there anyway increase the x point, or y point, without actually creating a new point. Something like label.Location += 1 (x)...or something like that. Can someone please help me. I know I will be helped, like I always am. :)


Answer this question

System.Drawing.Point

  • Ger van der Kamp

    Yes. That would work perfectly.

  • Chris Lee

    Wouldn't
        {object}.Location = new Point({object}.Location.X + 1, 658);
    do the trick


  • Hemant.Shelar

    Ok. Nevermind. I got it.

    int xAxis = {object}.Location.X;
    xAxis++;

    {object}.Location = new Point(xAxis, 658);

  • System.Drawing.Point