摘要:
public void DrawStringToPictureBox(Image Img, string str) { Graphics g = null; g = Graphics.FromImage(Img); Font Var_Font = new Font("宋体", 11); Brush Var_Brush = new SolidBrush(Color.Red); Point location = new Point(20, 5); g.D... 阅读全文
摘要:
private void displayFormOnPanel2(Form newForm) { newForm.TopLevel = false; //设置为非顶级窗体 newForm.FormBorderStyle = FormBorderStyle.None; //设置窗体为非边框样式 newForm.Dock = System.Windows.Forms.DockStyle.Fill; //设置样式是否填充整个PANEL this.splitCon... 阅读全文