mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
save ctor
This commit is contained in:
parent
3a48c8857b
commit
2b98b2148a
1 changed files with 1 additions and 6 deletions
|
@ -31,7 +31,7 @@ namespace CalculatorApp.ManagedViewModels
|
||||||
private bool _isAlwaysOnTop = false;
|
private bool _isAlwaysOnTop = false;
|
||||||
private bool _displayNormalAlwaysOnTopOption;
|
private bool _displayNormalAlwaysOnTopOption;
|
||||||
private string _categoryName;
|
private string _categoryName;
|
||||||
private IList<NavCategoryGroup> _categories;
|
private IList<NavCategoryGroup> _categories = NavCategoryStates.CreateMenuOptions();
|
||||||
|
|
||||||
public const string WidthLocalSettingsKey = "calculatorAlwaysOnTopLastWidth";
|
public const string WidthLocalSettingsKey = "calculatorAlwaysOnTopLastWidth";
|
||||||
public const string HeightLocalSettingsKey = "calculatorAlwaysOnTopLastHeight";
|
public const string HeightLocalSettingsKey = "calculatorAlwaysOnTopLastHeight";
|
||||||
|
@ -196,11 +196,6 @@ namespace CalculatorApp.ManagedViewModels
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ApplicationViewModel()
|
|
||||||
{
|
|
||||||
Categories = NavCategoryStates.CreateMenuOptions();
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task ToggleAlwaysOnTop(float width, float height)
|
public async Task ToggleAlwaysOnTop(float width, float height)
|
||||||
{
|
{
|
||||||
var DefaultSize = new Size(320, 394);
|
var DefaultSize = new Size(320, 394);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue