// Token: 0x060023CA RID: 9162 RVA: 0x00079070 File Offset: 0x00077270
        public static Bitmap smethod_0()
        {
            IntPtr    desktopWindow = Class265.GetDesktopWindow();
            Rectangle virtualScreen = SystemInformation.VirtualScreen;

            return(Class364.smethod_4(desktopWindow, virtualScreen));
        }
Пример #2
0
        public virtual void imethod_1(Interface9 writer)
        {
            int enum500 = (int)this.enum50_0;

            if (enum500 >= 4)
            {
                ++enum500;
            }
            writer.imethod_10(Class1029.string_0, enum500);
            switch (this.enum50_0)
            {
            case Class1029.Enum50.const_2:
                writer.imethod_7(this.double_0);
                writer.imethod_7(this.double_1);
                break;

            case Class1029.Enum50.const_4:
                writer.imethod_12((Interface39)this.class710_0);
                if (!this.class710_0.Value)
                {
                    break;
                }
                Class364.smethod_1(writer, this.class364_0);
                break;
            }
        }
Пример #3
0
        public virtual void imethod_0(Interface8 reader)
        {
            int num = reader.imethod_11(Class1029.string_0);

            if (num >= 4)
            {
                --num;
            }
            this.enum50_0 = (Class1029.Enum50)num;
            switch (this.enum50_0)
            {
            case Class1029.Enum50.const_1:
                break;

            case Class1029.Enum50.const_2:
                this.double_0 = reader.imethod_8();
                this.double_1 = reader.imethod_8();
                break;

            case Class1029.Enum50.const_4:
                this.class710_0 = new Class686.Class710(reader);
                if (!this.class710_0.Value)
                {
                    break;
                }
                this.class364_0 = Class364.smethod_0(reader);
                break;

            default:
                throw new Exception0("Invalid var cross section type : " + (object)this.enum50_0);
            }
        }
Пример #4
0
 public override void imethod_1(Interface9 writer)
 {
     Class601.smethod_1(writer, this.class601_0);
     writer.imethod_15();
     Class601.smethod_1(writer, this.class601_1);
     writer.imethod_15();
     Class242.smethod_1(writer, this.class242_0);
     writer.imethod_7(this.double_3);
     writer.imethod_7(this.double_4);
     writer.imethod_15();
     writer.imethod_11(Class200.string_3, Class200.int_12, (int)this.enum6_0);
     if (this.enum6_0 != Class200.Enum6.const_0)
     {
         Class364.smethod_1(writer, this.class364_0);
         if (this.enum6_0 == Class200.Enum6.const_2)
         {
             Class364.smethod_1(writer, this.class364_1);
         }
         this.class1029_0.imethod_1(writer);
     }
     writer.imethod_15();
     if (writer.FileFormatVersion >= Class250.int_48)
     {
         this.class439_2.method_0(writer);
     }
     else
     {
         this.class439_0.method_0(writer);
         this.class439_2.method_0(writer);
         this.class439_1.method_0(writer);
         writer.imethod_4(this.int_5);
         writer.imethod_4(this.int_6);
     }
     writer.imethod_15();
     if (writer.FileFormatVersion >= Class250.int_75)
     {
         this.class439_3.method_0(writer);
         writer.imethod_15();
         writer.imethod_4(this.int_7);
         writer.imethod_7(this.double_6);
         writer.imethod_7(this.double_5);
         writer.imethod_15();
         writer.imethod_4(this.int_8);
         writer.imethod_15();
     }
     if (writer.FileFormatVersion >= Class250.int_48)
     {
         this.method_1(writer);
     }
     base.vmethod_3(writer);
     if (writer.FileFormatVersion < Class250.int_68)
     {
         return;
     }
     writer.imethod_15();
     writer.imethod_4(this.int_9);
     writer.imethod_4(this.int_10);
     writer.imethod_4(this.int_11);
 }
Пример #5
0
 public override void imethod_0(Interface8 reader)
 {
     this.class601_0 = Class601.smethod_0(reader);
     this.class601_1 = Class601.smethod_0(reader);
     this.class242_0 = Class242.smethod_0(reader);
     this.double_3   = reader.imethod_8();
     this.double_4   = reader.imethod_8();
     this.enum6_0    = (Class200.Enum6)reader.imethod_12(Class200.string_3, Class200.int_12);
     if (this.enum6_0 != Class200.Enum6.const_0)
     {
         this.class364_0 = Class364.smethod_0(reader);
         if (this.enum6_0 == Class200.Enum6.const_2)
         {
             this.class364_1 = Class364.smethod_0(reader);
         }
         this.class1029_0 = new Class1029();
         this.class1029_0.imethod_0(reader);
     }
     if (reader.FileFormatVersion >= Class250.int_48)
     {
         this.class439_2 = new Class439(reader);
     }
     else
     {
         this.class439_0 = new Class439(reader);
         this.class439_2 = new Class439(reader);
         this.class439_1 = new Class439(reader);
         this.int_5      = reader.imethod_5();
         this.int_6      = reader.imethod_5();
     }
     if (reader.FileFormatVersion >= Class250.int_75)
     {
         this.class439_3 = new Class439(reader);
         this.int_7      = reader.imethod_5();
         this.double_6   = reader.imethod_8();
         this.double_5   = reader.imethod_8();
         this.int_8      = reader.imethod_5();
     }
     if (reader.FileFormatVersion >= Class250.int_48)
     {
         this.method_0(reader);
     }
     base.vmethod_1(reader);
     this.int_11 = 0;
     this.int_10 = 0;
     this.int_9  = 0;
     if (reader.FileFormatVersion < Class250.int_68)
     {
         return;
     }
     this.int_9  = reader.imethod_5();
     this.int_10 = reader.imethod_5();
     this.int_11 = reader.imethod_5();
 }
        // Token: 0x060023CD RID: 9165 RVA: 0x000790CC File Offset: 0x000772CC
        public static Bitmap smethod_3(IntPtr hWnd, Rectangle rec)
        {
            Rectangle rectangle = Class410.smethod_16(hWnd);

            if (rec.Size.Height + rec.Y > rectangle.Size.Height || rec.Size.Width + rec.X > rectangle.Size.Width)
            {
                throw new ArgumentException(string.Format(Class364.string_1, rec.Size, rec.Location, rectangle.Size));
            }
            rec.X += rectangle.X;
            rec.Y += rectangle.Y;
            return(Class364.smethod_4(Class265.GetDesktopWindow(), rec));
        }
        // Token: 0x060023CC RID: 9164 RVA: 0x000790AC File Offset: 0x000772AC
        public static Bitmap smethod_2(IntPtr hWnd)
        {
            Rectangle rec = Class410.smethod_16(hWnd);

            return(Class364.smethod_4(Class265.GetDesktopWindow(), rec));
        }
        // Token: 0x060023CB RID: 9163 RVA: 0x00079090 File Offset: 0x00077290
        public static Bitmap smethod_1(Rectangle rec)
        {
            IntPtr desktopWindow = Class265.GetDesktopWindow();

            return(Class364.smethod_4(desktopWindow, rec));
        }