public event EventHandler CallerEditValueChangedHandler; // event to fire when edit value changes public DataMapControl() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); FieldGridP0 = FieldGrid.Location; }
/// <summary> /// Constructor /// </summary> public ViewsPanel() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); return; }
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; }
/// <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"; }
public CriteriaPanel() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); CtStructBox.Height = 141; // restore normal height //Clear(); // Remove controls from criteria panel to allow later rebuild }
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; }
//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; }
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); }
public Shell() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); RibbonControl.Manager.ShortcutItemClick += new ShortcutItemClickEventHandler(Manager_ShortcutItemClick); MainMenuControl = new MainMenuControl(); MainMenuControl.AfterEditMenuSelected += AfterEditMenuSelected; LinkContextMenusToMenuBarItems(); }
public FilterPanel() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); while (ScrollablePanel.Controls.Count > 0) { ScrollablePanel.Controls.RemoveAt(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; }
/// <summary> /// Default constructor /// </summary> public QuickSearchPopup() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); if (SystemUtil.InRuntimeMode) { RelatedStructuresControl.BorderStyle = BorderStyle.None; } return; }
/// <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); } }
/// <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; }
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); }
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; }
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; }
/// <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; }
// 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; }
/// <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; }
public FilterStructureControl() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
/// <summary> /// Basic constructor /// </summary> public CriteriaCompoundIdControl() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
public SpotfireApiClient SpotfireApiClient => SpotfireSession.SpotfireApiClient; // API link to Spotfire session to interact with public SpotfireToolbar() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
public SimpleDelegate SetupQueryResultsControlMethod = null; // public ToolResultsContainer() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
/// <summary> /// Basic constructor /// </summary> public TableSelectorControlMsx() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
public FilterCheckBoxListControl() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
public FilterItemSliderControl() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
/// <summary> /// Constructor /// </summary> public ZoomControl() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
// Note: Font for caption uses Calibri, 11.25pt, style=Bold // Tahoma 9.75 bold is not very readable public SortingPropertiesPanel() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }
public QueryTablesControl() { InitializeComponent(); WinFormsUtil.LogControlChildren(this); }