//public SousMarin SM; public FormMain() { //NomFichierXML = Application.StartupPath + "\\TestSM.xml"; InitializeComponent(); //SM = null; this._cmd = new BO_Commands(); this._remote = new UI_Remote(this._cmd); this._remote.MdiParent = this; this._remote.Show(); this._sensor = new UI_Sensor(this._cmd); this._sensor.MdiParent = this; this._sensor.Show(); //this._console = new FormConsole(); //this._console.MdiParent = this; //this._console.Show(); this._serialPort = new UI_SerialPort(this._cmd, this); this._serialPort.MdiParent = this; this._serialPort.Show(); }