This commit is contained in:
stax76
2017-09-02 04:35:24 +02:00
parent d84127f178
commit c4cf7ed11b
44 changed files with 7143 additions and 97 deletions

View File

@@ -51,29 +51,4 @@ namespace mpvnet
Math.Abs(screenPos.Y - Control.MousePosition.Y) > 10;
}
}
public static class MsgBox
{
public static void MsgInfo(string text)
{
MessageBox.Show(text, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
public class ContextMenuEx : ContextMenu
{
public bool Visible { get ; set; }
protected override void OnCollapse(EventArgs e)
{
base.OnCollapse(e);
Visible = false;
}
protected override void OnPopup(EventArgs e)
{
base.OnPopup(e);
Visible = true;
}
}
}