VI.Projector.Editor/VI.Projector.Editor/ManageStartSequencesDialog.cs
Decompiler Source FileVI.Projector.Editor.ManageStartSequencesDialogDecompiled Source
Interpretation
- Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.
Relations
- Generate: Run at line 696
- UnitOfWork.Generate: Run at line 696
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.
reads entity values references DB/Dialog objects
Summary: classes ManageStartSequencesDialog; methods OnTranslateDialog, OnSave, OnShown, _SetupLogic, _FilterStartInfos, _Move; references DialogSchedule, DialogTable, DPRProjectionStartInfo, DPRShell, DPRStartSequence, ESet; markers reads entity values, references DB/Dialog objects
Classes
ManageStartSequencesDialogMethods
- OnTranslateDialog
- OnSave
- OnShown
- _SetupLogic
- _FilterStartInfos
- _Move
- _CreateNewSequence
- _SaveSequence
- _DeleteSequenceOrInstance
- _OpenStartSequence
- _OpenStartSequenceInstance
- _LoadStartInfos
- _AdaptState
- _SaveIfRequired
- _Save
- _CreateSchedule
- _RunSequence
- ToggleAssignment
- _LoadExistingSequences
- _ReloadSequenceInstances
- _CreateSequenceItem
- _CalcDetailText
- m_SelectListStartInfos_ItemActivated
- m_SelectListStartInfos_SelectedItemChanged
- Dispose
- InitializeComponent
DB/Dialog object references
OIM key/entity markers
UID_DPRShell UID_DialogTableBelongsTo UID_DialogSchedule UID_DPRStartSequenceTemplateAPI/entity calls
GetValue SqlFormatter From Source MetaDataRegistrations / handlers
None extracted.
Complete Source
1using System;2using System.Collections;3using System.Collections.Generic;4using System.ComponentModel;5using System.Drawing;6using System.Linq;7using System.Runtime.CompilerServices;8using System.Threading;9using System.Windows.Forms;10using VI.Base;11using VI.Controls;12using VI.Controls.AlienSupport;13using VI.Controls.Base;14using VI.Controls.Design;15using VI.DB;16using VI.DB.Entities;17using VI.DB.Sync;18using VI.FormBase;19using VI.ImageLibrary;20using VI.Projector.Database;21using VI.Projector.Editor.Internal;22using VI.Projector.UI;23using VI.Projector.UI.Controls;24using VI.Projector.UI.Dialogs;25using VI.UI.Base;26using VI.UI.Base.Help;27using VI.UI.Base.Images;28using VI.UI.Controls.Common;29using VI.UI.Controls.Common.WinForms;3031namespace VI.Projector.Editor;3233[Help("Help\\SynchronizationEditor\\ManageStartSequencesDialog")]34internal class ManageStartSequencesDialog : ProjectorUIDialogBase35{36 private readonly ISession m_Session;3738 private readonly ResetLazy<System.Collections.Generic.IList<StartInfo>> m_ExistingStartInfos;3940 private StartSequence m_LoadedSequence;4142 private StartSequenceInstance m_LoadedInstance;4344 private bool m_OrderChanged;4546 private IContainer components;4748 private VI.UI.Controls.Common.WinForms.Button m_ButtonOk;4950 private VI.UI.Controls.Common.WinForms.Button m_ButtonCancel;5152 private VI.Controls.AlienSupport.Panel panel1;5354 private VI.Controls.HeaderControl m_HeaderControl;5556 private Panel panel2;5758 private GroupBoxControl m_GroupBoxStartInfos;5960 private Splitter splitter1;6162 private GroupBoxControl m_GroupBoxStartGroups;6364 private ToolStrip m_ToolBarSequence;6566 private ToolStrip m_ToolBarGroups;6768 private DetailListControl m_DetailListStartInfos;6970 private DetailListControl m_DetailListGroups;7172 private ToolStripButton m_ToolBarButtonSequenceAdd;7374 private ToolStripButton m_ToolBarButtonSequenceDelete;7576 private StockImageComponent m_StockImageComponent;7778 private Edit m_EditGroupName;7980 private TableLayoutPanel tableLayoutPanel1;8182 private Edit m_EditGroupDescription;8384 private ToolStripButton m_ToolBarButtonSequenceSave;8586 private ToolStrip m_ToolBarStartInfos;8788 private ToolStripButton m_ToolBarButtonMoveDown;8990 private ToolStripButton m_ToolBarButtonMoveUp;9192 private Panel flowLayoutPanel1;9394 private CaptionLabel m_CaptionLabelSchedule;9596 private ProjectorUIComboBox m_ComboBoxSchedule;9798 private VI.UI.Controls.Common.WinForms.Button m_ButtonAddSchedule;99100 private ToolStripButton m_ToolBarButtonShowInstances;101102 private ToolStripButton m_ToolBarButtonReload;103104 private Edit m_EditError;105106 private CheckBox m_CheckBoxAllowMultipleInstances;107108 private ToolStripComboBox m_ToolBarComboFilter;109110 private ToolStripButton m_ToolBarButtonFilterStartInfos;111112 private VI.UI.Controls.Common.WinForms.Button m_ButtonStartSequence;113114 private ToolStripSeparator toolStripSeparator1;115116 private ToolStripSeparator m_ToolBarButtonSequenceSaveSep;117118 private ToolStripSeparator toolStripSeparator3;119120 private FlowLayoutPanel flowLayoutPanel2;121122 private CheckBox m_CheckBoxConcurrenceHandling;123124 [DesignerSerializationVisibility(/*Could not decode attribute arguments.*/)]125 [field: CompilerGenerated]126 internal string UidDefaultSequence127 {128 [CompilerGenerated]129 get;130 [CompilerGenerated]131 set;132 }133134 protected override AutoScaleMode DefaultAutoScaleMode => (AutoScaleMode)2;135136 internal ManageStartSequencesDialog(IResolve iocContainer, ISession session)137 : base(iocContainer)138 {139 //IL_001c: Unknown result type (might be due to invalid IL or missing references)140 if (session == null)141 {142 throw new ArgumentNullException("session");143 }144 InitializeComponent();145 m_Session = session;146 ISqlFormatter f = session.SqlFormatter();147 m_ExistingStartInfos = new ResetLazy<System.Collections.Generic.IList<StartInfo>>(() => (System.Collections.Generic.IList<StartInfo>)Enumerable.ToList<StartInfo>(Enumerable.Select<IEntity, StartInfo>((System.Collections.Generic.IEnumerable<IEntity>)m_Session.Source().GetCollection(Query.From("DPRProjectionStartInfo").Where("UID_DPRShell in (select UID_DPRShell from DPRShell where " + f.Comparison("IsFinalized", 1, ValType.Int, CompareOperator.BitsSet) + ")").SelectAll(), EntityCollectionLoadType.BulkReadOnly), (Func<IEntity, StartInfo>)([CompilerGenerated] (IEntity e) => new StartInfo(m_Session, e)))), (LazyThreadSafetyMode)2);148 ((Control)m_DetailListGroups).Font = (((Control)m_DetailListStartInfos).Font = new Font(DesignFonts.FontFamily, 8f, FontStyle.Bold));149 m_DetailListGroups.DetailFont = (m_DetailListStartInfos.DetailFont = new Font(DesignFonts.FontFamily, 8f, FontStyle.Regular));150 m_DetailListStartInfos.Options.InteractWithMouse = true;151 m_ButtonAddSchedule.Image = ImageProvider.CreateCached(StockImage.NewDocument).SmallImage;152 m_ButtonStartSequence.Image = ImageProvider.CreateCached(StockImage.Play).MediumImage;153 _SetupLogic();154 _AdaptState();155 UIHelper.ComboBoxFillWithObjects((ComboBox)(object)m_ComboBoxSchedule, session.Source().GetCollection(Query.From("DialogSchedule").Where(f.AndRelation(f.UidComparison("UID_DialogTableBelongsTo", session.MetaData().GetTable("JobAutoStart").Uid))).SelectDisplays()), addEmpty: true);156 }157158 protected override void OnTranslateDialog(LanguageManager lMgr)159 {160 LanguageManager instance = LanguageManager.Instance;161 ((Control)this).Text = instance["PrjEdtr_ManageStartSequencesDialog_Caption_Title"];162 ((Control)m_HeaderControl).Text = instance["PrjEdtr_ManageStartSequencesDialog_Caption_Description"];163 ((Control)m_GroupBoxStartGroups).Text = instance["PrjEdtr_ManageStartSequencesDialog_Caption_Sequences"];164 ((Control)m_GroupBoxStartInfos).Text = instance["PrjEdtr_ManageStartSequencesDialog_Caption_StartInfos"];165 m_EditGroupName.Caption = "PrjEdtr_ManageStartSequencesDialog_Caption_SequenceName";166 m_EditGroupDescription.Caption = "PrjEdtr_ManageStartSequencesDialog_Caption_SequenceDescription";167 m_CaptionLabelSchedule.Caption = "MapUI_ProjectionStartInfoEditorItem_Caption_Schedule";168 m_EditError.Caption = "PrjEdtr_ManageStartSequencesDialog_Caption_ExecutionError";169 ((Control)m_CheckBoxAllowMultipleInstances).Text = instance["PrjEdtr_ManageStartSequencesDialog_Caption_AllowMultipleInstances"];170 ((Control)m_CheckBoxConcurrenceHandling).Text = instance["PrjEdtr_ManageStartSequencesDialog_Caption_ConccurenceConflictThrowEx"];171 m_ButtonOk.Caption = "MapUI_UIControls_Ok";172 m_ButtonCancel.Caption = "MapUI_UIControls_Cancel";173 ((ToolStripItem)m_ToolBarButtonMoveDown).ToolTipText = instance["PrjEdtr_ManageStartSequencesDialog_ToolTip_MoveDown"];174 ((ToolStripItem)m_ToolBarButtonMoveUp).ToolTipText = instance["PrjEdtr_ManageStartSequencesDialog_ToolTip_MoveUp"];175 ((ToolStripItem)m_ToolBarButtonReload).ToolTipText = instance["PrjEdtr_ManageStartSequencesDialog_ToolTip_ReloadInstances"];176 ((ToolStripItem)m_ToolBarButtonShowInstances).ToolTipText = instance["PrjEdtr_ManageStartSequencesDialog_ToolTip_ShowInstances"];177 ((ToolStripItem)m_ToolBarButtonSequenceAdd).ToolTipText = instance["PrjEdtr_ManageStartSequencesDialog_ToolTip_SequenceAdd"];178 ((ToolStripItem)m_ToolBarButtonSequenceDelete).ToolTipText = instance["PrjEdtr_ManageStartSequencesDialog_ToolTip_SequenceDelete"];179 ((ToolStripItem)m_ToolBarButtonSequenceSave).ToolTipText = instance["PrjEdtr_ManageStartSequencesDialog_ToolTip_SequenceSave"];180 }181182 protected override bool OnSave()183 {184 return _SaveIfRequired();185 }186187 protected override void OnShown(EventArgs e)188 {189 base.OnShown(e);190 try191 {192 m_ToolBarButtonShowInstances.Checked = m_ToolBarButtonShowInstances.Checked || !string.IsNullOrEmpty(UidDefaultSequence);193 _LoadExistingSequences(UidDefaultSequence);194 }195 catch (System.Exception exception)196 {197 ExceptionMgr.Instance.HandleException(exception, this);198 }199 finally200 {201 _AdaptState();202 }203 }204205 private void _SetupLogic()206 {207 //IL_0008: Unknown result type (might be due to invalid IL or missing references)208 //IL_0012: Expected O, but got Unknown209 //IL_002b: Unknown result type (might be due to invalid IL or missing references)210 //IL_0035: Expected O, but got Unknown211 //IL_004e: Unknown result type (might be due to invalid IL or missing references)212 //IL_0058: Expected O, but got Unknown213 //IL_0075: Unknown result type (might be due to invalid IL or missing references)214 //IL_007f: Expected O, but got Unknown215 //IL_0098: Unknown result type (might be due to invalid IL or missing references)216 //IL_00a2: Expected O, but got Unknown217 //IL_00bb: Unknown result type (might be due to invalid IL or missing references)218 //IL_00c5: Expected O, but got Unknown219 //IL_00de: Unknown result type (might be due to invalid IL or missing references)220 //IL_00e8: Expected O, but got Unknown221 //IL_0101: Unknown result type (might be due to invalid IL or missing references)222 //IL_010b: Expected O, but got Unknown223 //IL_0124: Unknown result type (might be due to invalid IL or missing references)224 //IL_012e: Expected O, but got Unknown225 //IL_0147: Unknown result type (might be due to invalid IL or missing references)226 //IL_0151: Expected O, but got Unknown227 //IL_0181: Unknown result type (might be due to invalid IL or missing references)228 //IL_018b: Expected O, but got Unknown229 //IL_01ae: Unknown result type (might be due to invalid IL or missing references)230 //IL_01b8: Expected O, but got Unknown231 //IL_0208: Unknown result type (might be due to invalid IL or missing references)232 //IL_0212: Expected O, but got Unknown233 ((BaseDialog)this).ExecuteTriggered(new Action(_CreateNewSequence)).When((IComponent)(object)m_ToolBarButtonSequenceAdd, "Click");234 ((BaseDialog)this).ExecuteTriggered(new Action(_ReloadSequenceInstances)).When((IComponent)(object)m_ToolBarButtonShowInstances, "Click");235 ((BaseDialog)this).ExecuteTriggered((Action)([CompilerGenerated] () =>236 {237 ((ToolStripItem)m_ToolBarButtonReload).Enabled = m_ToolBarButtonShowInstances.Checked;238 })).When((IComponent)(object)m_ToolBarButtonShowInstances, "Click").Trigger();239 ((BaseDialog)this).ExecuteTriggered(new Action(_ReloadSequenceInstances)).When((IComponent)(object)m_ToolBarButtonReload, "Click");240 ((BaseDialog)this).ExecuteTriggered(new Action(_DeleteSequenceOrInstance)).When((IComponent)(object)m_ToolBarButtonSequenceDelete, "Click");241 ((BaseDialog)this).ExecuteTriggered(new Action(_SaveSequence)).When((IComponent)(object)m_ToolBarButtonSequenceSave, "Click");242 ((BaseDialog)this).ExecuteTriggered((Action)([CompilerGenerated] () =>243 {244 _Move(moveUp: true);245 })).When((IComponent)(object)m_ToolBarButtonMoveUp, "Click");246 ((BaseDialog)this).ExecuteTriggered((Action)([CompilerGenerated] () =>247 {248 _Move(moveUp: false);249 })).When((IComponent)(object)m_ToolBarButtonMoveDown, "Click");250 ((BaseDialog)this).ExecuteTriggered(new Action(_CreateSchedule)).When((IComponent)(object)m_ButtonAddSchedule, "Click");251 ((BaseDialog)this).ExecuteTriggered(new Action(_RunSequence)).When((IComponent)(object)m_ButtonStartSequence, "Click");252 m_DetailListGroups.ItemActivated += [CompilerGenerated] (object s, DetailListControlEventArgs e) =>253 {254 if (e.Item.Tag is StartSequence startSequence)255 {256 _OpenStartSequence(startSequence);257 }258 if (e.Item.Tag is StartSequenceInstance startSequenceInstance)259 {260 _OpenStartSequenceInstance(startSequenceInstance);261 }262 };263 ((BaseDialog)this).ExecuteTriggered(new Action(_FilterStartInfos)).When((IComponent)(object)m_ToolBarButtonFilterStartInfos, "Click");264 ((Control)m_ToolBarComboFilter.ComboBox).KeyDown += (KeyEventHandler)([CompilerGenerated] (object? s, KeyEventArgs e) =>265 {266 //IL_0001: Unknown result type (might be due to invalid IL or missing references)267 //IL_0008: Invalid comparison between Unknown and I4268 if ((int)e.KeyCode == 13)269 {270 m_ToolBarButtonFilterStartInfos.Checked = true;271 _FilterStartInfos();272 }273 });274 m_DetailListStartInfos.SelectedItemChanged += m_SelectListStartInfos_SelectedItemChanged;275 m_DetailListStartInfos.ItemActivated += m_SelectListStartInfos_ItemActivated;276 m_ToolBarButtonSequenceSaveSep.BindSeparator((ToolStripItem)m_ToolBarButtonSequenceSave);277 ((BaseDialog)this).ExecuteTriggered((Action)([CompilerGenerated] () =>278 {279 ((Control)m_CheckBoxConcurrenceHandling).Enabled = !m_CheckBoxAllowMultipleInstances.Checked;280 })).When((IComponent)(object)m_CheckBoxAllowMultipleInstances, "CheckedChanged").Trigger();281 }282283 private void _FilterStartInfos()284 {285 string text = ((Control)m_ToolBarComboFilter.ComboBox).Text.Trim();286 bool flag = text.Length > 0 && m_ToolBarButtonFilterStartInfos.Checked;287 using (m_DetailListStartInfos.BeginUpdate())288 {289 System.Collections.Generic.IEnumerator<ManageStartSequencesDetailListItem> enumerator = Enumerable.OfType<ManageStartSequencesDetailListItem>((System.Collections.IEnumerable)m_DetailListStartInfos.Items).GetEnumerator();290 try291 {292 while (((System.Collections.IEnumerator)enumerator).MoveNext())293 {294 ManageStartSequencesDetailListItem current = enumerator.Current;295 if (!flag)296 {297 current.Visible = true;298 continue;299 }300 StartInfo startInfo = current.Link?.StartInfo ?? current.LinkInstance?.StartInfo;301 current.Visible = startInfo == null || $"{startInfo.Display}|{startInfo.ShellDisplay}|{startInfo.Description}".IndexOf(text, (StringComparison)5) >= 0;302 }303 }304 finally305 {306 ((System.IDisposable)enumerator)?.Dispose();307 }308 }309 if (text.Length > 0 && !m_ToolBarComboFilter.ComboBox.Items.Contains((object)text))310 {311 m_ToolBarComboFilter.ComboBox.Items.Add((object)text);312 }313 }314315 private void _Move(bool moveUp)316 {317 VI.UI.Controls.Common.DetailListItem selectedItem = m_DetailListStartInfos.SelectedItem;318 if (selectedItem == null)319 {320 return;321 }322 ManageStartSequencesDetailListItem manageStartSequencesDetailListItem = (moveUp ? Enumerable.FirstOrDefault<ManageStartSequencesDetailListItem>(Enumerable.OfType<ManageStartSequencesDetailListItem>((System.Collections.IEnumerable)selectedItem.PrevVisibleItem.EnumerateChain((VI.UI.Controls.Common.DetailListItem i) => i.PrevVisibleItem)), (Func<ManageStartSequencesDetailListItem, bool>)((ManageStartSequencesDetailListItem i) => i.Link != null && i.Link.IsActive)) : Enumerable.FirstOrDefault<ManageStartSequencesDetailListItem>(Enumerable.OfType<ManageStartSequencesDetailListItem>((System.Collections.IEnumerable)selectedItem.NextVisibleItem.EnumerateChain((VI.UI.Controls.Common.DetailListItem i) => i.NextVisibleItem)), (Func<ManageStartSequencesDetailListItem, bool>)((ManageStartSequencesDetailListItem i) => i.Link != null && i.Link.IsActive)));323 if (manageStartSequencesDetailListItem != null)324 {325 using (m_DetailListStartInfos.BeginUpdate())326 {327 m_OrderChanged = (moveUp ? m_DetailListStartInfos.Items.MoveInFrontOf(selectedItem, manageStartSequencesDetailListItem) : m_DetailListStartInfos.Items.MoveBehind(selectedItem, manageStartSequencesDetailListItem));328 m_DetailListStartInfos.EnsureVisible(selectedItem);329 }330 _AdaptState();331 }332 }333334 private void _CreateNewSequence()335 {336 //IL_003a: Unknown result type (might be due to invalid IL or missing references)337 using (m_DetailListGroups.BeginUpdate())338 {339 StartSequence startSequence = new StartSequence(m_Session);340 VI.UI.Controls.Common.DetailListItem detailListItem = _CreateSequenceItem(startSequence, m_DetailListGroups);341 m_DetailListGroups.Items.Insert(0, detailListItem);342 detailListItem.BackColor = DesignColors.LightBlue;343 _OpenStartSequence(startSequence);344 }345 }346347 private void _SaveSequence()348 {349 _Save();350 }351352 private void _DeleteSequenceOrInstance()353 {354 //IL_0031: Unknown result type (might be due to invalid IL or missing references)355 //IL_0037: Invalid comparison between Unknown and I4356 //IL_00cf: Unknown result type (might be due to invalid IL or missing references)357 //IL_00d5: Invalid comparison between Unknown and I4358 if (m_LoadedSequence != null)359 {360 object name = m_LoadedSequence.Name;361 if ((int)((Control)(object)this).ShowQuestion(LanguageManager.Format("PrjEdtr_ManageStartSequencesDialog_Question_ConfirmDeleteSequence", new System.ReadOnlySpan<object>(ref name)), (MessageBoxButtons)4, (MessageBoxDefaultButton)256, (MessageBoxIcon)32) != 6)362 {363 return;364 }365 using (BusyBlock())366 {367 using (m_DetailListGroups.BeginUpdate())368 {369 m_LoadedSequence.Delete();370 m_DetailListGroups.Items.Remove((VI.UI.Controls.Common.DetailListItem)m_LoadedSequence.Tag);371 m_LoadedSequence = null;372 }373 }374 _OpenStartSequence(null);375 }376 else377 {378 if (m_LoadedInstance == null)379 {380 return;381 }382 object name2 = m_LoadedInstance.Name;383 if ((int)((Control)(object)this).ShowQuestion(LanguageManager.Format("PrjEdtr_ManageStartSequencesDialog_Question_ConfirmDeleteSequenceInstance", new System.ReadOnlySpan<object>(ref name2)), (MessageBoxButtons)4, (MessageBoxDefaultButton)256, (MessageBoxIcon)32) != 6)384 {385 return;386 }387 using (BusyBlock())388 {389 using (m_DetailListGroups.BeginUpdate())390 {391 m_LoadedInstance.Delete();392 m_DetailListGroups.Items.Remove((VI.UI.Controls.Common.DetailListItem)m_LoadedInstance.Tag);393 m_LoadedInstance = null;394 }395 }396 _OpenStartSequenceInstance(null);397 }398 }399400 private void _OpenStartSequence(StartSequence startSequence)401 {402 if (!_SaveIfRequired())403 {404 return;405 }406 using (BusyBlock())407 {408 try409 {410 m_LoadedSequence = null;411 m_LoadedInstance = null;412 ((Control)m_EditGroupName).Text = startSequence?.Name ?? "";413 ((Control)m_EditGroupDescription).Text = startSequence?.Description ?? "";414 m_CheckBoxAllowMultipleInstances.Checked = startSequence != null && startSequence.AllowMultipleInstances;415 m_CheckBoxConcurrenceHandling.Checked = startSequence != null && startSequence.ConcurrenceConflictHandling == ConcurrenceConflictHandling.BreakWithError;416 if (startSequence?.UidSchedule == null)417 {418 UIHelper.ComboBoxSelectValue((ComboBox)(object)m_ComboBoxSchedule, null);419 }420 else421 {422 UIHelper.ComboBoxSelectValue<IEntity>((ComboBox)(object)m_ComboBoxSchedule, (IEntity e) => e.GetValue<string>("UID_DialogSchedule") == startSequence.UidSchedule);423 }424 _LoadStartInfos(startSequence);425 m_LoadedSequence = startSequence;426 m_OrderChanged = false;427 }428 catch429 {430 _OpenStartSequence(null);431 throw;432 }433 finally434 {435 _AdaptState();436 }437 }438 }439440 private void _OpenStartSequenceInstance(StartSequenceInstance startSequenceInstance)441 {442 if (!_SaveIfRequired())443 {444 return;445 }446 using (BusyBlock())447 {448 try449 {450 m_LoadedSequence = null;451 m_LoadedInstance = null;452 ((Control)m_EditGroupName).Text = startSequenceInstance?.Name ?? "";453 ((Control)m_EditGroupDescription).Text = startSequenceInstance?.Description ?? "";454 ((Control)m_EditError).Text = startSequenceInstance?.ExecutionError ?? "";455 _LoadStartInfos(startSequenceInstance);456 m_LoadedInstance = startSequenceInstance;457 }458 catch459 {460 _OpenStartSequence(null);461 throw;462 }463 finally464 {465 _AdaptState();466 }467 }468 }469470 private void _LoadStartInfos(StartSequence startSequence)471 {472 using (m_DetailListStartInfos.BeginUpdate())473 {474 m_DetailListStartInfos.Items.Clear();475 if (startSequence == null)476 {477 return;478 }479 HashSet<string> assigned = new HashSet<string>((IEqualityComparer<string>)(object)StringComparer.OrdinalIgnoreCase);480 System.Collections.Generic.IEnumerator<StartInfoLink> enumerator = ((System.Collections.Generic.IEnumerable<StartInfoLink>)Enumerable.OrderBy<StartInfoLink, int>((System.Collections.Generic.IEnumerable<StartInfoLink>)startSequence.StartInfos, (Func<StartInfoLink, int>)((StartInfoLink s) => s.SortOrder))).GetEnumerator();481 try482 {483 while (((System.Collections.IEnumerator)enumerator).MoveNext())484 {485 StartInfoLink current = enumerator.Current;486 assigned.Add(current.StartInfo.Uid);487 m_DetailListStartInfos.Items.Add(new ManageStartSequencesDetailListItem(this, current));488 }489 }490 finally491 {492 ((System.IDisposable)enumerator)?.Dispose();493 }494 bool flag = true;495 System.Collections.Generic.IEnumerator<StartInfo> enumerator2 = Enumerable.Where<StartInfo>((System.Collections.Generic.IEnumerable<StartInfo>)m_ExistingStartInfos.Value, (Func<StartInfo, bool>)((StartInfo x) => !assigned.ContainsKey(x.Uid))).GetEnumerator();496 try497 {498 while (((System.Collections.IEnumerator)enumerator2).MoveNext())499 {500 StartInfo current2 = enumerator2.Current;501 ManageStartSequencesDetailListItem manageStartSequencesDetailListItem = new ManageStartSequencesDetailListItem(this, new StartInfoLink(m_Session, current2));502 if (flag)503 {504 manageStartSequencesDetailListItem.Margin = new MarginOrPadding(0, 8, 0, 5);505 }506 m_DetailListStartInfos.Items.Add(manageStartSequencesDetailListItem);507 flag = false;508 }509 }510 finally511 {512 ((System.IDisposable)enumerator2)?.Dispose();513 }514 _FilterStartInfos();515 }516 }517518 private void _LoadStartInfos(StartSequenceInstance startSequenceInstance)519 {520 using (m_DetailListStartInfos.BeginUpdate())521 {522 m_DetailListStartInfos.Items.Clear();523 if (startSequenceInstance == null)524 {525 return;526 }527 System.Collections.Generic.IEnumerator<StartInfoLinkInstance> enumerator = ((System.Collections.Generic.IEnumerable<StartInfoLinkInstance>)Enumerable.OrderBy<StartInfoLinkInstance, int>((System.Collections.Generic.IEnumerable<StartInfoLinkInstance>)startSequenceInstance.StartInfos, (Func<StartInfoLinkInstance, int>)((StartInfoLinkInstance s) => s.SortOrder))).GetEnumerator();528 try529 {530 while (((System.Collections.IEnumerator)enumerator).MoveNext())531 {532 StartInfoLinkInstance current = enumerator.Current;533 m_DetailListStartInfos.Items.Add(new ManageStartSequencesDetailListItem(this, current));534 }535 }536 finally537 {538 ((System.IDisposable)enumerator)?.Dispose();539 }540 }541 }542543 private void _AdaptState()544 {545 ((ToolStripItem)m_ToolBarButtonSequenceDelete).Enabled = m_LoadedSequence != null || m_LoadedInstance != null;546 ((ToolStripItem)m_ToolBarButtonSequenceSave).Enabled = m_LoadedSequence != null;547 ((ToolStripItem)m_ToolBarButtonSequenceSave).Visible = m_LoadedSequence != null;548 ((Control)m_GroupBoxStartInfos).Enabled = m_LoadedSequence != null || m_LoadedInstance != null;549 ((Control)m_ButtonAddSchedule).Enabled = m_LoadedSequence != null;550 ((Control)m_CaptionLabelSchedule).Parent.Visible = m_LoadedSequence != null;551 ((Control)m_ButtonStartSequence).Parent.Visible = m_LoadedSequence != null;552 m_EditGroupName.EnabledByUser = m_LoadedSequence != null;553 m_EditGroupDescription.EnabledByUser = m_LoadedSequence != null;554 ((Control)m_CheckBoxAllowMultipleInstances).Visible = m_LoadedSequence != null;555 ((Control)m_CheckBoxConcurrenceHandling).Visible = m_LoadedSequence != null;556 m_EditError.VisibleByUser = !string.IsNullOrEmpty(m_LoadedInstance?.ExecutionError);557 ((Control)m_ToolBarSequence).Visible = m_LoadedSequence != null || m_LoadedInstance != null;558 ((Control)m_ToolBarStartInfos).Visible = m_LoadedSequence != null;559 ((Control)m_ButtonStartSequence).Enabled = m_LoadedSequence?.IsPersistent ?? false;560 ManageStartSequencesDetailListItem manageStartSequencesDetailListItem = m_DetailListStartInfos.SelectedItem as ManageStartSequencesDetailListItem;561 ManageStartSequencesDetailListItem manageStartSequencesDetailListItem2 = ((manageStartSequencesDetailListItem != null) ? Enumerable.FirstOrDefault<ManageStartSequencesDetailListItem>(Enumerable.OfType<ManageStartSequencesDetailListItem>((System.Collections.IEnumerable)manageStartSequencesDetailListItem.PrevVisibleItem.EnumerateChain((VI.UI.Controls.Common.DetailListItem i) => i.PrevVisibleItem)), (Func<ManageStartSequencesDetailListItem, bool>)((ManageStartSequencesDetailListItem i) => i.Link != null && i.Link.IsActive)) : null);562 ManageStartSequencesDetailListItem manageStartSequencesDetailListItem3 = ((manageStartSequencesDetailListItem != null) ? Enumerable.FirstOrDefault<ManageStartSequencesDetailListItem>(Enumerable.OfType<ManageStartSequencesDetailListItem>((System.Collections.IEnumerable)manageStartSequencesDetailListItem.NextVisibleItem.EnumerateChain((VI.UI.Controls.Common.DetailListItem i) => i.NextVisibleItem)), (Func<ManageStartSequencesDetailListItem, bool>)((ManageStartSequencesDetailListItem i) => i.Link != null && i.Link.IsActive)) : null);563 ((ToolStripItem)m_ToolBarButtonMoveUp).Enabled = m_LoadedSequence != null && manageStartSequencesDetailListItem != null && manageStartSequencesDetailListItem.Link.IsActive && manageStartSequencesDetailListItem2 != null;564 ((ToolStripItem)m_ToolBarButtonMoveDown).Enabled = m_LoadedSequence != null && manageStartSequencesDetailListItem != null && manageStartSequencesDetailListItem.Link.IsActive && manageStartSequencesDetailListItem3 != null;565 ToolStripComboBox toolBarComboFilter = m_ToolBarComboFilter;566 bool visible = (((ToolStripItem)m_ToolBarButtonFilterStartInfos).Visible = m_LoadedSequence != null);567 ((ToolStripItem)toolBarComboFilter).Visible = visible;568 }569570 private bool _SaveIfRequired()571 {572 //IL_00fa: Unknown result type (might be due to invalid IL or missing references)573 //IL_00ff: Unknown result type (might be due to invalid IL or missing references)574 //IL_0100: Unknown result type (might be due to invalid IL or missing references)575 //IL_0102: Invalid comparison between Unknown and I4576 //IL_0104: Unknown result type (might be due to invalid IL or missing references)577 //IL_0106: Invalid comparison between Unknown and I4578 if (m_LoadedSequence == null)579 {580 return true;581 }582 if (!Enumerable.Any<ManageStartSequencesDetailListItem>(Enumerable.OfType<ManageStartSequencesDetailListItem>((System.Collections.IEnumerable)m_DetailListStartInfos.Items), (Func<ManageStartSequencesDetailListItem, bool>)((ManageStartSequencesDetailListItem i) => i.Link.Changed)) && m_LoadedSequence.Name == ((Control)m_EditGroupName).Text && m_LoadedSequence.Description == ((Control)m_EditGroupDescription).Text && m_LoadedSequence.AllowMultipleInstances == m_CheckBoxAllowMultipleInstances.Checked && m_LoadedSequence.ConcurrenceConflictHandling == ConcurrenceConflictHandling.BreakWithError == m_CheckBoxConcurrenceHandling.Checked && m_LoadedSequence.UidSchedule == UIHelper.ComboBoxGetSelectedValue<IEntity>((ComboBox)(object)m_ComboBoxSchedule)?.GetValue<string>("UID_DialogSchedule") && !m_OrderChanged)583 {584 return true;585 }586 DialogResult val = ((Control)(object)this).ShowQuestion("PrjEdtr_ManageStartSequencesDialog_Question_SaveSequence", (MessageBoxButtons)3, (MessageBoxDefaultButton)512, (MessageBoxIcon)32);587 if ((int)val != 2)588 {589 if ((int)val == 7)590 {591 return true;592 }593 _Save();594 return true;595 }596 return false;597 }598599 private void _Save()600 {601 using (BusyBlock())602 {603 TransactionList transaction = new TransactionList();604 try605 {606 IUnitOfWork unit = m_Session.StartUnitOfWork();607 try608 {609 m_LoadedSequence.Name = ((Control)m_EditGroupName).Text;610 m_LoadedSequence.Description = ((Control)m_EditGroupDescription).Text;611 m_LoadedSequence.AllowMultipleInstances = m_CheckBoxAllowMultipleInstances.Checked;612 m_LoadedSequence.ConcurrenceConflictHandling = ((!m_CheckBoxConcurrenceHandling.Checked) ? ConcurrenceConflictHandling.Abort : ConcurrenceConflictHandling.BreakWithError);613 m_LoadedSequence.UidSchedule = UIHelper.ComboBoxGetSelectedValue<IEntity>((ComboBox)(object)m_ComboBoxSchedule)?.GetValue<string>("UID_DialogSchedule");614 m_LoadedSequence.Save(unit, transaction);615 int orderNumber = 0;616 Enumerable.OfType<ManageStartSequencesDetailListItem>((System.Collections.IEnumerable)m_DetailListStartInfos.Items).ForEach(delegate(ManageStartSequencesDetailListItem i)617 {618 i.Link.SortOrder = orderNumber++;619 i.Link.Save(m_LoadedSequence, unit, transaction);620 });621 unit.Commit();622 transaction.Commit();623 }624 finally625 {626 if (unit != null)627 {628 ((System.IDisposable)unit).Dispose();629 }630 }631 }632 finally633 {634 if (transaction != null)635 {636 ((System.IDisposable)transaction).Dispose();637 }638 }639 }640 using (m_DetailListGroups.BeginUpdate())641 {642 VI.UI.Controls.Common.DetailListItem obj = (VI.UI.Controls.Common.DetailListItem)m_LoadedSequence.Tag;643 obj.Text = m_LoadedSequence.Name;644 obj.DetailText = m_LoadedSequence.Description;645 }646 m_LoadedSequence.ResetStartInfos();647 m_OrderChanged = false;648 _AdaptState();649 }650651 private void _CreateSchedule()652 {653 //IL_000f: Unknown result type (might be due to invalid IL or missing references)654 //IL_0015: Invalid comparison between Unknown and I4655 ScheduleDialog scheduleDialog = new ScheduleDialog(m_Session, null);656 try657 {658 if ((int)((Form)scheduleDialog).ShowDialog((IWin32Window)(object)this) != 1)659 {660 return;661 }662 IEntity schedule = scheduleDialog.Schedule;663 if (schedule != null)664 {665 using (IUnitOfWork unitOfWork = m_Session.StartUnitOfWork())666 {667 unitOfWork.Put(schedule);668 unitOfWork.Commit();669 }670 UIHelper.ComboBoxSelectValue((ComboBox)(object)m_ComboBoxSchedule, schedule);671 }672 }673 finally674 {675 ((System.IDisposable)scheduleDialog)?.Dispose();676 }677 }678679 private void _RunSequence()680 {681 //IL_002f: Unknown result type (might be due to invalid IL or missing references)682 //IL_0035: Invalid comparison between Unknown and I4683 if (m_LoadedSequence == null)684 {685 return;686 }687 object name = m_LoadedSequence.Name;688 if ((int)((Control)(object)this).ShowQuestion(LanguageManager.Format("PrjEdtr_ManageStartSequencesDialog_Question_ConfirmStartSequence", new System.ReadOnlySpan<object>(ref name)), (MessageBoxButtons)4, (MessageBoxDefaultButton)256, (MessageBoxIcon)32) != 6)689 {690 return;691 }692 using (new BusyIndicator())693 {694 using IUnitOfWork unitOfWork = m_Session.StartUnitOfWork();695 IEntity entity = m_Session.Source().Get("DPRStartSequence", m_LoadedSequence.Uid);696 unitOfWork.Generate(entity, "Run");697 unitOfWork.Commit();698 }699 }700701 internal void ToggleAssignment(ManageStartSequencesDetailListItem item)702 {703 if (item.Link != null)704 {705 item.Link.IsActive = !item.Link.IsActive;706 using (m_DetailListStartInfos.BeginUpdate())707 {708 item.ApplyLinkStyle();709 }710 _AdaptState();711 }712 }713714 private void _LoadExistingSequences(string uidToSelect)715 {716 if (!_SaveIfRequired())717 {718 return;719 }720 using (m_DetailListGroups.BeginUpdate())721 {722 m_DetailListGroups.Items.Clear();723 _OpenStartSequence(null);724 if (m_Session == null)725 {726 return;727 }728 System.Collections.Generic.IEnumerator<StartSequence> enumerator = Enumerable.Select<IEntity, StartSequence>((System.Collections.Generic.IEnumerable<IEntity>)m_Session.Source().GetCollection((from c in Query.From("DPRStartSequence")729 where c.Column("UID_DPRStartSequenceTemplate").IsEqualTo("")730 select c).OrderBy("SequenceName").SelectAll(), EntityCollectionLoadType.Bulk), (Func<IEntity, StartSequence>)([CompilerGenerated] (IEntity e) => new StartSequence(m_Session, e))).GetEnumerator();731 try732 {733 while (((System.Collections.IEnumerator)enumerator).MoveNext())734 {735 StartSequence current = enumerator.Current;736 m_DetailListGroups.Items.Add(_CreateSequenceItem(current, m_DetailListGroups));737 if (!m_ToolBarButtonShowInstances.Checked)738 {739 continue;740 }741 System.Collections.Generic.IEnumerator<StartSequenceInstance> enumerator2 = ((System.Collections.Generic.IEnumerable<StartSequenceInstance>)Enumerable.OrderByDescending<StartSequenceInstance, System.DateTime>(Enumerable.Where<StartSequenceInstance>((System.Collections.Generic.IEnumerable<StartSequenceInstance>)current.Instances, (Func<StartSequenceInstance, bool>)((StartSequenceInstance i) => i.State != StartSequenceExecutionState.Processed)), (Func<StartSequenceInstance, System.DateTime>)((StartSequenceInstance i) => i.CreationTime))).GetEnumerator();742 try743 {744 while (((System.Collections.IEnumerator)enumerator2).MoveNext())745 {746 StartSequenceInstance current2 = enumerator2.Current;747 m_DetailListGroups.Items.Add(_CreateSequenceItem(current2, m_DetailListGroups));748 }749 }750 finally751 {752 ((System.IDisposable)enumerator2)?.Dispose();753 }754 }755 }756 finally757 {758 ((System.IDisposable)enumerator)?.Dispose();759 }760 if (string.IsNullOrEmpty(uidToSelect))761 {762 return;763 }764 System.Collections.Generic.IEnumerator<VI.UI.Controls.Common.DetailListItem> enumerator3 = m_DetailListGroups.Items.GetEnumerator();765 try766 {767 while (((System.Collections.IEnumerator)enumerator3).MoveNext())768 {769 VI.UI.Controls.Common.DetailListItem current3 = enumerator3.Current;770 if (current3.Tag is StartSequence startSequence && uidToSelect.EqualsOIC(startSequence.Uid))771 {772 m_DetailListGroups.SelectedItem = current3;773 _OpenStartSequence(startSequence);774 break;775 }776 if (current3.Tag is StartSequenceInstance startSequenceInstance && uidToSelect.EqualsOIC(startSequenceInstance.Uid))777 {778 m_DetailListGroups.SelectedItem = current3;779 _OpenStartSequenceInstance(startSequenceInstance);780 break;781 }782 }783 }784 finally785 {786 ((System.IDisposable)enumerator3)?.Dispose();787 }788 }789 }790791 private void _ReloadSequenceInstances()792 {793 using (new BusyIndicator())794 {795 using (m_DetailListGroups.BeginUpdate())796 {797 Enumerable.ToArray<VI.UI.Controls.Common.DetailListItem>(Enumerable.Where<VI.UI.Controls.Common.DetailListItem>((System.Collections.Generic.IEnumerable<VI.UI.Controls.Common.DetailListItem>)m_DetailListGroups.Items, (Func<VI.UI.Controls.Common.DetailListItem, bool>)((VI.UI.Controls.Common.DetailListItem i) => i.Tag is StartSequenceInstance))).ForEach([CompilerGenerated] (VI.UI.Controls.Common.DetailListItem i) =>798 {799 m_DetailListGroups.Items.Remove(i);800 });801 if (!m_ToolBarButtonShowInstances.Checked)802 {803 return;804 }805 VI.UI.Controls.Common.DetailListItem[] array = Enumerable.ToArray<VI.UI.Controls.Common.DetailListItem>((System.Collections.Generic.IEnumerable<VI.UI.Controls.Common.DetailListItem>)m_DetailListGroups.Items);806 foreach (VI.UI.Controls.Common.DetailListItem detailListItem in array)807 {808 StartSequence obj = (StartSequence)detailListItem.Tag;809 int num2 = m_DetailListGroups.Items.IndexOf(detailListItem) + 1;810 obj.ResetInstances();811 System.Collections.Generic.IEnumerator<StartSequenceInstance> enumerator = ((System.Collections.Generic.IEnumerable<StartSequenceInstance>)Enumerable.OrderByDescending<StartSequenceInstance, System.DateTime>(Enumerable.Where<StartSequenceInstance>((System.Collections.Generic.IEnumerable<StartSequenceInstance>)obj.Instances, (Func<StartSequenceInstance, bool>)((StartSequenceInstance i) => i.State != StartSequenceExecutionState.Processed)), (Func<StartSequenceInstance, System.DateTime>)((StartSequenceInstance i) => i.CreationTime))).GetEnumerator();812 try813 {814 while (((System.Collections.IEnumerator)enumerator).MoveNext())815 {816 StartSequenceInstance current = enumerator.Current;817 m_DetailListGroups.Items.Insert(num2, _CreateSequenceItem(current, m_DetailListGroups));818 num2++;819 if (current.Uid == m_LoadedInstance?.Uid)820 {821 _OpenStartSequenceInstance(current);822 }823 }824 }825 finally826 {827 ((System.IDisposable)enumerator)?.Dispose();828 }829 }830 }831 }832 }833834 private VI.UI.Controls.Common.DetailListItem _CreateSequenceItem(StartSequence seq, DetailListControl detailList)835 {836 //IL_0020: Unknown result type (might be due to invalid IL or missing references)837 VI.UI.Controls.Common.DetailListItem detailListItem = detailList.CreateItem();838 detailListItem.Text = seq.Name;839 detailListItem.DetailText = seq.Description;840 detailListItem.BackColor = DesignColors.LightGreen;841 detailListItem.Tag = seq;842 detailListItem.Padding = new MarginOrPadding(5);843 detailListItem.ImageSize = VI.UI.Base.Images.ImageSize.Medium24;844 detailListItem.Image = ImageProvider.CreateCached(StockImage.Workflow);845 detailListItem.Margin = new MarginOrPadding(0, 0, 0, 5);846 seq.Tag = detailListItem;847 return detailListItem;848 }849850 private VI.UI.Controls.Common.DetailListItem _CreateSequenceItem(StartSequenceInstance seq, DetailListControl detailList)851 {852 //IL_0032: Unknown result type (might be due to invalid IL or missing references)853 VI.UI.Controls.Common.DetailListItem detailListItem = detailList.CreateItem();854 detailListItem.Text = DisplayConverter.Default.DateToDisplayString(seq.CreationTime);855 detailListItem.DetailText = _CalcDetailText(seq);856 detailListItem.BackColor = ManageStartSequencesDetailListItem.CalcStateColor(seq.State);857 detailListItem.Tag = seq;858 detailListItem.Padding = new MarginOrPadding(5);859 detailListItem.ImageSize = VI.UI.Base.Images.ImageSize.Medium24;860 detailListItem.Image = ManageStartSequencesDetailListItem.CalcStateImage(seq.State);861 detailListItem.Margin = new MarginOrPadding(16, 0, 0, 5);862 seq.Tag = detailListItem;863 return detailListItem;864 }865866 private string _CalcDetailText(StartSequenceInstance seq)867 {868 //IL_002f: Unknown result type (might be due to invalid IL or missing references)869 //IL_0034: Unknown result type (might be due to invalid IL or missing references)870 //IL_003c: Unknown result type (might be due to invalid IL or missing references)871 //IL_0041: Unknown result type (might be due to invalid IL or missing references)872 if (seq.State == StartSequenceExecutionState.Broken || seq.State == StartSequenceExecutionState.Error || seq.State == StartSequenceExecutionState.Processed)873 {874 return "";875 }876 TimeSpan val = System.DateTime.UtcNow.Subtract(seq.CreationTime);877 TimeSpan val2 = ((TimeSpan)(ref val)).Duration();878 object obj = ((TimeSpan)(ref val2)).ToString("d\\.hh\\:mm\\:ss");879 return LanguageManager.Format("PrjEdtr_ManageStartSequencesDialog_Caption_RunningTime", new System.ReadOnlySpan<object>(ref obj));880 }881882 private void m_SelectListStartInfos_ItemActivated(object sender, DetailListControlEventArgs e)883 {884 try885 {886 ToggleAssignment((ManageStartSequencesDetailListItem)e.Item);887 }888 catch (System.Exception exception)889 {890 ExceptionMgr.Instance.HandleException(exception, this);891 }892 }893894 private void m_SelectListStartInfos_SelectedItemChanged(object sender, DetailListControlEventArgs e)895 {896 try897 {898 _AdaptState();899 }900 catch (System.Exception exception)901 {902 ExceptionMgr.Instance.HandleException(exception, this);903 }904 }905906 protected override void Dispose(bool disposing)907 {908 if (disposing && components != null)909 {910 ((System.IDisposable)components).Dispose();911 }912 Font font = ((Control)m_DetailListGroups).Font;913 DetailListControl detailListGroups = m_DetailListGroups;914 Font font2 = (((Control)m_DetailListStartInfos).Font = null);915 ((Control)detailListGroups).Font = font2;916 font.Dispose();917 Font detailFont = m_DetailListGroups.DetailFont;918 DetailListControl detailListGroups2 = m_DetailListGroups;919 font2 = (m_DetailListStartInfos.DetailFont = null);920 detailListGroups2.DetailFont = font2;921 detailFont.Dispose();922 base.Dispose(disposing);923 }924925 private void InitializeComponent()926 {927 //IL_002d: Unknown result type (might be due to invalid IL or missing references)928 //IL_0037: Expected O, but got Unknown929 //IL_004e: Unknown result type (might be due to invalid IL or missing references)930 //IL_0058: Expected O, but got Unknown931 //IL_0059: Unknown result type (might be due to invalid IL or missing references)932 //IL_0063: Expected O, but got Unknown933 //IL_0064: Unknown result type (might be due to invalid IL or missing references)934 //IL_006e: Expected O, but got Unknown935 //IL_006f: Unknown result type (might be due to invalid IL or missing references)936 //IL_0079: Expected O, but got Unknown937 //IL_007a: Unknown result type (might be due to invalid IL or missing references)938 //IL_0084: Expected O, but got Unknown939 //IL_0085: Unknown result type (might be due to invalid IL or missing references)940 //IL_008f: Expected O, but got Unknown941 //IL_0090: Unknown result type (might be due to invalid IL or missing references)942 //IL_009a: Expected O, but got Unknown943 //IL_00b1: Unknown result type (might be due to invalid IL or missing references)944 //IL_00bb: Expected O, but got Unknown945 //IL_00f3: Unknown result type (might be due to invalid IL or missing references)946 //IL_00fd: Expected O, but got Unknown947 //IL_00fe: Unknown result type (might be due to invalid IL or missing references)948 //IL_0108: Expected O, but got Unknown949 //IL_0109: Unknown result type (might be due to invalid IL or missing references)950 //IL_0113: Expected O, but got Unknown951 //IL_0114: Unknown result type (might be due to invalid IL or missing references)952 //IL_011e: Expected O, but got Unknown953 //IL_011f: Unknown result type (might be due to invalid IL or missing references)954 //IL_0129: Expected O, but got Unknown955 //IL_012a: Unknown result type (might be due to invalid IL or missing references)956 //IL_0134: Expected O, but got Unknown957 //IL_0135: Unknown result type (might be due to invalid IL or missing references)958 //IL_013f: Expected O, but got Unknown959 //IL_0156: Unknown result type (might be due to invalid IL or missing references)960 //IL_0160: Expected O, but got Unknown961 //IL_0161: Unknown result type (might be due to invalid IL or missing references)962 //IL_016b: Expected O, but got Unknown963 //IL_016c: Unknown result type (might be due to invalid IL or missing references)964 //IL_0176: Expected O, but got Unknown965 //IL_0177: Unknown result type (might be due to invalid IL or missing references)966 //IL_0181: Expected O, but got Unknown967 //IL_0182: Unknown result type (might be due to invalid IL or missing references)968 //IL_018c: Expected O, but got Unknown969 //IL_0198: Unknown result type (might be due to invalid IL or missing references)970 //IL_01a2: Expected O, but got Unknown971 //IL_0294: Unknown result type (might be due to invalid IL or missing references)972 //IL_02a5: Unknown result type (might be due to invalid IL or missing references)973 //IL_02c9: Unknown result type (might be due to invalid IL or missing references)974 //IL_0326: Unknown result type (might be due to invalid IL or missing references)975 //IL_0337: Unknown result type (might be due to invalid IL or missing references)976 //IL_035b: Unknown result type (might be due to invalid IL or missing references)977 //IL_03b5: Unknown result type (might be due to invalid IL or missing references)978 //IL_03dc: Unknown result type (might be due to invalid IL or missing references)979 //IL_03f8: Unknown result type (might be due to invalid IL or missing references)980 //IL_0420: Unknown result type (might be due to invalid IL or missing references)981 //IL_0432: Unknown result type (might be due to invalid IL or missing references)982 //IL_0443: Unknown result type (might be due to invalid IL or missing references)983 //IL_0456: Unknown result type (might be due to invalid IL or missing references)984 //IL_0477: Unknown result type (might be due to invalid IL or missing references)985 //IL_048e: Unknown result type (might be due to invalid IL or missing references)986 //IL_0508: Unknown result type (might be due to invalid IL or missing references)987 //IL_0519: Unknown result type (might be due to invalid IL or missing references)988 //IL_053d: Unknown result type (might be due to invalid IL or missing references)989 //IL_0557: Unknown result type (might be due to invalid IL or missing references)990 //IL_05ee: Unknown result type (might be due to invalid IL or missing references)991 //IL_05ff: Unknown result type (might be due to invalid IL or missing references)992 //IL_0620: Unknown result type (might be due to invalid IL or missing references)993 //IL_063a: Unknown result type (might be due to invalid IL or missing references)994 //IL_0672: Unknown result type (might be due to invalid IL or missing references)995 //IL_0694: Unknown result type (might be due to invalid IL or missing references)996 //IL_06a5: Unknown result type (might be due to invalid IL or missing references)997 //IL_06c6: Unknown result type (might be due to invalid IL or missing references)998 //IL_06e0: Unknown result type (might be due to invalid IL or missing references)999 //IL_075d: Unknown result type (might be due to invalid IL or missing references)1000 //IL_0784: Unknown result type (might be due to invalid IL or missing references)1001 //IL_07c4: Unknown result type (might be due to invalid IL or missing references)1002 //IL_080c: Unknown result type (might be due to invalid IL or missing references)1003 //IL_0850: Unknown result type (might be due to invalid IL or missing references)1004 //IL_0880: Unknown result type (might be due to invalid IL or missing references)1005 //IL_08c5: Unknown result type (might be due to invalid IL or missing references)1006 //IL_08f8: Unknown result type (might be due to invalid IL or missing references)1007 //IL_0902: Expected O, but got Unknown1008 //IL_0914: Unknown result type (might be due to invalid IL or missing references)1009 //IL_091e: Expected O, but got Unknown1010 //IL_09c4: Unknown result type (might be due to invalid IL or missing references)1011 //IL_09d5: Unknown result type (might be due to invalid IL or missing references)1012 //IL_09f9: Unknown result type (might be due to invalid IL or missing references)1013 //IL_0a1a: Unknown result type (might be due to invalid IL or missing references)1014 //IL_0a24: Expected O, but got Unknown1015 //IL_0a30: Unknown result type (might be due to invalid IL or missing references)1016 //IL_0a3a: Expected O, but got Unknown1017 //IL_0a46: Unknown result type (might be due to invalid IL or missing references)1018 //IL_0a50: Expected O, but got Unknown1019 //IL_0a5c: Unknown result type (might be due to invalid IL or missing references)1020 //IL_0a66: Expected O, but got Unknown1021 //IL_0a72: Unknown result type (might be due to invalid IL or missing references)1022 //IL_0a7c: Expected O, but got Unknown1023 //IL_0a8d: Unknown result type (might be due to invalid IL or missing references)1024 //IL_0acd: Unknown result type (might be due to invalid IL or missing references)1025 //IL_0ade: Unknown result type (might be due to invalid IL or missing references)1026 //IL_0b14: Unknown result type (might be due to invalid IL or missing references)1027 //IL_0b69: Unknown result type (might be due to invalid IL or missing references)1028 //IL_0bb3: Unknown result type (might be due to invalid IL or missing references)1029 //IL_0bc6: Unknown result type (might be due to invalid IL or missing references)1030 //IL_0bda: Unknown result type (might be due to invalid IL or missing references)1031 //IL_0c35: Unknown result type (might be due to invalid IL or missing references)1032 //IL_0cae: Unknown result type (might be due to invalid IL or missing references)1033 //IL_0cbf: Unknown result type (might be due to invalid IL or missing references)1034 //IL_0ce6: Unknown result type (might be due to invalid IL or missing references)1035 //IL_0d3e: Unknown result type (might be due to invalid IL or missing references)1036 //IL_0d6a: Unknown result type (might be due to invalid IL or missing references)1037 //IL_0d7c: Unknown result type (might be due to invalid IL or missing references)1038 //IL_0d90: Unknown result type (might be due to invalid IL or missing references)1039 //IL_0dc3: Unknown result type (might be due to invalid IL or missing references)1040 //IL_0e49: Unknown result type (might be due to invalid IL or missing references)1041 //IL_0e5d: Unknown result type (might be due to invalid IL or missing references)1042 //IL_0e90: Unknown result type (might be due to invalid IL or missing references)1043 //IL_0eca: Unknown result type (might be due to invalid IL or missing references)1044 //IL_0edb: Unknown result type (might be due to invalid IL or missing references)1045 //IL_0eff: Unknown result type (might be due to invalid IL or missing references)1046 //IL_0f47: Unknown result type (might be due to invalid IL or missing references)1047 //IL_0f73: Unknown result type (might be due to invalid IL or missing references)1048 //IL_0f91: Unknown result type (might be due to invalid IL or missing references)1049 //IL_0fa5: Unknown result type (might be due to invalid IL or missing references)1050 //IL_0fe5: Unknown result type (might be due to invalid IL or missing references)1051 //IL_1046: Unknown result type (might be due to invalid IL or missing references)1052 //IL_1084: Unknown result type (might be due to invalid IL or missing references)1053 //IL_1097: Unknown result type (might be due to invalid IL or missing references)1054 //IL_10ab: Unknown result type (might be due to invalid IL or missing references)1055 //IL_1106: Unknown result type (might be due to invalid IL or missing references)1056 //IL_1169: Unknown result type (might be due to invalid IL or missing references)1057 //IL_117a: Unknown result type (might be due to invalid IL or missing references)1058 //IL_11a1: Unknown result type (might be due to invalid IL or missing references)1059 //IL_11db: Unknown result type (might be due to invalid IL or missing references)1060 //IL_11f3: Unknown result type (might be due to invalid IL or missing references)1061 //IL_121a: Unknown result type (might be due to invalid IL or missing references)1062 //IL_129e: Unknown result type (might be due to invalid IL or missing references)1063 //IL_12c5: Unknown result type (might be due to invalid IL or missing references)1064 //IL_1305: Unknown result type (might be due to invalid IL or missing references)1065 //IL_134c: Unknown result type (might be due to invalid IL or missing references)1066 //IL_1370: Unknown result type (might be due to invalid IL or missing references)1067 //IL_13a7: Unknown result type (might be due to invalid IL or missing references)1068 //IL_13cd: Unknown result type (might be due to invalid IL or missing references)1069 //IL_1440: Unknown result type (might be due to invalid IL or missing references)1070 //IL_1451: Unknown result type (might be due to invalid IL or missing references)1071 //IL_1472: Unknown result type (might be due to invalid IL or missing references)1072 //IL_148c: Unknown result type (might be due to invalid IL or missing references)1073 //IL_14c4: Unknown result type (might be due to invalid IL or missing references)1074 //IL_14e3: Unknown result type (might be due to invalid IL or missing references)1075 //IL_14f4: Unknown result type (might be due to invalid IL or missing references)1076 //IL_151e: Unknown result type (might be due to invalid IL or missing references)1077 //IL_158f: Unknown result type (might be due to invalid IL or missing references)1078 //IL_15b6: Unknown result type (might be due to invalid IL or missing references)1079 //IL_15f6: Unknown result type (might be due to invalid IL or missing references)1080 //IL_163d: Unknown result type (might be due to invalid IL or missing references)1081 //IL_166d: Unknown result type (might be due to invalid IL or missing references)1082 //IL_16b5: Unknown result type (might be due to invalid IL or missing references)1083 //IL_1707: Unknown result type (might be due to invalid IL or missing references)1084 //IL_1718: Unknown result type (might be due to invalid IL or missing references)1085 //IL_173c: Unknown result type (might be due to invalid IL or missing references)1086 //IL_1779: Unknown result type (might be due to invalid IL or missing references)1087 //IL_17a1: Unknown result type (might be due to invalid IL or missing references)1088 //IL_17f7: Unknown result type (might be due to invalid IL or missing references)1089 m_ButtonOk = new VI.UI.Controls.Common.WinForms.Button();1090 m_ButtonCancel = new VI.UI.Controls.Common.WinForms.Button();1091 panel1 = new VI.Controls.AlienSupport.Panel();1092 m_HeaderControl = new VI.Controls.HeaderControl();1093 panel2 = new Panel();1094 m_GroupBoxStartInfos = new GroupBoxControl();1095 m_DetailListStartInfos = new DetailListControl();1096 m_ToolBarStartInfos = new ToolStrip();1097 m_ToolBarButtonMoveUp = new ToolStripButton();1098 m_ToolBarButtonMoveDown = new ToolStripButton();1099 toolStripSeparator1 = new ToolStripSeparator();1100 m_ToolBarButtonFilterStartInfos = new ToolStripButton();1101 m_ToolBarComboFilter = new ToolStripComboBox();1102 tableLayoutPanel1 = new TableLayoutPanel();1103 m_ButtonStartSequence = new VI.UI.Controls.Common.WinForms.Button();1104 m_EditError = new Edit();1105 flowLayoutPanel1 = new Panel();1106 m_CaptionLabelSchedule = new CaptionLabel();1107 m_ComboBoxSchedule = new ProjectorUIComboBox();1108 m_ButtonAddSchedule = new VI.UI.Controls.Common.WinForms.Button();1109 m_EditGroupName = new Edit();1110 m_EditGroupDescription = new Edit();1111 flowLayoutPanel2 = new FlowLayoutPanel();1112 m_CheckBoxAllowMultipleInstances = new CheckBox();1113 m_ToolBarSequence = new ToolStrip();1114 m_ToolBarButtonSequenceSave = new ToolStripButton();1115 m_ToolBarButtonSequenceSaveSep = new ToolStripSeparator();1116 m_ToolBarButtonSequenceDelete = new ToolStripButton();1117 splitter1 = new Splitter();1118 m_GroupBoxStartGroups = new GroupBoxControl();1119 m_DetailListGroups = new DetailListControl();1120 m_ToolBarGroups = new ToolStrip();1121 m_ToolBarButtonSequenceAdd = new ToolStripButton();1122 toolStripSeparator3 = new ToolStripSeparator();1123 m_ToolBarButtonShowInstances = new ToolStripButton();1124 m_ToolBarButtonReload = new ToolStripButton();1125 m_StockImageComponent = new StockImageComponent();1126 m_CheckBoxConcurrenceHandling = new CheckBox();1127 ((Control)panel1).SuspendLayout();1128 ((ISupportInitialize)m_HeaderControl).BeginInit();1129 ((Control)panel2).SuspendLayout();1130 ((Control)m_GroupBoxStartInfos).SuspendLayout();1131 ((Control)m_ToolBarStartInfos).SuspendLayout();1132 ((Control)tableLayoutPanel1).SuspendLayout();1133 ((ISupportInitialize)m_EditError).BeginInit();1134 ((Control)flowLayoutPanel1).SuspendLayout();1135 ((ISupportInitialize)m_CaptionLabelSchedule).BeginInit();1136 ((ISupportInitialize)m_EditGroupName).BeginInit();1137 ((ISupportInitialize)m_EditGroupDescription).BeginInit();1138 ((Control)flowLayoutPanel2).SuspendLayout();1139 ((Control)m_ToolBarSequence).SuspendLayout();1140 ((Control)m_GroupBoxStartGroups).SuspendLayout();1141 ((Control)m_ToolBarGroups).SuspendLayout();1142 ((Control)this).SuspendLayout();1143 ((Control)m_ButtonOk).Anchor = (AnchorStyles)9;1144 m_ButtonOk.Options.ButtonStyle = VI.UI.Controls.Common.ButtonStyle.Corporate;1145 m_ButtonOk.Caption = "&Ok";1146 m_ButtonOk.DialogResult = (DialogResult)1;1147 ((Control)m_ButtonOk).Location = new Point(713, 9);1148 ((Control)m_ButtonOk).Margin = new Padding(0);1149 m_ButtonOk.Name = "m_ButtonOk";1150 ((Control)m_ButtonOk).Size = new Size(75, 23);1151 ((Control)m_ButtonOk).TabIndex = 0;1152 ((Control)m_ButtonCancel).Anchor = (AnchorStyles)9;1153 m_ButtonCancel.Options.ButtonStyle = VI.UI.Controls.Common.ButtonStyle.Corporate;1154 m_ButtonCancel.Caption = "&Cancel";1155 m_ButtonCancel.DialogResult = (DialogResult)2;1156 ((Control)m_ButtonCancel).Location = new Point(798, 9);1157 ((Control)m_ButtonCancel).Margin = new Padding(0);1158 m_ButtonCancel.Name = "m_ButtonCancel";1159 ((Control)m_ButtonCancel).Size = new Size(75, 23);1160 ((Control)m_ButtonCancel).TabIndex = 5;1161 ((Control)panel1).Controls.Add((Control)(object)m_ButtonOk);1162 ((Control)panel1).Controls.Add((Control)(object)m_ButtonCancel);1163 ((Control)panel1).Dock = (DockStyle)2;1164 ((Control)panel1).Location = new Point(0, 619);1165 ((Control)panel1).Name = "panel1";1166 ((Control)panel1).Size = new Size(884, 42);1167 ((Control)panel1).TabIndex = 5;1168 ((Control)m_HeaderControl).BackColor = Color.White;1169 ((Control)m_HeaderControl).BackgroundImageLayout = (ImageLayout)3;1170 ((Control)m_HeaderControl).Dock = (DockStyle)1;1171 ((Control)m_HeaderControl).ForeColor = Color.Black;1172 ((Control)m_HeaderControl).Location = new Point(0, 0);1173 ((Control)m_HeaderControl).Margin = new Padding(0);1174 ((Control)m_HeaderControl).MinimumSize = new Size(0, 48);1175 ((Control)m_HeaderControl).Name = "m_HeaderControl";1176 ((Control)m_HeaderControl).Padding = new Padding(8);1177 ((Control)m_HeaderControl).Size = new Size(884, 48);1178 m_HeaderControl.StockImage = StockImage.Execute;1179 ((Control)m_HeaderControl).TabIndex = 1;1180 ((Control)panel2).Controls.Add((Control)(object)m_GroupBoxStartInfos);1181 ((Control)panel2).Controls.Add((Control)(object)splitter1);1182 ((Control)panel2).Controls.Add((Control)(object)m_GroupBoxStartGroups);1183 ((Control)panel2).Dock = (DockStyle)5;1184 ((Control)panel2).Location = new Point(0, 48);1185 ((Control)panel2).Margin = new Padding(0);1186 ((Control)panel2).Name = "panel2";1187 ((Control)panel2).Padding = new Padding(5, 0, 5, 0);1188 ((Control)panel2).Size = new Size(884, 571);1189 ((Control)panel2).TabIndex = 0;1190 ((Control)m_GroupBoxStartInfos).Controls.Add((Control)(object)m_DetailListStartInfos);1191 ((Control)m_GroupBoxStartInfos).Controls.Add((Control)(object)m_ToolBarStartInfos);1192 ((Control)m_GroupBoxStartInfos).Controls.Add((Control)(object)tableLayoutPanel1);1193 ((Control)m_GroupBoxStartInfos).Controls.Add((Control)(object)m_ToolBarSequence);1194 ((Control)m_GroupBoxStartInfos).Dock = (DockStyle)5;1195 m_GroupBoxStartInfos.Options.GroupBoxStyle = GroupBoxControlStyle.CorporateHeaderSlim;1196 ((Control)m_GroupBoxStartInfos).Location = new Point(253, 0);1197 ((Control)m_GroupBoxStartInfos).Margin = new Padding(0);1198 m_GroupBoxStartInfos.Name = "m_GroupBoxStartInfos";1199 ((Control)m_GroupBoxStartInfos).Padding = new Padding(0);1200 ((Control)m_GroupBoxStartInfos).Size = new Size(626, 571);1201 ((Control)m_GroupBoxStartInfos).TabIndex = 2;1202 ((Control)m_GroupBoxStartInfos).TabStop = false;1203 ((Control)m_GroupBoxStartInfos).Text = "~Start infos";1204 ((Control)m_DetailListStartInfos).BackColor = Color.White;1205 ((Control)m_DetailListStartInfos).Dock = (DockStyle)5;1206 ((Control)m_DetailListStartInfos).Location = new Point(1, 266);1207 ((Control)m_DetailListStartInfos).Margin = new Padding(0);1208 m_DetailListStartInfos.Name = "m_DetailListStartInfos";1209 ((Control)m_DetailListStartInfos).Padding = new Padding(8);1210 ((Control)m_DetailListStartInfos).Size = new Size(624, 304);1211 ((Control)m_DetailListStartInfos).TabIndex = 3;1212 m_ToolBarStartInfos.CanOverflow = false;1213 m_ToolBarStartInfos.GripStyle = (ToolStripGripStyle)0;1214 m_ToolBarStartInfos.Items.AddRange((ToolStripItem[])(object)new ToolStripItem[5]1215 {1216 (ToolStripItem)m_ToolBarButtonMoveUp,1217 (ToolStripItem)m_ToolBarButtonMoveDown,1218 (ToolStripItem)toolStripSeparator1,1219 (ToolStripItem)m_ToolBarButtonFilterStartInfos,1220 (ToolStripItem)m_ToolBarComboFilter1221 });1222 ((Control)m_ToolBarStartInfos).Location = new Point(1, 241);1223 ((Control)m_ToolBarStartInfos).Name = "m_ToolBarStartInfos";1224 ((Control)m_ToolBarStartInfos).Size = new Size(624, 25);1225 ((Control)m_ToolBarStartInfos).TabIndex = 2;1226 ((Control)m_ToolBarStartInfos).Text = "toolBar1";1227 ((ToolStripItem)m_ToolBarButtonMoveUp).Name = "m_ToolBarButtonMoveUp";1228 ((ToolStripItem)m_ToolBarButtonMoveUp).Size = new Size(23, 22);1229 m_StockImageComponent.SetStockImage((IComponent)(object)m_ToolBarButtonMoveUp, new StockImageDefinition("Image", StockImage.UpArrow, VI.ImageLibrary.ImageSize.Small, VI.ImageLibrary.ImageState.Normal));1230 ((ToolStripItem)m_ToolBarButtonMoveDown).Name = "m_ToolBarButtonMoveDown";1231 ((ToolStripItem)m_ToolBarButtonMoveDown).Size = new Size(23, 22);1232 m_StockImageComponent.SetStockImage((IComponent)(object)m_ToolBarButtonMoveDown, new StockImageDefinition("Image", StockImage.DownArrow, VI.ImageLibrary.ImageSize.Small, VI.ImageLibrary.ImageState.Normal));1233 ((ToolStripItem)toolStripSeparator1).Name = "toolStripSeparator1";1234 ((ToolStripItem)toolStripSeparator1).Size = new Size(6, 25);1235 m_ToolBarButtonFilterStartInfos.CheckOnClick = true;1236 ((ToolStripItem)m_ToolBarButtonFilterStartInfos).Name = "m_ToolBarButtonFilterStartInfos";1237 ((ToolStripItem)m_ToolBarButtonFilterStartInfos).Size = new Size(23, 22);1238 m_StockImageComponent.SetStockImage((IComponent)(object)m_ToolBarButtonFilterStartInfos, new StockImageDefinition("Image", StockImage.Filter, VI.ImageLibrary.ImageSize.Small, VI.ImageLibrary.ImageState.Normal));1239 ((ToolStripItem)m_ToolBarComboFilter).Name = "m_ToolBarComboFilter";1240 ((ToolStripItem)m_ToolBarComboFilter).Size = new Size(121, 25);1241 ((Control)tableLayoutPanel1).AutoSize = true;1242 tableLayoutPanel1.ColumnCount = 2;1243 tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle((SizeType)2, 100f));1244 tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle((SizeType)1, 64f));1245 tableLayoutPanel1.Controls.Add((Control)(object)m_ButtonStartSequence, 1, 0);1246 tableLayoutPanel1.Controls.Add((Control)(object)m_EditError, 0, 4);1247 tableLayoutPanel1.Controls.Add((Control)(object)flowLayoutPanel1, 0, 1);1248 tableLayoutPanel1.Controls.Add((Control)(object)m_EditGroupName, 0, 0);1249 tableLayoutPanel1.Controls.Add((Control)(object)m_EditGroupDescription, 0, 3);1250 tableLayoutPanel1.Controls.Add((Control)(object)flowLayoutPanel2, 0, 2);1251 ((Control)tableLayoutPanel1).Dock = (DockStyle)1;1252 ((Control)tableLayoutPanel1).Location = new Point(1, 49);1253 ((Control)tableLayoutPanel1).Margin = new Padding(0);1254 ((Control)tableLayoutPanel1).Name = "tableLayoutPanel1";1255 ((Control)tableLayoutPanel1).Padding = new Padding(0, 5, 5, 0);1256 tableLayoutPanel1.RowCount = 5;1257 tableLayoutPanel1.RowStyles.Add(new RowStyle());1258 tableLayoutPanel1.RowStyles.Add(new RowStyle());1259 tableLayoutPanel1.RowStyles.Add(new RowStyle());1260 tableLayoutPanel1.RowStyles.Add(new RowStyle());1261 tableLayoutPanel1.RowStyles.Add(new RowStyle());1262 ((Control)tableLayoutPanel1).Size = new Size(624, 192);1263 ((Control)tableLayoutPanel1).TabIndex = 1;1264 ((Control)m_ButtonStartSequence).Anchor = (AnchorStyles)15;1265 m_ButtonStartSequence.Options.ButtonStyle = VI.UI.Controls.Common.ButtonStyle.Corporate;1266 ((Control)m_ButtonStartSequence).Location = new Point(555, 5);1267 ((Control)m_ButtonStartSequence).Margin = new Padding(0);1268 m_ButtonStartSequence.Name = "m_ButtonStartSequence";1269 tableLayoutPanel1.SetRowSpan((Control)(object)m_ButtonStartSequence, 2);1270 ((Control)m_ButtonStartSequence).Size = new Size(64, 57);1271 ((Control)m_ButtonStartSequence).TabIndex = 5;1272 ((Control)m_EditError).AccessibleName = "~Error";1273 ((Control)m_EditError).AccessibleRole = (AccessibleRole)42;1274 ((Control)m_EditError).Anchor = (AnchorStyles)12;1275 ((Control)m_EditError).BackColor = Color.FromArgb(255, 255, 255);1276 m_EditError.Caption = "~Error";1277 tableLayoutPanel1.SetColumnSpan((Control)(object)m_EditError, 2);1278 m_EditError.ControlStyle = ViControlStyle.Inherited;1279 m_EditError.EnabledByUser = false;1280 ((Control)m_EditError).ForeColor = SystemColors.ControlText;1281 ((Control)m_EditError).Location = new Point(0, 127);1282 ((Control)m_EditError).Margin = new Padding(0, 0, 0, 5);1283 m_EditError.MaxLength = 256;1284 ((Control)m_EditError).Name = "m_EditError";1285 m_EditError.NumberOfLines = 2;1286 m_EditError.ScrollBars = (ScrollBars)3;1287 m_EditError.ShowCaptionBar = false;1288 ((Control)m_EditError).Size = new Size(619, 60);1289 ((Control)m_EditError).TabIndex = 4;1290 ((Control)flowLayoutPanel1).Anchor = (AnchorStyles)4;1291 ((Control)flowLayoutPanel1).AutoSize = true;1292 ((Control)flowLayoutPanel1).Controls.Add((Control)(object)m_CaptionLabelSchedule);1293 ((Control)flowLayoutPanel1).Controls.Add((Control)(object)m_ComboBoxSchedule);1294 ((Control)flowLayoutPanel1).Controls.Add((Control)(object)m_ButtonAddSchedule);1295 ((Control)flowLayoutPanel1).Location = new Point(0, 33);1296 ((Control)flowLayoutPanel1).Margin = new Padding(0);1297 ((Control)flowLayoutPanel1).Name = "flowLayoutPanel1";1298 ((Control)flowLayoutPanel1).Size = new Size(510, 29);1299 ((Control)flowLayoutPanel1).TabIndex = 1;1300 ((Control)m_CaptionLabelSchedule).AccessibleName = "~Schedule";1301 ((Control)m_CaptionLabelSchedule).Anchor = (AnchorStyles)4;1302 m_CaptionLabelSchedule.AssociatedControl = m_ComboBoxSchedule;1303 ((Control)m_CaptionLabelSchedule).BackColor = Color.FromArgb(255, 255, 255);1304 m_CaptionLabelSchedule.Caption = "~Schedule";1305 m_CaptionLabelSchedule.ControlStyle = ViControlStyle.Inherited;1306 ((Control)m_CaptionLabelSchedule).ForeColor = Color.Black;1307 ((Control)m_CaptionLabelSchedule).Location = new Point(0, 0);1308 ((Control)m_CaptionLabelSchedule).Margin = new Padding(0, 0, 0, 5);1309 ((Control)m_CaptionLabelSchedule).Name = "m_CaptionLabelSchedule";1310 m_CaptionLabelSchedule.ShowCaptionBar = false;1311 ((Control)m_CaptionLabelSchedule).Size = new Size(181, 22);1312 ((Control)m_CaptionLabelSchedule).TabIndex = 161;1313 ((Control)m_CaptionLabelSchedule).Text = "~Schedule";1314 ((ComboBox)m_ComboBoxSchedule).AutoCompleteMode = (AutoCompleteMode)1;1315 ((ComboBox)m_ComboBoxSchedule).AutoCompleteSource = (AutoCompleteSource)256;1316 ((ComboBox)m_ComboBoxSchedule).DrawMode = (DrawMode)1;1317 ((ComboBox)m_ComboBoxSchedule).DropDownStyle = (ComboBoxStyle)2;1318 ((ComboBox)m_ComboBoxSchedule).DropDownWidth = 480;1319 ((ListControl)m_ComboBoxSchedule).FormattingEnabled = true;1320 ((Control)m_ComboBoxSchedule).Location = new Point(181, 0);1321 ((Control)m_ComboBoxSchedule).Margin = new Padding(0, 0, 5, 5);1322 ((Control)m_ComboBoxSchedule).Name = "m_ComboBoxSchedule";1323 m_ComboBoxSchedule.ShowImages = false;1324 ((Control)m_ComboBoxSchedule).Size = new Size(300, 24);1325 ((ComboBox)m_ComboBoxSchedule).Sorted = true;1326 ((Control)m_ComboBoxSchedule).TabIndex = 0;1327 ((Control)m_ButtonAddSchedule).Anchor = (AnchorStyles)4;1328 ((Control)m_ButtonAddSchedule).Location = new Point(486, 0);1329 ((Control)m_ButtonAddSchedule).Margin = new Padding(0);1330 m_ButtonAddSchedule.Name = "m_ButtonAddSchedule";1331 ((Control)m_ButtonAddSchedule).Size = new Size(24, 24);1332 ((Control)m_ButtonAddSchedule).TabIndex = 1;1333 ((Control)m_EditGroupName).AccessibleName = "~SequenceName";1334 ((Control)m_EditGroupName).AccessibleRole = (AccessibleRole)42;1335 ((Control)m_EditGroupName).BackColor = Color.FromArgb(255, 255, 255);1336 m_EditGroupName.Caption = "~SequenceName";1337 m_EditGroupName.ControlStyle = ViControlStyle.Inherited;1338 ((Control)m_EditGroupName).ForeColor = SystemColors.ControlText;1339 m_EditGroupName.IsMandatoryField = true;1340 ((Control)m_EditGroupName).Location = new Point(0, 5);1341 ((Control)m_EditGroupName).Margin = new Padding(0, 0, 0, 5);1342 m_EditGroupName.MaxLength = 64;1343 ((Control)m_EditGroupName).Name = "m_EditGroupName";1344 m_EditGroupName.ShowCaptionBar = false;1345 ((Control)m_EditGroupName).Size = new Size(374, 23);1346 ((Control)m_EditGroupName).TabIndex = 0;1347 m_EditGroupDescription.AcceptsReturn = true;1348 ((Control)m_EditGroupDescription).AccessibleName = "~Description";1349 ((Control)m_EditGroupDescription).AccessibleRole = (AccessibleRole)42;1350 ((Control)m_EditGroupDescription).Anchor = (AnchorStyles)12;1351 ((Control)m_EditGroupDescription).BackColor = Color.FromArgb(255, 255, 255);1352 m_EditGroupDescription.Caption = "~Description";1353 tableLayoutPanel1.SetColumnSpan((Control)(object)m_EditGroupDescription, 2);1354 m_EditGroupDescription.ControlStyle = ViControlStyle.Inherited;1355 ((Control)m_EditGroupDescription).ForeColor = SystemColors.ControlText;1356 ((Control)m_EditGroupDescription).Location = new Point(0, 86);1357 ((Control)m_EditGroupDescription).Margin = new Padding(0, 0, 0, 5);1358 m_EditGroupDescription.MaxLength = 256;1359 ((Control)m_EditGroupDescription).Name = "m_EditGroupDescription";1360 m_EditGroupDescription.NumberOfLines = 2;1361 m_EditGroupDescription.ScrollBars = (ScrollBars)3;1362 m_EditGroupDescription.ShowCaptionBar = false;1363 ((Control)m_EditGroupDescription).Size = new Size(619, 36);1364 ((Control)m_EditGroupDescription).TabIndex = 3;1365 ((Control)flowLayoutPanel2).Anchor = (AnchorStyles)4;1366 ((Control)flowLayoutPanel2).AutoSize = true;1367 ((Control)flowLayoutPanel2).Controls.Add((Control)(object)m_CheckBoxAllowMultipleInstances);1368 ((Control)flowLayoutPanel2).Controls.Add((Control)(object)m_CheckBoxConcurrenceHandling);1369 ((Control)flowLayoutPanel2).Location = new Point(0, 62);1370 ((Control)flowLayoutPanel2).Margin = new Padding(0);1371 ((Control)flowLayoutPanel2).Name = "flowLayoutPanel2";1372 ((Control)flowLayoutPanel2).Size = new Size(378, 24);1373 ((Control)flowLayoutPanel2).TabIndex = 2;1374 flowLayoutPanel2.WrapContents = false;1375 ((Control)m_CheckBoxAllowMultipleInstances).AutoSize = true;1376 ((Control)m_CheckBoxAllowMultipleInstances).Location = new Point(181, 0);1377 ((Control)m_CheckBoxAllowMultipleInstances).Margin = new Padding(181, 0, 0, 5);1378 ((Control)m_CheckBoxAllowMultipleInstances).Name = "m_CheckBoxAllowMultipleInstances";1379 ((Control)m_CheckBoxAllowMultipleInstances).Size = new Size(130, 19);1380 ((Control)m_CheckBoxAllowMultipleInstances).TabIndex = 2;1381 ((Control)m_CheckBoxAllowMultipleInstances).Text = "~Multiple Instances";1382 ((ButtonBase)m_CheckBoxAllowMultipleInstances).UseVisualStyleBackColor = true;1383 m_ToolBarSequence.CanOverflow = false;1384 m_ToolBarSequence.GripStyle = (ToolStripGripStyle)0;1385 m_ToolBarSequence.Items.AddRange((ToolStripItem[])(object)new ToolStripItem[3]1386 {1387 (ToolStripItem)m_ToolBarButtonSequenceSave,1388 (ToolStripItem)m_ToolBarButtonSequenceSaveSep,1389 (ToolStripItem)m_ToolBarButtonSequenceDelete1390 });1391 ((Control)m_ToolBarSequence).Location = new Point(1, 24);1392 ((Control)m_ToolBarSequence).Name = "m_ToolBarSequence";1393 ((Control)m_ToolBarSequence).Size = new Size(624, 25);1394 ((Control)m_ToolBarSequence).TabIndex = 0;1395 ((Control)m_ToolBarSequence).Text = "toolBar1";1396 ((ToolStripItem)m_ToolBarButtonSequenceSave).Name = "m_ToolBarButtonSequenceSave";1397 ((ToolStripItem)m_ToolBarButtonSequenceSave).Size = new Size(23, 22);1398 m_StockImageComponent.SetStockImage((IComponent)(object)m_ToolBarButtonSequenceSave, new StockImageDefinition("Image", StockImage.Save, VI.ImageLibrary.ImageSize.Small, VI.ImageLibrary.ImageState.Normal));1399 ((ToolStripItem)m_ToolBarButtonSequenceSaveSep).Name = "m_ToolBarButtonSequenceSaveSep";1400 ((ToolStripItem)m_ToolBarButtonSequenceSaveSep).Size = new Size(6, 25);1401 ((ToolStripItem)m_ToolBarButtonSequenceDelete).Name = "m_ToolBarButtonSequenceDelete";1402 ((ToolStripItem)m_ToolBarButtonSequenceDelete).Size = new Size(23, 22);1403 m_StockImageComponent.SetStockImage((IComponent)(object)m_ToolBarButtonSequenceDelete, new StockImageDefinition("Image", StockImage.DeleteDocument, VI.ImageLibrary.ImageSize.Small, VI.ImageLibrary.ImageState.Normal));1404 ((Control)splitter1).Location = new Point(249, 0);1405 ((Control)splitter1).Name = "splitter1";1406 ((Control)splitter1).Size = new Size(4, 571);1407 ((Control)splitter1).TabIndex = 1;1408 splitter1.TabStop = false;1409 ((Control)m_GroupBoxStartGroups).Controls.Add((Control)(object)m_DetailListGroups);1410 ((Control)m_GroupBoxStartGroups).Controls.Add((Control)(object)m_ToolBarGroups);1411 ((Control)m_GroupBoxStartGroups).Dock = (DockStyle)3;1412 m_GroupBoxStartGroups.Options.GroupBoxStyle = GroupBoxControlStyle.CorporateHeaderSlim;1413 ((Control)m_GroupBoxStartGroups).Location = new Point(5, 0);1414 ((Control)m_GroupBoxStartGroups).Margin = new Padding(0);1415 m_GroupBoxStartGroups.Name = "m_GroupBoxStartGroups";1416 ((Control)m_GroupBoxStartGroups).Padding = new Padding(0);1417 ((Control)m_GroupBoxStartGroups).Size = new Size(244, 571);1418 ((Control)m_GroupBoxStartGroups).TabIndex = 0;1419 ((Control)m_GroupBoxStartGroups).TabStop = false;1420 ((Control)m_GroupBoxStartGroups).Text = "~Start sequences";1421 ((Control)m_DetailListGroups).BackColor = Color.White;1422 ((Control)m_DetailListGroups).Dock = (DockStyle)5;1423 ((Control)m_DetailListGroups).Location = new Point(1, 49);1424 ((Control)m_DetailListGroups).Margin = new Padding(0);1425 m_DetailListGroups.Name = "m_DetailListGroups";1426 ((Control)m_DetailListGroups).Size = new Size(242, 521);1427 ((Control)m_DetailListGroups).TabIndex = 0;1428 m_ToolBarGroups.CanOverflow = false;1429 m_ToolBarGroups.GripStyle = (ToolStripGripStyle)0;1430 m_ToolBarGroups.Items.AddRange((ToolStripItem[])(object)new ToolStripItem[4]1431 {1432 (ToolStripItem)m_ToolBarButtonSequenceAdd,1433 (ToolStripItem)toolStripSeparator3,1434 (ToolStripItem)m_ToolBarButtonShowInstances,1435 (ToolStripItem)m_ToolBarButtonReload1436 });1437 ((Control)m_ToolBarGroups).Location = new Point(1, 24);1438 ((Control)m_ToolBarGroups).Name = "m_ToolBarGroups";1439 ((Control)m_ToolBarGroups).Size = new Size(242, 25);1440 ((Control)m_ToolBarGroups).TabIndex = 2;1441 ((Control)m_ToolBarGroups).Text = "toolBar1";1442 ((ToolStripItem)m_ToolBarButtonSequenceAdd).Name = "m_ToolBarButtonSequenceAdd";1443 ((ToolStripItem)m_ToolBarButtonSequenceAdd).Size = new Size(23, 22);1444 m_StockImageComponent.SetStockImage((IComponent)(object)m_ToolBarButtonSequenceAdd, new StockImageDefinition("Image", StockImage.NewDocument, VI.ImageLibrary.ImageSize.Small, VI.ImageLibrary.ImageState.Normal));1445 ((ToolStripItem)toolStripSeparator3).Name = "toolStripSeparator3";1446 ((ToolStripItem)toolStripSeparator3).Size = new Size(6, 25);1447 m_ToolBarButtonShowInstances.CheckOnClick = true;1448 ((ToolStripItem)m_ToolBarButtonShowInstances).Name = "m_ToolBarButtonShowInstances";1449 ((ToolStripItem)m_ToolBarButtonShowInstances).Size = new Size(23, 22);1450 m_StockImageComponent.SetStockImage((IComponent)(object)m_ToolBarButtonShowInstances, new StockImageDefinition("Image", StockImage.WorkflowStep, VI.ImageLibrary.ImageSize.Small, VI.ImageLibrary.ImageState.Normal));1451 ((ToolStripItem)m_ToolBarButtonReload).Name = "m_ToolBarButtonReload";1452 ((ToolStripItem)m_ToolBarButtonReload).Size = new Size(23, 22);1453 m_StockImageComponent.SetStockImage((IComponent)(object)m_ToolBarButtonReload, new StockImageDefinition("Image", StockImage.Refresh, VI.ImageLibrary.ImageSize.Small, VI.ImageLibrary.ImageState.Normal));1454 m_StockImageComponent.DefaultImageProperty = null;1455 ((Control)m_CheckBoxConcurrenceHandling).AutoSize = true;1456 ((Control)m_CheckBoxConcurrenceHandling).Location = new Point(311, 0);1457 ((Control)m_CheckBoxConcurrenceHandling).Margin = new Padding(0);1458 ((Control)m_CheckBoxConcurrenceHandling).Name = "m_CheckBoxConcurrenceHandling";1459 ((Control)m_CheckBoxConcurrenceHandling).Size = new Size(67, 19);1460 ((Control)m_CheckBoxConcurrenceHandling).TabIndex = 3;1461 ((Control)m_CheckBoxConcurrenceHandling).Text = "~Throw";1462 ((ButtonBase)m_CheckBoxConcurrenceHandling).UseVisualStyleBackColor = true;1463 ((ContainerControl)this).AutoScaleDimensions = new SizeF(96f, 96f);1464 ((ContainerControl)this).AutoScaleMode = (AutoScaleMode)2;1465 ((Form)this).CancelButton = (IButtonControl)(object)m_ButtonCancel;1466 ((Form)this).ClientSize = new Size(884, 661);1467 ((Control)this).Controls.Add((Control)(object)panel2);1468 ((Control)this).Controls.Add((Control)(object)panel1);1469 ((Control)this).Controls.Add((Control)(object)m_HeaderControl);1470 ((Form)this).MaximizeBox = false;1471 ((Form)this).MinimizeBox = false;1472 ((Control)this).MinimumSize = new Size(900, 600);1473 ((Control)this).Name = "ManageStartSequencesDialog";1474 ((Form)this).ShowIcon = false;1475 ((Form)this).ShowInTaskbar = false;1476 ((Control)this).Text = "~Manage Start Groups";1477 ((Control)panel1).ResumeLayout(false);1478 ((ISupportInitialize)m_HeaderControl).EndInit();1479 ((Control)panel2).ResumeLayout(false);1480 ((Control)m_GroupBoxStartInfos).ResumeLayout(false);1481 ((Control)m_GroupBoxStartInfos).PerformLayout();1482 ((Control)m_ToolBarStartInfos).ResumeLayout(false);1483 ((Control)m_ToolBarStartInfos).PerformLayout();1484 ((Control)tableLayoutPanel1).ResumeLayout(false);1485 ((Control)tableLayoutPanel1).PerformLayout();1486 ((ISupportInitialize)m_EditError).EndInit();1487 ((Control)flowLayoutPanel1).ResumeLayout(false);1488 ((ISupportInitialize)m_CaptionLabelSchedule).EndInit();1489 ((ISupportInitialize)m_EditGroupName).EndInit();1490 ((ISupportInitialize)m_EditGroupDescription).EndInit();1491 ((Control)flowLayoutPanel2).ResumeLayout(false);1492 ((Control)flowLayoutPanel2).PerformLayout();1493 ((Control)m_ToolBarSequence).ResumeLayout(false);1494 ((Control)m_ToolBarSequence).PerformLayout();1495 ((Control)m_GroupBoxStartGroups).ResumeLayout(false);1496 ((Control)m_GroupBoxStartGroups).PerformLayout();1497 ((Control)m_ToolBarGroups).ResumeLayout(false);1498 ((Control)m_ToolBarGroups).PerformLayout();1499 ((Control)this).ResumeLayout(false);1500 }1501}1502