private void frmMonitor_MouseClick(object sender, MouseEventArgs e) { menuStrip1.Visible = false; //tslGraph2.Visible = true; if (e.Y > (this.Size.Height - 60) && e.X > (this.Size.Width - 50) && e.Button == MouseButtons.Right) { frmMonitorInstant f = new frmMonitorInstant(); f.ShowDialog(); } }
private void instantModeToolStripMenuItem_Click(object sender, EventArgs e) { frmMonitorInstant f = new frmMonitorInstant(); f.ShowDialog(); }