public FrmAddType(String typeCode, int mode, UserInfo userInfo, FrmListType frmListType) { _userInfo = userInfo; _typeCode = typeCode; _mode = mode; _frmListType = frmListType; InitializeComponent(); }
private void mnuType_Click(object sender, EventArgs e) { FrmListType form = new FrmListType(_userInfo); form.MdiParent = this; form.Show(); }