Exemplo n.º 1
0
 private void Form1_FormClosed(object sender, FormClosedEventArgs e)
 {
     partServiceHost.Close();
     cmmCtrlHost.Close();
     _bladeMeasureContext.Dispose();
     PartConfigManager.Instance.SavePartConfigToXml(@"D:\ServerPathRoot\parts.xml");
 }
Exemplo n.º 2
0
 private void MainFrm_FormClosed(object sender, FormClosedEventArgs e)
 {
     _partServiceHost.Close();
     _ctrlHost.Close();
     _msc.Dispose();
     _partServiceHost = null;
     _ctrlHost        = null;
     _msc             = null;
 }