public QueryDialog(LibraryDialog parent) : this()
        {
            ParentDialog = parent;
            InitializeComponent();

            queryComboBox.BeginUpdate();
            queryComboBox.Items.AddRange(Queries.Name);
            queryComboBox.EndUpdate();

            queryComboBox.SelectedIndex = CurrentIndex;
            queryTextBox.Text           = Queries.WhereClause [CurrentIndex];
            Update();
        }
        public VisualizationDialog(LibraryDialog parent) : this()
        {
            ParentDialog = parent;
            InitializeComponent();

            ResizeBegin += new EventHandler(VisualizationResizeBegin);
            ResizeEnd   += new EventHandler(VisualizationResizeEnd);
            SizeChanged += new EventHandler(VisualizationResize);

            logXAxisToolStripMenuItem.Checked            = Visualization.LogXAxis == CheckState.Checked ? true : false;
            logYAxisToolStripMenuItem.Checked            = Visualization.LogYAxis == CheckState.Checked ? true : false;
            includeNamesToolStripMenuItem.Checked        = Visualization.IncludeNames == CheckState.Checked ? true : false;
            includeErrorBarsToolStripMenuItem.Checked    = Visualization.IncludeErrorBars == CheckState.Checked ? true : false;
            includeDuplicatesToolStripMenuItem.Checked   = Visualization.IncludeDuplicates == CheckState.Checked ? true : false;
            utilizeQueryToolStripMenuItem.Checked        = Visualization.UtilizeQuery == CheckState.Checked ? true : false;
            includeBestFitLineToolStripMenuItem.Checked  = Visualization.IncludeBestFitLine == CheckState.Checked ? true : false;
            includeBestFitCurveToolStripMenuItem.Checked = Visualization.IncludeBestFitCurve == CheckState.Checked ? true : false;

            EnableNDisable();

            RefreshGraphics();
        }
 public ExoplanetDetails(LibraryDialog parent) : this()
 {
     ParentDialog = parent;
     InitializeComponent();
     CreatePlanetListView();
 }