コード例 #1
0
		public event EventHandler CallerEditValueChangedHandler; // event to fire when edit value changes

		public DataMapControl()
		{
			InitializeComponent();
			WinFormsUtil.LogControlChildren(this);

			FieldGridP0 = FieldGrid.Location;
		}
コード例 #2
0
        /// <summary>
        /// Constructor
        /// </summary>

        public ViewsPanel()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            return;
        }
コード例 #3
0
        static public bool ShowResultsViewTabs = true;         // show or hide the full set of results views tabs

/// <summary>
/// Constructor
/// </summary>

        public QueryResultsControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            if (SystemUtil.InDesignMode)
            {
                return;
            }

            while (this.Tabs.TabPages.Count > 0)             // remove existing tabs
            {
                this.Tabs.TabPages.RemoveAt(0);
            }

            //Tabs.Visible = ShowResultsViewTabs;

            //ViewTypeBitmaps16x16 = Bitmaps.ViewTypeBitmaps; // images to display on tabs (Note: images seem to need to be in this file to work)

            Tabs.Location = new Point(122, 2);         // be sure in proper location
            Tabs.Size     = new Size(374, 23);         // and proper size
            Tabs.SendToBack();

            ToolPanel.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;

            return;
        }
コード例 #4
0
/// <summary>
/// Constructor
/// </summary>

        public ColorBySelectorControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            //ColorRulesControl.RulesGrid.V.Columns["RuleName"].Visible = false; // hide rule column
            //ColorRulesControl.RulesGrid.V.Columns["BackColor1"].Caption = "Color";
        }
コード例 #5
0
        public CriteriaPanel()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            CtStructBox.Height = 141;             // restore normal height
            //Clear(); // Remove controls from criteria panel to allow later rebuild
        }
コード例 #6
0
        internal MetaTreeNode[] CurrentContentsMetaTreeNodes;      // MetaTreeNodes currently selected

        public QbContentsTree()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            ContentsTreeContextMenus = new QbContentsTreeMenus();             // context menus for main contents tree
            ContentsTreeContextMenus.QbContentsTree = this;
            Instance = this;
        }
コード例 #7
0
        //internal ResultsViewProps View { get { return SpotfirePanel?.SVP?.ResultsViewProps; } } // currently active chart
        //internal QueryManager Qm { get { return SpotfirePanel?.RootQm; } } // QueryManager associated with currently active chart on the page

        public SpotfirePageControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            Controls.Remove(ToolPanel);

            SpotfirePanel.Dock = DockStyle.Fill;
        }
コード例 #8
0
        internal PivotGridView View;         // the view associated with the page control

        public PivotGridPageControl()
        {
            InitializeComponent();

            Controls.Remove(ToolPanel);             // hide the controls
            PivotGridPanel.Dock        = DockStyle.Fill;
            PivotGridPanel.PageControl = this;
            WinFormsUtil.LogControlChildren(this);
        }
コード例 #9
0
        public Shell()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            RibbonControl.Manager.ShortcutItemClick += new ShortcutItemClickEventHandler(Manager_ShortcutItemClick);
            MainMenuControl = new MainMenuControl();
            MainMenuControl.AfterEditMenuSelected += AfterEditMenuSelected;
            LinkContextMenusToMenuBarItems();
        }
コード例 #10
0
        public FilterPanel()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            while (ScrollablePanel.Controls.Count > 0)
            {
                ScrollablePanel.Controls.RemoveAt(0);
            }
        }
コード例 #11
0
        const int FixedTabs      = 0;    // number of fixed tabs in MainTabs

        /// <summary>
        /// Basic constructor
        /// </summary>

        public QueriesControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            while (this.Tabs.TabPages.Count > FixedTabs)             // remove all "non-fixed" tabs
            {
                this.Tabs.TabPages.RemoveAt(FixedTabs);
            }

            Instance = this;
        }
コード例 #12
0
        /// <summary>
        /// Default constructor
        /// </summary>

        public QuickSearchPopup()
        {
            InitializeComponent();

            WinFormsUtil.LogControlChildren(this);

            if (SystemUtil.InRuntimeMode)
            {
                RelatedStructuresControl.BorderStyle = BorderStyle.None;
            }

            return;
        }
コード例 #13
0
/// <summary>
/// Constructor
/// </summary>

        public ResultsPageControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            ResultsPagePanel.ResultsPageControl = this; // link ResultsPagePanel up to us

            if (!SystemUtil.InDesignMode)               // fill page control with page panel
            {
                Controls.Clear();

                //ResultsPagePanel.Dock = DockStyle.Fill;
                //Controls.Remove(Tools);
            }
        }
コード例 #14
0
        /// <summary>
        /// Basic Constructor
        /// </summary>

        public ResultsPagePanel()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            ViewsPanel.ResultsPagePanel = this;

            if (!SystemUtil.InDesignMode)
            {
                //FiltersDockPanel.Visibility = DockVisibility.Hidden;
                //DetailsOnDemandDockPanel.Visibility = DockVisibility.Hidden;
                //Dock = DockStyle.Fill;
                //Visible = false;
            }

            return;
        }
コード例 #15
0
        public TrellisCardBarChartControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            //RulesGrid.Mode = MoleculeGridMode.LocalView; // local editing of structure
            //			Grid.CompleteInitialization();
            //RulesGrid.AutoNumberRows = true;

            ValColWidth  = V.Columns[ValCol].Width;
            ValCol2Width = V.Columns[ValCol2].Width;

            //RulesGrid.AddStandardEventHandlers();

            //RulesGrid.KeyUp -= // remove handlers we are replacing
            //	new System.Windows.Forms.KeyEventHandler(RulesGrid.MoleculeGridControl_KeyUp);
        }
コード例 #16
0
        public StructureListControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            if (SystemUtil.InDesignMode)
            {
                return;
            }

            MoleculeGrid.MouseDownCallback  = new MouseEventHandler(MoleculeGrid_MouseDown);
            MoleculeGrid.MouseUpCallback    = new MouseEventHandler(MoleculeGrid_MouseUp);
            MoleculeGrid.MouseClickCallback = new MouseEventHandler(MoleculeGrid_MouseClick);

            MoleculeGrid.AddStandardEventHandlers();

            return;
        }
コード例 #17
0
        public static int PaintCount = 0;         // number of times paint called

        public MoleculeGridPanel()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            if (SystemUtil.InDesignMode)
            {
                return;
            }

            BandedViewGrid.AddStandardEventHandlers();
            BandedViewGrid.GridPanel = this;

            LayoutViewGrid.AddStandardEventHandlers();
            LayoutViewGrid.GridPanel = this;

            //DevExpress.XtraEditors.Drawing.MouseWheelHelper.SmartMouseWheelProcessing = false; // so mouse wheel works without first clicking it (remove comment when get new version)

            return;
        }
コード例 #18
0
        /// <summary>
        /// Constructor - Normally remove the Tool panel which will be later inserted into a higher level panel
        /// </summary>

        public MoleculeGridPageControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            if (SystemUtil.InDesignMode)
            {
                return;
            }

            MoleculeGridPanel.BorderStyle = BorderStyle.None;

            if (RemoveToolPanelInConstructor)
            {
                Controls.Remove(ToolPanel);                 // remove the tool panel and tools from this control
                MoleculeGridPanel.Dock = DockStyle.Fill;    // fill page with grid control
            }

            MoleculeGridPanel.PageControl  = this;
            ExportSpotfireMenuItem.Visible = ClientState.IsDeveloper;
            return;
        }
コード例 #19
0
        // References to containing control members

        //internal QueryManager RootQueryManager // current QueryManager for the panel
        //{
        //	get
        //	{
        //		QueryResultsControl qrc = QueryResultsControl.GetQrcThatContainsControl(WebBrowser);
        //		return qrc.CrvQm;
        //	}
        //}

        //internal QueryManager RootQm { get { return RootQueryManager; } }

        //internal DataTableManager Dtm
        //{ get { return (RootQm != null) ? RootQueryManager.DataTableManager : null; } }

        //internal MoleculeGridControl MoleculeGrid // molecule grid for selected data rows
        //{ get { return (RootQm != null) ? RootQm.MoleculeGrid : null; } }

        /// <summary>
        /// Constructor
        /// </summary>

        public SpotfirePanel()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            if (SystemUtil.InDesignMode)
            {
                return;
            }

            WebBrowser wb = WebBrowser;

            //SetupMessageSnatcher();

            BrowserRtClickMessageFilter =
                WindowsMessageFilter.CreateRightClickMessageFilter(WebBrowser, BrowserControlRightMouseButtonMessageReceived);

            SpotfireApiLogHeight = SpotfireApiLog.Height;          // save height

            ShowSpotfireApiLog(SpotfireApiLogVisible);             // don't show log initially

            return;
        }
コード例 #20
0
/// <summary>
/// Constructor
/// </summary>

        public PivotGridPanel()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);

            // Link chart to grid & do initial setup

            //Chart.DataSource = PivotGrid;
            //Chart.SeriesDataMember = "Series";
            //Chart.SeriesTemplate.ArgumentDataMember = "Arguments";
            //Chart.SeriesTemplate.ValueDataMembers.AddRange(new string[] { "Values" });
            //Chart.SeriesTemplate.LegendTextPattern = "{} {S} - {A}: {V}";
            //// Chart.SeriesTemplate.LegendPointOptions.PointView = PointView.ArgumentAndValues;

            //if (!SystemUtil.InDesignMode) // fill panel with the chart control initially
            //{
            //	SplitContainerControl.PanelVisibility = SplitPanelVisibility.Panel1; // just show grid initially
            //	Chart.Visible = false;
            //	Chart.DataSource = null;
            //}

            return;
        }
コード例 #21
0
 public FilterStructureControl()
 {
     InitializeComponent();
     WinFormsUtil.LogControlChildren(this);
 }
コード例 #22
0
        /// <summary>
        /// Basic constructor
        /// </summary>

        public CriteriaCompoundIdControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);
        }
コード例 #23
0
        public SpotfireApiClient SpotfireApiClient => SpotfireSession.SpotfireApiClient; // API link to Spotfire session to interact with


        public SpotfireToolbar()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);
        }
コード例 #24
0
        public SimpleDelegate SetupQueryResultsControlMethod = null;         //

        public ToolResultsContainer()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);
        }
コード例 #25
0
        /// <summary>
        /// Basic constructor
        /// </summary>

        public TableSelectorControlMsx()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);
        }
コード例 #26
0
 public FilterCheckBoxListControl()
 {
     InitializeComponent();
     WinFormsUtil.LogControlChildren(this);
 }
コード例 #27
0
 public FilterItemSliderControl()
 {
     InitializeComponent();
     WinFormsUtil.LogControlChildren(this);
 }
コード例 #28
0
/// <summary>
/// Constructor
/// </summary>

        public ZoomControl()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);
        }
コード例 #29
0
        // Note: Font for caption uses Calibri, 11.25pt, style=Bold
        // Tahoma 9.75 bold is not very readable

        public SortingPropertiesPanel()
        {
            InitializeComponent();
            WinFormsUtil.LogControlChildren(this);
        }
コード例 #30
0
 public QueryTablesControl()
 {
     InitializeComponent();
     WinFormsUtil.LogControlChildren(this);
 }