Added: add group in main menu

This commit is contained in:
Ray committed 2021-08-01 16:00:20 +01:00
1 parent 928adf8f04
commit 596ca930b9
3 files changed
+9 -16

No files matched your search

+6 -8
View File
@@ -1,11 +1,9 @@
using FizzyLauncher.Models;
using FizzyLauncher.Text.Json;
using FizzyLauncher.Windows.Forms;
using RyzStudio.Windows.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
@@ -170,6 +168,7 @@ namespace FizzyLauncher
sessionFilename = null;
}
protected async Task collapseWindow(int width, int increment = 6)
{
await Task.Run(() =>
@@ -560,13 +559,12 @@ namespace FizzyLauncher
/// <param name="e"></param>
private void addGroupToolStripMenuItem_Click(object sender, EventArgs e)
{
if (string.IsNullOrWhiteSpace(sessionFilename))
{
return;
}
//if (string.IsNullOrWhiteSpace(sessionFilename))
//{
// return;
//}
tileContainer1.Add();
}
+3 -2
View File
@@ -238,10 +238,11 @@ namespace FizzyLauncher.Windows.Forms
switch (dialogMode)
{
case DialogModeType.Add:
this.Text = "Add Tile List";
this.Text = "Add Folder";
textBox1.Text = "New Folder";
break;
case DialogModeType.Edit:
this.Text = "Edit Tile List";
this.Text = "Edit Folder";
break;
default: break;
}
-6
View File
@@ -4,9 +4,6 @@ using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FizzyLauncher.Windows.Forms
@@ -148,8 +145,5 @@ namespace FizzyLauncher.Windows.Forms
InvalidateColumnSize();
}
}
}