public MainExampleServerlForm(ExampleServerSettings settings) { InitializeComponent(); this.server = new ExampleServer(this, settings); this.server.messageLog += addMessageLogText; this.propertyGrid1.SelectedObject = settings; }
public ExampleServer(MainExampleServerlForm form, ExampleServerSettings serverSettings) { this.exampleServerForm = form; this.serverSettings = serverSettings; }