private void fieldLink1_OnClick() { var adminLevelAdd = new AdminLevelAdd(levelNumber); adminLevelAdd.OnSave += picker_OnSelect; adminLevelAdd.ShowDialog(); }
private void menuNewAdminLevelToolStripMenuItem_Click(object sender, EventArgs e) { var adminLevelAdd = new AdminLevelAdd(); adminLevelAdd.OnSave += adminLevelAdd_OnSave; adminLevelAdd.ShowDialog(); }