-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
158 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.ComponentModel; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
|
||
namespace SharpBladeFlightAnalyzer | ||
{ | ||
public class LoadViewModel : INotifyPropertyChanged | ||
{ | ||
public event PropertyChangedEventHandler PropertyChanged; | ||
|
||
double maxProgress; | ||
double currProgress; | ||
|
||
Visibility visibility; | ||
|
||
|
||
public double MaxProgress | ||
{ | ||
get => maxProgress; | ||
set | ||
{ | ||
maxProgress = value; | ||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("MaxProgress")); | ||
} | ||
} | ||
public double CurrProgress | ||
{ | ||
get => currProgress; | ||
set | ||
{ | ||
currProgress = value; | ||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("CurrProgress")); | ||
} | ||
} | ||
|
||
public Visibility Visibility | ||
{ | ||
get => visibility; | ||
set | ||
{ | ||
visibility = value; | ||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("Visibility")); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters