Zebra0.com

csharp boolean


Text of video
private void Form1_Resize(object sender, EventArgs e)
{
   int whiteSpace = this.Width - lblTitle.Width;
   int left = whiteSpace / 2;
   lblTitle.Location = new Point(left, lblTitle.Location.Y);
}

End of lesson, Next lesson: