Designer.Editors/Designer.CollectionEditor/DialogDashBoardDefEditor.cs
Decompiler Source FileDesigner.Editors.DialogDashBoardDefEditorDecompiled Source
Interpretation
- Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.
Relations
- CallMethod: CheckQueryDefinition at line 896
- CallMethod: CheckQueryDefinition100 at line 915
- CallMethod: CheckAccessWhereClause at line 934
Typed Edges
- No typed edges extracted for this source.
References
- No direct source references extracted.
Referenced By
- No direct source references extracted.
C# source-derived context
Generated by pattern extraction from the decompiled C# source and decompile index. This is factual source evidence, not inferred behavior.
writes entity values references DB/Dialog objects
Summary: classes DialogDashBoardDefEditor; methods OnDisposeOrPrepareForCaching, InitializeComponent, ControllerDocumentChanged, ControllerDocumentSaving, Activator_Changed, _InitializeComponent; references DialogDashboardDef, DialogSchedule; markers writes entity values, references DB/Dialog objects
Classes
DialogDashBoardDefEditorMethods
- OnDisposeOrPrepareForCaching
- InitializeComponent
- ControllerDocumentChanged
- ControllerDocumentSaving
- Activator_Changed
- _InitializeComponent
- _TranslateComponent
- btnCheckQueryDefinition_Click
- btnCheckQueryDefinition100_Click
- btnCheckAccessWhereClause_Click
- btnCheckDB_Click
- sedtQueryDefinition_EnabledChanged
- sedtQueryDefinition100_EnabledChanged
- sedtAccessWhereClause_EnabledChanged
DB/Dialog object references
OIM key/entity markers
UID_DialogSchedule UID_DialogDashBoardDefAPI/entity calls
CreateSingle PutValueRegistrations / handlers
None extracted.
Complete Source
1using System;2using System.ComponentModel;3using System.Drawing;4using System.Windows.Forms;5using Designer.Base;6using Designer.SheetEditor;7using VI.Base;8using VI.Controls;9using VI.Controls.Base;10using VI.DB;11using VI.DB.DataAccess;12using VI.DB.Entities;13using VI.FormBase;14using VI.MVC;15using VI.UI.Controls.Common;1617namespace Designer.CollectionEditor;1819[ToolboxItem(false)]20internal class DialogDashBoardDefEditor : PropertyEditorControl21{22 private TranslatorComponent Translator;2324 private StockImageComponent stockImages;2526 private ActivatorComponent acDashBoardDef;2728 private Panel panelProperties;2930 private Edit edtDisplayName;3132 private Edit edtIdent_DialogDashboardDef;3334 private DBSyntaxEdit sedtQueryDefinition;3536 private IContainer components;3738 private Button btnCheckQueryDefinition;3940 private Edit editGreenLimit;4142 private DBSyntaxEdit sedtQueryDefinition100;4344 private Button btnCheckQueryDefinition100;4546 private Edit editRedLimit;4748 private Edit edtDisplayUnit;4950 private Edit edtDescription;5152 private TabControl tabControl;5354 private TabPage tabPageProperties;5556 private TabPage tabPageQueries;5758 private Panel panelQueries;5960 private LinkComboBox cbxDialogSchedule;6162 private Edit edtHistoryLength;6364 private TextComboBox cmbCurrentState;6566 private DBSyntaxEdit sedtAccessWhereClause;6768 private TextComboBox cmbAggregateFunction;6970 private Button btnCheckAccessWhereClause;7172 private TextComboBox cmbAggregateFunction100;7374 private Panel panelCheckDB;7576 private Button btnCheckDB;7778 private CaptionLabel captionLabel1;7980 private Edit edtPreProcessorCondition;8182 private CheckBox chbIsDeactivatedByPreProcessor;8384 private CheckBox chbIsAdHoc;8586 private CheckBox chbIsInActive;8788 private TextComboBox cmbType;8990 private CheckBox chbIsManual;9192 public DialogDashBoardDefEditor(DocumentEditorControl docEditor)93 : base(docEditor, new Guid("6C680BC2-AD47-41b2-856C-A81FDBD8D4E0"))94 {95 //IL_0007: Unknown result type (might be due to invalid IL or missing references)96 InitializeComponent();97 _InitializeComponent();98 _TranslateComponent();99 bool visible = DataManager.Database.MasterSession.Type == SessionType.Direct;100 ((Control)panelCheckDB).Visible = visible;101 ((Control)btnCheckQueryDefinition).Visible = visible;102 ((Control)btnCheckQueryDefinition100).Visible = visible;103 ((Control)btnCheckAccessWhereClause).Visible = visible;104 }105106 protected override void OnDisposeOrPrepareForCaching(bool dispose)107 {108 if (dispose)109 {110 ((System.IDisposable)components)?.Dispose();111 }112 base.OnDisposeOrPrepareForCaching(dispose);113 }114115 private void InitializeComponent()116 {117 //IL_0001: Unknown result type (might be due to invalid IL or missing references)118 //IL_000b: Expected O, but got Unknown119 //IL_00f3: Unknown result type (might be due to invalid IL or missing references)120 //IL_00fd: Expected O, but got Unknown121 //IL_0109: Unknown result type (might be due to invalid IL or missing references)122 //IL_0113: Expected O, but got Unknown123 //IL_011f: Unknown result type (might be due to invalid IL or missing references)124 //IL_0129: Expected O, but got Unknown125 //IL_012a: Unknown result type (might be due to invalid IL or missing references)126 //IL_0134: Expected O, but got Unknown127 //IL_0135: Unknown result type (might be due to invalid IL or missing references)128 //IL_013f: Expected O, but got Unknown129 //IL_016c: Unknown result type (might be due to invalid IL or missing references)130 //IL_0176: Expected O, but got Unknown131 //IL_0365: Unknown result type (might be due to invalid IL or missing references)132 //IL_0503: Unknown result type (might be due to invalid IL or missing references)133 //IL_052d: Unknown result type (might be due to invalid IL or missing references)134 //IL_053e: Unknown result type (might be due to invalid IL or missing references)135 //IL_0574: Unknown result type (might be due to invalid IL or missing references)136 //IL_05cf: Unknown result type (might be due to invalid IL or missing references)137 //IL_05fb: Unknown result type (might be due to invalid IL or missing references)138 //IL_0615: Unknown result type (might be due to invalid IL or missing references)139 //IL_0626: Unknown result type (might be due to invalid IL or missing references)140 //IL_064d: Unknown result type (might be due to invalid IL or missing references)141 //IL_06a9: Unknown result type (might be due to invalid IL or missing references)142 //IL_06d5: Unknown result type (might be due to invalid IL or missing references)143 //IL_06ef: Unknown result type (might be due to invalid IL or missing references)144 //IL_0700: Unknown result type (might be due to invalid IL or missing references)145 //IL_0727: Unknown result type (might be due to invalid IL or missing references)146 //IL_0783: Unknown result type (might be due to invalid IL or missing references)147 //IL_07af: Unknown result type (might be due to invalid IL or missing references)148 //IL_07c9: Unknown result type (might be due to invalid IL or missing references)149 //IL_07da: Unknown result type (might be due to invalid IL or missing references)150 //IL_0801: Unknown result type (might be due to invalid IL or missing references)151 //IL_085d: Unknown result type (might be due to invalid IL or missing references)152 //IL_0895: Unknown result type (might be due to invalid IL or missing references)153 //IL_08af: Unknown result type (might be due to invalid IL or missing references)154 //IL_08c0: Unknown result type (might be due to invalid IL or missing references)155 //IL_08e7: Unknown result type (might be due to invalid IL or missing references)156 //IL_095c: Unknown result type (might be due to invalid IL or missing references)157 //IL_09a4: Unknown result type (might be due to invalid IL or missing references)158 //IL_09ba: Unknown result type (might be due to invalid IL or missing references)159 //IL_09cb: Unknown result type (might be due to invalid IL or missing references)160 //IL_09f2: Unknown result type (might be due to invalid IL or missing references)161 //IL_0a78: Unknown result type (might be due to invalid IL or missing references)162 //IL_0aa4: Unknown result type (might be due to invalid IL or missing references)163 //IL_0ab7: Unknown result type (might be due to invalid IL or missing references)164 //IL_0ac8: Unknown result type (might be due to invalid IL or missing references)165 //IL_0aef: Unknown result type (might be due to invalid IL or missing references)166 //IL_0b64: Unknown result type (might be due to invalid IL or missing references)167 //IL_0bac: Unknown result type (might be due to invalid IL or missing references)168 //IL_0bc2: Unknown result type (might be due to invalid IL or missing references)169 //IL_0bd3: Unknown result type (might be due to invalid IL or missing references)170 //IL_0bfa: Unknown result type (might be due to invalid IL or missing references)171 //IL_0c73: Unknown result type (might be due to invalid IL or missing references)172 //IL_0c9f: Unknown result type (might be due to invalid IL or missing references)173 //IL_0cb5: Unknown result type (might be due to invalid IL or missing references)174 //IL_0cc6: Unknown result type (might be due to invalid IL or missing references)175 //IL_0ced: Unknown result type (might be due to invalid IL or missing references)176 //IL_0d49: Unknown result type (might be due to invalid IL or missing references)177 //IL_0d85: Unknown result type (might be due to invalid IL or missing references)178 //IL_0d9b: Unknown result type (might be due to invalid IL or missing references)179 //IL_0dac: Unknown result type (might be due to invalid IL or missing references)180 //IL_0dd3: Unknown result type (might be due to invalid IL or missing references)181 //IL_0e46: Unknown result type (might be due to invalid IL or missing references)182 //IL_0e72: Unknown result type (might be due to invalid IL or missing references)183 //IL_0e88: Unknown result type (might be due to invalid IL or missing references)184 //IL_0e99: Unknown result type (might be due to invalid IL or missing references)185 //IL_0ec0: Unknown result type (might be due to invalid IL or missing references)186 //IL_0f28: Unknown result type (might be due to invalid IL or missing references)187 //IL_0f54: Unknown result type (might be due to invalid IL or missing references)188 //IL_0f67: Unknown result type (might be due to invalid IL or missing references)189 //IL_0f78: Unknown result type (might be due to invalid IL or missing references)190 //IL_0fab: Unknown result type (might be due to invalid IL or missing references)191 //IL_1006: Unknown result type (might be due to invalid IL or missing references)192 //IL_1032: Unknown result type (might be due to invalid IL or missing references)193 //IL_1048: Unknown result type (might be due to invalid IL or missing references)194 //IL_1059: Unknown result type (might be due to invalid IL or missing references)195 //IL_1080: Unknown result type (might be due to invalid IL or missing references)196 //IL_10db: Unknown result type (might be due to invalid IL or missing references)197 //IL_1107: Unknown result type (might be due to invalid IL or missing references)198 //IL_111d: Unknown result type (might be due to invalid IL or missing references)199 //IL_112e: Unknown result type (might be due to invalid IL or missing references)200 //IL_1155: Unknown result type (might be due to invalid IL or missing references)201 //IL_11bd: Unknown result type (might be due to invalid IL or missing references)202 //IL_11e9: Unknown result type (might be due to invalid IL or missing references)203 //IL_11fc: Unknown result type (might be due to invalid IL or missing references)204 //IL_120d: Unknown result type (might be due to invalid IL or missing references)205 //IL_1234: Unknown result type (might be due to invalid IL or missing references)206 //IL_129c: Unknown result type (might be due to invalid IL or missing references)207 //IL_12c8: Unknown result type (might be due to invalid IL or missing references)208 //IL_12da: Unknown result type (might be due to invalid IL or missing references)209 //IL_12eb: Unknown result type (might be due to invalid IL or missing references)210 //IL_1312: Unknown result type (might be due to invalid IL or missing references)211 //IL_1379: Unknown result type (might be due to invalid IL or missing references)212 //IL_13c1: Unknown result type (might be due to invalid IL or missing references)213 //IL_13d7: Unknown result type (might be due to invalid IL or missing references)214 //IL_13e8: Unknown result type (might be due to invalid IL or missing references)215 //IL_140f: Unknown result type (might be due to invalid IL or missing references)216 //IL_1487: Unknown result type (might be due to invalid IL or missing references)217 //IL_14d5: Unknown result type (might be due to invalid IL or missing references)218 //IL_14e8: Unknown result type (might be due to invalid IL or missing references)219 //IL_14f9: Unknown result type (might be due to invalid IL or missing references)220 //IL_1529: Unknown result type (might be due to invalid IL or missing references)221 //IL_1540: Unknown result type (might be due to invalid IL or missing references)222 //IL_1581: Unknown result type (might be due to invalid IL or missing references)223 //IL_158b: Expected O, but got Unknown224 //IL_1594: Unknown result type (might be due to invalid IL or missing references)225 //IL_15bb: Unknown result type (might be due to invalid IL or missing references)226 //IL_1610: Unknown result type (might be due to invalid IL or missing references)227 //IL_161a: Expected O, but got Unknown228 //IL_164c: Unknown result type (might be due to invalid IL or missing references)229 //IL_169a: Unknown result type (might be due to invalid IL or missing references)230 //IL_16ac: Unknown result type (might be due to invalid IL or missing references)231 //IL_16bd: Unknown result type (might be due to invalid IL or missing references)232 //IL_16ed: Unknown result type (might be due to invalid IL or missing references)233 //IL_1704: Unknown result type (might be due to invalid IL or missing references)234 //IL_1745: Unknown result type (might be due to invalid IL or missing references)235 //IL_174f: Expected O, but got Unknown236 //IL_1758: Unknown result type (might be due to invalid IL or missing references)237 //IL_177f: Unknown result type (might be due to invalid IL or missing references)238 //IL_17d4: Unknown result type (might be due to invalid IL or missing references)239 //IL_17de: Expected O, but got Unknown240 //IL_17fb: Unknown result type (might be due to invalid IL or missing references)241 //IL_180c: Unknown result type (might be due to invalid IL or missing references)242 //IL_1830: Unknown result type (might be due to invalid IL or missing references)243 //IL_1865: Unknown result type (might be due to invalid IL or missing references)244 //IL_186f: Expected O, but got Unknown245 //IL_18af: Unknown result type (might be due to invalid IL or missing references)246 //IL_18e5: Unknown result type (might be due to invalid IL or missing references)247 //IL_1913: Unknown result type (might be due to invalid IL or missing references)248 //IL_1948: Unknown result type (might be due to invalid IL or missing references)249 //IL_1972: Unknown result type (might be due to invalid IL or missing references)250 //IL_19b0: Unknown result type (might be due to invalid IL or missing references)251 //IL_19e5: Unknown result type (might be due to invalid IL or missing references)252 //IL_1a0f: Unknown result type (might be due to invalid IL or missing references)253 //IL_1a5c: Unknown result type (might be due to invalid IL or missing references)254 //IL_1adc: Unknown result type (might be due to invalid IL or missing references)255 //IL_1afa: Unknown result type (might be due to invalid IL or missing references)256 //IL_1b0b: Unknown result type (might be due to invalid IL or missing references)257 //IL_1b2f: Unknown result type (might be due to invalid IL or missing references)258 //IL_1b55: Unknown result type (might be due to invalid IL or missing references)259 //IL_1ba6: Unknown result type (might be due to invalid IL or missing references)260 //IL_1c0a: Unknown result type (might be due to invalid IL or missing references)261 //IL_1c2c: Unknown result type (might be due to invalid IL or missing references)262 //IL_1c3d: Unknown result type (might be due to invalid IL or missing references)263 //IL_1c7c: Unknown result type (might be due to invalid IL or missing references)264 //IL_1ced: Unknown result type (might be due to invalid IL or missing references)265 //IL_1d19: Unknown result type (might be due to invalid IL or missing references)266 //IL_1d2c: Unknown result type (might be due to invalid IL or missing references)267 //IL_1d3d: Unknown result type (might be due to invalid IL or missing references)268 //IL_1d64: Unknown result type (might be due to invalid IL or missing references)269 //IL_1dd2: Unknown result type (might be due to invalid IL or missing references)270 //IL_1e20: Unknown result type (might be due to invalid IL or missing references)271 //IL_1e36: Unknown result type (might be due to invalid IL or missing references)272 //IL_1e47: Unknown result type (might be due to invalid IL or missing references)273 //IL_1e77: Unknown result type (might be due to invalid IL or missing references)274 //IL_1e8e: Unknown result type (might be due to invalid IL or missing references)275 //IL_1ecf: Unknown result type (might be due to invalid IL or missing references)276 //IL_1ed9: Expected O, but got Unknown277 //IL_1ee2: Unknown result type (might be due to invalid IL or missing references)278 //IL_1f09: Unknown result type (might be due to invalid IL or missing references)279 //IL_1f5e: Unknown result type (might be due to invalid IL or missing references)280 //IL_1f68: Expected O, but got Unknown281 //IL_1fa7: Unknown result type (might be due to invalid IL or missing references)282 //IL_1fef: Unknown result type (might be due to invalid IL or missing references)283 //IL_2005: Unknown result type (might be due to invalid IL or missing references)284 //IL_2016: Unknown result type (might be due to invalid IL or missing references)285 //IL_203d: Unknown result type (might be due to invalid IL or missing references)286 //IL_2091: Unknown result type (might be due to invalid IL or missing references)287 //IL_20da: Unknown result type (might be due to invalid IL or missing references)288 components = (IContainer)new Container();289 Translator = new TranslatorComponent();290 stockImages = new StockImageComponent();291 acDashBoardDef = new ActivatorComponent();292 panelProperties = new Panel();293 chbIsInActive = new CheckBox();294 chbIsManual = new CheckBox();295 chbIsAdHoc = new CheckBox();296 chbIsDeactivatedByPreProcessor = new CheckBox();297 cmbAggregateFunction100 = new TextComboBox();298 edtPreProcessorCondition = new Edit();299 cmbAggregateFunction = new TextComboBox();300 edtHistoryLength = new Edit();301 cbxDialogSchedule = new LinkComboBox();302 edtDisplayUnit = new Edit();303 edtDescription = new Edit();304 editRedLimit = new Edit();305 editGreenLimit = new Edit();306 edtDisplayName = new Edit();307 edtIdent_DialogDashboardDef = new Edit();308 cmbCurrentState = new TextComboBox();309 sedtQueryDefinition100 = new DBSyntaxEdit();310 btnCheckQueryDefinition100 = new Button();311 sedtQueryDefinition = new DBSyntaxEdit();312 btnCheckQueryDefinition = new Button();313 btnCheckDB = new Button();314 tabControl = new TabControl();315 tabPageProperties = new TabPage();316 tabPageQueries = new TabPage();317 panelQueries = new Panel();318 panelCheckDB = new Panel();319 captionLabel1 = new CaptionLabel();320 sedtAccessWhereClause = new DBSyntaxEdit();321 btnCheckAccessWhereClause = new Button();322 cmbType = new TextComboBox();323 ((ISupportInitialize)Translator).BeginInit();324 ((ISupportInitialize)panelProperties).BeginInit();325 ((Control)panelProperties).SuspendLayout();326 ((ISupportInitialize)chbIsInActive).BeginInit();327 ((ISupportInitialize)chbIsManual).BeginInit();328 ((ISupportInitialize)chbIsAdHoc).BeginInit();329 ((ISupportInitialize)chbIsDeactivatedByPreProcessor).BeginInit();330 ((ISupportInitialize)cmbAggregateFunction100).BeginInit();331 ((ISupportInitialize)edtPreProcessorCondition).BeginInit();332 ((ISupportInitialize)cmbAggregateFunction).BeginInit();333 ((ISupportInitialize)edtHistoryLength).BeginInit();334 ((ISupportInitialize)cbxDialogSchedule).BeginInit();335 ((ISupportInitialize)edtDisplayUnit).BeginInit();336 ((ISupportInitialize)edtDescription).BeginInit();337 ((ISupportInitialize)editRedLimit).BeginInit();338 ((ISupportInitialize)editGreenLimit).BeginInit();339 ((ISupportInitialize)edtDisplayName).BeginInit();340 ((ISupportInitialize)edtIdent_DialogDashboardDef).BeginInit();341 ((ISupportInitialize)cmbCurrentState).BeginInit();342 ((ISupportInitialize)sedtQueryDefinition100).BeginInit();343 ((Control)sedtQueryDefinition100).SuspendLayout();344 ((ISupportInitialize)sedtQueryDefinition).BeginInit();345 ((Control)sedtQueryDefinition).SuspendLayout();346 ((Control)tabControl).SuspendLayout();347 ((Control)tabPageProperties).SuspendLayout();348 ((Control)tabPageQueries).SuspendLayout();349 ((ISupportInitialize)panelQueries).BeginInit();350 ((Control)panelQueries).SuspendLayout();351 ((ISupportInitialize)panelCheckDB).BeginInit();352 ((Control)panelCheckDB).SuspendLayout();353 ((ISupportInitialize)captionLabel1).BeginInit();354 ((ISupportInitialize)sedtAccessWhereClause).BeginInit();355 ((Control)sedtAccessWhereClause).SuspendLayout();356 ((ISupportInitialize)cmbType).BeginInit();357 ((Control)this).SuspendLayout();358 stockImages.DefaultImageProperty = null;359 Translator.SetTextProperty((IComponent)(object)stockImages, null);360 acDashBoardDef.DbObject = null;361 Translator.SetTextProperty((IComponent)(object)acDashBoardDef, null);362 acDashBoardDef.Changed += Activator_Changed;363 ((Control)panelProperties).BackColor = Color.FromArgb(255, 255, 255);364 ((Control)panelProperties).Controls.Add((Control)(object)cmbType);365 ((Control)panelProperties).Controls.Add((Control)(object)chbIsInActive);366 ((Control)panelProperties).Controls.Add((Control)(object)chbIsManual);367 ((Control)panelProperties).Controls.Add((Control)(object)chbIsAdHoc);368 ((Control)panelProperties).Controls.Add((Control)(object)chbIsDeactivatedByPreProcessor);369 ((Control)panelProperties).Controls.Add((Control)(object)cmbAggregateFunction100);370 ((Control)panelProperties).Controls.Add((Control)(object)edtPreProcessorCondition);371 ((Control)panelProperties).Controls.Add((Control)(object)cmbAggregateFunction);372 ((Control)panelProperties).Controls.Add((Control)(object)edtHistoryLength);373 ((Control)panelProperties).Controls.Add((Control)(object)cbxDialogSchedule);374 ((Control)panelProperties).Controls.Add((Control)(object)edtDisplayUnit);375 ((Control)panelProperties).Controls.Add((Control)(object)edtDescription);376 ((Control)panelProperties).Controls.Add((Control)(object)editRedLimit);377 ((Control)panelProperties).Controls.Add((Control)(object)editGreenLimit);378 ((Control)panelProperties).Controls.Add((Control)(object)edtDisplayName);379 ((Control)panelProperties).Controls.Add((Control)(object)edtIdent_DialogDashboardDef);380 ((Control)panelProperties).Controls.Add((Control)(object)cmbCurrentState);381 panelProperties.ControlStyle = ViControlStyle.Inherited;382 ((Control)panelProperties).Dock = (DockStyle)5;383 ((Control)panelProperties).ForeColor = Color.Black;384 panelProperties.IsBackgroundPanel = false;385 panelProperties.IsRootActivator = true;386 ((Control)panelProperties).Location = new Point(0, 0);387 ((Control)panelProperties).Margin = new Padding(0);388 ((Control)panelProperties).Name = "panelProperties";389 panelProperties.ShowContextHelp = false;390 ((Control)panelProperties).Size = new Size(625, 487);391 ((Control)panelProperties).TabIndex = 3;392 Translator.SetTextProperty((IComponent)(object)panelProperties, null);393 chbIsInActive.Activator = acDashBoardDef;394 ((Control)chbIsInActive).Anchor = (AnchorStyles)13;395 ((Control)chbIsInActive).BackColor = Color.FromArgb(255, 255, 255);396 chbIsInActive.ColumnName = "IsInActive";397 chbIsInActive.ControlStyle = ViControlStyle.Inherited;398 ((Control)chbIsInActive).ForeColor = Color.Black;399 ((Control)chbIsInActive).Location = new Point(181, 409);400 ((Control)chbIsInActive).Margin = new Padding(0);401 ((Control)chbIsInActive).Name = "chbIsInActive";402 ((Control)chbIsInActive).Size = new Size(436, 17);403 ((Control)chbIsInActive).TabIndex = 18;404 Translator.SetTextProperty((IComponent)(object)chbIsInActive, null);405 chbIsManual.Activator = acDashBoardDef;406 ((Control)chbIsManual).Anchor = (AnchorStyles)13;407 ((Control)chbIsManual).BackColor = Color.FromArgb(255, 255, 255);408 chbIsManual.ColumnName = "IsManual";409 chbIsManual.ControlStyle = ViControlStyle.Inherited;410 ((Control)chbIsManual).ForeColor = Color.Black;411 ((Control)chbIsManual).Location = new Point(181, 392);412 ((Control)chbIsManual).Margin = new Padding(0);413 ((Control)chbIsManual).Name = "chbIsManual";414 ((Control)chbIsManual).Size = new Size(436, 17);415 ((Control)chbIsManual).TabIndex = 17;416 Translator.SetTextProperty((IComponent)(object)chbIsManual, null);417 chbIsAdHoc.Activator = acDashBoardDef;418 ((Control)chbIsAdHoc).Anchor = (AnchorStyles)13;419 ((Control)chbIsAdHoc).BackColor = Color.FromArgb(255, 255, 255);420 chbIsAdHoc.ColumnName = "IsAdHoc";421 chbIsAdHoc.ControlStyle = ViControlStyle.Inherited;422 ((Control)chbIsAdHoc).ForeColor = Color.Black;423 ((Control)chbIsAdHoc).Location = new Point(181, 375);424 ((Control)chbIsAdHoc).Margin = new Padding(0);425 ((Control)chbIsAdHoc).Name = "chbIsAdHoc";426 ((Control)chbIsAdHoc).Size = new Size(436, 17);427 ((Control)chbIsAdHoc).TabIndex = 16;428 Translator.SetTextProperty((IComponent)(object)chbIsAdHoc, null);429 chbIsDeactivatedByPreProcessor.Activator = acDashBoardDef;430 ((Control)chbIsDeactivatedByPreProcessor).Anchor = (AnchorStyles)13;431 ((Control)chbIsDeactivatedByPreProcessor).BackColor = Color.FromArgb(255, 255, 255);432 chbIsDeactivatedByPreProcessor.ColumnName = "IsDeactivatedByPreProcessor";433 chbIsDeactivatedByPreProcessor.ControlStyle = ViControlStyle.Inherited;434 chbIsDeactivatedByPreProcessor.EnabledByUser = false;435 ((Control)chbIsDeactivatedByPreProcessor).ForeColor = SystemColors.ControlText;436 ((Control)chbIsDeactivatedByPreProcessor).Location = new Point(181, 358);437 ((Control)chbIsDeactivatedByPreProcessor).Margin = new Padding(0);438 ((Control)chbIsDeactivatedByPreProcessor).Name = "chbIsDeactivatedByPreProcessor";439 ((Control)chbIsDeactivatedByPreProcessor).Size = new Size(436, 17);440 ((Control)chbIsDeactivatedByPreProcessor).TabIndex = 15;441 Translator.SetTextProperty((IComponent)(object)chbIsDeactivatedByPreProcessor, null);442 ((Control)cmbAggregateFunction100).AccessibleRole = (AccessibleRole)46;443 cmbAggregateFunction100.Activator = acDashBoardDef;444 cmbAggregateFunction100.AddUnknownDBItems = true;445 ((Control)cmbAggregateFunction100).Anchor = (AnchorStyles)13;446 ((Control)cmbAggregateFunction100).BackColor = Color.FromArgb(255, 255, 255);447 cmbAggregateFunction100.ColumnName = "AggregateFunction100";448 cmbAggregateFunction100.ControlStyle = ViControlStyle.Inherited;449 cmbAggregateFunction100.DefaultText = "";450 cmbAggregateFunction100.EditMode = TextComboEditMode.LimitedValues;451 ((Control)cmbAggregateFunction100).ForeColor = Color.Black;452 ((Control)cmbAggregateFunction100).Location = new Point(0, 181);453 ((Control)cmbAggregateFunction100).Margin = new Padding(0);454 ((Control)cmbAggregateFunction100).Name = "cmbAggregateFunction100";455 ((Control)cmbAggregateFunction100).Size = new Size(617, 25);456 ((Control)cmbAggregateFunction100).TabIndex = 13;457 ((Panel)cmbAggregateFunction100).TabStop = true;458 cmbAggregateFunction100.Templates = new string[0];459 Translator.SetTextProperty((IComponent)(object)cmbAggregateFunction100, null);460 ((Control)edtPreProcessorCondition).AccessibleRole = (AccessibleRole)42;461 edtPreProcessorCondition.Activator = acDashBoardDef;462 ((Control)edtPreProcessorCondition).Anchor = (AnchorStyles)13;463 ((Control)edtPreProcessorCondition).BackColor = Color.FromArgb(255, 255, 255);464 edtPreProcessorCondition.ColumnName = "PreProcessorCondition";465 edtPreProcessorCondition.ControlStyle = ViControlStyle.Inherited;466 ((Control)edtPreProcessorCondition).ForeColor = SystemColors.ControlText;467 ((Control)edtPreProcessorCondition).Location = new Point(0, 55);468 ((Control)edtPreProcessorCondition).Margin = new Padding(0);469 ((Control)edtPreProcessorCondition).Name = "edtPreProcessorCondition";470 ((Control)edtPreProcessorCondition).Size = new Size(617, 24);471 ((Control)edtPreProcessorCondition).TabIndex = 14;472 Translator.SetTextProperty((IComponent)(object)edtPreProcessorCondition, null);473 ((Control)cmbAggregateFunction).AccessibleRole = (AccessibleRole)46;474 cmbAggregateFunction.Activator = acDashBoardDef;475 cmbAggregateFunction.AddUnknownDBItems = true;476 ((Control)cmbAggregateFunction).Anchor = (AnchorStyles)13;477 ((Control)cmbAggregateFunction).BackColor = Color.FromArgb(255, 255, 255);478 cmbAggregateFunction.ColumnName = "AggregateFunction";479 cmbAggregateFunction.ControlStyle = ViControlStyle.Inherited;480 cmbAggregateFunction.DefaultText = "";481 cmbAggregateFunction.EditMode = TextComboEditMode.LimitedValues;482 ((Control)cmbAggregateFunction).ForeColor = SystemColors.ControlText;483 ((Control)cmbAggregateFunction).Location = new Point(0, 155);484 ((Control)cmbAggregateFunction).Margin = new Padding(0);485 ((Control)cmbAggregateFunction).Name = "cmbAggregateFunction";486 ((Control)cmbAggregateFunction).Size = new Size(617, 25);487 ((Control)cmbAggregateFunction).TabIndex = 12;488 ((Panel)cmbAggregateFunction).TabStop = true;489 cmbAggregateFunction.Templates = new string[0];490 Translator.SetTextProperty((IComponent)(object)cmbAggregateFunction, null);491 ((Control)edtHistoryLength).AccessibleRole = (AccessibleRole)42;492 edtHistoryLength.Activator = acDashBoardDef;493 ((Control)edtHistoryLength).BackColor = Color.FromArgb(255, 255, 255);494 edtHistoryLength.ColumnName = "HistoryLength";495 edtHistoryLength.ControlStyle = ViControlStyle.Inherited;496 ((Control)edtHistoryLength).ForeColor = SystemColors.ControlText;497 ((Control)edtHistoryLength).Location = new Point(0, 332);498 ((Control)edtHistoryLength).Margin = new Padding(0);499 ((Control)edtHistoryLength).Name = "edtHistoryLength";500 ((Control)edtHistoryLength).Size = new Size(293, 24);501 ((Control)edtHistoryLength).TabIndex = 10;502 Translator.SetTextProperty((IComponent)(object)edtHistoryLength, null);503 cbxDialogSchedule.Activator = acDashBoardDef;504 ((Control)cbxDialogSchedule).Anchor = (AnchorStyles)13;505 ((Control)cbxDialogSchedule).BackColor = Color.FromArgb(255, 255, 255);506 cbxDialogSchedule.ColumnName = "UID_DialogSchedule";507 cbxDialogSchedule.ControlStyle = ViControlStyle.Inherited;508 cbxDialogSchedule.DefaultText = "";509 ((Control)cbxDialogSchedule).ForeColor = SystemColors.ControlText;510 ((Control)cbxDialogSchedule).Location = new Point(0, 129);511 ((Control)cbxDialogSchedule).Margin = new Padding(0);512 ((Control)cbxDialogSchedule).Name = "cbxDialogSchedule";513 ((Control)cbxDialogSchedule).Size = new Size(617, 22);514 cbxDialogSchedule.Sorted = true;515 ((Control)cbxDialogSchedule).TabIndex = 3;516 ((Panel)cbxDialogSchedule).TabStop = true;517 Translator.SetTextProperty((IComponent)(object)cbxDialogSchedule, null);518 ((Control)edtDisplayUnit).AccessibleRole = (AccessibleRole)42;519 edtDisplayUnit.Activator = acDashBoardDef;520 ((Control)edtDisplayUnit).BackColor = Color.FromArgb(255, 255, 255);521 edtDisplayUnit.ColumnName = "DisplayUnit";522 edtDisplayUnit.ControlStyle = ViControlStyle.Inherited;523 ((Control)edtDisplayUnit).ForeColor = SystemColors.ControlText;524 ((Control)edtDisplayUnit).Location = new Point(0, 256);525 ((Control)edtDisplayUnit).Margin = new Padding(0);526 ((Control)edtDisplayUnit).Name = "edtDisplayUnit";527 ((Control)edtDisplayUnit).Size = new Size(293, 24);528 ((Control)edtDisplayUnit).TabIndex = 6;529 Translator.SetTextProperty((IComponent)(object)edtDisplayUnit, null);530 ((Control)edtDescription).AccessibleRole = (AccessibleRole)42;531 edtDescription.Activator = acDashBoardDef;532 ((Control)edtDescription).Anchor = (AnchorStyles)13;533 ((Control)edtDescription).BackColor = Color.FromArgb(255, 255, 255);534 edtDescription.ColumnName = "Description";535 edtDescription.ControlStyle = ViControlStyle.Inherited;536 ((Control)edtDescription).ForeColor = SystemColors.ControlText;537 ((Control)edtDescription).Location = new Point(0, 79);538 ((Control)edtDescription).Margin = new Padding(0);539 ((Control)edtDescription).Name = "edtDescription";540 edtDescription.NumberOfLines = 3;541 ((Control)edtDescription).Size = new Size(617, 46);542 ((Control)edtDescription).TabIndex = 2;543 Translator.SetTextProperty((IComponent)(object)edtDescription, null);544 ((Control)editRedLimit).AccessibleRole = (AccessibleRole)42;545 editRedLimit.Activator = acDashBoardDef;546 ((Control)editRedLimit).BackColor = Color.FromArgb(255, 255, 255);547 editRedLimit.ColumnName = "RedLimit";548 editRedLimit.ControlStyle = ViControlStyle.Inherited;549 ((Control)editRedLimit).ForeColor = SystemColors.ControlText;550 ((Control)editRedLimit).Location = new Point(0, 232);551 ((Control)editRedLimit).Margin = new Padding(0);552 ((Control)editRedLimit).Name = "editRedLimit";553 ((Control)editRedLimit).Size = new Size(293, 24);554 ((Control)editRedLimit).TabIndex = 5;555 Translator.SetTextProperty((IComponent)(object)editRedLimit, null);556 ((Control)editGreenLimit).AccessibleRole = (AccessibleRole)42;557 editGreenLimit.Activator = acDashBoardDef;558 ((Control)editGreenLimit).BackColor = Color.FromArgb(255, 255, 255);559 editGreenLimit.ColumnName = "GreenLimit";560 editGreenLimit.ControlStyle = ViControlStyle.Inherited;561 ((Control)editGreenLimit).ForeColor = SystemColors.ControlText;562 ((Control)editGreenLimit).Location = new Point(0, 208);563 ((Control)editGreenLimit).Margin = new Padding(0);564 ((Control)editGreenLimit).Name = "editGreenLimit";565 ((Control)editGreenLimit).Size = new Size(293, 24);566 ((Control)editGreenLimit).TabIndex = 4;567 Translator.SetTextProperty((IComponent)(object)editGreenLimit, null);568 ((Control)edtDisplayName).AccessibleRole = (AccessibleRole)42;569 edtDisplayName.Activator = acDashBoardDef;570 ((Control)edtDisplayName).Anchor = (AnchorStyles)13;571 ((Control)edtDisplayName).BackColor = Color.FromArgb(255, 255, 255);572 edtDisplayName.ColumnName = "DisplayName";573 edtDisplayName.ControlStyle = ViControlStyle.Inherited;574 ((Control)edtDisplayName).ForeColor = SystemColors.ControlText;575 ((Control)edtDisplayName).Location = new Point(0, 32);576 ((Control)edtDisplayName).Margin = new Padding(0);577 ((Control)edtDisplayName).Name = "edtDisplayName";578 ((Control)edtDisplayName).Size = new Size(617, 24);579 ((Control)edtDisplayName).TabIndex = 1;580 Translator.SetTextProperty((IComponent)(object)edtDisplayName, null);581 ((Control)edtIdent_DialogDashboardDef).AccessibleRole = (AccessibleRole)42;582 edtIdent_DialogDashboardDef.Activator = acDashBoardDef;583 ((Control)edtIdent_DialogDashboardDef).Anchor = (AnchorStyles)13;584 ((Control)edtIdent_DialogDashboardDef).BackColor = Color.FromArgb(255, 255, 255);585 edtIdent_DialogDashboardDef.ColumnName = "Ident_DialogDashboardDef";586 edtIdent_DialogDashboardDef.ControlStyle = ViControlStyle.Inherited;587 ((Control)edtIdent_DialogDashboardDef).ForeColor = SystemColors.ControlText;588 ((Control)edtIdent_DialogDashboardDef).Location = new Point(0, 8);589 ((Control)edtIdent_DialogDashboardDef).Margin = new Padding(0);590 ((Control)edtIdent_DialogDashboardDef).Name = "edtIdent_DialogDashboardDef";591 ((Control)edtIdent_DialogDashboardDef).Size = new Size(617, 24);592 ((Control)edtIdent_DialogDashboardDef).TabIndex = 0;593 Translator.SetTextProperty((IComponent)(object)edtIdent_DialogDashboardDef, null);594 ((Control)cmbCurrentState).AccessibleRole = (AccessibleRole)46;595 cmbCurrentState.Activator = acDashBoardDef;596 cmbCurrentState.AddUnknownDBItems = true;597 ((Control)cmbCurrentState).BackColor = Color.FromArgb(255, 255, 255);598 cmbCurrentState.ColumnName = "TimeScaleUnit";599 cmbCurrentState.ControlStyle = ViControlStyle.Inherited;600 cmbCurrentState.DefaultText = "";601 cmbCurrentState.EditMode = TextComboEditMode.LimitedValues;602 ((Control)cmbCurrentState).ForeColor = SystemColors.ControlText;603 ((Control)cmbCurrentState).Location = new Point(0, 280);604 ((Control)cmbCurrentState).Margin = new Padding(0);605 ((Control)cmbCurrentState).Name = "cmbCurrentState";606 ((Control)cmbCurrentState).Size = new Size(293, 25);607 ((Control)cmbCurrentState).TabIndex = 11;608 ((Panel)cmbCurrentState).TabStop = true;609 cmbCurrentState.Templates = new string[0];610 Translator.SetTextProperty((IComponent)(object)cmbCurrentState, null);611 sedtQueryDefinition100.AcceptsTab = true;612 sedtQueryDefinition100.Activator = acDashBoardDef;613 ((Control)sedtQueryDefinition100).BackColor = Color.FromArgb(255, 255, 255);614 sedtQueryDefinition100.ColumnName = "QueryDefinition100";615 ((Control)sedtQueryDefinition100).Controls.Add((Control)(object)btnCheckQueryDefinition100);616 sedtQueryDefinition100.ControlStyle = ViControlStyle.Inherited;617 ((Control)sedtQueryDefinition100).Dock = (DockStyle)1;618 ((Control)sedtQueryDefinition100).ForeColor = SystemColors.ControlText;619 ((Control)sedtQueryDefinition100).Location = new Point(0, 64);620 ((Control)sedtQueryDefinition100).Margin = new Padding(0);621 ((Control)sedtQueryDefinition100).Name = "sedtQueryDefinition100";622 sedtQueryDefinition100.NumberOfLines = 4;623 ((Control)sedtQueryDefinition100).Padding = new Padding(0, 2, 0, 0);624 ((Control)sedtQueryDefinition100).Size = new Size(452, 64);625 ((Control)sedtQueryDefinition100).TabIndex = 1;626 ((Panel)sedtQueryDefinition100).TabStop = true;627 Translator.SetTextProperty((IComponent)(object)sedtQueryDefinition100, null);628 ((Control)sedtQueryDefinition100).EnabledChanged += new EventHandler(sedtQueryDefinition100_EnabledChanged);629 ((Control)btnCheckQueryDefinition100).Location = new Point(3, 24);630 ((Control)btnCheckQueryDefinition100).Name = "btnCheckQueryDefinition100";631 ((Control)btnCheckQueryDefinition100).Size = new Size(167, 23);632 ((Control)btnCheckQueryDefinition100).TabIndex = 0;633 ((Control)btnCheckQueryDefinition100).Text = "DialogDashBoardDefEditor_btnCheck";634 Translator.SetTextProperty((IComponent)(object)btnCheckQueryDefinition100, "Text");635 ((ButtonBase)btnCheckQueryDefinition100).UseVisualStyleBackColor = true;636 ((Control)btnCheckQueryDefinition100).Click += new EventHandler(btnCheckQueryDefinition100_Click);637 sedtQueryDefinition.AcceptsTab = true;638 sedtQueryDefinition.Activator = acDashBoardDef;639 ((Control)sedtQueryDefinition).BackColor = Color.FromArgb(255, 255, 255);640 sedtQueryDefinition.ColumnName = "QueryDefinition";641 ((Control)sedtQueryDefinition).Controls.Add((Control)(object)btnCheckQueryDefinition);642 sedtQueryDefinition.ControlStyle = ViControlStyle.Inherited;643 ((Control)sedtQueryDefinition).Dock = (DockStyle)1;644 ((Control)sedtQueryDefinition).ForeColor = SystemColors.ControlText;645 ((Control)sedtQueryDefinition).Location = new Point(0, 0);646 ((Control)sedtQueryDefinition).Margin = new Padding(0);647 ((Control)sedtQueryDefinition).Name = "sedtQueryDefinition";648 sedtQueryDefinition.NumberOfLines = 4;649 ((Control)sedtQueryDefinition).Padding = new Padding(0, 2, 0, 0);650 ((Control)sedtQueryDefinition).Size = new Size(452, 64);651 ((Control)sedtQueryDefinition).TabIndex = 0;652 ((Panel)sedtQueryDefinition).TabStop = true;653 Translator.SetTextProperty((IComponent)(object)sedtQueryDefinition, null);654 ((Control)sedtQueryDefinition).EnabledChanged += new EventHandler(sedtQueryDefinition_EnabledChanged);655 ((Control)btnCheckQueryDefinition).Location = new Point(3, 24);656 ((Control)btnCheckQueryDefinition).Name = "btnCheckQueryDefinition";657 ((Control)btnCheckQueryDefinition).Size = new Size(167, 23);658 ((Control)btnCheckQueryDefinition).TabIndex = 0;659 ((Control)btnCheckQueryDefinition).Text = "DialogDashBoardDefEditor_btnCheck";660 Translator.SetTextProperty((IComponent)(object)btnCheckQueryDefinition, "Text");661 ((ButtonBase)btnCheckQueryDefinition).UseVisualStyleBackColor = true;662 ((Control)btnCheckQueryDefinition).Click += new EventHandler(btnCheckQueryDefinition_Click);663 btnCheckDB.Caption = "ialogDashBoardDefEditor_btnCheckDB";664 ((Control)btnCheckDB).Location = new Point(182, 13);665 ((Control)btnCheckDB).Margin = new Padding(0);666 ((Control)btnCheckDB).Name = "btnCheckDB";667 ((Control)btnCheckDB).Size = new Size(105, 23);668 ((Control)btnCheckDB).TabIndex = 0;669 Translator.SetTextProperty((IComponent)(object)btnCheckDB, null);670 ((Control)btnCheckDB).Click += new EventHandler(btnCheckDB_Click);671 ((Control)tabControl).Controls.Add((Control)(object)tabPageProperties);672 ((Control)tabControl).Controls.Add((Control)(object)tabPageQueries);673 ((Control)tabControl).Dock = (DockStyle)5;674 ((Control)tabControl).Location = new Point(0, 0);675 ((Control)tabControl).Name = "tabControl";676 tabControl.SelectedIndex = 0;677 ((Control)tabControl).Size = new Size(633, 513);678 ((Control)tabControl).TabIndex = 7;679 Translator.SetTextProperty((IComponent)(object)tabControl, null);680 ((Control)tabPageProperties).BackColor = SystemColors.ControlDark;681 ((Control)tabPageProperties).Controls.Add((Control)(object)panelProperties);682 tabPageProperties.ImageIndex = 0;683 tabPageProperties.Location = new Point(4, 22);684 ((Control)tabPageProperties).Name = "tabPageProperties";685 ((Control)tabPageProperties).Size = new Size(625, 487);686 tabPageProperties.TabIndex = 0;687 ((Control)tabPageProperties).Text = "Properties";688 Translator.SetTextProperty((IComponent)(object)tabPageProperties, null);689 ((Control)tabPageQueries).BackColor = SystemColors.ControlDark;690 ((Control)tabPageQueries).Controls.Add((Control)(object)panelQueries);691 tabPageQueries.ImageIndex = 1;692 tabPageQueries.Location = new Point(4, 22);693 ((Control)tabPageQueries).Name = "tabPageQueries";694 ((Control)tabPageQueries).Size = new Size(454, 405);695 tabPageQueries.TabIndex = 1;696 ((Control)tabPageQueries).Text = "Options";697 Translator.SetTextProperty((IComponent)(object)tabPageQueries, null);698 ((Control)panelQueries).BackColor = Color.FromArgb(255, 255, 255);699 ((Control)panelQueries).Controls.Add((Control)(object)panelCheckDB);700 ((Control)panelQueries).Controls.Add((Control)(object)sedtAccessWhereClause);701 ((Control)panelQueries).Controls.Add((Control)(object)sedtQueryDefinition100);702 ((Control)panelQueries).Controls.Add((Control)(object)sedtQueryDefinition);703 panelQueries.ControlStyle = ViControlStyle.Inherited;704 ((Control)panelQueries).Dock = (DockStyle)5;705 ((Control)panelQueries).ForeColor = SystemColors.ControlText;706 panelQueries.IsBackgroundPanel = false;707 ((Control)panelQueries).Location = new Point(0, 0);708 ((Control)panelQueries).Margin = new Padding(0);709 ((Control)panelQueries).Name = "panelQueries";710 ((Control)panelQueries).Padding = new Padding(0, 0, 2, 0);711 panelQueries.ShowContextHelp = false;712 ((Control)panelQueries).Size = new Size(454, 405);713 ((Control)panelQueries).TabIndex = 65559;714 Translator.SetTextProperty((IComponent)(object)panelQueries, null);715 ((Control)panelCheckDB).AccessibleName = "DialogDashBoardDefEditor_CheckDB";716 ((Control)panelCheckDB).BackColor = Color.FromArgb(255, 255, 255);717 panelCheckDB.Caption = "DialogDashBoardDefEditor_CheckDB";718 ((Control)panelCheckDB).Controls.Add((Control)(object)captionLabel1);719 ((Control)panelCheckDB).Controls.Add((Control)(object)btnCheckDB);720 panelCheckDB.ControlStyle = ViControlStyle.Inherited;721 ((Control)panelCheckDB).Dock = (DockStyle)1;722 ((Control)panelCheckDB).ForeColor = SystemColors.ControlText;723 panelCheckDB.IsBackgroundPanel = false;724 ((Control)panelCheckDB).Location = new Point(0, 192);725 ((Control)panelCheckDB).Margin = new Padding(0);726 ((Control)panelCheckDB).Name = "panelCheckDB";727 panelCheckDB.ShowColumnState = false;728 panelCheckDB.ShowContextHelp = false;729 ((Control)panelCheckDB).Size = new Size(452, 47);730 ((Control)panelCheckDB).TabIndex = 65560;731 ((Control)panelCheckDB).Text = "DialogDashBoardDefEditor_CheckDB";732 Translator.SetTextProperty((IComponent)(object)panelCheckDB, "Caption");733 panelCheckDB.UseColumnCaption = false;734 ((Control)captionLabel1).AccessibleName = "DialogDashBoardDefEditor_CheckDB";735 ((Control)captionLabel1).BackColor = Color.FromArgb(255, 255, 255);736 captionLabel1.Caption = "DialogDashBoardDefEditor_CheckDB";737 captionLabel1.ControlStyle = ViControlStyle.Inherited;738 ((Control)captionLabel1).ForeColor = SystemColors.ControlText;739 ((Control)captionLabel1).Location = new Point(0, 14);740 ((Control)captionLabel1).Margin = new Padding(0);741 ((Control)captionLabel1).Name = "captionLabel1";742 ((Control)captionLabel1).Size = new Size(181, 22);743 ((Control)captionLabel1).TabIndex = 1;744 ((Control)captionLabel1).Text = "DialogDashBoardDefEditor_CheckDB";745 Translator.SetTextProperty((IComponent)(object)captionLabel1, "Text");746 sedtAccessWhereClause.AcceptsTab = true;747 sedtAccessWhereClause.Activator = acDashBoardDef;748 ((Control)sedtAccessWhereClause).BackColor = Color.FromArgb(255, 255, 255);749 sedtAccessWhereClause.ColumnName = "AccessWhereClause";750 ((Control)sedtAccessWhereClause).Controls.Add((Control)(object)btnCheckAccessWhereClause);751 sedtAccessWhereClause.ControlStyle = ViControlStyle.Inherited;752 ((Control)sedtAccessWhereClause).Dock = (DockStyle)1;753 ((Control)sedtAccessWhereClause).ForeColor = SystemColors.ControlText;754 ((Control)sedtAccessWhereClause).Location = new Point(0, 128);755 ((Control)sedtAccessWhereClause).Margin = new Padding(0);756 ((Control)sedtAccessWhereClause).Name = "sedtAccessWhereClause";757 sedtAccessWhereClause.NumberOfLines = 4;758 ((Control)sedtAccessWhereClause).Padding = new Padding(0, 2, 0, 0);759 ((Control)sedtAccessWhereClause).Size = new Size(452, 64);760 ((Control)sedtAccessWhereClause).TabIndex = 2;761 ((Panel)sedtAccessWhereClause).TabStop = true;762 Translator.SetTextProperty((IComponent)(object)sedtAccessWhereClause, null);763 ((Control)sedtAccessWhereClause).EnabledChanged += new EventHandler(sedtAccessWhereClause_EnabledChanged);764 ((Control)btnCheckAccessWhereClause).Location = new Point(3, 24);765 ((Control)btnCheckAccessWhereClause).Name = "btnCheckAccessWhereClause";766 ((Control)btnCheckAccessWhereClause).Size = new Size(167, 23);767 ((Control)btnCheckAccessWhereClause).TabIndex = 1;768 ((Control)btnCheckAccessWhereClause).Text = "DialogDashBoardDefEditor_btnCheck";769 Translator.SetTextProperty((IComponent)(object)btnCheckAccessWhereClause, "Text");770 ((ButtonBase)btnCheckAccessWhereClause).UseVisualStyleBackColor = true;771 ((Control)btnCheckAccessWhereClause).Click += new EventHandler(btnCheckAccessWhereClause_Click);772 ((Control)cmbType).AccessibleRole = (AccessibleRole)46;773 cmbType.Activator = acDashBoardDef;774 cmbType.AddUnknownDBItems = true;775 ((Control)cmbType).BackColor = Color.FromArgb(255, 255, 255);776 cmbType.ColumnName = "DashBoardType";777 cmbType.ControlStyle = ViControlStyle.Inherited;778 cmbType.DefaultText = "";779 cmbType.EditMode = TextComboEditMode.LimitedValues;780 ((Control)cmbType).ForeColor = SystemColors.ControlText;781 ((Control)cmbType).Location = new Point(0, 306);782 ((Control)cmbType).Margin = new Padding(0);783 ((Control)cmbType).Name = "cmbType";784 ((Control)cmbType).Size = new Size(293, 25);785 ((Control)cmbType).TabIndex = 19;786 ((Panel)cmbType).TabStop = true;787 cmbType.Templates = new string[0];788 Translator.SetTextProperty((IComponent)(object)cmbType, null);789 ((ScrollableControl)this).AutoScroll = true;790 ((ScrollableControl)this).AutoScrollMinSize = new Size(0, 456);791 ((Control)this).Controls.Add((Control)(object)tabControl);792 ((Control)this).Font = new Font("Segoe UI", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);793 base.Name = "DialogDashBoardDefEditor";794 ((Control)this).Size = new Size(633, 513);795 Translator.SetTextProperty((IComponent)(object)this, null);796 ((ISupportInitialize)Translator).EndInit();797 ((ISupportInitialize)panelProperties).EndInit();798 ((Control)panelProperties).ResumeLayout(false);799 ((ISupportInitialize)chbIsInActive).EndInit();800 ((ISupportInitialize)chbIsManual).EndInit();801 ((ISupportInitialize)chbIsAdHoc).EndInit();802 ((ISupportInitialize)chbIsDeactivatedByPreProcessor).EndInit();803 ((ISupportInitialize)cmbAggregateFunction100).EndInit();804 ((ISupportInitialize)edtPreProcessorCondition).EndInit();805 ((ISupportInitialize)cmbAggregateFunction).EndInit();806 ((ISupportInitialize)edtHistoryLength).EndInit();807 ((ISupportInitialize)cbxDialogSchedule).EndInit();808 ((ISupportInitialize)edtDisplayUnit).EndInit();809 ((ISupportInitialize)edtDescription).EndInit();810 ((ISupportInitialize)editRedLimit).EndInit();811 ((ISupportInitialize)editGreenLimit).EndInit();812 ((ISupportInitialize)edtDisplayName).EndInit();813 ((ISupportInitialize)edtIdent_DialogDashboardDef).EndInit();814 ((ISupportInitialize)cmbCurrentState).EndInit();815 ((ISupportInitialize)sedtQueryDefinition100).EndInit();816 ((Control)sedtQueryDefinition100).ResumeLayout(false);817 ((ISupportInitialize)sedtQueryDefinition).EndInit();818 ((Control)sedtQueryDefinition).ResumeLayout(false);819 ((Control)tabControl).ResumeLayout(false);820 ((Control)tabPageProperties).ResumeLayout(false);821 ((Control)tabPageQueries).ResumeLayout(false);822 ((ISupportInitialize)panelQueries).EndInit();823 ((Control)panelQueries).ResumeLayout(false);824 ((ISupportInitialize)panelCheckDB).EndInit();825 ((Control)panelCheckDB).ResumeLayout(false);826 ((ISupportInitialize)captionLabel1).EndInit();827 ((ISupportInitialize)sedtAccessWhereClause).EndInit();828 ((Control)sedtAccessWhereClause).ResumeLayout(false);829 ((ISupportInitialize)cmbType).EndInit();830 ((Control)this).ResumeLayout(false);831 }832833 protected override void ControllerDocumentChanged(object sender, DocumentControllerEventArgs e)834 {835 base.ControllerDocumentChanged(sender, e);836 if (DBDocument != null)837 {838 acDashBoardDef.DbObject = DBDocument.DBObject;839 ((Control)this).Text = DBDocument.Display;840 ((Control)btnCheckDB).Visible = DBDocument.DBObject.Connection.Session.Type == SessionType.Direct;841 ((Control)tabControl).Visible = true;842 }843 else844 {845 acDashBoardDef.DbObject = null;846 ((Control)this).Text = EditorControl.LM["ComponentPropertyEditor_NoSelectedObject"];847 ((Control)tabControl).Visible = false;848 }849 ((Control)btnCheckQueryDefinition).Enabled = sedtQueryDefinition.IsEnabled;850 ((Control)btnCheckQueryDefinition100).Enabled = sedtQueryDefinition100.IsEnabled;851 ((Control)btnCheckAccessWhereClause).Enabled = sedtAccessWhereClause.IsEnabled;852 }853854 protected override void ControllerDocumentSaving(object sender, DocumentEventArgs e)855 {856 base.ControllerDocumentSaving(sender, e);857 if (acDashBoardDef.DbObject != null)858 {859 acDashBoardDef.Save();860 }861 }862863 private void Activator_Changed(object sender, ActivatorEventArgs args)864 {865 if (DBDocument != null && !DBDocument.State.IsChanged)866 {867 DBDocument.SignalChange();868 }869 }870871 private void _InitializeComponent()872 {873 ISingleDbObject dbObject = DataManager.Database.RAMConnection.CreateSingle("DialogDashBoardDef");874 acDashBoardDef.DbObject = dbObject;875 acDashBoardDef.DbObject = null;876 ((Control)this).Text = EditorControl.LM["ComponentPropertyEditor_NoSelectedObject"];877 ((Control)tabControl).Visible = false;878 InitTabExtender(tabControl, acDashBoardDef);879 }880881 private void _TranslateComponent()882 {883 ((Control)tabPageProperties).Text = EditorControl.LM["DialogDashBoardDefEditor_tabPageProperties"];884 ((Control)tabPageQueries).Text = EditorControl.LM["DialogDashBoardDefEditor_tabPageQueries"];885 }886887 private void btnCheckQueryDefinition_Click(object sender, EventArgs e)888 {889 //IL_0065: Unknown result type (might be due to invalid IL or missing references)890 try891 {892 if (DBDocument != null)893 {894 sedtQueryDefinition.Save();895 IDbSession dbSession = DataManager.Database.MasterSession.Resolve<IDbSession>();896 DBDocument.DBObject.Custom.CallMethod("CheckQueryDefinition", dbSession);897 MessageBox.Show((IWin32Window)(object)((Control)this).FindForm(), LanguageManager.Instance["DialogDashBoardDefEditor_QueryOk"], Application.ProductName, (MessageBoxButtons)0, (MessageBoxIcon)64);898 }899 }900 catch (System.Exception exception)901 {902 ExceptionMgr.Instance.HandleException(exception, null);903 }904 }905906 private void btnCheckQueryDefinition100_Click(object sender, EventArgs e)907 {908 //IL_0065: Unknown result type (might be due to invalid IL or missing references)909 try910 {911 if (DBDocument != null)912 {913 sedtQueryDefinition100.Save();914 IDbSession dbSession = DataManager.Database.MasterSession.Resolve<IDbSession>();915 DBDocument.DBObject.Custom.CallMethod("CheckQueryDefinition100", dbSession);916 MessageBox.Show((IWin32Window)(object)((Control)this).FindForm(), LanguageManager.Instance["DialogDashBoardDefEditor_QueryOk"], Application.ProductName, (MessageBoxButtons)0, (MessageBoxIcon)64);917 }918 }919 catch (System.Exception exception)920 {921 ExceptionMgr.Instance.HandleException(exception, null);922 }923 }924925 private void btnCheckAccessWhereClause_Click(object sender, EventArgs e)926 {927 //IL_0065: Unknown result type (might be due to invalid IL or missing references)928 try929 {930 if (DBDocument != null)931 {932 sedtAccessWhereClause.Save();933 IDbSession dbSession = DataManager.Database.MasterSession.Resolve<IDbSession>();934 DBDocument.DBObject.Custom.CallMethod("CheckAccessWhereClause", dbSession);935 MessageBox.Show((IWin32Window)(object)((Control)this).FindForm(), LanguageManager.Instance["DialogDashBoardDefEditor_QueryOk"], Application.ProductName, (MessageBoxButtons)0, (MessageBoxIcon)64);936 }937 }938 catch (System.Exception exception)939 {940 ExceptionMgr.Instance.HandleException(exception, null);941 }942 }943944 private void btnCheckDB_Click(object sender, EventArgs e)945 {946 //IL_00a7: Unknown result type (might be due to invalid IL or missing references)947 //IL_00ac: Unknown result type (might be due to invalid IL or missing references)948 //IL_0149: Unknown result type (might be due to invalid IL or missing references)949 System.Exception ex = null;950 using (new Transaction(DataManager.Database.MasterConnection))951 {952 ISingleDbObject singleDbObject = DataManager.Database.MasterConnection.CreateSingle("DialogDashBoardDef");953 ISingleDbObject dBObject = DBDocument.DBObject;954 ISqlFormatter sqlFormatter = DataManager.Database.MasterConnection.SqlFormatter;955 PropertyBag objectProperties = wizSheetReplace.GetObjectProperties(dBObject);956 try957 {958 objectProperties.PutValue("Ident_DialogDashboardDef", "Designer_Test_DashBoard");959 objectProperties.ChangeObject(singleDbObject, overwriteValues: true);960 singleDbObject.Save();961 singleDbObject.Load();962 string sqlStatement = sqlFormatter.StoredProcedure(new SqlFunction("QBM", "GDBQueueTasks", "PDashBoardDefine"), sqlFormatter.FormatValue(singleDbObject["UID_DialogDashBoardDef"].NewValue, ValType.String), sqlFormatter.FormatValue(((object)Guid.NewGuid()/*cast due to .constrained prefix*/).ToString(), ValType.String), sqlFormatter.FormatValue(true, ValType.Bool));963 DataManager.Database.MasterConnection.CreateSqlExecutor(DataManager.Database.MasterKey).SqlExecuteNonQuery(sqlStatement);964 }965 catch (System.Exception ex2)966 {967 ex = ex2;968 }969 finally970 {971 if (singleDbObject != null && singleDbObject.IsLoaded)972 {973 singleDbObject.Delete();974 singleDbObject.Save();975 }976 }977 }978 if (ex != null)979 {980 ExceptionMgr.Instance.HandleException(ex, null);981 }982 else983 {984 MessageBox.Show((IWin32Window)(object)this, EditorControl.LM["DialogDashBoardDefEditor_msgCheckOk"], Application.ProductName, (MessageBoxButtons)0, (MessageBoxIcon)64);985 }986 }987988 private void sedtQueryDefinition_EnabledChanged(object sender, EventArgs e)989 {990 ((Control)btnCheckQueryDefinition).Enabled = sedtQueryDefinition.IsEnabled;991 }992993 private void sedtQueryDefinition100_EnabledChanged(object sender, EventArgs e)994 {995 ((Control)btnCheckQueryDefinition100).Enabled = sedtQueryDefinition100.IsEnabled;996 }997998 private void sedtAccessWhereClause_EnabledChanged(object sender, EventArgs e)999 {1000 ((Control)btnCheckAccessWhereClause).Enabled = sedtAccessWhereClause.IsEnabled;1001 }1002}1003