dll窗体调用问题,急等!!!!!
DLL窗体代码
==================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace InvC_form
{
public partial class F_invc_set : Form
{
private string formstyle;
public F_invc_set()
{
InitializeComponent();
}
public F_invc_set(string formstyle)
{
this.formstyle = formstyle;
}
private void button1_Click(object sender, EventArgs e)
{
this.Text = formstyle;
}
}
}
调用DLL窗体代码
==================================================
private void B_modify_Click(object sender, EventArgs e)
{
F_invc_set forminv = new F_invc_set("修改窗体");
forminv.ShowDialog();
}
==================================================
点击B_modify按钮后不显示我创建的DLL窗体,却显示一个空窗体,为什么啊???怎样能调用DLL窗体???高手指点