public RolePage(UIManager ui) { InitializeComponent(); ui_m = ui; // Keep track of the instance of the UI class }