Пример #1
0
        //delegate void SetTextCallback();

        // Constructor
        public Form1()
        {
            InitializeComponent();
            simulation = new CSimulationManager(this);
            dataGridView1.DataSource = simulation.Users;

            // Getting the information/debugging messages
            simulation.federate.StatusMessageChanged += new EventHandler(CChatFd_StatusMessageChanged);
            simulation.federate.LogLevel              = Racon.LogLevel.ALL;
            simulation.federate.FederateStateChanged += Federate_FederateStateChanged;
        }
Пример #2
0
 public CChatFd(CSimulationManager parent)
     : this()
 {
     // Set simulation manager
     simManager = parent;
 }