C#画柱状图,可以使用的namespace柱状图{publicpartialclassForm1:Form{publicForm1(){InitializeComponent();}privatevoidbutton1_Click(objectsender,EventArgse){Graphicsg=this.CreateGraphics();Penpen=newPen(Color.Red,2);