You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stringresponse=Message.Show("This document changed on disk, do you want to reload it? Clicking Yes will discard any local changes.","Document Changed On Disk","Yes","No");
stringresponse=Message.Show("This document changed on disk, do you want to reload it? Clicking Yes will discard any local changes.","Document Changed On Disk","Yes","No");
46
-
47
-
if(response=="Yes")
48
-
{
49
-
m_current.Close(true);
50
-
Current=Open(m_current.Path);
51
-
}
68
+
m_current.PromptForReload();
52
69
}
53
70
54
71
RaisePropertyChangedEvent();
@@ -274,31 +291,51 @@ public void SetupFileChangeHandlers()
0 commit comments