public void SetBubble(Bubble _b) { // this.pictureBox1.Location = new System.Drawing.Point(112, 170); // this.pictureBox1.Size = new System.Drawing.Size(186, 137); int _segment = GetRandomSegment(); _b.Location = new System.Drawing.Point(GetSegmentWidth(_segment), GetSegmentHeight(_segment)); Panel.AddBubble(_b); }