public OutstationForm(IOutstation outstation, ProxyCommandHandler commandHandler) { InitializeComponent(); this.outstation = outstation; this.commandHandler = commandHandler; commandHandler.CommandProxy = this; // proxy commands to the form }