using system;
using system.collections.generic;
using system.componentmodel;
using system.data;
using system.drawing;
using system.text;
using system.windows.forms;
using system.drawing.drawing2d;
private
void button1_click(object sender, eventargs e)
;graphics g2 = this.creategraphics();
g2.drawline(pen2, 10, 150, 500, 150);}}
}
c 畫筆Pen畫虛線
using system using system.collections.generic using system.componentmodel using system.data using system.drawing using system.text using system.window...
c 畫筆Pen繪製曲線
using system using system.collections.generic using system.componentmodel using system.data using system.drawing using system.text using system.window...
c 畫筆Pen繪製光滑模式曲線
using system using system.collections.generic using system.componentmodel using system.data using system.drawing using system.text using system.window...