public MainForm() { InitializeComponent(); my_delegate = new UpdateProgress(UpdateProgressMethod); max_delegate = new UpdateMax(UpdateMaxMethod); }