File tree Expand file tree Collapse file tree 9 files changed +52
-32
lines changed Expand file tree Collapse file tree 9 files changed +52
-32
lines changed Original file line number Diff line number Diff line change 1+ namespace DataCommander
2+ {
3+ public sealed class CheckForUpdateCompleted : Event
4+ {
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ namespace DataCommander
2+ {
3+ public sealed class CheckForUpdatesStarted : Event
4+ {
5+ }
6+ }
Original file line number Diff line number Diff line change 171171 <Reference Include =" System.Xml" />
172172 </ItemGroup >
173173 <ItemGroup >
174+ <Compile Include =" CheckForUpdateCompleted.cs" />
175+ <Compile Include =" CheckForUpdatesStarted.cs" />
176+ <Compile Include =" DownloadingNewVersionStarted.cs" />
177+ <Compile Include =" DownloadProgressChanged.cs" />
178+ <Compile Include =" Event.cs" />
174179 <Compile Include =" EventHandler.cs" />
180+ <Compile Include =" NewVersionDownloaded.cs" />
175181 <Compile Include =" Updater.cs" />
176182 <Compile Include =" UpdaterForm.cs" >
177183 <SubType >Form</SubType >
Original file line number Diff line number Diff line change 1+ using System . Net ;
2+
3+ namespace DataCommander
4+ {
5+ public sealed class DownloadProgressChanged : Event
6+ {
7+ public readonly DownloadProgressChangedEventArgs DownloadProgressChangedEventArgs ;
8+
9+ public DownloadProgressChanged ( DownloadProgressChangedEventArgs downloadProgressChangedEventArgs )
10+ {
11+ DownloadProgressChangedEventArgs = downloadProgressChangedEventArgs ;
12+ }
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ namespace DataCommander
2+ {
3+ public sealed class DownloadingNewVersionStarted : Event
4+ {
5+ }
6+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ public static void Main()
1717 {
1818 try
1919 {
20- var updateStarted = Update ( ) ;
20+ //var updateStarted = Update();
21+ var updateStarted = false ;
2122 if ( ! updateStarted )
2223 {
2324 LogFactory . Read ( ) ;
Original file line number Diff line number Diff line change 1+ namespace DataCommander
2+ {
3+ public abstract class Event
4+ {
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ namespace DataCommander
2+ {
3+ public sealed class NewVersionDownloaded : Event
4+ {
5+ }
6+ }
Original file line number Diff line number Diff line change 11using System ;
22using System . IO ;
3- using System . Net ;
43using System . Reflection ;
54using System . Threading . Tasks ;
65using Foundation ;
76using Foundation . Deployment ;
87
98namespace DataCommander
109{
11- public abstract class Event
12- {
13- }
14-
15- public sealed class CheckForUpdatesStarted : Event
16- {
17- }
18-
19- public sealed class DownloadingNewVersionStarted : Event
20- {
21- }
22-
23- public sealed class DownloadProgressChanged : Event
24- {
25- public readonly DownloadProgressChangedEventArgs DownloadProgressChangedEventArgs ;
26-
27- public DownloadProgressChanged ( DownloadProgressChangedEventArgs downloadProgressChangedEventArgs )
28- {
29- DownloadProgressChangedEventArgs = downloadProgressChangedEventArgs ;
30- }
31- }
32-
33- public sealed class NewVersionDownloaded : Event
34- {
35- }
36-
37- public sealed class CheckForUpdateCompleted : Event
38- {
39- }
40-
4110 public sealed class Updater
4211 {
4312 private const string ApplicationName = "DataCommander" ;
You can’t perform that action at this time.
0 commit comments