protected void OnQuitterActionActivated(object sender, EventArgs e) { sPort.Close(); store.Dispose(); StoreOut.Dispose(); StoreIn.Dispose(); mConfig = null; //this.Destroy (); Application.Quit(); }