整理代码
This commit is contained in:
@@ -90,9 +90,9 @@ public class RvApp : ExternalApplication
|
||||
_ = new TabManagerApp(Application);
|
||||
_ = new FamilyApp(Application, UiApplication);
|
||||
|
||||
if (RevitAddins.Properties.Settings.Default.IsActiveAutoSave)
|
||||
if (Settings.Default.IsActiveAutoSave)
|
||||
{
|
||||
var interval = RevitAddins.Properties.Settings.Default.AutoSaveIntervalTime * 60_000;
|
||||
var interval = Settings.Default.AutoSaveIntervalTime * 60_000;
|
||||
saveTimer.Interval = interval;
|
||||
saveTimer.Elapsed -= OnTimedEvent;
|
||||
saveTimer.Elapsed += OnTimedEvent;
|
||||
|
||||
Reference in New Issue
Block a user