Esempio n. 1
0
 private void MainForm_FormClosing
 (
     object sender,
     FormClosingEventArgs e
 )
 {
     ControlCenter.Disconnect();
 }
Esempio n. 2
0
        private void MainForm_Load
        (
            object sender,
            EventArgs e
        )
        {
            ControlCenter.Connect();

            _magazineList.LoadMagazines(ControlCenter.Connection);
        }