Archived
WIP: Upgrade to .NET 8
Upgrade to RyzStudio8 Rewrite
This commit is contained in:
1 parent
22d4f15bc9
commit
f06d311f40
32 files changed
+4058
-2679
No files matched your search
+45
-22
@@ -1,42 +1,65 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using RyzStudio.Windows.ThemedForms.ButtonTextBox;
|
||||
|
||||
namespace FizzyLauncher.Models
|
||||
{
|
||||
public class LauncherSession
|
||||
{
|
||||
public class HotKeyOptions
|
||||
{
|
||||
public bool IsCtrl { get; set; } = false;
|
||||
public bool IsAlt { get; set; } = false;
|
||||
public bool IsShift { get; set; } = false;
|
||||
public int Key { get; set; } = (int)System.Windows.Forms.Keys.None;
|
||||
public int TilesPerRow { get; set; } = 8;
|
||||
|
||||
public int ModifierCode => ((this.IsAlt ? 1 : 0) + (this.IsCtrl ? 2 : 0) + (this.IsShift ? 4 : 0));
|
||||
public bool ShowBigIcons { get; set; } = true;
|
||||
|
||||
public System.Windows.Forms.Keys KeyCode => (System.Windows.Forms.Keys)this.Key;
|
||||
}
|
||||
public ThKeyCodeTextBox.Results ShowToggleHotkey { get; set; } = null;
|
||||
|
||||
public enum AutoSaveOption
|
||||
{
|
||||
Prompt = 0,
|
||||
Yes,
|
||||
No
|
||||
}
|
||||
public bool HideOnClose { get; set; } = true;
|
||||
|
||||
public int DefaultHeight { get; set; } = 280;
|
||||
public HotKeyOptions HotKey { get; set; } = null;
|
||||
public bool HideOnExecute { get; set; } = true;
|
||||
|
||||
public bool AlwaysOnTop { get; set; } = false;
|
||||
public bool EnableAnimation { get; set; } = false;
|
||||
public bool EnableBigIconInFolder { get; set; } = false;
|
||||
|
||||
public bool HideOnClose { get; set; } = false;
|
||||
public bool HideOnClick { get; set; } = false;
|
||||
public AutoSaveOption AutoSave { get; set; } = AutoSaveOption.Prompt;
|
||||
|
||||
|
||||
//public class HotKeyOptions
|
||||
//{
|
||||
// public bool IsCtrl { get; set; } = false;
|
||||
// public bool IsAlt { get; set; } = false;
|
||||
// public bool IsShift { get; set; } = false;
|
||||
// public int Key { get; set; } = (int)System.Windows.Forms.Keys.None;
|
||||
|
||||
// public int ModifierCode => ((this.IsAlt ? 1 : 0) + (this.IsCtrl ? 2 : 0) + (this.IsShift ? 4 : 0));
|
||||
|
||||
// public System.Windows.Forms.Keys KeyCode => (System.Windows.Forms.Keys)this.Key;
|
||||
//}
|
||||
|
||||
//public enum AutoSaveOption
|
||||
//{
|
||||
// Prompt = 0,
|
||||
// Yes,
|
||||
// No
|
||||
//}
|
||||
|
||||
//public int DefaultHeight { get; set; } = 280;
|
||||
|
||||
//public ThKeyCodeTextBox.Results HotKey { get; set; } = null;
|
||||
|
||||
//public bool AlwaysOnTop { get; set; } = false;
|
||||
//public bool EnableAnimation { get; set; } = false;
|
||||
//public bool EnableBigIconInFolder { get; set; } = false;
|
||||
|
||||
//public bool HideOnClose { get; set; } = false;
|
||||
//public bool HideOnClick { get; set; } = false;
|
||||
//public AutoSaveOption AutoSave { get; set; } = AutoSaveOption.Prompt;
|
||||
|
||||
public List<TileGroupModel> Groups { get; set; } = new List<TileGroupModel>();
|
||||
|
||||
public Point StartPosition { get; set; } = Point.Empty;
|
||||
|
||||
public int Height { get; set; } = 280;
|
||||
|
||||
|
||||
//public int ColumnCount { get; set; } = 8;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace FizzyLauncher.Models
|
||||
{
|
||||
public class NewFormModel
|
||||
{
|
||||
public int ColumnCount { get; set; } = 8;
|
||||
|
||||
public int GroupCount { get; set; } = 1;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user