示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Form ven = new Form();
     TextureControl texCon = new TextureControl(pluginHost, tex);
     texCon.Dock = DockStyle.Fill;
     ven.Size = new Size(530, 530);
     ven.FormBorderStyle = FormBorderStyle.FixedDialog;
     ven.Controls.Add(texCon);
     ven.Show();
 }