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