public void OnPreview()
 {
     if (previewer == null)
     {
         previewer = new frmWebClientQueryEditor(wcq);
     }
     previewer.ShowDialog();
     previewer = null;
 }
 public void OnPreview(object sender, EventArgs e)
 {
     if (previewer == null)
     {
         previewer = new frmWebClientQueryEditor(this.Component as WebClientQuery);
     }
     previewer.ShowDialog();
     previewer = null;
 }