private void rightPanel_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; Pen p = ,,,)); p.Width = ; DrawRoundRect(g, p, + nowPicture * , , , , ); } public void DrawRoundRect(Graphics g, Pen p, float X, float Y, float width, float hei…