当前位置: 首页>>代码示例>>C#>>正文


C# DashboardHelper类代码示例

本文整理汇总了C#中DashboardHelper的典型用法代码示例。如果您正苦于以下问题:C# DashboardHelper类的具体用法?C# DashboardHelper怎么用?C# DashboardHelper使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


DashboardHelper类属于命名空间,在下文中一共展示了DashboardHelper类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: StandardImageControl

 public StandardImageControl(DashboardHelper dashboardHelper, DashboardControl dashboardControl)
 {
     InitializeComponent();
     Construct();
     this.dashboardHelper = dashboardHelper;
     this.dashboardControl = dashboardControl;
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:7,代码来源:StandardImageControl.xaml.cs

示例2: AberrationControl

 public AberrationControl(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.dashboardHelper = dashboardHelper;
     Construct();
     FillComboboxes();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:7,代码来源:AberrationControl.xaml.cs

示例3: DuplicatesListControl

 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="dashboardHelper">The dashboard helper object to attach</param>
 public DuplicatesListControl(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.DashboardHelper = dashboardHelper;
     this.IsHostedByEnter = false;
     Construct();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:11,代码来源:DuplicatesListControl.xaml.cs

示例4: ComplexSampleFrequencyControl

 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="dashboardHelper">The dashboard helper object to attach</param>
 public ComplexSampleFrequencyControl(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.dashboardHelper = dashboardHelper;
     Construct();
     FillComboboxes();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:11,代码来源:ComplexSampleFrequencyControl.xaml.cs

示例5: PMCCControl

 public PMCCControl(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.DashboardHelper = dashboardHelper;
     Construct();
     FillComboboxes();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:7,代码来源:PMCCControl.xaml.cs

示例6: AberrationChartGadget

 public AberrationChartGadget(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.DashboardHelper = dashboardHelper;
     Construct();
     FillComboboxes();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:7,代码来源:AberrationChartGadget.xaml.cs

示例7: ConditionalAssignDialog

 public ConditionalAssignDialog(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.dashboardHelper = dashboardHelper;
     this.DataFilters = new DataFilters(dashboardHelper);
     FillComboBoxes();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:7,代码来源:ConditionalAssignDialog.cs

示例8: DataFilteringControl

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="view">The view to attach</param>
        /// <param name="db">The database to attach</param>
        /// <param name="dashboardHelper">The dashboard helper to attach</param>
        public DataFilteringControl(DashboardHelper dashboardHelper)
        {
            InitializeComponent();
            this.dashboardHelper = dashboardHelper;
            txtTitle.RenderTransform = new RotateTransform(270);
            FillSelectionComboboxes();

            selectionGridHeight = grdSelectionProperties.Height;
            guidedButtonsGridHeight = grdGuidedModeButtons.Height;

            if (dashboardHelper.UseAdvancedUserDataFilter)
            {
                pnlAdvancedMode.Visibility = Visibility.Visible;
                txtAdvancedFilter.Text = dashboardHelper.AdvancedUserDataFilter;
                SetAdvancedFilterMode();
                ApplyAdvancedModeFilter();
            }
            else
            {
                pnlAdvancedMode.Visibility = Visibility.Collapsed;
                txtAdvancedFilter.Text = string.Empty;
                SetGuidedFilterMode();
            }

            UpdateFilterConditions();
            imgClose.MouseUp += new MouseButtonEventHandler(imgClose_MouseUp);

            if (!dashboardHelper.IsUsingEpiProject)
            {
                panelAdvanced.Visibility = Visibility.Collapsed;
            }
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:38,代码来源:DataFilteringControl.xaml.cs

示例9: Rule_ConditionalAssign

        /// <summary>
        /// Constructor for conditional assignment with custom column type
        /// </summary>
        public Rule_ConditionalAssign(DashboardHelper dashboardHelper, string friendlyRule, string destinationColumnName, string destinationColumnType, /*Dictionary<string, object> conditions*/object assignValue, object elseValue, string condition)
        {
            this.friendlyRule = friendlyRule;
            this.destinationColumnName = destinationColumnName;
            this.destinationColumnType = destinationColumnType;
            this.DashboardHelper = dashboardHelper;
            this.condition = condition;

            if (DestinationColumnType.Equals("System.String"))
            {
                this.variableType = DashboardVariableType.Text;
            }
            else if (DestinationColumnType.Equals("System.Boolean"))
            {
                this.variableType = DashboardVariableType.YesNo;
            }
            else
            {
                this.variableType = DashboardVariableType.Numeric;
            }
            //this.conditions = conditions;
            this.assignValue = assignValue;
            this.elseValue = elseValue;
            if (elseValue == null)
            {
                UseElse = false;
            }
            else
            {
                UseElse = true;
            }
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:35,代码来源:Rule_ConditionalAssign.cs

示例10: LogisticRegressionControl

 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="db">The database to attach</param>
 /// <param name="view">The view to attach</param>
 public LogisticRegressionControl(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.dashboardHelper = dashboardHelper;
     Construct();
     FillComboboxes();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:12,代码来源:LogisticRegressionControl.xaml.cs

示例11: CrosstabControl

 public CrosstabControl(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.DashboardHelper = dashboardHelper;
     Construct();
     //FillComboboxes();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:7,代码来源:CrosstabControl.xaml.cs

示例12: MergeControl

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="view">The view to attach</param>
        /// <param name="db">The database to attach</param>
        /// <param name="dashboardHelper">The dashboard helper to attach</param>
        public MergeControl(DashboardHelper dashboardHelper)
        {
            InitializeComponent();

            pnlTableOverwrite.Visibility = System.Windows.Visibility.Collapsed;
            pnlError.Visibility = System.Windows.Visibility.Collapsed;
            pnlProgress.Visibility = System.Windows.Visibility.Collapsed;

            this.dashboardHelper = dashboardHelper;

            imgClose.MouseEnter += new MouseEventHandler(imgClose_MouseEnter);
            imgClose.MouseLeave += new MouseEventHandler(imgClose_MouseLeave);
            imgClose.MouseDown += new MouseButtonEventHandler(imgClose_MouseDown);

            cmbSourceDataFormat.Items.Clear();
            this.GadgetProgressUpdate += new GadgetProgressUpdateHandler(RequestUpdateStatusMessage);

            foreach (Epi.DataSets.Config.DataDriverRow row in dashboardHelper.Config.DataDrivers)
            {
                ComboBoxItem item = new ComboBoxItem();
                item.Content = row.DisplayName;
                //cmbDataFormats.Items.Add(new ComboBoxItem(row.Type, row.DisplayName, null));
                cmbSourceDataFormat.Items.Add(item);
            }
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:31,代码来源:MergeControl.xaml.cs

示例13: DataRecodingControl

 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="view">The view to attach</param>
 /// <param name="db">The database to attach</param>
 /// <param name="dashboardHelper">The dashboard helper to attach</param>
 public DataRecodingControl(DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.dashboardHelper = dashboardHelper;
     txtTitle.RenderTransform = new RotateTransform(90);
     UpdateRules();
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:13,代码来源:DataRecodingControl.xaml.cs

示例14: ExportWindow

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="view">The view to attach</param>
        /// <param name="db">The database to attach</param>
        /// <param name="dashboardHelper">The dashboard helper to attach</param>
        public ExportWindow(DashboardHelper dashboardHelper)
        {
            InitializeComponent();

            messagePanel.Visibility = System.Windows.Visibility.Collapsed;
            messagePanel.Text = string.Empty;
            messagePanel.HideProgressBar();

            //pnlTableOverwrite.Visibility = System.Windows.Visibility.Collapsed;
            //pnlError.Visibility = System.Windows.Visibility.Collapsed;
            //pnlProgress.Visibility = System.Windows.Visibility.Collapsed;

            this.dashboardHelper = dashboardHelper;
            lbxExportFields.SelectionChanged += new SelectionChangedEventHandler(lbxExportFields_SelectionChanged);
            FillComboboxes();
            exportFields = new List<string>();
            allFieldsSelected = true;

            cmbDataFormats.Items.Clear();
            this.GadgetProgressUpdate += new GadgetProgressUpdateHandler(RequestUpdateStatusMessage);

            foreach (Epi.DataSets.Config.DataDriverRow row in dashboardHelper.Config.DataDrivers)
            {
                ComboBoxItem item = new ComboBoxItem();
                item.Content = row.DisplayName;
                //cmbDataFormats.Items.Add(new ComboBoxItem(row.Type, row.DisplayName, null));
                cmbDataFormats.Items.Add(item);
            }

            cmbDataFormats.SelectionChanged += new SelectionChangedEventHandler(cmbDataFormats_SelectionChanged);

            if (dashboardHelper.IsUsingEpiProject)
            {
                checkboxTabOrder.IsEnabled = true;
                checkboxTabOrder.IsChecked = true;
                checkboxUsePrompts.IsEnabled = true;
            }
            else
            {
                checkboxTabOrder.IsEnabled = false;
                checkboxTabOrder.IsChecked = false;
                checkboxUsePrompts.IsEnabled = false;
                checkboxUsePrompts.IsChecked = false;
            }

            #region Translation
            this.Title = DashboardSharedStrings.EXPORT_WINDOW_TITLE;
            this.tblockOutputFormat.Text = DashboardSharedStrings.EXPORT_OUTPUT_FORMAT;
            this.tblockConnInfo.Text = DashboardSharedStrings.EXPORT_CONN_INFO;
            this.tblockDestinationTable.Text = DashboardSharedStrings.EXPORT_DEST_TABLE;
            this.tblockFields.Text = DashboardSharedStrings.EXPORT_FIELDS_TO_EXPORT;
            this.checkboxTabOrder.Content = DashboardSharedStrings.EXPORT_SORT_BY_TAB_ORDER;
            this.btnCancel.Content = DashboardSharedStrings.EXPORT_BUTTON_CLOSE;
            this.btnExport.Content = DashboardSharedStrings.EXPORT_BUTTON_EXPORT;
            this.btnConnectionBrowse.Content = DashboardSharedStrings.EXPORT_BUTTON_BROWSE;
            #endregion // Translation

            EnableDisableExportButton();
        }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:65,代码来源:ExportWindow.xaml.cs

示例15: LayerList

 public LayerList(ESRI.ArcGIS.Client.Map myMap, Epi.View view, Epi.Data.IDbDriver db, DashboardHelper dashboardHelper)
 {
     InitializeComponent();
     this.myMap = myMap;
     this.view = view;
     this.db = db;
     this.dashboardHelper = dashboardHelper;
 }
开发者ID:NALSS,项目名称:epiinfo-82474,代码行数:8,代码来源:LayerList.xaml.cs


注:本文中的DashboardHelper类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。