C#.Net創建不規則窗體的幾種方法

現在,C#創建不規則窗體不是一件難事,下面總結一下: 一、自定義窗體 一般爲規則的圖形,如圓、橢圓等。 做法:重寫Form1_Paint事件(Form1是窗體的名字),最簡單的一種情況如下: System.Drawing.Drawing2D.GraphicsPath shape = new System.Drawing.Drawing2D.GraphicsPath();   shape.AddEl
相關文章
相關標籤/搜索