Added: add group in main menu
This commit is contained in:
parent
928adf8f04
commit
596ca930b9
14
MainForm.cs
14
MainForm.cs
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user