Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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;
        }
Exemplo n.º 4
0
 internal WindowMetaData()
 {
     this.x02053c1a8559b85f = new xd0aa9d0e7d3446c0();
     this.xa93c1ee3649251c3 = new x129cb2a2bdfd0ab2();
     this.xd322344ef33dfd34 = new x129cb2a2bdfd0ab2();
 }