Note that there are some explanatory texts on larger screens.

plurals
  1. POSimple UI issue in winforms
    text
    copied!<p>I have a simple winforms application, on performing operations it shows a child window everytime. If I open a browser window (fully maximized) or some other window as usual the application goes back with its childwindow, on clicking the exe which is in the taskbar only the child window gets visible,but the application window doesn't come into view. I want to know how to show both the windows when I select it from taskbar.</p> <p>childwindow is also a winform,whose toplevel property is set as true,apart from it nothing is new(JUST BY CLICKING A BUTTON OR CELL IN GRID I CREATE AN OBJECT FOR THE FORM AND USES IT SHOW PROPERTY TO SHOW)</p> <pre><code> AlertMsgWindow _alertMsg; void dataGridViewAlerts_MouseDoubleClick(object sender, MouseEventArgs e) { try { if (!string.IsNullOrEmpty(this.dataGridViewAlerts.getValue(0, this.dataGridViewAlerts.SelectedRow))) { this.dataGridViewAlerts.setCellImage(0, this.dataGridViewAlerts.SelectedRow, "NewsIconRead"); if (_alertMsg == null || _alertMsg.IsDisposed) { if (_alertMsg != null) { _alertMsg.onDeleteMessageRequest -= new DeleteMessage(_alertMsg_onDeleteMessageRequest); _alertMsg.Dispose(); } _alertMsg = new AlertMsgWindow(); _alertMsg.onDeleteMessageRequest += new DeleteMessage(_alertMsg_onDeleteMessageRequest); } _alertMsg.FillDetails(alertDetails[IDcollection[this.dataGridViewAlerts.SelectedRow]]); if (!_alertMsg.Visible) { _alertMsg.Location = PointToScreen(new Point(this.Width / 4, -this.Height)); _alertMsg.Show(this); } if (onReadMessageReq != null) onReadMessageReq(IDcollection[this.dataGridViewAlerts.SelectedRow]); } } catch (Exception) { } } </code></pre> <p><strong>Note: THIS IS HAPPENING ONLY IN WINDOWS2000</strong></p> <p>I used a component named Dotnetmagic.dll,i dont know whether it causes the problem.can somebody helps me to solve this</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload