internal void xe9a159cd1e028df2( SandDockManager x91f347c6e97f1846, DockContainer xd3311d815ca25f02, LayoutSystemBase x6e150040c8d97700, DockControl x43bec302f92080b9, int x9562cf1322eeedf1, System.Drawing.Point x6afebf16b45c02e0, DockingHints x48cee1d69929b4fe, DockingManager xab4835b6b3620991) { if (xab4835b6b3620991 == DockingManager.Whidbey) { goto label_5; } label_1: this.x531514c39973cbc6 = new xedb4922162c60d3d(x91f347c6e97f1846, this.DockContainer, this, x43bec302f92080b9, x9562cf1322eeedf1, x6afebf16b45c02e0, x48cee1d69929b4fe); label_2: this.x531514c39973cbc6.x67ecc0d0e7c9a202 += new xedb4922162c60d3d.DockingManagerFinishedEventHandler(this.x46ff430ed3944e0f); this.x531514c39973cbc6.x868a32060451dd2e += new EventHandler(this.x0ae87c4881d90427); if (true) { this.x531514c39973cbc6.OnMouseMove(Cursor.Position); return; } label_5: if (x890231ddf317379e.xca8cda6e489f8dd8()) { this.x531514c39973cbc6 = (xedb4922162c60d3d) new x31248f32f85df1dd(x91f347c6e97f1846, this.DockContainer, this, x43bec302f92080b9, x9562cf1322eeedf1, x6afebf16b45c02e0, x48cee1d69929b4fe); goto label_2; } else { goto label_1; } }
// // CONSTRUCTOR // public FormWindows(SandDockManager sandDockManager) { InitializeComponent(); // this.Icon = Resources.DIAGRAMMER; this.Text = Resources.TEXT_WINDOWS; this.columnHeaderName.Text = Resources.TEXT_NAME; this.columnHeaderPath.Text = Resources.TEXT_PATH; this.buttonActivate.Text = Resources.TEXT_ACTIVATE; this.buttonClose.Text = Resources.TEXT_CLOSE; this.buttonOK.Text = Resources.TEXT_OK; // this.m_sanDockManager = sandDockManager; // this.LoadDockControls(); }
public x410f3612b9a8f9de(SandDockManager manager, Guid guid) { if (manager == null) { throw new ArgumentNullException(nameof(manager)); } this.xa6607dfd4b3038ad = new TD.SandDock.xd936980ea1aac341(this); this.xa6607dfd4b3038ad.Activated += new EventHandler(((DockContainer)this).xa2414c47d888068e); this.xa6607dfd4b3038ad.Deactivate += new EventHandler(((DockContainer)this).x19e788b09b195d4f); this.xa6607dfd4b3038ad.Closing += new CancelEventHandler(this.x9218bee68262250e); do { this.xa6607dfd4b3038ad.DoubleClick += new EventHandler(this.xe1f5f125062dc4fb); this.LayoutSystem.x7e9646eed248ed11 += new EventHandler(this.x8e9e04a70e31e166); if (true) { goto label_4; } label_1: this.Manager = manager; this.xb51cd75f17ace1ec = guid; continue; label_4: this.x8e9e04a70e31e166((object)this.LayoutSystem, EventArgs.Empty); if (true) { goto label_1; } else { goto label_7; } }while (false); this.xa6607dfd4b3038ad.Controls.Add((Control)this); this.Dock = DockStyle.Fill; return; label_7 :; }
internal static void x0a680eda7ec8bd81( SandDockManager x91f347c6e97f1846, XmlNode x8a5ce9fbef4b9a09) { TypeConverter converter1 = TypeDescriptor.GetConverter(typeof(long)); do { TypeConverter converter2 = TypeDescriptor.GetConverter(typeof(int)); TypeConverter converter3 = TypeDescriptor.GetConverter(typeof(System.Drawing.Size)); TypeConverter converter4 = TypeDescriptor.GetConverter(typeof(System.Drawing.Point)); DockControl control = x91f347c6e97f1846.FindControl(new Guid(x8a5ce9fbef4b9a09.Attributes["Guid"].Value)); if (control != null) { if (x8a5ce9fbef4b9a09.Attributes["LastFocused"] != null) { goto label_26; } else { goto label_24; } label_3: if (true) { control.MetaData.xe62a3d24e0fde928.x71a5d248534c8557 = (int)converter2.ConvertFromString(x8a5ce9fbef4b9a09.Attributes["LastDockContainerIndex"].Value); } else { goto label_15; } label_5: x245a5abec1c73d3a.xac29055e1acf1a28(control, x8a5ce9fbef4b9a09, (x129cb2a2bdfd0ab2)control.MetaData.xe62a3d24e0fde928, "Docked"); if (true) { x245a5abec1c73d3a.xac29055e1acf1a28(control, x8a5ce9fbef4b9a09, control.MetaData.x25e1dbd0e63329bf, "Document"); x245a5abec1c73d3a.xac29055e1acf1a28(control, x8a5ce9fbef4b9a09, control.MetaData.xba74b873ae2f845a, "Floating"); if (true) { continue; } goto label_19; } else { goto label_7; } label_6: if (x8a5ce9fbef4b9a09.Attributes["LastFloatingWindowGuid"] != null) { control.MetaData.x87f4a9b62a380563(new Guid(x8a5ce9fbef4b9a09.Attributes["LastFloatingWindowGuid"].Value)); } label_7: if (x8a5ce9fbef4b9a09.Attributes["LastDockContainerCount"] == null) { goto label_9; } label_8: control.MetaData.xe62a3d24e0fde928.xd25c313925dc7d4e = (int)converter2.ConvertFromString(x8a5ce9fbef4b9a09.Attributes["LastDockContainerCount"].Value); label_9: if (x8a5ce9fbef4b9a09.Attributes["LastDockContainerIndex"] != null) { if (true) { goto label_3; } } else { goto label_5; } label_10: ContainerDockLocation xbcea506a33cf9111 = ContainerDockLocation.Right; label_11: control.MetaData.xfca44c52f41f0e26(xbcea506a33cf9111); goto label_6; label_15: while (x8a5ce9fbef4b9a09.Attributes["LastFixedDockSituation"] != null) { control.MetaData.x0ba17c4cff658fcf((DockSituation)Enum.Parse(typeof(DockSituation), x8a5ce9fbef4b9a09.Attributes["LastFixedDockSituation"].Value)); if (true) { break; } } if (x8a5ce9fbef4b9a09.Attributes["LastFixedDockLocation"] != null) { xbcea506a33cf9111 = (ContainerDockLocation)Enum.Parse(typeof(ContainerDockLocation), x8a5ce9fbef4b9a09.Attributes["LastFixedDockLocation"].Value); if (!Enum.IsDefined(typeof(ContainerDockLocation), (object)xbcea506a33cf9111)) { if (true) { goto label_10; } else { goto label_7; } } else { goto label_11; } } else { goto label_6; } label_19: control.PopupSize = (int)converter2.ConvertFromString(x8a5ce9fbef4b9a09.Attributes["PopupSize"].Value); label_20: control.FloatingLocation = (System.Drawing.Point)converter4.ConvertFromString((ITypeDescriptorContext)null, CultureInfo.InvariantCulture, x8a5ce9fbef4b9a09.Attributes["FloatingLocation"].Value); control.FloatingSize = (System.Drawing.Size)converter3.ConvertFromString((ITypeDescriptorContext)null, CultureInfo.InvariantCulture, x8a5ce9fbef4b9a09.Attributes["FloatingSize"].Value); if (x8a5ce9fbef4b9a09.Attributes["LastOpenDockSituation"] != null) { control.MetaData.xb0e0bc77d88737a8((DockSituation)Enum.Parse(typeof(DockSituation), x8a5ce9fbef4b9a09.Attributes["LastOpenDockSituation"].Value)); goto label_15; } else { goto label_15; } label_21: if (x8a5ce9fbef4b9a09.Attributes["PopupSize"] == null) { goto label_20; } else { goto label_19; } label_24: if (x8a5ce9fbef4b9a09.Attributes["DockedSize"] != null) { control.MetaData.x3ef4455ea4965093((int)converter2.ConvertFromString(x8a5ce9fbef4b9a09.Attributes["DockedSize"].Value)); goto label_21; } else { goto label_21; } label_26: control.MetaData.x15481da58c59597a(DateTime.FromFileTime((long)converter1.ConvertFromString((ITypeDescriptorContext)null, CultureInfo.InvariantCulture, x8a5ce9fbef4b9a09.Attributes["LastFocused"].Value))); if (true) { if (true) { if (true) { goto label_24; } else { goto label_21; } } else { goto label_8; } } else { goto label_3; } } else { goto label_31; } }while (false); return; label_31 :; }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(ArbeitsbereichSteuerelement)); DockingRules dockingRules = new DockingRules(); this.dockWindowTestBot = new DockableWindow(); this.ucBotTest = new ucBotTest(); this.dockWindowSuchen = new DockableWindow(); this.SuchSteuerelement = new Suchen(); this.dockableWindowExport = new DockableWindow(); this.ExportArbeitsbereich = new Export(); this.dockableWindowPublish = new DockableWindow(); this.PubliziereArbeitsbereich = new Publizieren(); this.dockableWindowWorkflow = new DockableWindow(); this.ucWorkflowToolbar = new ucWorkflowToolbar(); this.ucWorkflowScrollbox = new ucWorkflowScrollbox(); this.dockableWindowMostSRAIS = new DockableWindow(); this.ucBesteSRAIZiele = new ucMeisteSRAIs(); this.sandDockManager = new SandDockManager(); this.dockWindowAIMLDateiListe = new DockableWindow(); this.ucProjektAIMLDateien = new ucAIMLDateiListe(); this.dockWindowTopicListe = new DockableWindow(); this.ucTopicListe = new ucTopicListe(); this.tabbedDocumentGrafischeAnsicht = new TabbedDocument(); this.ucXMLToolbar = new ucXMLToolbar(); this.ucXMLEditor = new ucCategoryXMLEditor(); this.documentContainerCategoryEdit = new DocumentContainer(); this.tabbedDocumentAIMLQuellcode = new TabbedDocument(); this.ucXMLQuellcodeDebugger = new ucXMLQuellcodeDebugger(); this.dockWindowCategoryListe = new DockableWindow(); this.ucCategoryListe = new ucCategoryListe(); this.dockContainer1 = new DockContainer(); this.dockContainer3 = new DockContainer(); this.dockWindowXMLInsertElement = new DockableWindow(); this.ucXMLAddElement = new ucXMLAddElement2(); this.dockWindowEditXMLAttribute = new DockableWindow(); this.ucXMLEditAttributes = new ucXMLEditAttributes(); this.dockContainer6 = new DockContainer(); this.ucArbeitsbereichToolbar = new ucArbeitsbereichToolbar(); this.dockContainerUntenSuchenTestEtc = new DockContainer(); this.dockWindowTestBot.SuspendLayout(); this.dockWindowSuchen.SuspendLayout(); this.dockableWindowExport.SuspendLayout(); this.dockableWindowPublish.SuspendLayout(); this.dockableWindowWorkflow.SuspendLayout(); this.dockableWindowMostSRAIS.SuspendLayout(); this.dockWindowAIMLDateiListe.SuspendLayout(); this.dockWindowTopicListe.SuspendLayout(); this.tabbedDocumentGrafischeAnsicht.SuspendLayout(); this.documentContainerCategoryEdit.SuspendLayout(); this.tabbedDocumentAIMLQuellcode.SuspendLayout(); this.dockWindowCategoryListe.SuspendLayout(); this.dockContainer1.SuspendLayout(); this.dockContainer3.SuspendLayout(); this.dockWindowXMLInsertElement.SuspendLayout(); this.dockWindowEditXMLAttribute.SuspendLayout(); this.dockContainer6.SuspendLayout(); this.dockContainerUntenSuchenTestEtc.SuspendLayout(); this.SuspendLayout(); this.dockWindowTestBot.AllowClose = false; this.dockWindowTestBot.Controls.Add((Control)this.ucBotTest); this.dockWindowTestBot.FloatingSize = new System.Drawing.Size(250, 116); this.dockWindowTestBot.Guid = new Guid("b5e67ccb-f99b-4e45-8e8b-53afe1c26699"); componentResourceManager.ApplyResources((object)this.dockWindowTestBot, "dockWindowTestBot"); this.dockWindowTestBot.Name = "dockWindowTestBot"; this.dockWindowTestBot.ShowOptions = false; this.dockWindowTestBot.TabImage = (Image)Resources.applications_16; componentResourceManager.ApplyResources((object)this.ucBotTest, "ucBotTest"); this.ucBotTest.Name = "ucBotTest"; this.dockWindowSuchen.AllowClose = false; this.dockWindowSuchen.Controls.Add((Control)this.SuchSteuerelement); dockingRules.AllowDockBottom = true; dockingRules.AllowDockLeft = true; dockingRules.AllowDockRight = true; dockingRules.AllowDockTop = true; dockingRules.AllowFloat = false; dockingRules.AllowTab = false; this.dockWindowSuchen.DockingRules = dockingRules; this.dockWindowSuchen.FloatingSize = new System.Drawing.Size(450, 400); this.dockWindowSuchen.Guid = new Guid("c2581e6a-d96f-49c2-a2b9-a7b4cd022403"); componentResourceManager.ApplyResources((object)this.dockWindowSuchen, "dockWindowSuchen"); this.dockWindowSuchen.Name = "dockWindowSuchen"; this.dockWindowSuchen.ShowOptions = false; this.dockWindowSuchen.TabImage = (Image)Resources.BINOCULR; componentResourceManager.ApplyResources((object)this.SuchSteuerelement, "SuchSteuerelement"); this.SuchSteuerelement.Name = "SuchSteuerelement"; this.SuchSteuerelement.Titel = "No search started.: 0 hit(s)"; this.dockableWindowExport.AllowClose = false; this.dockableWindowExport.Controls.Add((Control)this.ExportArbeitsbereich); this.dockableWindowExport.Cursor = Cursors.Default; this.dockableWindowExport.Guid = new Guid("4b077e64-38cc-4b5e-a99f-da9b2730f692"); componentResourceManager.ApplyResources((object)this.dockableWindowExport, "dockableWindowExport"); this.dockableWindowExport.Name = "dockableWindowExport"; this.dockableWindowExport.ShowOptions = false; this.dockableWindowExport.TabImage = (Image)Resources.redo_16; componentResourceManager.ApplyResources((object)this.ExportArbeitsbereich, "ExportArbeitsbereich"); this.ExportArbeitsbereich.Name = "ExportArbeitsbereich"; this.dockableWindowPublish.AllowClose = false; this.dockableWindowPublish.Controls.Add((Control)this.PubliziereArbeitsbereich); this.dockableWindowPublish.Guid = new Guid("cf60f5be-8603-4733-9032-662b0d05c24d"); componentResourceManager.ApplyResources((object)this.dockableWindowPublish, "dockableWindowPublish"); this.dockableWindowPublish.Name = "dockableWindowPublish"; this.dockableWindowPublish.ShowOptions = false; this.dockableWindowPublish.TabImage = (Image)Resources.Globe; componentResourceManager.ApplyResources((object)this.PubliziereArbeitsbereich, "PubliziereArbeitsbereich"); this.PubliziereArbeitsbereich.Name = "PubliziereArbeitsbereich"; this.dockableWindowWorkflow.AllowClose = false; this.dockableWindowWorkflow.Controls.Add((Control)this.ucWorkflowToolbar); this.dockableWindowWorkflow.Controls.Add((Control)this.ucWorkflowScrollbox); this.dockableWindowWorkflow.Guid = new Guid("50ef7a81-ad45-4994-881e-e423baee0104"); componentResourceManager.ApplyResources((object)this.dockableWindowWorkflow, "dockableWindowWorkflow"); this.dockableWindowWorkflow.Name = "dockableWindowWorkflow"; this.dockableWindowWorkflow.ShowOptions = false; this.dockableWindowWorkflow.TabImage = (Image)Resources.GRAPH14; componentResourceManager.ApplyResources((object)this.ucWorkflowToolbar, "ucWorkflowToolbar"); this.ucWorkflowToolbar.Name = "ucWorkflowToolbar"; componentResourceManager.ApplyResources((object)this.ucWorkflowScrollbox, "ucWorkflowScrollbox"); this.ucWorkflowScrollbox.BackColor = Color.White; this.ucWorkflowScrollbox.Category = (AIMLCategory)null; this.ucWorkflowScrollbox.Name = "ucWorkflowScrollbox"; this.dockableWindowMostSRAIS.AllowClose = false; this.dockableWindowMostSRAIS.Controls.Add((Control)this.ucBesteSRAIZiele); this.dockableWindowMostSRAIS.Guid = new Guid("668e99cf-2422-41cf-9838-70d0007347a7"); componentResourceManager.ApplyResources((object)this.dockableWindowMostSRAIS, "dockableWindowMostSRAIS"); this.dockableWindowMostSRAIS.Name = "dockableWindowMostSRAIS"; this.dockableWindowMostSRAIS.ShowOptions = false; componentResourceManager.ApplyResources((object)this.ucBesteSRAIZiele, "ucBesteSRAIZiele"); this.ucBesteSRAIZiele.Name = "ucBesteSRAIZiele"; this.sandDockManager.DockSystemContainer = (Control)this; this.sandDockManager.OwnerForm = (Form)null; this.dockWindowAIMLDateiListe.AllowClose = false; this.dockWindowAIMLDateiListe.Controls.Add((Control)this.ucProjektAIMLDateien); this.dockWindowAIMLDateiListe.Guid = new Guid("51cde5d8-7920-4b1a-86aa-f14518ee0e47"); componentResourceManager.ApplyResources((object)this.dockWindowAIMLDateiListe, "dockWindowAIMLDateiListe"); this.dockWindowAIMLDateiListe.Name = "dockWindowAIMLDateiListe"; this.dockWindowAIMLDateiListe.ShowOptions = false; this.ucProjektAIMLDateien.BackColor = SystemColors.Control; componentResourceManager.ApplyResources((object)this.ucProjektAIMLDateien, "ucProjektAIMLDateien"); this.ucProjektAIMLDateien.Name = "ucProjektAIMLDateien"; this.dockWindowTopicListe.AllowClose = false; this.dockWindowTopicListe.Controls.Add((Control)this.ucTopicListe); this.dockWindowTopicListe.Guid = new Guid("ea5081bf-2f8a-4752-b387-ec19f8831882"); componentResourceManager.ApplyResources((object)this.dockWindowTopicListe, "dockWindowTopicListe"); this.dockWindowTopicListe.Name = "dockWindowTopicListe"; this.dockWindowTopicListe.ShowOptions = false; componentResourceManager.ApplyResources((object)this.ucTopicListe, "ucTopicListe"); this.ucTopicListe.Name = "ucTopicListe"; this.tabbedDocumentGrafischeAnsicht.AllowClose = false; this.tabbedDocumentGrafischeAnsicht.BackColor = Color.White; this.tabbedDocumentGrafischeAnsicht.Controls.Add((Control)this.ucXMLToolbar); this.tabbedDocumentGrafischeAnsicht.Controls.Add((Control)this.ucXMLEditor); this.tabbedDocumentGrafischeAnsicht.FloatingSize = new System.Drawing.Size(550, 400); this.tabbedDocumentGrafischeAnsicht.Guid = new Guid("dd4dda3d-4da1-4a08-8187-813737830be1"); componentResourceManager.ApplyResources((object)this.tabbedDocumentGrafischeAnsicht, "tabbedDocumentGrafischeAnsicht"); this.tabbedDocumentGrafischeAnsicht.Name = "tabbedDocumentGrafischeAnsicht"; this.tabbedDocumentGrafischeAnsicht.Resize += new EventHandler(this.tabbedDocumentGrafischeAnsicht_Resize); componentResourceManager.ApplyResources((object)this.ucXMLToolbar, "ucXMLToolbar"); this.ucXMLToolbar.Name = "ucXMLToolbar"; componentResourceManager.ApplyResources((object)this.ucXMLEditor, "ucXMLEditor"); this.ucXMLEditor.BackColor = Color.White; this.ucXMLEditor.ForeColor = SystemColors.Control; this.ucXMLEditor.Name = "ucXMLEditor"; this.documentContainerCategoryEdit.ContentSize = 400; this.documentContainerCategoryEdit.Controls.Add((Control)this.tabbedDocumentGrafischeAnsicht); this.documentContainerCategoryEdit.Controls.Add((Control)this.tabbedDocumentAIMLQuellcode); this.documentContainerCategoryEdit.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Horizontal, new LayoutSystemBase[1] { (LayoutSystemBase) new DocumentLayoutSystem(new SizeF(281f, 150f), new DockControl[2] { (DockControl)this.tabbedDocumentGrafischeAnsicht, (DockControl)this.tabbedDocumentAIMLQuellcode }, (DockControl)this.tabbedDocumentGrafischeAnsicht) }); componentResourceManager.ApplyResources((object)this.documentContainerCategoryEdit, "documentContainerCategoryEdit"); this.documentContainerCategoryEdit.Manager = this.sandDockManager; this.documentContainerCategoryEdit.Name = "documentContainerCategoryEdit"; this.tabbedDocumentAIMLQuellcode.AllowClose = false; this.tabbedDocumentAIMLQuellcode.BackColor = Color.White; this.tabbedDocumentAIMLQuellcode.Controls.Add((Control)this.ucXMLQuellcodeDebugger); this.tabbedDocumentAIMLQuellcode.FloatingSize = new System.Drawing.Size(550, 400); this.tabbedDocumentAIMLQuellcode.Guid = new Guid("ee004c2a-1eda-45f3-aa57-bfd00714eb65"); componentResourceManager.ApplyResources((object)this.tabbedDocumentAIMLQuellcode, "tabbedDocumentAIMLQuellcode"); this.tabbedDocumentAIMLQuellcode.Name = "tabbedDocumentAIMLQuellcode"; this.ucXMLQuellcodeDebugger.BackColor = SystemColors.Control; componentResourceManager.ApplyResources((object)this.ucXMLQuellcodeDebugger, "ucXMLQuellcodeDebugger"); this.ucXMLQuellcodeDebugger.Name = "ucXMLQuellcodeDebugger"; this.dockWindowCategoryListe.AllowClose = false; this.dockWindowCategoryListe.Controls.Add((Control)this.ucCategoryListe); this.dockWindowCategoryListe.Guid = new Guid("71593c02-4597-41dc-8df3-eff7d26bacc2"); componentResourceManager.ApplyResources((object)this.dockWindowCategoryListe, "dockWindowCategoryListe"); this.dockWindowCategoryListe.Name = "dockWindowCategoryListe"; this.dockWindowCategoryListe.ShowOptions = false; componentResourceManager.ApplyResources((object)this.ucCategoryListe, "ucCategoryListe"); this.ucCategoryListe.Name = "ucCategoryListe"; this.dockContainer1.ContentSize = 400; this.dockContainer1.Controls.Add((Control)this.dockWindowCategoryListe); componentResourceManager.ApplyResources((object)this.dockContainer1, "dockContainer1"); this.dockContainer1.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Vertical, new LayoutSystemBase[1] { (LayoutSystemBase) new ControlLayoutSystem(new SizeF(283f, 272f), new DockControl[1] { (DockControl)this.dockWindowCategoryListe }, (DockControl)this.dockWindowCategoryListe) }); this.dockContainer1.Manager = this.sandDockManager; this.dockContainer1.Name = "dockContainer1"; this.dockContainer3.ContentSize = 250; this.dockContainer3.Controls.Add((Control)this.dockWindowXMLInsertElement); this.dockContainer3.Controls.Add((Control)this.dockWindowEditXMLAttribute); componentResourceManager.ApplyResources((object)this.dockContainer3, "dockContainer3"); this.dockContainer3.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Horizontal, new LayoutSystemBase[2] { (LayoutSystemBase) new ControlLayoutSystem(new SizeF(164f, 311f), new DockControl[1] { (DockControl)this.dockWindowXMLInsertElement }, (DockControl)this.dockWindowXMLInsertElement), (LayoutSystemBase) new ControlLayoutSystem(new SizeF(164f, 114f), new DockControl[1] { (DockControl)this.dockWindowEditXMLAttribute }, (DockControl)this.dockWindowEditXMLAttribute) }); this.dockContainer3.Manager = this.sandDockManager; this.dockContainer3.Name = "dockContainer3"; this.dockWindowXMLInsertElement.AllowClose = false; this.dockWindowXMLInsertElement.Controls.Add((Control)this.ucXMLAddElement); this.dockWindowXMLInsertElement.Guid = new Guid("537d1bfb-ec52-421e-844c-230c301c3825"); componentResourceManager.ApplyResources((object)this.dockWindowXMLInsertElement, "dockWindowXMLInsertElement"); this.dockWindowXMLInsertElement.Name = "dockWindowXMLInsertElement"; this.dockWindowXMLInsertElement.ShowOptions = false; componentResourceManager.ApplyResources((object)this.ucXMLAddElement, "ucXMLAddElement"); this.ucXMLAddElement.Name = "ucXMLAddElement"; this.dockWindowEditXMLAttribute.AllowClose = false; this.dockWindowEditXMLAttribute.Controls.Add((Control)this.ucXMLEditAttributes); this.dockWindowEditXMLAttribute.Guid = new Guid("89e6e7ee-6ca5-4907-a2aa-fd2748ae354e"); componentResourceManager.ApplyResources((object)this.dockWindowEditXMLAttribute, "dockWindowEditXMLAttribute"); this.dockWindowEditXMLAttribute.Name = "dockWindowEditXMLAttribute"; this.dockWindowEditXMLAttribute.ShowOptions = false; componentResourceManager.ApplyResources((object)this.ucXMLEditAttributes, "ucXMLEditAttributes"); this.ucXMLEditAttributes.Name = "ucXMLEditAttributes"; this.dockContainer6.ContentSize = 250; this.dockContainer6.Controls.Add((Control)this.dockWindowAIMLDateiListe); this.dockContainer6.Controls.Add((Control)this.dockWindowTopicListe); componentResourceManager.ApplyResources((object)this.dockContainer6, "dockContainer6"); this.dockContainer6.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Horizontal, new LayoutSystemBase[2] { (LayoutSystemBase) new ControlLayoutSystem(new SizeF(225f, 280f), new DockControl[1] { (DockControl)this.dockWindowAIMLDateiListe }, (DockControl)this.dockWindowAIMLDateiListe), (LayoutSystemBase) new ControlLayoutSystem(new SizeF(225f, 145f), new DockControl[1] { (DockControl)this.dockWindowTopicListe }, (DockControl)this.dockWindowTopicListe) }); this.dockContainer6.Manager = this.sandDockManager; this.dockContainer6.Name = "dockContainer6"; componentResourceManager.ApplyResources((object)this.ucArbeitsbereichToolbar, "ucArbeitsbereichToolbar"); this.ucArbeitsbereichToolbar.Name = "ucArbeitsbereichToolbar"; this.dockContainerUntenSuchenTestEtc.ContentSize = 176; this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockWindowTestBot); this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockWindowSuchen); this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockableWindowExport); this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockableWindowPublish); this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockableWindowWorkflow); this.dockContainerUntenSuchenTestEtc.Controls.Add((Control)this.dockableWindowMostSRAIS); componentResourceManager.ApplyResources((object)this.dockContainerUntenSuchenTestEtc, "dockContainerUntenSuchenTestEtc"); this.dockContainerUntenSuchenTestEtc.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Vertical, new LayoutSystemBase[2] { (LayoutSystemBase) new ControlLayoutSystem(new SizeF(309.3716f, 100f), new DockControl[4] { (DockControl)this.dockWindowTestBot, (DockControl)this.dockWindowSuchen, (DockControl)this.dockableWindowExport, (DockControl)this.dockableWindowPublish }, (DockControl)this.dockWindowTestBot), (LayoutSystemBase) new ControlLayoutSystem(new SizeF(366.6284f, 100f), new DockControl[2] { (DockControl)this.dockableWindowWorkflow, (DockControl)this.dockableWindowMostSRAIS }, (DockControl)this.dockableWindowWorkflow) }); this.dockContainerUntenSuchenTestEtc.Manager = this.sandDockManager; this.dockContainerUntenSuchenTestEtc.Name = "dockContainerUntenSuchenTestEtc"; componentResourceManager.ApplyResources((object)this, "$this"); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control)this.documentContainerCategoryEdit); this.Controls.Add((Control)this.dockContainer1); this.Controls.Add((Control)this.dockContainer3); this.Controls.Add((Control)this.dockContainer6); this.Controls.Add((Control)this.ucArbeitsbereichToolbar); this.Controls.Add((Control)this.dockContainerUntenSuchenTestEtc); this.Cursor = Cursors.WaitCursor; this.Name = nameof(ArbeitsbereichSteuerelement); this.dockWindowTestBot.ResumeLayout(false); this.dockWindowSuchen.ResumeLayout(false); this.dockableWindowExport.ResumeLayout(false); this.dockableWindowPublish.ResumeLayout(false); this.dockableWindowWorkflow.ResumeLayout(false); this.dockableWindowMostSRAIS.ResumeLayout(false); this.dockWindowAIMLDateiListe.ResumeLayout(false); this.dockWindowTopicListe.ResumeLayout(false); this.tabbedDocumentGrafischeAnsicht.ResumeLayout(false); this.documentContainerCategoryEdit.ResumeLayout(false); this.tabbedDocumentAIMLQuellcode.ResumeLayout(false); this.dockWindowCategoryListe.ResumeLayout(false); this.dockContainer1.ResumeLayout(false); this.dockContainer3.ResumeLayout(false); this.dockWindowXMLInsertElement.ResumeLayout(false); this.dockWindowEditXMLAttribute.ResumeLayout(false); this.dockContainer6.ResumeLayout(false); this.dockContainerUntenSuchenTestEtc.ResumeLayout(false); this.ResumeLayout(false); }
internal void x810df8ef88cf4bf2( SandDockManager x91f347c6e97f1846, ContainerDockLocation x9c911703d455884e, ContainerDockEdge x3e4dcab61996c9ea) { DockControl[] x9476096be9672d38 = this.x9476096be9672d38; int num = 0; if ((uint)num + (uint)num >= 0U) { goto label_21; } label_10: ControlLayoutSystem newLayoutSystem; DockContainer newDockContainer; do { if (!(this is ControlLayoutSystem)) { if (this.Parent != null) { this.Parent.LayoutSystems.Remove(this); } } else { goto label_11; } label_7: newDockContainer = x91f347c6e97f1846.CreateNewDockContainer(x9c911703d455884e, x3e4dcab61996c9ea, num); if (newDockContainer is DocumentContainer) { newLayoutSystem = newDockContainer.CreateNewLayoutSystem(this.WorkingSize); newDockContainer.LayoutSystem.LayoutSystems.Add((LayoutSystemBase)newLayoutSystem); if (this is SplitLayoutSystem) { ((SplitLayoutSystem)this).MoveToLayoutSystem(newLayoutSystem); continue; } goto label_2; } else { goto label_3; } label_11: if (true) { LayoutUtilities.x4487f2f8917e3fd0((ControlLayoutSystem)this); if (false) { goto label_7; } else { goto label_7; } } else { goto label_1; } }while ((uint)num > uint.MaxValue); goto label_15; label_2: newLayoutSystem.Controls.AddRange(this.x9476096be9672d38); return; label_3: newDockContainer.LayoutSystem.LayoutSystems.Add(this); return; label_1: return; label_15: if ((uint)num - (uint)num >= 0U) { ; } return; label_21: if ((uint)num < 0U || x9476096be9672d38.Length > 0) { goto label_22; } label_19: Rectangle rectangle; do { rectangle = xedb4922162c60d3d.x41c62f474d3fb367(x91f347c6e97f1846.DockSystemContainer); do { switch (x9c911703d455884e) { case ContainerDockLocation.Left: goto label_18; case ContainerDockLocation.Right: continue; case ContainerDockLocation.Top: goto label_14; default: goto label_13; } }while (false); label_18: num = Math.Min(num, Convert.ToInt32((double)rectangle.Width * 0.9)); }while ((num & 0) != 0); goto label_10; label_9: if (x9c911703d455884e == ContainerDockLocation.Bottom) { goto label_14; } else { goto label_10; } label_13: if (true) { goto label_9; } label_14: num = Math.Min(num, Convert.ToInt32((double)rectangle.Height * 0.9)); if ((uint)num >= 0U) { goto label_10; } else { goto label_9; } label_22: num = x9476096be9672d38[0].MetaData.DockedContentSize; goto label_19; }
private void InitializeComponent() { this.components = (IContainer) new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmMain)); this.sandDockManager = new SandDockManager(); this.mainMenu = new MainMenu(this.components); this.mnuProgramm = new MenuItem(); this.mnuProgrammBeenden = new MenuItem(); this.mnuAnsicht = new MenuItem(); this.mnuDebugger = new MenuItem(); this.mnuHilfe = new MenuItem(); this.mnuHandbuch = new MenuItem(); this.mnuHomepage = new MenuItem(); this.menuItem3 = new MenuItem(); this.mnuInfo = new MenuItem(); this.tabbedDocumentStartseite = new TabbedDocument(); this.startseite = new Startseite(); this.documentContainer = new DocumentContainer(); this.dockableWindowDebug = new DockableWindow(); this.txtDebuggerAusgabe = new TextBox(); this.dockContainer1 = new DockContainer(); this.tabbedDocumentStartseite.SuspendLayout(); this.documentContainer.SuspendLayout(); this.dockableWindowDebug.SuspendLayout(); this.dockContainer1.SuspendLayout(); this.SuspendLayout(); this.sandDockManager.DockSystemContainer = (Control)this; this.sandDockManager.OwnerForm = (Form)this; this.mainMenu.MenuItems.AddRange(new MenuItem[3] { this.mnuProgramm, this.mnuAnsicht, this.mnuHilfe }); this.mnuProgramm.Index = 0; this.mnuProgramm.MenuItems.AddRange(new MenuItem[1] { this.mnuProgrammBeenden }); componentResourceManager.ApplyResources((object)this.mnuProgramm, "mnuProgramm"); this.mnuProgrammBeenden.Index = 0; componentResourceManager.ApplyResources((object)this.mnuProgrammBeenden, "mnuProgrammBeenden"); this.mnuProgrammBeenden.Click += new EventHandler(this.mnuProgrammBeenden_Click); this.mnuAnsicht.Index = 1; this.mnuAnsicht.MenuItems.AddRange(new MenuItem[1] { this.mnuDebugger }); componentResourceManager.ApplyResources((object)this.mnuAnsicht, "mnuAnsicht"); this.mnuDebugger.Index = 0; componentResourceManager.ApplyResources((object)this.mnuDebugger, "mnuDebugger"); this.mnuDebugger.Click += new EventHandler(this.mnuDebugger_Click_1); this.mnuHilfe.Index = 2; this.mnuHilfe.MenuItems.AddRange(new MenuItem[4] { this.mnuHandbuch, this.mnuHomepage, this.menuItem3, this.mnuInfo }); componentResourceManager.ApplyResources((object)this.mnuHilfe, "mnuHilfe"); this.mnuHandbuch.Index = 0; componentResourceManager.ApplyResources((object)this.mnuHandbuch, "mnuHandbuch"); this.mnuHandbuch.Click += new EventHandler(this.mnuHandbuch_Click); this.mnuHomepage.Index = 1; componentResourceManager.ApplyResources((object)this.mnuHomepage, "mnuHomepage"); this.mnuHomepage.Click += new EventHandler(this.mnuHomepage_Click); this.menuItem3.Index = 2; componentResourceManager.ApplyResources((object)this.menuItem3, "menuItem3"); this.mnuInfo.Index = 3; componentResourceManager.ApplyResources((object)this.mnuInfo, "mnuInfo"); this.mnuInfo.Click += new EventHandler(this.mnuInfo_Click); this.tabbedDocumentStartseite.AllowClose = false; this.tabbedDocumentStartseite.AllowCollapse = false; this.tabbedDocumentStartseite.Controls.Add((Control)this.startseite); this.tabbedDocumentStartseite.FloatingSize = new System.Drawing.Size(550, 400); this.tabbedDocumentStartseite.Guid = new Guid("9ee7f539-b109-4417-80cb-02aa6c3c738d"); componentResourceManager.ApplyResources((object)this.tabbedDocumentStartseite, "tabbedDocumentStartseite"); this.tabbedDocumentStartseite.Name = "tabbedDocumentStartseite"; this.tabbedDocumentStartseite.ShowOptions = false; this.startseite.BackColor = Color.FromArgb(192, 192, (int)byte.MaxValue); componentResourceManager.ApplyResources((object)this.startseite, "startseite"); this.startseite.Name = "startseite"; this.documentContainer.ContentSize = 400; this.documentContainer.Controls.Add((Control)this.tabbedDocumentStartseite); this.documentContainer.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Horizontal, new LayoutSystemBase[1] { (LayoutSystemBase) new DocumentLayoutSystem(new SizeF(763f, 388f), new DockControl[1] { (DockControl)this.tabbedDocumentStartseite }, (DockControl)this.tabbedDocumentStartseite) }); componentResourceManager.ApplyResources((object)this.documentContainer, "documentContainer"); this.documentContainer.Manager = this.sandDockManager; this.documentContainer.Name = "documentContainer"; this.dockableWindowDebug.Controls.Add((Control)this.txtDebuggerAusgabe); this.dockableWindowDebug.Guid = new Guid("8098dec4-2a99-4d25-86aa-a35f31fa49d6"); componentResourceManager.ApplyResources((object)this.dockableWindowDebug, "dockableWindowDebug"); this.dockableWindowDebug.Name = "dockableWindowDebug"; this.txtDebuggerAusgabe.AcceptsReturn = true; this.txtDebuggerAusgabe.AcceptsTab = true; this.txtDebuggerAusgabe.BorderStyle = BorderStyle.None; this.txtDebuggerAusgabe.Cursor = Cursors.IBeam; componentResourceManager.ApplyResources((object)this.txtDebuggerAusgabe, "txtDebuggerAusgabe"); this.txtDebuggerAusgabe.Name = "txtDebuggerAusgabe"; this.dockContainer1.ContentSize = 400; this.dockContainer1.Controls.Add((Control)this.dockableWindowDebug); componentResourceManager.ApplyResources((object)this.dockContainer1, "dockContainer1"); this.dockContainer1.LayoutSystem = new SplitLayoutSystem(new SizeF(250f, 400f), Orientation.Vertical, new LayoutSystemBase[1] { (LayoutSystemBase) new ControlLayoutSystem(new SizeF(765f, (float)sbyte.MaxValue), new DockControl[1] { (DockControl)this.dockableWindowDebug }, (DockControl)this.dockableWindowDebug) }); this.dockContainer1.Manager = this.sandDockManager; this.dockContainer1.Name = "dockContainer1"; componentResourceManager.ApplyResources((object)this, "$this"); this.BackColor = Color.DodgerBlue; this.Controls.Add((Control)this.documentContainer); this.Controls.Add((Control)this.dockContainer1); this.Menu = this.mainMenu; this.Name = nameof(frmMain); this.WindowState = FormWindowState.Maximized; this.Load += new EventHandler(this.frmMain_Load); this.tabbedDocumentStartseite.ResumeLayout(false); this.documentContainer.ResumeLayout(false); this.dockableWindowDebug.ResumeLayout(false); this.dockableWindowDebug.PerformLayout(); this.dockContainer1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.menuBarItem1 = new TD.SandBar.MenuBarItem(); this.menuBarItem2 = new TD.SandBar.MenuBarItem(); this.menuBarItem3 = new TD.SandBar.MenuBarItem(); this.menuBarItem4 = new TD.SandBar.MenuBarItem(); this.menuBarItem5 = new TD.SandBar.MenuBarItem(); this.sandDockManager = new TD.SandDock.SandDockManager(); this.leftSandDock = new TD.SandDock.DockContainer(); this.rightSandDock = new TD.SandDock.DockContainer(); this.dockElementInsert = new TD.SandDock.DockableWindow(); this.elementInsertPanel = new XEditNet.Widgets.ElementInsertPanel(); this.dockElementChange = new TD.SandDock.DockableWindow(); this.elementChangePanel = new XEditNet.Widgets.ElementChangePanel(); this.dockAttributes = new TD.SandDock.DockableWindow(); this.attributeChangePanel = new XEditNet.Widgets.AttributeChangePanel(); this.bottomSandDock = new TD.SandDock.DockContainer(); this.topSandDock = new TD.SandDock.DockContainer(); this.menuBar1 = new TD.SandBar.MenuBar(); this.menuBarItem6 = new TD.SandBar.MenuBarItem(); this.menuFileSave = new TD.SandBar.MenuButtonItem(); this.menuButtonItem1 = new TD.SandBar.MenuButtonItem(); this.menuBarItem7 = new TD.SandBar.MenuBarItem(); this.menuButtonItem2 = new TD.SandBar.MenuButtonItem(); this.menuBarItem8 = new TD.SandBar.MenuBarItem(); this.menuButtonItem3 = new TD.SandBar.MenuButtonItem(); this.toolBar1 = new TD.SandBar.ToolBar(); this.toolBar2 = new TD.SandBar.ToolBar(); this.buttonItem1 = new TD.SandBar.ButtonItem(); this.quickFixBar = new TD.SandBar.ContainerBar(); this.containerBarClientPanel1 = new TD.SandBar.ContainerBarClientPanel(); this.quickFixPanel = new XEditNet.Widgets.QuickFixPanel(); this.quickFixImageList = new System.Windows.Forms.ImageList(this.components); this.quickFixPreceeding = new TD.SandBar.ButtonItem(); this.quickFixFollowing = new TD.SandBar.ButtonItem(); this.commandImageList = new System.Windows.Forms.ImageList(this.components); this.rightSandDock.SuspendLayout(); this.dockElementInsert.SuspendLayout(); this.dockElementChange.SuspendLayout(); this.dockAttributes.SuspendLayout(); this.quickFixBar.SuspendLayout(); this.containerBarClientPanel1.SuspendLayout(); this.SuspendLayout(); // // menuBarItem1 // this.menuBarItem1.Text = "&File"; // // menuBarItem2 // this.menuBarItem2.Text = "&Edit"; // // menuBarItem3 // this.menuBarItem3.Text = "&View"; // // menuBarItem4 // this.menuBarItem4.MdiWindowList = true; this.menuBarItem4.Text = "&Window"; // // menuBarItem5 // this.menuBarItem5.Text = "&Help"; // // sandDockManager // this.sandDockManager.OwnerForm = this; this.sandDockManager.Renderer = new TD.SandDock.Rendering.Office2003Renderer(); // // leftSandDock // this.leftSandDock.Dock = System.Windows.Forms.DockStyle.Left; this.leftSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400); this.leftSandDock.Location = new System.Drawing.Point(0, 22); this.leftSandDock.Manager = this.sandDockManager; this.leftSandDock.Name = "leftSandDock"; this.leftSandDock.Size = new System.Drawing.Size(0, 480); this.leftSandDock.TabIndex = 0; // // rightSandDock // this.rightSandDock.Controls.Add(this.dockElementInsert); this.rightSandDock.Controls.Add(this.dockElementChange); this.rightSandDock.Controls.Add(this.dockAttributes); this.rightSandDock.Dock = System.Windows.Forms.DockStyle.Right; this.rightSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] { new TD.SandDock.ControlLayoutSystem(212, 238, new TD.SandDock.DockableWindow[] { this.dockElementInsert, this.dockElementChange }, this.dockElementInsert), new TD.SandDock.ControlLayoutSystem(212, 238, new TD.SandDock.DockableWindow[] { this.dockAttributes }, this.dockAttributes) }); this.rightSandDock.Location = new System.Drawing.Point(600, 22); this.rightSandDock.Manager = this.sandDockManager; this.rightSandDock.Name = "rightSandDock"; this.rightSandDock.Size = new System.Drawing.Size(216, 480); this.rightSandDock.TabIndex = 1; // // dockElementInsert // this.dockElementInsert.Controls.Add(this.elementInsertPanel); this.dockElementInsert.Guid = new System.Guid("63fe64f8-5444-45cb-b17d-17f8baf0c91d"); this.dockElementInsert.Location = new System.Drawing.Point(4, 25); this.dockElementInsert.Name = "dockElementInsert"; this.dockElementInsert.Size = new System.Drawing.Size(212, 190); this.dockElementInsert.TabIndex = 1; this.dockElementInsert.Text = "Insert"; // // elementInsertPanel // this.elementInsertPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.elementInsertPanel.Location = new System.Drawing.Point(0, 0); this.elementInsertPanel.Name = "elementInsertPanel"; this.elementInsertPanel.Size = new System.Drawing.Size(212, 190); this.elementInsertPanel.TabIndex = 0; // // dockElementChange // this.dockElementChange.Controls.Add(this.elementChangePanel); this.dockElementChange.Guid = new System.Guid("cb2f6fbf-41de-4588-a08b-f4f00d505fa7"); this.dockElementChange.Location = new System.Drawing.Point(4, 25); this.dockElementChange.Name = "dockElementChange"; this.dockElementChange.Size = new System.Drawing.Size(212, 190); this.dockElementChange.TabIndex = 1; this.dockElementChange.Text = "Change"; // // elementChangePanel // this.elementChangePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.elementChangePanel.Location = new System.Drawing.Point(0, 0); this.elementChangePanel.Name = "elementChangePanel"; this.elementChangePanel.Size = new System.Drawing.Size(212, 190); this.elementChangePanel.TabIndex = 0; // // dockAttributes // this.dockAttributes.Controls.Add(this.attributeChangePanel); this.dockAttributes.Guid = new System.Guid("7a4f064f-d569-4ab2-8133-ca0b6b8c4151"); this.dockAttributes.Location = new System.Drawing.Point(4, 267); this.dockAttributes.Name = "dockAttributes"; this.dockAttributes.Size = new System.Drawing.Size(212, 190); this.dockAttributes.TabIndex = 2; this.dockAttributes.Text = "Attributes"; // // attributeChangePanel // this.attributeChangePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.attributeChangePanel.Location = new System.Drawing.Point(0, 0); this.attributeChangePanel.Name = "attributeChangePanel"; this.attributeChangePanel.Size = new System.Drawing.Size(212, 190); this.attributeChangePanel.TabIndex = 0; // // bottomSandDock // this.bottomSandDock.Dock = System.Windows.Forms.DockStyle.Bottom; this.bottomSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400); this.bottomSandDock.Location = new System.Drawing.Point(0, 502); this.bottomSandDock.Manager = this.sandDockManager; this.bottomSandDock.Name = "bottomSandDock"; this.bottomSandDock.Size = new System.Drawing.Size(816, 0); this.bottomSandDock.TabIndex = 2; // // topSandDock // this.topSandDock.Dock = System.Windows.Forms.DockStyle.Top; this.topSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400); this.topSandDock.Location = new System.Drawing.Point(0, 22); this.topSandDock.Manager = this.sandDockManager; this.topSandDock.Name = "topSandDock"; this.topSandDock.Size = new System.Drawing.Size(816, 0); this.topSandDock.TabIndex = 3; // // menuBar1 // this.menuBar1.AllowMerge = true; this.menuBar1.Guid = new System.Guid("dc0a091b-fb9a-4a33-8bf0-a9a24af4064c"); this.menuBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.menuBarItem6, this.menuBarItem7, this.menuBarItem8 }); this.menuBar1.Location = new System.Drawing.Point(232, 22); this.menuBar1.Name = "menuBar1"; this.menuBar1.OwnerForm = this; this.menuBar1.Size = new System.Drawing.Size(368, 22); this.menuBar1.TabIndex = 0; this.menuBar1.Text = "menuBar1"; this.menuBar1.Visible = false; // // menuBarItem6 // this.menuBarItem6.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.menuFileSave, this.menuButtonItem1 }); this.menuBarItem6.Text = "&File"; // // menuFileSave // this.menuFileSave.BeginGroup = true; this.menuFileSave.MergeAction = TD.SandBar.ItemMergeAction.Insert; this.menuFileSave.MergeIndex = 2; this.menuFileSave.Text = "Save"; this.menuFileSave.Activate += new System.EventHandler(this.SaveFile); // // menuButtonItem1 // this.menuButtonItem1.MergeAction = TD.SandBar.ItemMergeAction.Insert; this.menuButtonItem1.MergeIndex = 3; this.menuButtonItem1.Text = "&Close"; this.menuButtonItem1.Activate += new System.EventHandler(this.CloseFile); // // menuBarItem7 // this.menuBarItem7.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.menuButtonItem2 }); this.menuBarItem7.Text = "&Edit"; // // menuButtonItem2 // this.menuButtonItem2.MergeAction = TD.SandBar.ItemMergeAction.Add; this.menuButtonItem2.MergeIndex = 0; this.menuButtonItem2.Text = "&Test"; // // menuBarItem8 // this.menuBarItem8.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.menuButtonItem3 }); this.menuBarItem8.Text = "&View"; // // menuButtonItem3 // this.menuButtonItem3.MergeAction = TD.SandBar.ItemMergeAction.Add; this.menuButtonItem3.MergeIndex = 0; this.menuButtonItem3.Text = "&ViewTest"; // // toolBar1 // this.toolBar1.DockLine = 1; this.toolBar1.Guid = new System.Guid("88196026-7bd7-4954-85b7-34999dcd37cd"); this.toolBar1.Location = new System.Drawing.Point(2, 24); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(24, 18); this.toolBar1.TabIndex = 1; this.toolBar1.Text = "toolBar1"; // // toolBar2 // this.toolBar2.Guid = new System.Guid("458f1dcc-720e-4fb6-b794-41d5a9f186e2"); this.toolBar2.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.buttonItem1 }); this.toolBar2.Location = new System.Drawing.Point(0, 0); this.toolBar2.Name = "toolBar2"; this.toolBar2.Size = new System.Drawing.Size(816, 22); this.toolBar2.TabIndex = 4; this.toolBar2.Text = ""; this.toolBar2.Visible = false; // // buttonItem1 // this.buttonItem1.MergeAction = TD.SandBar.ItemMergeAction.Insert; this.buttonItem1.MergeIndex = 2; this.buttonItem1.Text = "xxxx"; // // quickFixBar // this.quickFixBar.AddRemoveButtonsVisible = false; this.quickFixBar.AllowHorizontalDock = false; this.quickFixBar.Controls.Add(this.containerBarClientPanel1); this.quickFixBar.Dock = System.Windows.Forms.DockStyle.Left; this.quickFixBar.Flow = TD.SandBar.ToolBarLayout.Horizontal; this.quickFixBar.Guid = new System.Guid("0e1e9ede-d2fe-4307-a683-d2e3ea4f4e5f"); this.quickFixBar.ImageList = this.quickFixImageList; this.quickFixBar.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.quickFixPreceeding, this.quickFixFollowing }); this.quickFixBar.Location = new System.Drawing.Point(0, 22); this.quickFixBar.Name = "quickFixBar"; this.quickFixBar.Size = new System.Drawing.Size(232, 480); this.quickFixBar.TabIndex = 5; this.quickFixBar.Text = "Quick Fix"; // // containerBarClientPanel1 // this.containerBarClientPanel1.Controls.Add(this.quickFixPanel); this.containerBarClientPanel1.Location = new System.Drawing.Point(2, 45); this.containerBarClientPanel1.Name = "containerBarClientPanel1"; this.containerBarClientPanel1.Size = new System.Drawing.Size(228, 433); this.containerBarClientPanel1.TabIndex = 0; // // quickFixPanel // this.quickFixPanel.BackColor = System.Drawing.Color.Transparent; this.quickFixPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.quickFixPanel.Location = new System.Drawing.Point(0, 0); this.quickFixPanel.Name = "quickFixPanel"; this.quickFixPanel.Size = new System.Drawing.Size(228, 433); this.quickFixPanel.TabIndex = 0; this.quickFixPanel.FinishUpdate += new System.EventHandler(this.QuickFixUpdated); // // quickFixImageList // this.quickFixImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.quickFixImageList.ImageSize = new System.Drawing.Size(16, 16); this.quickFixImageList.TransparentColor = System.Drawing.Color.Transparent; // // quickFixPreceeding // this.quickFixPreceeding.ImageIndex = 0; this.quickFixPreceeding.Activate += new System.EventHandler(this.GotoPrecedingError); // // quickFixFollowing // this.quickFixFollowing.ImageIndex = 1; this.quickFixFollowing.Activate += new System.EventHandler(this.GotoFollowingError); // // commandImageList // this.commandImageList.ImageSize = new System.Drawing.Size(16, 16); this.commandImageList.TransparentColor = System.Drawing.Color.Transparent; // // XEditNetChildForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(816, 502); this.Controls.Add(this.menuBar1); this.Controls.Add(this.quickFixBar); this.Controls.Add(this.leftSandDock); this.Controls.Add(this.rightSandDock); this.Controls.Add(this.bottomSandDock); this.Controls.Add(this.topSandDock); this.Controls.Add(this.toolBar2); this.Name = "XEditNetChildForm"; this.Text = "XEditNetChildForm"; this.rightSandDock.ResumeLayout(false); this.dockElementInsert.ResumeLayout(false); this.dockElementChange.ResumeLayout(false); this.dockAttributes.ResumeLayout(false); this.quickFixBar.ResumeLayout(false); this.containerBarClientPanel1.ResumeLayout(false); this.ResumeLayout(false); }
internal static ControlLayoutSystem xba5fd484c0e6478b( SandDockManager x91f347c6e97f1846, DockSituation xd39eba9a9a1b028e, x129cb2a2bdfd0ab2 xfffbdea061bfa120) { int index1; DockContainer[] dockContainers1; int index2; ControlLayoutSystem[] controlLayoutSystemArray1; int index3; DockContainer[] dockContainers2; switch (xd39eba9a9a1b028e) { case DockSituation.Docked: dockContainers2 = x91f347c6e97f1846.GetDockContainers(); index3 = 0; goto label_26; case DockSituation.Document: if (x91f347c6e97f1846.DocumentContainer != null) { controlLayoutSystemArray1 = LayoutUtilities.x1494f515233a1246((DockContainer)x91f347c6e97f1846.DocumentContainer); if (true) { index2 = 0; goto label_21; } else { goto label_29; } } else { break; } case DockSituation.Floating: dockContainers1 = x91f347c6e97f1846.GetDockContainers(); int num1; if ((uint)num1 + (uint)num1 >= 0U) { index1 = 0; goto label_4; } else { goto label_21; } default: throw new InvalidOperationException(); } label_2: return((ControlLayoutSystem)null); label_3: ++index1; label_4: DockContainer xd3311d815ca25f02_1; if (index1 < dockContainers1.Length) { xd3311d815ca25f02_1 = dockContainers1[index1]; } else { goto label_2; } label_6: int index4; ControlLayoutSystem[] controlLayoutSystemArray2; if (LayoutUtilities.x8d287cc6f0a2f529(xd3311d815ca25f02_1) != xd39eba9a9a1b028e) { if (true) { goto label_3; } else { goto label_44; } } else { controlLayoutSystemArray2 = LayoutUtilities.x1494f515233a1246(xd3311d815ca25f02_1); if ((uint)index4 + (uint)index2 >= 0U) { index4 = 0; } else { goto label_44; } } label_8: if (index4 >= controlLayoutSystemArray2.Length) { if (true) { if ((uint)index1 - (uint)index2 <= uint.MaxValue) { goto label_3; } else { goto label_6; } } else { goto label_40; } } label_14: ControlLayoutSystem controlLayoutSystem1 = controlLayoutSystemArray2[index4]; ControlLayoutSystem controlLayoutSystem2; if (!(controlLayoutSystem1.x0217cda8370c1f17 == xfffbdea061bfa120.x703937d70a13725c)) { ++index4; goto label_8; } else { controlLayoutSystem2 = controlLayoutSystem1; goto label_44; } label_19: for (; index2 < controlLayoutSystemArray1.Length; ++index2) { ControlLayoutSystem controlLayoutSystem3 = controlLayoutSystemArray1[index2]; if (controlLayoutSystem3.x0217cda8370c1f17 == xfffbdea061bfa120.x703937d70a13725c) { controlLayoutSystem2 = controlLayoutSystem3; goto label_44; } } goto label_2; label_21: int num2; int num3; if ((uint)num2 - (uint)num3 < 0U) { goto label_29; } else { goto label_19; } label_26: DockContainer xd3311d815ca25f02_2; if (index3 < dockContainers2.Length) { xd3311d815ca25f02_2 = dockContainers2[index3]; goto label_30; } else { goto label_2; } label_28: if (false) { goto label_30; } label_29: ++index3; if (false) { if (false) { goto label_19; } else { goto label_28; } } else { goto label_26; } label_30: if (LayoutUtilities.x8d287cc6f0a2f529(xd3311d815ca25f02_2) != xd39eba9a9a1b028e && (uint)index1 + (uint)index3 <= uint.MaxValue) { goto label_29; } label_40: int index5; do { ControlLayoutSystem[] controlLayoutSystemArray3 = LayoutUtilities.x1494f515233a1246(xd3311d815ca25f02_2); do { for (index5 = 0; index5 < controlLayoutSystemArray3.Length; ++index5) { ControlLayoutSystem controlLayoutSystem3 = controlLayoutSystemArray3[index5]; if (controlLayoutSystem3.x0217cda8370c1f17 == xfffbdea061bfa120.x703937d70a13725c) { controlLayoutSystem2 = controlLayoutSystem3; goto label_44; } } if ((uint)index3 - (uint)index2 <= uint.MaxValue) { goto label_28; } }while ((uint)index3 < 0U); }while ((uint)index5 + (uint)index1 < 0U); if ((index4 & 0) == 0) { if ((index3 | 1) != 0) { goto label_30; } else { goto label_29; } } else { goto label_14; } label_44: return(controlLayoutSystem2); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.setFontMenuItem = new System.Windows.Forms.MenuItem(); this.openMenuItem = new System.Windows.Forms.MenuItem(); this.saveMenuItem = new System.Windows.Forms.MenuItem(); this.fontDialog1 = new System.Windows.Forms.FontDialog(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.sandDockManager1 = new TD.SandDock.SandDockManager(); this.leftSandDock = new TD.SandDock.DockContainer(); this.rightSandDock = new TD.SandDock.DockContainer(); this.bottomSandDock = new TD.SandDock.DockContainer(); this.topSandDock = new TD.SandDock.DockContainer(); this.toolBar1 = new TD.SandBar.ToolBar(); this.buttonOpen = new TD.SandBar.ButtonItem(); this.saveButton = new TD.SandBar.ButtonItem(); this.recordButton = new TD.SandBar.ButtonItem(); this.assertButton = new TD.SandBar.ButtonItem(); this.playbackButton = new TD.SandBar.ButtonItem(); this.dropDownMenuItem1 = new TD.SandBar.DropDownMenuItem(); this.menuButtonItem2 = new TD.SandBar.MenuButtonItem(); this.menuButtonItem5 = new TD.SandBar.MenuButtonItem(); this.menuButtonItem6 = new TD.SandBar.MenuButtonItem(); this.menuButtonItem3 = new TD.SandBar.MenuButtonItem(); this.menuButtonItem4 = new TD.SandBar.MenuButtonItem(); this.menuButtonItem1 = new TD.SandBar.MenuButtonItem(); this.aboutButton = new TD.SandBar.ButtonItem(); this.documentContainer1 = new TD.SandDock.DocumentContainer(); this.dockControl1 = new TD.SandDock.DockControl(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.textScript = new System.Windows.Forms.RichTextBox(); this.splitter1 = new System.Windows.Forms.Splitter(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.lstEvents = new System.Windows.Forms.ListBox(); this.dockControlOutput = new TD.SandDock.DockControl(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.rtbStdOutLog = new System.Windows.Forms.RichTextBox(); this.btnSaveLog = new System.Windows.Forms.Button(); this.btnClear = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); this.documentContainer1.SuspendLayout(); this.dockControl1.SuspendLayout(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.dockControlOutput.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.setFontMenuItem, this.openMenuItem, this.saveMenuItem }); // // setFontMenuItem // this.setFontMenuItem.Index = 0; this.setFontMenuItem.Text = "Set Font..."; this.setFontMenuItem.Click += new System.EventHandler(this.setFontMenuItem_Click); // // openMenuItem // this.openMenuItem.Index = 1; this.openMenuItem.Text = "Open..."; this.openMenuItem.Click += new System.EventHandler(this.openMenuItem_Click); // // saveMenuItem // this.saveMenuItem.Index = 2; this.saveMenuItem.Text = "Save..."; this.saveMenuItem.Click += new System.EventHandler(this.saveMenuItem_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 583); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(608, 22); this.statusBar1.TabIndex = 8; // // statusBarPanel1 // this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 592; // // sandDockManager1 // this.sandDockManager1.OwnerForm = this; // // leftSandDock // this.leftSandDock.Dock = System.Windows.Forms.DockStyle.Left; this.leftSandDock.Guid = new System.Guid("25ec745e-de38-4c1a-a783-53b829ea6734"); this.leftSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400); this.leftSandDock.Location = new System.Drawing.Point(0, 0); this.leftSandDock.Manager = this.sandDockManager1; this.leftSandDock.Name = "leftSandDock"; this.leftSandDock.Size = new System.Drawing.Size(0, 605); this.leftSandDock.TabIndex = 10; // // rightSandDock // this.rightSandDock.Dock = System.Windows.Forms.DockStyle.Right; this.rightSandDock.Guid = new System.Guid("c4aec7ed-9055-44f4-af3f-2ea35df51099"); this.rightSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400); this.rightSandDock.Location = new System.Drawing.Point(608, 0); this.rightSandDock.Manager = this.sandDockManager1; this.rightSandDock.Name = "rightSandDock"; this.rightSandDock.Size = new System.Drawing.Size(0, 605); this.rightSandDock.TabIndex = 11; // // bottomSandDock // this.bottomSandDock.Dock = System.Windows.Forms.DockStyle.Bottom; this.bottomSandDock.Guid = new System.Guid("5196e983-c717-40e9-b223-368ca5f449f3"); this.bottomSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400); this.bottomSandDock.Location = new System.Drawing.Point(0, 605); this.bottomSandDock.Manager = this.sandDockManager1; this.bottomSandDock.Name = "bottomSandDock"; this.bottomSandDock.Size = new System.Drawing.Size(608, 0); this.bottomSandDock.TabIndex = 12; // // topSandDock // this.topSandDock.Dock = System.Windows.Forms.DockStyle.Top; this.topSandDock.Guid = new System.Guid("c11b7c3d-b652-47b2-bf7d-0a72097ec98e"); this.topSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400); this.topSandDock.Location = new System.Drawing.Point(0, 0); this.topSandDock.Manager = this.sandDockManager1; this.topSandDock.Name = "topSandDock"; this.topSandDock.Size = new System.Drawing.Size(608, 0); this.topSandDock.TabIndex = 13; // // toolBar1 // this.toolBar1.ContextMenu = this.contextMenu1; this.toolBar1.FlipLastItem = true; this.toolBar1.Guid = new System.Guid("a57ee27e-f5fa-4a3f-986a-cbe4264539d5"); this.toolBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.buttonOpen, this.saveButton, this.recordButton, this.assertButton, this.playbackButton, this.dropDownMenuItem1, this.aboutButton }); this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowShortcutsInToolTips = true; this.toolBar1.Size = new System.Drawing.Size(608, 22); this.toolBar1.TabIndex = 14; this.toolBar1.Text = ""; this.toolBar1.TextAlign = TD.SandBar.ToolBarTextAlign.Underneath; // // buttonOpen // this.buttonOpen.IconSize = new System.Drawing.Size(32, 32); this.buttonOpen.Text = "Open"; this.buttonOpen.ToolTipText = "Open"; this.buttonOpen.Activate += new System.EventHandler(this.buttonOpen_Activate); // // saveButton // this.saveButton.IconSize = new System.Drawing.Size(32, 32); this.saveButton.Text = "Save"; this.saveButton.ToolTipText = "Save"; this.saveButton.Activate += new System.EventHandler(this.saveButton_Activate); // // recordButton // this.recordButton.BeginGroup = true; this.recordButton.Text = "Start"; this.recordButton.ToolTipText = "Start"; this.recordButton.Activate += new System.EventHandler(this.recordButton_Activate); // // assertButton // this.assertButton.IconSize = new System.Drawing.Size(128, 128); this.assertButton.Text = "Assert"; this.assertButton.ToolTipText = "Add assertion"; this.assertButton.Activate += new System.EventHandler(this.assertButton_Activate); // // playbackButton // this.playbackButton.Text = "Playback"; this.playbackButton.ToolTipText = "Playback"; this.playbackButton.Activate += new System.EventHandler(this.playbackButton_Activate); // // dropDownMenuItem1 // this.dropDownMenuItem1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.menuButtonItem2, this.menuButtonItem3, this.menuButtonItem4, this.menuButtonItem1 }); this.dropDownMenuItem1.Text = "Options"; this.dropDownMenuItem1.Visible = false; // // menuButtonItem2 // this.menuButtonItem2.Items.AddRange(new TD.SandBar.ToolbarItemBase[] { this.menuButtonItem5, this.menuButtonItem6 }); this.menuButtonItem2.Text = "Browser Selection"; // // menuButtonItem5 // this.menuButtonItem5.Text = "Firewatir: Mozilla Firefox"; // // menuButtonItem6 // this.menuButtonItem6.Text = "Watir: Internet Explorer"; // // menuButtonItem3 // this.menuButtonItem3.Text = "Watir Project Page"; // // menuButtonItem4 // this.menuButtonItem4.Text = "Ruby Project Page"; // // menuButtonItem1 // this.menuButtonItem1.BeginGroup = true; this.menuButtonItem1.Text = "About..."; this.menuButtonItem1.Activate += new System.EventHandler(this.menuButtonItem1_Activate); // // aboutButton // this.aboutButton.BuddyMenu = this.menuButtonItem1; this.aboutButton.IconSize = new System.Drawing.Size(32, 32); this.aboutButton.Text = "About"; this.aboutButton.ToolTipText = "About"; this.aboutButton.Activate += new System.EventHandler(this.aboutButton_Activate); // // documentContainer1 // this.documentContainer1.Controls.Add(this.dockControl1); this.documentContainer1.Controls.Add(this.dockControlOutput); this.documentContainer1.Guid = new System.Guid("a1f0db60-29b8-4f8c-b3ca-0613232ae52d"); this.documentContainer1.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] { ((TD.SandDock.LayoutSystemBase)(new TD.SandDock.DocumentLayoutSystem(606, 559, new TD.SandDock.DockControl[] { this.dockControl1, this.dockControlOutput }, this.dockControl1))) }); this.documentContainer1.Location = new System.Drawing.Point(0, 22); this.documentContainer1.Manager = null; this.documentContainer1.Name = "documentContainer1"; this.documentContainer1.Renderer = new TD.SandDock.Rendering.Office2003Renderer(); this.documentContainer1.Size = new System.Drawing.Size(608, 561); this.documentContainer1.TabIndex = 15; this.documentContainer1.DragDrop += new System.Windows.Forms.DragEventHandler(this.textScript_DragDrop); this.documentContainer1.DragEnter += new System.Windows.Forms.DragEventHandler(this.textScript_DragEnter); // // dockControl1 // this.dockControl1.Controls.Add(this.panel1); this.dockControl1.Guid = new System.Guid("804e5184-274f-4191-a3ab-346cf996384a"); this.dockControl1.Location = new System.Drawing.Point(5, 33); this.dockControl1.Name = "dockControl1"; this.dockControl1.Size = new System.Drawing.Size(598, 523); this.dockControl1.TabIndex = 0; this.dockControl1.Text = "Recording"; this.dockControl1.Closing += new System.ComponentModel.CancelEventHandler(this.dockControl1_Closing); // // panel1 // this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.splitter1); this.panel1.Controls.Add(this.groupBox2); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(598, 523); this.panel1.TabIndex = 8; // // groupBox1 // this.groupBox1.Controls.Add(this.textScript); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(598, 384); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "Watir Test Code"; this.groupBox1.DragOver += new System.Windows.Forms.DragEventHandler(this.textScript_DragEnter); this.groupBox1.DragDrop += new System.Windows.Forms.DragEventHandler(this.textScript_DragDrop); this.groupBox1.DragEnter += new System.Windows.Forms.DragEventHandler(this.textScript_DragEnter); // // textScript // this.textScript.AllowDrop = true; this.textScript.ContextMenu = this.contextMenu1; this.textScript.DetectUrls = false; this.textScript.Dock = System.Windows.Forms.DockStyle.Fill; this.textScript.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textScript.Location = new System.Drawing.Point(3, 16); this.textScript.Name = "textScript"; this.textScript.Size = new System.Drawing.Size(592, 365); this.textScript.TabIndex = 1; this.textScript.Text = ""; this.textScript.DragDrop += new System.Windows.Forms.DragEventHandler(this.textScript_DragDrop); this.textScript.DragEnter += new System.Windows.Forms.DragEventHandler(this.textScript_DragEnter); // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter1.Location = new System.Drawing.Point(0, 384); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(598, 3); this.splitter1.TabIndex = 6; this.splitter1.TabStop = false; // // groupBox2 // this.groupBox2.Controls.Add(this.lstEvents); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox2.Location = new System.Drawing.Point(0, 387); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(598, 136); this.groupBox2.TabIndex = 5; this.groupBox2.TabStop = false; this.groupBox2.Text = "Events"; // // lstEvents // this.lstEvents.Dock = System.Windows.Forms.DockStyle.Fill; this.lstEvents.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lstEvents.IntegralHeight = false; this.lstEvents.ItemHeight = 16; this.lstEvents.Location = new System.Drawing.Point(3, 16); this.lstEvents.Name = "lstEvents"; this.lstEvents.Size = new System.Drawing.Size(592, 117); this.lstEvents.TabIndex = 2; // // dockControlOutput // this.dockControlOutput.Controls.Add(this.groupBox3); this.dockControlOutput.Controls.Add(this.btnSaveLog); this.dockControlOutput.Controls.Add(this.btnClear); this.dockControlOutput.Guid = new System.Guid("e4b3c490-2cd9-4436-a969-ac697467fb4a"); this.dockControlOutput.Location = new System.Drawing.Point(5, 33); this.dockControlOutput.Name = "dockControlOutput"; this.dockControlOutput.Size = new System.Drawing.Size(598, 523); this.dockControlOutput.TabIndex = 1; this.dockControlOutput.Text = "Standard Output Log"; // // groupBox3 // this.groupBox3.Controls.Add(this.rtbStdOutLog); this.groupBox3.Location = new System.Drawing.Point(0, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(603, 460); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "Standard Output"; // // rtbStdOutLog // this.rtbStdOutLog.Dock = System.Windows.Forms.DockStyle.Fill; this.rtbStdOutLog.Enabled = false; this.rtbStdOutLog.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.rtbStdOutLog.ForeColor = System.Drawing.SystemColors.Desktop; this.rtbStdOutLog.Location = new System.Drawing.Point(3, 16); this.rtbStdOutLog.Name = "rtbStdOutLog"; this.rtbStdOutLog.ReadOnly = true; this.rtbStdOutLog.Size = new System.Drawing.Size(597, 441); this.rtbStdOutLog.TabIndex = 0; this.rtbStdOutLog.Text = ""; // // btnSaveLog // this.btnSaveLog.Location = new System.Drawing.Point(435, 466); this.btnSaveLog.Name = "btnSaveLog"; this.btnSaveLog.Size = new System.Drawing.Size(75, 23); this.btnSaveLog.TabIndex = 2; this.btnSaveLog.Text = "Save Log"; this.btnSaveLog.UseVisualStyleBackColor = true; this.btnSaveLog.Click += new System.EventHandler(this.btnSaveLog_Click); // // btnClear // this.btnClear.Location = new System.Drawing.Point(516, 466); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(75, 23); this.btnClear.TabIndex = 1; this.btnClear.Text = "Clear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // frmMain // this.AccessibleName = "WatirRecorder#"; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(608, 605); this.Controls.Add(this.documentContainer1); this.Controls.Add(this.toolBar1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.leftSandDock); this.Controls.Add(this.rightSandDock); this.Controls.Add(this.bottomSandDock); this.Controls.Add(this.topSandDock); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmMain"; this.Text = "WatirRecorder#"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); this.documentContainer1.ResumeLayout(false); this.dockControl1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.dockControlOutput.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); this.codeMapViewerDock1 = new CodeMapViewerDock(); this.sandDockManager1 = new SandDockManager(); this.statusStrip1 = new StatusStrip(); this.toolStripStatusLabel1 = new ToolStripStatusLabel(); this.lineStatusLabel = new ToolStripStatusLabel(); this.columnStatusLabel = new ToolStripStatusLabel(); this.sandBarManager1 = new SandBarManager(this.components); this.leftSandBarDock = new ToolBarContainer(); this.rightSandBarDock = new ToolBarContainer(); this.bottomSandBarDock = new ToolBarContainer(); this.topSandBarDock = new ToolBarContainer(); this.menuBar1 = new MenuBar(); this.menuBarItem1 = new MenuBarItem(); this.newFileMenuItem = new MenuButtonItem(); this.openScriptMenuItem = new MenuButtonItem(); this.saveScriptMenuItem = new MenuButtonItem(); this.exitMenuItem = new MenuButtonItem(); this.menuBarItem2 = new MenuBarItem(); this.undoMenuItem = new MenuButtonItem(); this.redoMenuItem = new MenuButtonItem(); this.cutMenuItem = new MenuButtonItem(); this.copyMenuItem = new MenuButtonItem(); this.pasteMenuItem = new MenuButtonItem(); this.menuBarItem3 = new MenuBarItem(); this.mapViewerMenuItem = new MenuButtonItem(); this.menuBarItem4 = new MenuBarItem(); this.runMenuItem = new MenuButtonItem(); this.menuBarItem5 = new MenuBarItem(); this.toolBar1 = new TD.SandBar.ToolBar(); this.buttonItem1 = new ButtonItem(); this.buttonItem3 = new ButtonItem(); this.buttonItem2 = new ButtonItem(); this.buttonItem4 = new ButtonItem(); this.buttonItem5 = new ButtonItem(); this.buttonItem6 = new ButtonItem(); this.buttonItem8 = new ButtonItem(); this.buttonItem9 = new ButtonItem(); this.buttonItem7 = new ButtonItem(); this.openFileDialog = new OpenFileDialog(); this.contextMenuStrip1 = new ContextMenuStrip(this.components); this.cutToolStripMenuItem = new ToolStripMenuItem(); this.copyToolStripMenuItem = new ToolStripMenuItem(); this.pasteToolStripMenuItem = new ToolStripMenuItem(); this.toolStripSeparator1 = new ToolStripSeparator(); this.insertFunctionToolStripMenuItem = new ToolStripMenuItem(); this.insertTextureEntryIDToolStripMenuItem = new ToolStripMenuItem(); this.insertCollectionEntryIDToolStripMenuItem = new ToolStripMenuItem(); DockContainer dockContainer = new DockContainer(); dockContainer.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.topSandBarDock.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); base.SuspendLayout(); dockContainer.Controls.Add(this.codeMapViewerDock1); dockContainer.Dock = DockStyle.Right; dockContainer.LayoutSystem = new SplitLayoutSystem(250, 312, Orientation.Horizontal, new LayoutSystemBase[] { new ControlLayoutSystem(250, 312, new DockControl[] { this.codeMapViewerDock1 }, this.codeMapViewerDock1) }); dockContainer.Location = new Point(274, 49); dockContainer.Manager = this.sandDockManager1; dockContainer.Name = "dockContainer1"; dockContainer.Size = new Size(254, 312); dockContainer.TabIndex = 6; this.codeMapViewerDock1.Guid = new Guid("40b77176-f5ac-44ce-a28c-d2f296197e1d"); this.codeMapViewerDock1.Image = null; this.codeMapViewerDock1.Location = new Point(4, 18); this.codeMapViewerDock1.Name = "codeMapViewerDock1"; this.codeMapViewerDock1.Size = new Size(250, 270); this.codeMapViewerDock1.TabIndex = 0; this.codeMapViewerDock1.Text = "Map Viewer"; this.sandDockManager1.DockSystemContainer = this; this.sandDockManager1.OwnerForm = this; this.sandDockManager1.ActiveTabbedDocumentChanged += new EventHandler(this.sandDockManager1_ActiveTabbedDocumentChanged); this.statusStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripStatusLabel1, this.lineStatusLabel, this.columnStatusLabel }); this.statusStrip1.Location = new Point(0, 361); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new Size(528, 22); this.statusStrip1.TabIndex = 1; this.statusStrip1.Text = "statusStrip1"; this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new Size(447, 17); this.toolStripStatusLabel1.Spring = true; this.lineStatusLabel.Name = "lineStatusLabel"; this.lineStatusLabel.Size = new Size(35, 17); this.lineStatusLabel.Text = "Line 0"; this.columnStatusLabel.Name = "columnStatusLabel"; this.columnStatusLabel.Size = new Size(31, 17); this.columnStatusLabel.Text = "Col 0"; this.sandBarManager1.OwnerForm = this; this.leftSandBarDock.Dock = DockStyle.Left; this.leftSandBarDock.Guid = new Guid("f51f9d3c-d12d-4b04-b3c1-dba150a785e6"); this.leftSandBarDock.Location = new Point(0, 49); this.leftSandBarDock.Manager = this.sandBarManager1; this.leftSandBarDock.Name = "leftSandBarDock"; this.leftSandBarDock.Size = new Size(0, 334); this.leftSandBarDock.TabIndex = 2; this.rightSandBarDock.Dock = DockStyle.Right; this.rightSandBarDock.Guid = new Guid("c3e7b6e1-de74-4788-aa84-badf07d4feb3"); this.rightSandBarDock.Location = new Point(528, 49); this.rightSandBarDock.Manager = this.sandBarManager1; this.rightSandBarDock.Name = "rightSandBarDock"; this.rightSandBarDock.Size = new Size(0, 334); this.rightSandBarDock.TabIndex = 3; this.bottomSandBarDock.Dock = DockStyle.Bottom; this.bottomSandBarDock.Guid = new Guid("214365d9-c066-4c57-b2e9-f4e9b8b58fd5"); this.bottomSandBarDock.Location = new Point(0, 383); this.bottomSandBarDock.Manager = this.sandBarManager1; this.bottomSandBarDock.Name = "bottomSandBarDock"; this.bottomSandBarDock.Size = new Size(528, 0); this.bottomSandBarDock.TabIndex = 4; this.topSandBarDock.Controls.Add(this.menuBar1); this.topSandBarDock.Controls.Add(this.toolBar1); this.topSandBarDock.Dock = DockStyle.Top; this.topSandBarDock.Guid = new Guid("31bfec4a-f321-4810-8e02-c4eccad1d7f9"); this.topSandBarDock.Location = new Point(0, 0); this.topSandBarDock.Manager = this.sandBarManager1; this.topSandBarDock.Name = "topSandBarDock"; this.topSandBarDock.Size = new Size(528, 49); this.topSandBarDock.TabIndex = 5; this.menuBar1.Guid = new Guid("0188290c-f307-4042-a99f-b3a2a1517a38"); this.menuBar1.Items.AddRange(new ToolbarItemBase[] { this.menuBarItem1, this.menuBarItem2, this.menuBarItem3, this.menuBarItem4, this.menuBarItem5 }); this.menuBar1.Location = new Point(2, 0); this.menuBar1.Name = "menuBar1"; this.menuBar1.OwnerForm = this; this.menuBar1.Size = new Size(526, 23); this.menuBar1.TabIndex = 0; this.menuBar1.Text = "menuBar1"; this.menuBarItem1.Items.AddRange(new ToolbarItemBase[] { this.newFileMenuItem, this.openScriptMenuItem, this.saveScriptMenuItem, this.exitMenuItem }); this.menuBarItem1.Text = "&File"; this.newFileMenuItem.Image = Resources.newMap; this.newFileMenuItem.Shortcut = Shortcut.CtrlN; this.newFileMenuItem.Text = "New script"; this.newFileMenuItem.Activate += new EventHandler(this.newFileMenuItem_Activate); this.openScriptMenuItem.Image = Resources.openMap; this.openScriptMenuItem.Shortcut = Shortcut.CtrlO; this.openScriptMenuItem.Text = "Open script"; this.openScriptMenuItem.Activate += new EventHandler(this.openScriptMenuItem_Activate); this.saveScriptMenuItem.BeginGroup = true; this.saveScriptMenuItem.Image = Resources.save; this.saveScriptMenuItem.Shortcut = Shortcut.CtrlS; this.saveScriptMenuItem.Text = "Save script"; this.saveScriptMenuItem.Activate += new EventHandler(this.saveScriptMenuItem_Activate); this.exitMenuItem.Text = "Exit"; this.menuBarItem2.Items.AddRange(new ToolbarItemBase[] { this.undoMenuItem, this.redoMenuItem, this.cutMenuItem, this.copyMenuItem, this.pasteMenuItem }); this.menuBarItem2.Text = "&Edit"; this.undoMenuItem.Image = Resources.undo; this.undoMenuItem.Shortcut = Shortcut.CtrlZ; this.undoMenuItem.Text = "&Undo"; this.undoMenuItem.Activate += new EventHandler(this.undoMenuItem_Activate); this.redoMenuItem.Image = Resources.redo; this.redoMenuItem.Shortcut = Shortcut.CtrlShiftZ; this.redoMenuItem.Text = "&Redo"; this.cutMenuItem.BeginGroup = true; this.cutMenuItem.Image = Resources.cut; this.cutMenuItem.Shortcut = Shortcut.CtrlX; this.cutMenuItem.Text = "C&ut"; this.cutMenuItem.Activate += new EventHandler(this.cutMenuItem_Activate); this.copyMenuItem.Image = Resources.copy; this.copyMenuItem.Shortcut = Shortcut.CtrlC; this.copyMenuItem.Text = "&Copy"; this.copyMenuItem.Activate += new EventHandler(this.copyMenuItem_Activate); this.pasteMenuItem.Image = Resources.paste; this.pasteMenuItem.Shortcut = Shortcut.CtrlV; this.pasteMenuItem.Text = "&Paste"; this.pasteMenuItem.Activate += new EventHandler(this.pasteMenuItem_Activate); this.menuBarItem3.Items.AddRange(new ToolbarItemBase[] { this.mapViewerMenuItem }); this.menuBarItem3.Text = "&View"; this.mapViewerMenuItem.Text = "Map Viewer"; this.mapViewerMenuItem.Activate += new EventHandler(this.mapViewerMenuItem_Activate); this.menuBarItem4.Items.AddRange(new ToolbarItemBase[] { this.runMenuItem }); this.menuBarItem4.MdiWindowList = true; this.menuBarItem4.Text = "&Script"; this.runMenuItem.Image = Resources.PlayHS; this.runMenuItem.Shortcut = Shortcut.F5; this.runMenuItem.Text = "&Run"; this.runMenuItem.Activate += new EventHandler(this.runMenuItem_Activate); this.menuBarItem5.Text = "&Help"; this.toolBar1.DockLine = 1; this.toolBar1.Guid = new Guid("46756475-373b-4e41-8b89-f8ab1b41c370"); this.toolBar1.Items.AddRange(new ToolbarItemBase[] { this.buttonItem1, this.buttonItem3, this.buttonItem2, this.buttonItem4, this.buttonItem5, this.buttonItem6, this.buttonItem8, this.buttonItem9, this.buttonItem7 }); this.toolBar1.Location = new Point(2, 23); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new Size(252, 26); this.toolBar1.TabIndex = 1; this.toolBar1.Text = "toolBar1"; this.buttonItem1.BuddyMenu = this.newFileMenuItem; this.buttonItem1.Image = Resources.newMap; this.buttonItem3.BuddyMenu = this.openScriptMenuItem; this.buttonItem3.Image = Resources.openMap; this.buttonItem2.BuddyMenu = this.saveScriptMenuItem; this.buttonItem2.Image = Resources.save; this.buttonItem4.BeginGroup = true; this.buttonItem4.BuddyMenu = this.cutMenuItem; this.buttonItem4.Image = Resources.cut; this.buttonItem5.BuddyMenu = this.copyMenuItem; this.buttonItem5.Image = Resources.copy; this.buttonItem6.BuddyMenu = this.pasteMenuItem; this.buttonItem6.Image = Resources.paste; this.buttonItem8.BeginGroup = true; this.buttonItem8.BuddyMenu = this.undoMenuItem; this.buttonItem8.Image = Resources.undo; this.buttonItem9.BuddyMenu = this.redoMenuItem; this.buttonItem9.Image = Resources.redo; this.buttonItem7.BeginGroup = true; this.buttonItem7.BuddyMenu = this.runMenuItem; this.buttonItem7.Image = Resources.PlayHS; this.openFileDialog.DefaultExt = "lua"; this.openFileDialog.FileName = "openFileDialog1"; this.openFileDialog.Filter = "Far Cry 2 script files (*.lua)|*.lua|All files (*.*)|*.*"; this.openFileDialog.Title = "Open script"; this.contextMenuStrip1.Items.AddRange(new ToolStripItem[] { this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.toolStripSeparator1, this.insertFunctionToolStripMenuItem, this.insertTextureEntryIDToolStripMenuItem, this.insertCollectionEntryIDToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new Size(194, 164); this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.Size = new Size(193, 22); this.cutToolStripMenuItem.Text = "Cut"; this.cutToolStripMenuItem.Click += new EventHandler(this.cutToolStripMenuItem_Click); this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.Size = new Size(193, 22); this.copyToolStripMenuItem.Text = "Copy"; this.copyToolStripMenuItem.Click += new EventHandler(this.copyToolStripMenuItem_Click); this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.Size = new Size(193, 22); this.pasteToolStripMenuItem.Text = "Paste"; this.pasteToolStripMenuItem.Click += new EventHandler(this.pasteToolStripMenuItem_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(190, 6); this.insertFunctionToolStripMenuItem.Name = "insertFunctionToolStripMenuItem"; this.insertFunctionToolStripMenuItem.Size = new Size(193, 22); this.insertFunctionToolStripMenuItem.Text = "Insert function"; this.insertTextureEntryIDToolStripMenuItem.Name = "insertTextureEntryIDToolStripMenuItem"; this.insertTextureEntryIDToolStripMenuItem.Size = new Size(193, 22); this.insertTextureEntryIDToolStripMenuItem.Text = "Insert texture entry ID"; this.insertCollectionEntryIDToolStripMenuItem.Name = "insertCollectionEntryIDToolStripMenuItem"; this.insertCollectionEntryIDToolStripMenuItem.Size = new Size(193, 22); this.insertCollectionEntryIDToolStripMenuItem.Text = "Insert collection entry ID"; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(528, 383); base.Controls.Add(dockContainer); base.Controls.Add(this.statusStrip1); base.Controls.Add(this.leftSandBarDock); base.Controls.Add(this.rightSandBarDock); base.Controls.Add(this.bottomSandBarDock); base.Controls.Add(this.topSandBarDock); base.Name = "CodeEditor"; this.Text = "Far Cry 2 Script Editor"; dockContainer.ResumeLayout(false); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.topSandBarDock.ResumeLayout(false); this.contextMenuStrip1.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
public DockableWindow(SandDockManager manager, Control control, string text) : base(manager, control, text) { this.x84eb05aa1ce8e247(); }
public TabbedDocument(SandDockManager manager, Control control, string text) : base(manager, control, text) { this.x84eb05aa1ce8e247(); }
private void xe1f5f125062dc4fb(object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc) { Form activeForm = Form.ActiveForm; label_22: do { Form xd936980ea1aac341 = this.xd936980ea1aac341; label_21: DockControl[] x9476096be9672d38; DockControl xbe0b15fe97a1ee89; do { x9476096be9672d38 = this.LayoutSystem.x9476096be9672d38; xbe0b15fe97a1ee89 = this.xbe0b15fe97a1ee89; if (true) { goto label_19; } label_13: this.LayoutSystem = new SplitLayoutSystem(); this.Dispose(); continue; label_19: if (x9476096be9672d38[0].MetaData.LastFixedDockSituation == DockSituation.Docked) { goto label_17; } else { goto label_20; } label_11: if (x9476096be9672d38[0].MetaData.LastFixedDockSituation == DockSituation.Document) { goto label_14; } label_12: SandDockManager manager = this.Manager; goto label_13; label_14: if (this.LayoutSystem.xe302f2203dc14a18(ContainerDockLocation.Center)) { goto label_12; } else { goto label_23; } label_17: if (!this.LayoutSystem.xe302f2203dc14a18(xbe0b15fe97a1ee89.MetaData.LastFixedDockSide)) { goto label_15; } else { goto label_11; } label_20: if (true) { if (true) { goto label_11; } else { goto label_17; } } else { goto label_14; } }while (false); do { if (xbe0b15fe97a1ee89.MetaData.LastFixedDockSituation == DockSituation.Docked) { if (true) { if (false) { if (true) { goto label_22; } } else { goto label_2; } } else { goto label_24; } } else { goto label_3; } }while (false); goto label_21; label_2: x9476096be9672d38[0].OpenDocked(WindowOpenMethod.OnScreenActivate); goto label_4; label_3: x9476096be9672d38[0].OpenDocument(WindowOpenMethod.OnScreenActivate); label_4: DockControl[] controls = new DockControl[x9476096be9672d38.Length - 1]; if (true) { Array.Copy((Array)x9476096be9672d38, 1, (Array)controls, 0, x9476096be9672d38.Length - 1); x9476096be9672d38[0].LayoutSystem.Controls.AddRange(controls); x9476096be9672d38[0].LayoutSystem.SelectedControl = xbe0b15fe97a1ee89; if (false) { goto label_2; } } }while (false); return; label_24: return; label_23: return; label_15 :; }
private static void xac29055e1acf1a28( DockControl x76b3d9d2638e5ecd, XmlNode xeaa9dbf1fba9aca8, x129cb2a2bdfd0ab2 x592a8acce305e2d8, string x05bcae9c376a7a50) { TypeConverter converter = TypeDescriptor.GetConverter(typeof(int)); if (true) { goto label_8; } else { goto label_4; } label_1: if (xeaa9dbf1fba9aca8.Attributes[x05bcae9c376a7a50 + "IndexInWindowGroup"] != null) { goto label_5; } label_2: if (xeaa9dbf1fba9aca8.Attributes[x05bcae9c376a7a50 + "SplitPath"] == null) { return; } x592a8acce305e2d8.x61743036ad30763d = x245a5abec1c73d3a.xad77aeacfb4bb694(xeaa9dbf1fba9aca8.Attributes[x05bcae9c376a7a50 + "SplitPath"].Value); return; label_4: if (true) { goto label_1; } label_5: x592a8acce305e2d8.x8c8f170696764fac = (int)converter.ConvertFromString((ITypeDescriptorContext)null, CultureInfo.InvariantCulture, xeaa9dbf1fba9aca8.Attributes[x05bcae9c376a7a50 + "IndexInWindowGroup"].Value); goto label_2; label_8: if (xeaa9dbf1fba9aca8.Attributes[x05bcae9c376a7a50 + "WorkingSize"] != null) { goto label_7; } else { goto label_9; } label_6: if (xeaa9dbf1fba9aca8.Attributes[x05bcae9c376a7a50 + "WindowGroupGuid"] != null) { goto label_10; } else { goto label_4; } label_7: x592a8acce305e2d8.x3a4e0c379519d4a2 = SandDockManager.ConvertStringToSizeF(xeaa9dbf1fba9aca8.Attributes[x05bcae9c376a7a50 + "WorkingSize"].Value); goto label_6; label_9: if (true) { goto label_6; } label_10: x592a8acce305e2d8.x703937d70a13725c = new Guid(xeaa9dbf1fba9aca8.Attributes[x05bcae9c376a7a50 + "WindowGroupGuid"].Value); goto label_1; }
internal static x5678bb8d80c0f12e x4689c8634e31fc55( SandDockManager x91f347c6e97f1846, WindowMetaData xfffbdea061bfa120) { DockContainer[] dockContainers = x91f347c6e97f1846.GetDockContainers(LayoutUtilities.xf8330a3964a419ba(xfffbdea061bfa120.LastFixedDockSide)); if (dockContainers.Length != 0) { goto label_12; } else { goto label_15; } label_3: if (dockContainers.Length != 0) { return(LayoutUtilities.x2f8f74d308cc9f3f(dockContainers[0], xfffbdea061bfa120.xe62a3d24e0fde928.x61743036ad30763d)); } return(new x5678bb8d80c0f12e(x91f347c6e97f1846.CreateNewDockContainer(xfffbdea061bfa120.LastFixedDockSide, ContainerDockEdge.Inside, xfffbdea061bfa120.DockedContentSize).LayoutSystem, 0)); label_12: if (dockContainers.Length < xfffbdea061bfa120.xe62a3d24e0fde928.xd25c313925dc7d4e || xfffbdea061bfa120.xe62a3d24e0fde928.x71a5d248534c8557 >= dockContainers.Length) { goto label_5; } else { goto label_11; } label_1: if (xfffbdea061bfa120.xe62a3d24e0fde928.x71a5d248534c8557 == xfffbdea061bfa120.xe62a3d24e0fde928.xd25c313925dc7d4e - 1) { return(new x5678bb8d80c0f12e(x91f347c6e97f1846.CreateNewDockContainer(xfffbdea061bfa120.LastFixedDockSide, ContainerDockEdge.Inside, xfffbdea061bfa120.DockedContentSize).LayoutSystem, 0)); } goto label_3; label_5: if (xfffbdea061bfa120.xe62a3d24e0fde928.xd25c313925dc7d4e >= 2) { if (xfffbdea061bfa120.xe62a3d24e0fde928.x71a5d248534c8557 == 0) { return(new x5678bb8d80c0f12e(x91f347c6e97f1846.CreateNewDockContainer(xfffbdea061bfa120.LastFixedDockSide, ContainerDockEdge.Outside, xfffbdea061bfa120.DockedContentSize).LayoutSystem, 0)); } goto label_1; } else { goto label_3; } label_11: if (xfffbdea061bfa120.xe62a3d24e0fde928.x71a5d248534c8557 != -1) { return(LayoutUtilities.x2f8f74d308cc9f3f(dockContainers[xfffbdea061bfa120.xe62a3d24e0fde928.x71a5d248534c8557], xfffbdea061bfa120.xe62a3d24e0fde928.x61743036ad30763d)); } if (false) { goto label_1; } else { goto label_5; } label_15: while (true) { if (true) { return(new x5678bb8d80c0f12e(x91f347c6e97f1846.CreateNewDockContainer(xfffbdea061bfa120.LastFixedDockSide, ContainerDockEdge.Inside, xfffbdea061bfa120.DockedContentSize).LayoutSystem, 0)); } } goto label_3; }
private static void x47161f81513f1258( DockControl x76b3d9d2638e5ecd, XmlTextWriter xbdfb620b7167944b, x129cb2a2bdfd0ab2 x592a8acce305e2d8, string x05bcae9c376a7a50) { TypeConverter converter = TypeDescriptor.GetConverter(typeof(int)); xbdfb620b7167944b.WriteAttributeString(x05bcae9c376a7a50 + "WorkingSize", SandDockManager.ConvertSizeFToString(x592a8acce305e2d8.x3a4e0c379519d4a2)); xbdfb620b7167944b.WriteAttributeString(x05bcae9c376a7a50 + "WindowGroupGuid", x592a8acce305e2d8.x703937d70a13725c.ToString()); xbdfb620b7167944b.WriteAttributeString(x05bcae9c376a7a50 + "IndexInWindowGroup", converter.ConvertToString((ITypeDescriptorContext)null, CultureInfo.InvariantCulture, (object)x592a8acce305e2d8.x8c8f170696764fac)); xbdfb620b7167944b.WriteAttributeString(x05bcae9c376a7a50 + "SplitPath", x245a5abec1c73d3a.x8c8bb4495a487cc5(x592a8acce305e2d8.x61743036ad30763d)); }
public x09c1c18390e52ebf(SandDockManager manager, DockContainer container, System.Drawing.Point startPoint) : base((Control)container, manager.DockingHints, false) { if (true) { goto label_20; } else { goto label_17; } label_1: this.OnMouseMove(startPoint); return; label_8: Rectangle rectangle; int num1; int x555227b0d2a372bd; this.xffa8345bf918658d = Math.Max(rectangle.Left + 20, startPoint.X - (num1 - x555227b0d2a372bd)); if (false) { ; } int num2; this.xb646339c3b9e735a = startPoint.X + (x555227b0d2a372bd - num2); this.xf623ffb827affd4f = startPoint.X - container.x0c42f19be578ccee.X; goto label_1; label_16: int val1; num2 = Math.Max(val1, LayoutUtilities.xc6fb69ef430eaa44(container)); if (manager != null) { goto label_13; } label_12: int num3 = 500; goto label_14; label_13: num3 = manager.MaximumDockContainerSize; label_14: num1 = num3; x555227b0d2a372bd = container.x555227b0d2a372bd; if ((uint)num1 <= uint.MaxValue) { if ((uint)num2 + (uint)num2 >= 0U) { switch (container.Dock) { case DockStyle.Top: this.xffa8345bf918658d = startPoint.Y - (x555227b0d2a372bd - num2); if ((uint)x555227b0d2a372bd + (uint)x555227b0d2a372bd <= uint.MaxValue) { break; } goto label_1; case DockStyle.Bottom: this.xffa8345bf918658d = Math.Max(rectangle.Top + 20, startPoint.Y - (num1 - x555227b0d2a372bd)); this.xb646339c3b9e735a = startPoint.Y + (x555227b0d2a372bd - num2); if (true) { if ((num2 | 2) != 0) { this.xf623ffb827affd4f = startPoint.Y - container.x0c42f19be578ccee.Y; if ((uint)num2 - (uint)num2 < 0U) { return; } goto label_1; } else { break; } } else { goto label_1; } case DockStyle.Left: this.xffa8345bf918658d = startPoint.X - (x555227b0d2a372bd - num2); this.xb646339c3b9e735a = Math.Min(rectangle.Right - 20, startPoint.X + (num1 - x555227b0d2a372bd)); this.xf623ffb827affd4f = startPoint.X - container.x0c42f19be578ccee.X; goto label_1; case DockStyle.Right: goto label_8; default: goto label_1; } this.xb646339c3b9e735a = Math.Min(rectangle.Bottom - 20, startPoint.Y + (num1 - x555227b0d2a372bd)); this.xf623ffb827affd4f = startPoint.Y - container.x0c42f19be578ccee.Y; goto label_1; } else { goto label_12; } } else { goto label_1; } label_17: int num4; if ((num4 | -1) == 0) { goto label_8; } label_18: val1 = 30; goto label_16; label_20: this.xd3311d815ca25f02 = container; Rectangle empty = Rectangle.Empty; rectangle = xedb4922162c60d3d.xc68a4bb946c59a9e(xedb4922162c60d3d.x41c62f474d3fb367(container.Parent), container.Parent); rectangle = new Rectangle(container.PointToClient(rectangle.Location), rectangle.Size); if (manager != null) { val1 = manager.MinimumDockContainerSize; goto label_16; } else { goto label_18; } }