private void ViewTypeSelectionDialog_Shown(object sender, EventArgs e) { //DebugLog.Message("Shown"); //while ((Form.MouseButtons & MouseButtons.Left) != 0) // Application.DoEvents(); AddChartViewMenu.ShowPopup(this.Location); // show the menu at the location where the form is shown //ShowMenu.PerformClick(); //ShowMenu.Focus(); //SendKeys.Send("{ENTER}"); }
private void ShowMenu_Click(object sender, EventArgs e) { // dev test AddChartViewMenu.ShowPopup(this.Location); // show where form is }