private void frmLocalMap_Load(object sender, EventArgs e) { //MenuStrip frmLocalMap frm1 = new frmLocalMap(characterId); TopBar topBarLocalMap = new TopBar(frm1, characterId); Controls.Add(topBarLocalMap.mnsCharSheet); }
private void tsiLocalMap_Click(object sender, EventArgs e) { buttonClick = true; Forms.frmLocalMap frmlcl = new Forms.frmLocalMap(CharId); OpenAndCloseForm(frmlcl, buttonClick); }