摘要: private void picBackground_Paint(object sender, PaintEventArgs e) { foreach (Control C in this.Controls) { if (C is Label) { Label L = (Label)C; L.Visible = false; //设置绘制文字的格式 StringFormat strFmt = new System.Drawing.StringFormat(); strFmt.Alignment = StringAlignment.Center; //文本垂直居中 strFmt.LineAl.. 阅读全文
posted @ 2012-08-02 16:25 小さいです哥 阅读(1421) 评论(1) 推荐(0)