public ChannelInfoWindow() { InitializeComponent(); InitializeCapacityField(); _exceptionCatcher = new ExceptionCatcher(); }
public ChannelRemoveWindow(ChannelRemoveEventHandler channelRemoveEventHandler) { InitializeComponent(); ChannelRemove += channelRemoveEventHandler; _exceptionCatcher = new ExceptionCatcher(); }
public NodeRemoveWindow(NodeRemoveEventHandler nodeRemoveEventHandler) { InitializeComponent(); NodeRemove += nodeRemoveEventHandler; _exceptionCatcher = new ExceptionCatcher(); }
public MessageAddWindow(MessageCreateHandler messageCreateHandler) { InitializeComponent(); MessageCreateEvent += messageCreateHandler; _exceptionCatcher = new ExceptionCatcher(); }
public ChannelAddWindow(ChannelAddEventHandler channelAddEventHandler) { InitializeComponent(); ChannelAdd += channelAddEventHandler; InitializeCapacityField(); _exceptionCatcher = new ExceptionCatcher(); }
public SimulationOptionsDialog(SimulationStarter simulationStarter) { InitializeComponent(); SimulationStart += simulationStarter; MessageGenerateChance.Text = AllConstants.MessageGenerateChance.ToString("N"); TableUpdatePeriod.Text = AllConstants.UpdateTablePeriod.ToString(); GeneratedMessagesSizes.Text = AllConstants.DefaultMessageSize.ToString(); _exceptionCatcher = new ExceptionCatcher(); }
public NetworkCreatorDialog(NetworkUpdateHandler networkUpdateHandler) { InitializeComponent(); NetworkUpdateEvent += networkUpdateHandler; MetropolitanNodesNumber.Text = AllConstants.NodeCountInMetropolitanNetwork.ToString(); MetropolitanNetworksCount.Text = AllConstants.MetropolitanNetworksCount.ToString(); NetworkPower.Text = AllConstants.NetworkPower.ToString("N"); _exceptionCatcher = new ExceptionCatcher(); }
public void Setup() { _exceptionCatcher = new ExceptionCatcher(); }