Converts the attributes of this to a human readable string.
public override string ToString() => "{X=" + X.ToString() + ",Y=" + Y.ToString() + ",Width=" + Width.ToString() + ",Height=" + Height.ToString() + "}"; }
private void pictureBox1_MouseClick(object sender, MouseEventArgs e) { IconRect = GetCurrenIconRect(); IconID = GetCurrenIconID(); label1.Text = IconID.ToString(); label2.Text = IconRect.ToString(); }