I create a form with edit boxes and buttons and add it in the task pane. I can edit data and click button to update model, or click button to get data from model. My question is how to automatically update these data in task pane without clicking any button when I open a new model. I guess I should use some mouse event or override some virtual function to update the data in the form. Anybody can give me some suggestions? Thanks.