Esempio n. 1
0
        public DetailsDialog(ImpactCratersDialog parent)
        {
            ParentDialog = parent;
            InitializeComponent();

            ResizeBegin += new EventHandler(LibraryResizeBegin);
            ResizeEnd   += new EventHandler(LibraryResizeEnd);
            SizeChanged += new EventHandler(LibraryResize);
        }
        public QueryDialog(ImpactCratersDialog parent) : this()
        {
            ParentDialog = parent;
            InitializeComponent();

            Queries.ReadQueries();

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

            queryComboBox.SelectedIndex = CurrentIndex;
            queryTextBox.Text           = Queries.WhereClause [CurrentIndex];
            Update();
        }