本文整理汇总了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;
}
示例2: AberrationControl
public AberrationControl(DashboardHelper dashboardHelper)
{
InitializeComponent();
this.dashboardHelper = dashboardHelper;
Construct();
FillComboboxes();
}
示例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();
}
示例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();
}
示例5: PMCCControl
public PMCCControl(DashboardHelper dashboardHelper)
{
InitializeComponent();
this.DashboardHelper = dashboardHelper;
Construct();
FillComboboxes();
}
示例6: AberrationChartGadget
public AberrationChartGadget(DashboardHelper dashboardHelper)
{
InitializeComponent();
this.DashboardHelper = dashboardHelper;
Construct();
FillComboboxes();
}
示例7: ConditionalAssignDialog
public ConditionalAssignDialog(DashboardHelper dashboardHelper)
{
InitializeComponent();
this.dashboardHelper = dashboardHelper;
this.DataFilters = new DataFilters(dashboardHelper);
FillComboBoxes();
}
示例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;
}
}
示例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;
}
}
示例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();
}
示例11: CrosstabControl
public CrosstabControl(DashboardHelper dashboardHelper)
{
InitializeComponent();
this.DashboardHelper = dashboardHelper;
Construct();
//FillComboboxes();
}
示例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);
}
}
示例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();
}
示例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();
}
示例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;
}