P
PTDanh
Guest
I use Panel control to play video file using right mouse click to show menu and then add a video file. In first time, Menu is shown, I add video file and when panel control run video, I click mouse again to change other file, Menustrip control is not show
This is my code:
private void panel1_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
showUdpData();
RightContextMenuStrip.Show(new Point(MousePosition.X, MousePosition.Y));
rightClickPanel = 0;
}
}
Continue reading...
This is my code:
private void panel1_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
showUdpData();
RightContextMenuStrip.Show(new Point(MousePosition.X, MousePosition.Y));
rightClickPanel = 0;
}
}
Continue reading...