public void QuickSearch() { QuickSearchDlg qsDlg = new QuickSearchDlg(this); Rectangle client = Bounds; qsDlg.Location = new Point(client.Left, client.Bottom - qsDlg.Height); qsDlg.Show(); }
public void QuickSearch() { QuickSearchDlg qsDlg = new QuickSearchDlg(this); Rectangle client = ClientRectangle; qsDlg.Location = PointToScreen(new Point(client.Left, client.Bottom - qsDlg.Height)); qsDlg.Show(); }
void IWorkWindow.QuickSearch() { if (!AllowQuickSearch()) { return; } QuickSearchDlg qsDlg = new QuickSearchDlg(this); Rectangle client = Bounds; qsDlg.Location = new Point(client.Left, client.Bottom - qsDlg.Height); qsDlg.Show(); }