public BrowserUC(Browser b, int index) { InitializeComponent(); this.browser = b; name.Text = b.name; shortcuts.Text = "( " + Convert.ToString(index + 1) + "," + String.Join(",", b.shortcuts) + " )"; shortcuts.ForeColor = Color.FromKnownColor(KnownColor.GrayText); icon.Image = b.string2Icon();//.ToBitmap(); icon.SizeMode = PictureBoxSizeMode.Zoom; }