|
|
@@ -50,12 +50,12 @@ namespace UAS_XmlAnalysor
|
|
|
{
|
|
|
if (checkBox1.Checked)
|
|
|
{
|
|
|
- aa();
|
|
|
+ show();
|
|
|
Thread.Sleep(2000);
|
|
|
- bb();
|
|
|
+ hide();
|
|
|
}
|
|
|
}
|
|
|
- public void aa()
|
|
|
+ public void show()
|
|
|
{
|
|
|
if (state == 0)
|
|
|
{
|
|
|
@@ -70,7 +70,7 @@ namespace UAS_XmlAnalysor
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public void bb()
|
|
|
+ public void hide()
|
|
|
{
|
|
|
if (this.Left <= Screen.PrimaryScreen.WorkingArea.Width - 10 && state == 0)
|
|
|
{
|
|
|
@@ -132,7 +132,7 @@ namespace UAS_XmlAnalysor
|
|
|
private void checkBox1_CheckedChanged(object sender, EventArgs e)
|
|
|
{
|
|
|
if (!checkBox1.Checked)
|
|
|
- aa();
|
|
|
+ show();
|
|
|
}
|
|
|
}
|
|
|
}
|