Merge branch 'release/0.2.2.018' into 'master'

Release/0.2.2.018

See merge request SympatheticFire/linear-app-launcher!30
This commit is contained in:
Ray 2021-07-31 15:21:51 +00:00
commit dc1002c108
18 changed files with 888 additions and 165 deletions

View File

@ -12,9 +12,9 @@
<Company>Hi, I'm Ray</Company>
<Product>Fizzy Launcher</Product>
<Copyright>Ray Lam</Copyright>
<AssemblyVersion>0.2.2.015</AssemblyVersion>
<FileVersion>0.2.2.015</FileVersion>
<Version>0.2.2.015</Version>
<AssemblyVersion>0.2.2.018</AssemblyVersion>
<FileVersion>0.2.2.018</FileVersion>
<Version>0.2.2.018</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

View File

@ -41,6 +41,7 @@ namespace FizzyLauncher
notifyIcon1.Text = Application.ProductName;
this.AutoScaleMode = AutoScaleMode.None;
this.StartPosition = FormStartPosition.WindowsDefaultBounds;
this.Visible = false;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

View File

@ -17,9 +17,9 @@
stroke-width="2"
stroke="currentColor"
fill="none"
viewBox="0 0 24 24"
height="24"
width="24">
viewBox="0 0 169.84447 96.385719"
height="96.385719"
width="169.84447">
<metadata
id="metadata14">
<rdf:RDF>
@ -39,9 +39,9 @@
inkscape:window-maximized="1"
inkscape:window-y="845"
inkscape:window-x="1072"
inkscape:cy="32.669404"
inkscape:cx="34.52045"
inkscape:zoom="8.8541667"
inkscape:cy="82.547694"
inkscape:cx="114.18197"
inkscape:zoom="6.2608413"
showgrid="false"
id="namedview10"
inkscape:window-height="1017"
@ -53,11 +53,16 @@
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff" />
pagecolor="#ffffff"
inkscape:document-rotation="0"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.80171614,0,0,0.7982539,-19.821146,-4.9600081)"
transform="matrix(0.80171614,0,0,0.7982539,18.396568,-1.5965078)"
id="g842">
<path
d="M 19,21 H 5 A 2,2 0 0 1 3,19 V 5 A 2,2 0 0 1 5,3 h 11 l 5,5 v 11 a 2,2 0 0 1 -2,2 z"
@ -72,7 +77,7 @@
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.65647058,0,0,0.65647058,-38.541176,18.042352)"
transform="matrix(0.65647058,0,0,0.65647058,4e-8,20)"
id="g894"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<circle
@ -91,7 +96,7 @@
inkscape:export-xdpi="96"
style="stroke:#d4d4d4;stroke-opacity:1"
id="g842-8"
transform="matrix(0.80171614,0,0,0.7982539,-39.211182,-4.9484586)">
transform="matrix(0.80171614,0,0,0.7982539,-1.6034323,-1.5965078)">
<path
style="stroke:#d4d4d4;stroke-opacity:1"
id="path2-6"
@ -110,7 +115,7 @@
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g894-2"
transform="matrix(0.65647058,0,0,0.65647058,-18.832941,20.583529)">
transform="matrix(0.65647058,0,0,0.65647058,20,20)">
<circle
id="circle880-3"
r="3"
@ -123,7 +128,7 @@
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.7484492,0,0,0.7484492,12.533904,-3.390802)"
transform="matrix(0.7484492,0,0,0.7484492,-0.74844916,39.251551)"
id="g958"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<circle
@ -149,7 +154,7 @@
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g958-4"
transform="matrix(0.7484492,0,0,0.7484492,31.790374,-3.2213904)">
transform="matrix(0.7484492,0,0,0.7484492,19.251551,39.251551)">
<circle
id="circle941-9"
r="10"
@ -165,4 +170,434 @@
y1="17"
x1="12" />
</g>
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g1510"
transform="translate(36,-4)">
<line
id="line1496"
y2="19"
x2="12"
y1="5"
x1="12"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1498"
y2="12"
x2="19"
y1="12"
x1="5"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="translate(56,-4)"
id="g1510-0"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round">
<line
x1="12"
y1="5"
x2="12"
y2="19"
id="line1496-5" />
<line
x1="5"
y1="12"
x2="19"
y2="12"
id="line1498-1" />
</g>
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g1560"
transform="matrix(0.81929378,0,0,0.81929378,38.361382,18.491799)"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<path
id="path1546"
d="m 12,20 h 9"
style="stroke:#d4d4d4;stroke-opacity:1" />
<path
id="path1548"
d="m 16.5,3.5 a 2.1213203,2.1213203 0 0 1 3,3 L 7,19 3,20 4,16 Z"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.81929378,0,0,0.81929378,58.361382,18.491799)"
id="g1560-8"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<path
d="m 12,20 h 9"
id="path1546-2" />
<path
d="m 16.5,3.5 a 2.1213203,2.1213203 0 0 1 3,3 L 7,19 3,20 4,16 Z"
id="path1548-4" />
</g>
<line
id="line1498-7"
y2="48"
x2="55"
y1="48"
x1="41"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<line
style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
x1="61"
y1="48"
x2="75"
y2="48"
id="line1498-1-9" />
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g1631"
transform="matrix(0.88705882,0,0,0.88705882,36.451765,57.338728)"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<polygon
id="polygon1617"
points="19,4 19,20 9,12 "
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1619"
y2="5"
x2="5"
y1="19"
x1="5"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.88705882,0,0,0.88705882,56.451765,57.338728)"
id="g1631-1"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<polygon
points="9,12 19,4 19,20 "
id="polygon1617-1" />
<line
x1="5"
y1="19"
x2="5"
y2="5"
id="line1619-8" />
</g>
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g1706"
transform="matrix(0.712,0,0,0.712,-0.12988241,63.506823)">
<polyline
id="polyline1686"
points="3 6 5 6 21 6"
style="stroke:#d4d4d4;stroke-opacity:1" />
<path
id="path1688"
d="m 19,6 v 14 a 2,2 0 0 1 -2,2 H 7 A 2,2 0 0 1 5,20 V 6 M 8,6 V 4 a 2,2 0 0 1 2,-2 h 4 a 2,2 0 0 1 2,2 v 2"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1690"
y2="17"
x2="10"
y1="11"
x1="10"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1692"
y2="17"
x2="14"
y1="11"
x1="14"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.712,0,0,0.712,19.691294,63.39953)"
id="g1706-5"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round">
<polyline
points="3 6 5 6 21 6"
id="polyline1686-0" />
<path
d="m 19,6 v 14 a 2,2 0 0 1 -2,2 H 7 A 2,2 0 0 1 5,20 V 6 M 8,6 V 4 a 2,2 0 0 1 2,-2 h 4 a 2,2 0 0 1 2,2 v 2"
id="path1688-2" />
<line
x1="10"
y1="11"
x2="10"
y2="17"
id="line1690-1" />
<line
x1="14"
y1="11"
x2="14"
y2="17"
id="line1692-7" />
</g>
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g1746"
transform="matrix(0.88297886,0,0,0.81929262,37.468085,78.361347)"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<polygon
id="polygon1735"
points="5,21 5,3 19,12 "
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.88297886,0,0,0.81929262,57.468085,78.361347)"
id="g1746-7"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<polygon
points="19,12 5,21 5,3 "
id="polygon1735-2" />
</g>
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g1783"
transform="matrix(0.80034632,0,0,0.80034632,78.399307,-1.6006926)"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<rect
id="rect1766"
ry="2"
rx="2"
height="18"
width="18"
y="3"
x="3"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1768"
y2="16"
x2="12"
y1="8"
x1="12"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1770"
y2="12"
x2="16"
y1="12"
x1="8"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.80034632,0,0,0.80034632,98.399307,-1.6006926)"
id="g1783-8"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<rect
x="3"
y="3"
width="18"
height="18"
rx="2"
ry="2"
id="rect1766-0" />
<line
x1="12"
y1="8"
x2="12"
y2="16"
id="line1768-6" />
<line
x1="8"
y1="12"
x2="16"
y2="12"
id="line1770-7" />
</g>
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g1823"
transform="matrix(0.80034632,0,0,0.80034632,78.399307,18.399307)"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<rect
id="rect1809"
ry="2"
rx="2"
height="18"
width="18"
y="3"
x="3"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1811"
y2="12"
x2="16"
y1="12"
x1="8"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.80034632,0,0,0.80034632,98.399307,18.399307)"
id="g1823-1"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<rect
x="3"
y="3"
width="18"
height="18"
rx="2"
ry="2"
id="rect1809-3" />
<line
x1="8"
y1="12"
x2="16"
y2="12"
id="line1811-8" />
</g>
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g1863"
transform="matrix(0.81745949,0,0,0.81745949,81.164106,40.822659)"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<line
id="line1846"
y2="12"
x2="21"
y1="12"
x1="3"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1848"
y2="6"
x2="21"
y1="6"
x1="3"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line1850"
y2="18"
x2="21"
y1="18"
x1="3"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.81745949,0,0,0.81745949,101.35765,40.982382)"
id="g1863-1"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<line
x1="3"
y1="12"
x2="21"
y2="12"
id="line1846-4" />
<line
x1="3"
y1="6"
x2="21"
y2="6"
id="line1848-6" />
<line
x1="3"
y1="18"
x2="21"
y2="18"
id="line1850-4" />
</g>
<g
transform="matrix(0.74589532,0,0,0.74589532,96.546258,74.664217)"
id="g929"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round">
<circle
cx="12"
cy="12"
r="10"
id="circle915" />
<rect
x="9"
y="9"
width="6"
height="6"
id="rect917" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="stroke:#d4d4d4;stroke-opacity:1"
id="g983">
<circle
style="fill:none;stroke:#d4d4d4;stroke-width:1.49179;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="circle915-1"
r="7.4589534"
cy="71.717644"
cx="139.14354" />
<g
transform="matrix(0.3092242,0,0,0.3092242,135.44162,67.965769)"
id="g1863-1-2"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="3"
y1="12"
x2="21"
y2="12"
id="line1846-4-8" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="3"
y1="6"
x2="21"
y2="6"
id="line1848-6-9" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="3"
y1="18"
x2="21"
y2="18"
id="line1850-4-1" />
</g>
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="translate(22.49608,0.1576808)"
id="g983-2">
<circle
cx="139.14354"
cy="71.717644"
r="7.4589534"
id="circle915-1-5"
style="fill:none;stroke:#000000;stroke-width:1.49179;stroke-linecap:round;stroke-linejoin:round" />
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g1863-1-2-2"
transform="matrix(0.3092242,0,0,0.3092242,135.44162,67.965769)">
<line
id="line1846-4-8-9"
y2="12"
x2="21"
y1="12"
x1="3" />
<line
id="line1848-6-9-2"
y2="6"
x2="21"
y1="6"
x1="3" />
<line
id="line1850-4-1-6"
y2="18"
x2="21"
y1="18"
x1="3" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 18 KiB

BIN
Resources/UI/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

BIN
Resources/UI/menu2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

View File

@ -20,7 +20,7 @@ namespace RyzStudio.Windows.ThemedForms
this.StartPosition = FormStartPosition.CenterParent;
this.TopMost = true;
this.SizeGripStyle = SizeGripStyle.Hide;
this.AutoScaleMode = AutoScaleMode.Font;
this.AutoScaleMode = AutoScaleMode.None;
}
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]

View File

@ -22,14 +22,14 @@ namespace RyzStudio.Windows.ThemedForms
listBox1.BorderStyle = BorderStyle.None;
}
protected override void OnResize(EventArgs e)
{
base.OnResize(e);
//protected override void OnResize(EventArgs e)
//{
// base.OnResize(e);
//int b = (styleActive.BorderWidth + 1) + styleActive.BorderPadding;
// //int b = (styleActive.BorderWidth + 1) + styleActive.BorderPadding;
//this.Height = comboBox1.Height + (b + textboxPadding.Top) + ((b - 1) + textboxPadding.Bottom);
}
// //this.Height = comboBox1.Height + (b + textboxPadding.Top) + ((b - 1) + textboxPadding.Bottom);
//}
protected override void OnGotFocus(EventArgs e)
{
@ -49,12 +49,10 @@ namespace RyzStudio.Windows.ThemedForms
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public new Padding Margin { get => base.Margin; set => base.Margin = value; }
[Category("Action")]
[Browsable(true)]
[Browsable(false)]
public event EventHandler OnAdd;
[Category("Action")]
[Browsable(true)]
[Browsable(false)]
public event EventHandler OnEdit;
protected override void updateBackground(Graphics g, ThemeStyle style)
@ -88,6 +86,21 @@ namespace RyzStudio.Windows.ThemedForms
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void tImageBox1_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button != MouseButtons.Left)
{
return;
}
editToolStripMenuItem_Click(sender, e);
}
/// <summary>
/// Menu
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void imageBox5_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button != MouseButtons.Left)
@ -95,36 +108,7 @@ namespace RyzStudio.Windows.ThemedForms
return;
}
this.OnEdit?.Invoke(sender, e);
}
/// <summary>
/// Remove
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void imageBox2_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button != MouseButtons.Left)
{
return;
}
if (listBox1.SelectedIndex < 0)
{
return;
}
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
if (pos > (listBox1.Items.Count - 1))
{
pos = (listBox1.Items.Count - 1);
}
listBox1.SelectedIndex = pos;
contextMenuStrip1.Show(Cursor.Position);
}
/// <summary>
@ -142,23 +126,7 @@ namespace RyzStudio.Windows.ThemedForms
}
}
if (listBox1.SelectedIndex <= 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert((pos - 1), item);
listBox1.SelectedIndex = (pos - 1);
moveUpToolStripMenuItem_Click(sender, e);
}
/// <summary>
@ -176,26 +144,13 @@ namespace RyzStudio.Windows.ThemedForms
}
}
if (listBox1.SelectedIndex >= (listBox1.Items.Count - 1))
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert((pos + 1), item);
listBox1.SelectedIndex = (pos + 1);
moveDownToolStripMenuItem_Click(sender, e);
}
private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e) => imageBox5_MouseClick(sender, e);
private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e)
{
editToolStripMenuItem_Click(sender, e);
}
private void listBox1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
{
@ -229,5 +184,202 @@ namespace RyzStudio.Windows.ThemedForms
}
}
#region context menu
/// <summary>
/// Add
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void addItemToolStripMenuItem_Click(object sender, EventArgs e)
{
this.OnAdd?.Invoke(sender, e);
}
/// <summary>
/// Copy
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void toolStripMenuItem2_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex <= 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
listBox1.Items.Add(item);
listBox1.SelectedIndex = (listBox1.Items.Count- 1);
}
/// <summary>
/// Edit
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void editToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex < 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
this.OnEdit?.Invoke(sender, e);
}
/// <summary>
/// Remove
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void removeToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex < 0)
{
return;
}
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
if (pos > (listBox1.Items.Count - 1))
{
pos = (listBox1.Items.Count - 1);
}
listBox1.SelectedIndex = pos;
}
/// <summary>
/// Remove all
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void toolStripMenuItem1_Click(object sender, EventArgs e)
{
listBox1.Items.Clear();
}
/// <summary>
/// Move to top
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void moveToTopToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex <= 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert(0, item);
listBox1.SelectedIndex = 0;
}
/// <summary>
/// Move up
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void moveUpToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex <= 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert((pos - 1), item);
listBox1.SelectedIndex = (pos - 1);
}
/// <summary>
/// Move down
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void moveDownToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex >= (listBox1.Items.Count - 1))
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert((pos + 1), item);
listBox1.SelectedIndex = (pos + 1);
}
/// <summary>
/// Move to bottom
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void moveToBottomToolStripMenuItem_Click(object sender, EventArgs e)
{
int n = (listBox1.Items.Count - 1);
if (listBox1.SelectedIndex >= (listBox1.Items.Count - 1))
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert(n, item);
listBox1.SelectedIndex = n;
}
#endregion
}
}

View File

@ -35,14 +35,28 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox5 = new RyzStudio.Windows.Forms.TImageBox();
this.imageBox4 = new RyzStudio.Windows.Forms.TImageBox();
this.imageBox3 = new RyzStudio.Windows.Forms.TImageBox();
this.imageBox2 = new RyzStudio.Windows.Forms.TImageBox();
this.imageBox1 = new RyzStudio.Windows.Forms.TImageBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.addItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.moveToTopToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.moveUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.moveDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.moveToBottomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tImageBox1 = new RyzStudio.Windows.Forms.TImageBox();
((System.ComponentModel.ISupportInitialize)(this.imageBox5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox1)).BeginInit();
this.contextMenuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tImageBox1)).BeginInit();
this.SuspendLayout();
//
// listBox1
@ -50,12 +64,12 @@ namespace RyzStudio.Windows.ThemedForms
this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.listBox1.BackColor = System.Drawing.Color.FromKnownColor(KnownColor.Window);
this.listBox1.BackColor = System.Drawing.SystemColors.Window;
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 15;
this.listBox1.Location = new System.Drawing.Point(4, 4);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(98, 109);
this.listBox1.Size = new System.Drawing.Size(98, 214);
this.listBox1.TabIndex = 0;
this.listBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseDoubleClick);
this.listBox1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.listBox1_PreviewKeyDown);
@ -69,22 +83,22 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox5.BackColorSelected = System.Drawing.Color.Transparent;
this.imageBox5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.imageBox5.ErrorImage = null;
this.imageBox5.HoverImage = global::FizzyLauncher.UIResource.edit2;
this.imageBox5.Image = global::FizzyLauncher.UIResource.edit;
this.imageBox5.ImageHover = global::FizzyLauncher.UIResource.edit2;
this.imageBox5.ImageNormal = global::FizzyLauncher.UIResource.edit;
this.imageBox5.HoverImage = global::FizzyLauncher.UIResource.circle_menu2;
this.imageBox5.Image = global::FizzyLauncher.UIResource.circle_menu;
this.imageBox5.ImageHover = global::FizzyLauncher.UIResource.circle_menu2;
this.imageBox5.ImageNormal = global::FizzyLauncher.UIResource.circle_menu;
this.imageBox5.ImageSelected = null;
this.imageBox5.InitialImage = null;
this.imageBox5.IsSelected = false;
this.imageBox5.Location = new System.Drawing.Point(106, 24);
this.imageBox5.Location = new System.Drawing.Point(106, 48);
this.imageBox5.Name = "imageBox5";
this.imageBox5.NormalImage = global::FizzyLauncher.UIResource.edit;
this.imageBox5.NormalImage = global::FizzyLauncher.UIResource.circle_menu;
this.imageBox5.SelectedImage = null;
this.imageBox5.Size = new System.Drawing.Size(18, 18);
this.imageBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.imageBox5.TabIndex = 6;
this.imageBox5.TabStop = false;
this.toolTip1.SetToolTip(this.imageBox5, "Edit Item");
this.toolTip1.SetToolTip(this.imageBox5, "Menu");
this.imageBox5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox5_MouseClick);
this.imageBox5.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox5_MouseClick);
//
@ -112,7 +126,7 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.imageBox4.TabIndex = 5;
this.imageBox4.TabStop = false;
this.toolTip1.SetToolTip(this.imageBox4, "Move Bottom");
this.toolTip1.SetToolTip(this.imageBox4, "Move Down");
this.imageBox4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox4_MouseClick);
this.imageBox4.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox4_MouseClick);
//
@ -144,34 +158,6 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox3_MouseClick);
this.imageBox3.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox3_MouseClick);
//
// imageBox2
//
this.imageBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.imageBox2.BackColor = System.Drawing.Color.Transparent;
this.imageBox2.BackColorHover = System.Drawing.Color.Transparent;
this.imageBox2.BackColorNormal = System.Drawing.Color.Transparent;
this.imageBox2.BackColorSelected = System.Drawing.Color.Transparent;
this.imageBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.imageBox2.ErrorImage = null;
this.imageBox2.HoverImage = global::FizzyLauncher.UIResource.minus2;
this.imageBox2.Image = global::FizzyLauncher.UIResource.minus;
this.imageBox2.ImageHover = global::FizzyLauncher.UIResource.minus2;
this.imageBox2.ImageNormal = global::FizzyLauncher.UIResource.minus;
this.imageBox2.ImageSelected = null;
this.imageBox2.InitialImage = null;
this.imageBox2.IsSelected = false;
this.imageBox2.Location = new System.Drawing.Point(106, 48);
this.imageBox2.Name = "imageBox2";
this.imageBox2.NormalImage = global::FizzyLauncher.UIResource.minus;
this.imageBox2.SelectedImage = null;
this.imageBox2.Size = new System.Drawing.Size(18, 18);
this.imageBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.imageBox2.TabIndex = 3;
this.imageBox2.TabStop = false;
this.toolTip1.SetToolTip(this.imageBox2, "Remove Item");
this.imageBox2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox2_MouseClick);
this.imageBox2.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox2_MouseClick);
//
// imageBox1
//
this.imageBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@ -196,27 +182,152 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.imageBox1.TabIndex = 2;
this.imageBox1.TabStop = false;
this.toolTip1.SetToolTip(this.imageBox1, "Add Item");
this.toolTip1.SetToolTip(this.imageBox1, "Add");
this.imageBox1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox1_MouseClick);
this.imageBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox1_MouseClick);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addItemToolStripMenuItem,
this.toolStripMenuItem2,
this.toolStripSeparator3,
this.editToolStripMenuItem,
this.toolStripSeparator2,
this.removeToolStripMenuItem,
this.toolStripMenuItem1,
this.toolStripSeparator1,
this.moveToTopToolStripMenuItem,
this.moveUpToolStripMenuItem,
this.moveDownToolStripMenuItem,
this.moveToBottomToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(163, 220);
//
// addItemToolStripMenuItem
//
this.addItemToolStripMenuItem.Name = "addItemToolStripMenuItem";
this.addItemToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
this.addItemToolStripMenuItem.Text = "&Add";
this.addItemToolStripMenuItem.Click += new System.EventHandler(this.addItemToolStripMenuItem_Click);
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(162, 22);
this.toolStripMenuItem2.Text = "&Copy";
this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(159, 6);
//
// editToolStripMenuItem
//
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
this.editToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
this.editToolStripMenuItem.Text = "&Edit";
this.editToolStripMenuItem.Click += new System.EventHandler(this.editToolStripMenuItem_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(159, 6);
//
// removeToolStripMenuItem
//
this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
this.removeToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
this.removeToolStripMenuItem.Text = "&Remove";
this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(162, 22);
this.toolStripMenuItem1.Text = "Remove A&ll";
this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(159, 6);
//
// moveToTopToolStripMenuItem
//
this.moveToTopToolStripMenuItem.Name = "moveToTopToolStripMenuItem";
this.moveToTopToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
this.moveToTopToolStripMenuItem.Text = "Move To &Top";
this.moveToTopToolStripMenuItem.Click += new System.EventHandler(this.moveToTopToolStripMenuItem_Click);
//
// moveUpToolStripMenuItem
//
this.moveUpToolStripMenuItem.Name = "moveUpToolStripMenuItem";
this.moveUpToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
this.moveUpToolStripMenuItem.Text = "Move &Up";
this.moveUpToolStripMenuItem.Click += new System.EventHandler(this.moveUpToolStripMenuItem_Click);
//
// moveDownToolStripMenuItem
//
this.moveDownToolStripMenuItem.Name = "moveDownToolStripMenuItem";
this.moveDownToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
this.moveDownToolStripMenuItem.Text = "Move &Down";
this.moveDownToolStripMenuItem.Click += new System.EventHandler(this.moveDownToolStripMenuItem_Click);
//
// moveToBottomToolStripMenuItem
//
this.moveToBottomToolStripMenuItem.Name = "moveToBottomToolStripMenuItem";
this.moveToBottomToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
this.moveToBottomToolStripMenuItem.Text = "Move To &Bottom";
this.moveToBottomToolStripMenuItem.Click += new System.EventHandler(this.moveToBottomToolStripMenuItem_Click);
//
// tImageBox1
//
this.tImageBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.tImageBox1.BackColor = System.Drawing.Color.Transparent;
this.tImageBox1.BackColorHover = System.Drawing.Color.Transparent;
this.tImageBox1.BackColorNormal = System.Drawing.Color.Transparent;
this.tImageBox1.BackColorSelected = System.Drawing.Color.Transparent;
this.tImageBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.tImageBox1.ErrorImage = null;
this.tImageBox1.HoverImage = global::FizzyLauncher.UIResource.edit2;
this.tImageBox1.Image = global::FizzyLauncher.UIResource.edit;
this.tImageBox1.ImageHover = global::FizzyLauncher.UIResource.edit2;
this.tImageBox1.ImageNormal = global::FizzyLauncher.UIResource.edit;
this.tImageBox1.ImageSelected = null;
this.tImageBox1.InitialImage = null;
this.tImageBox1.IsSelected = false;
this.tImageBox1.Location = new System.Drawing.Point(106, 24);
this.tImageBox1.Name = "tImageBox1";
this.tImageBox1.NormalImage = global::FizzyLauncher.UIResource.edit;
this.tImageBox1.SelectedImage = null;
this.tImageBox1.Size = new System.Drawing.Size(18, 18);
this.tImageBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.tImageBox1.TabIndex = 7;
this.tImageBox1.TabStop = false;
this.toolTip1.SetToolTip(this.tImageBox1, "Edit");
this.tImageBox1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.tImageBox1_MouseClick);
this.tImageBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.tImageBox1_MouseClick);
//
// TListBox
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.tImageBox1);
this.Controls.Add(this.imageBox5);
this.Controls.Add(this.imageBox4);
this.Controls.Add(this.imageBox3);
this.Controls.Add(this.imageBox2);
this.Controls.Add(this.imageBox1);
this.Controls.Add(this.listBox1);
this.Name = "TListBox";
this.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
this.Size = new System.Drawing.Size(128, 120);
this.Size = new System.Drawing.Size(128, 225);
((System.ComponentModel.ISupportInitialize)(this.imageBox5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox1)).EndInit();
this.contextMenuStrip1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tImageBox1)).EndInit();
this.ResumeLayout(false);
}
@ -225,10 +336,23 @@ namespace RyzStudio.Windows.ThemedForms
private System.Windows.Forms.ListBox listBox1;
private Forms.TImageBox imageBox1;
private Forms.TImageBox imageBox2;
private Forms.TImageBox imageBox3;
private Forms.TImageBox imageBox4;
private Forms.TImageBox imageBox5;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem addItemToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem removeToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem moveToTopToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem moveUpToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem moveDownToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem moveToBottomToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
private Forms.TImageBox tImageBox1;
}
}

View File

@ -60,4 +60,10 @@
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>114, 17</value>
</metadata>
</root>

40
UIResource.Designer.cs generated
View File

@ -100,6 +100,26 @@ namespace FizzyLauncher {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap circle_menu {
get {
object obj = ResourceManager.GetObject("circle_menu", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap circle_menu2 {
get {
object obj = ResourceManager.GetObject("circle_menu2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -240,26 +260,6 @@ namespace FizzyLauncher {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap minus {
get {
object obj = ResourceManager.GetObject("minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap minus2 {
get {
object obj = ResourceManager.GetObject("minus2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View File

@ -130,6 +130,12 @@
<data name="arrow_up2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\arrow_up2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="circle_menu" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\circle_menu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="circle_menu2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\circle_menu2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="close" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -172,12 +178,6 @@
<data name="help2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\help2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="minus" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\minus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="minus2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\minus2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\plus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>

View File

@ -317,6 +317,11 @@ namespace FizzyLauncher.Windows.Forms
return;
}
if (listBox1.ListBox.SelectedItem == null)
{
return;
}
EditTileForm.ShowEditDialog(listBox1);
}

View File

@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Fizzy Launcher"
#define MyAppVersion "0.2.2.015"
#define MyAppVersion "0.2.2.018"
#define MyAppPublisher "Hi, I'm Ray"
#define MyAppURL "https://www.hiimray.co.uk/software-fizzy-launcher"
#define MyAppExeName "fizzylauncher.exe"

View File

@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Fizzy Launcher"
#define MyAppVersion "0.2.2.015"
#define MyAppVersion "0.2.2.018"
#define MyAppPublisher "Hi, I'm Ray"
#define MyAppURL "https://www.hiimray.co.uk/software-fizzy-launcher"
#define MyAppExeName "fizzylauncher.exe"