private void InitGet() { var path = this.m_communicationSetup.SelectedPath; var registrations = this.GetNewRegistrations(path); if (registrations != null && registrations.Any()) { this.AddNewRegistrations(registrations, true); } LeonWriter.CheckTmpFile(path, true); }
private void InitGet() { var path = CommunicationSetup.SelectedPath; if (NewLeonRegistrations != null) { var registrations = this.GetNewRegistrations(path); if (registrations != null && registrations.Any()) { var args = new LeonEventArgs { NewRegistrations = registrations }; NewLeonRegistrations(this, args); } } LeonWriter.CheckTmpFile(path); }