示例#1
0
 // Token: 0x06001C07 RID: 7175 RVA: 0x00057E5C File Offset: 0x0005605C
 private void method_1()
 {
     if (this.stream_1 == null)
     {
         this.stream_1 = new MemoryStream();
     }
     this.stream_1.SetLength(0L);
     if (this.stream_2 == null)
     {
         this.stream_2 = new MemoryStream();
     }
     this.stream_2.SetLength(0L);
     if (this.bitmap_1 == null)
     {
         this.bitmap_1 = new Bitmap(this.bitmap_0.Width, this.bitmap_0.Height);
     }
     Class486.smethod_0(this.stream_0, this.stream_1, this.bitmap_1, new Color?(this.cSelector.SelectedColor), true, Enum14.const_3);
     this.stream_1.Position = 0L;
     this.bitmap_2          = Class486.smethod_2(this.stream_1);
     this.picSource.Image   = this.bitmap_0;
     this.picImage.Image    = this.bitmap_1;
     this.picRGB.Image      = this.bitmap_2;
     Class157.smethod_6(this.bitmap_1, this.stream_2, 100);
     this.stream_0.Position = 0L;
     this.stream_2.Position = 0L;
     this.stream_1.Position = 0L;
 }
示例#2
0
    internal void method_11(Class168 A_0, int A_1)
    {
        int num = this.class741_0.method_2();

        for (int i = 0; i < A_0.method_21().method_4(); i++)
        {
            this.class741_0.method_9(num + A_0.method_17(i));
            Class1110 class3 = (Class1110)A_0.method_21().method_18(i);
            class3.int_1 += num;
            int num5 = A_0.method_21().method_16(i);
            this.class154_0.method_6(A_1 + num5, class3);
            Class765 class2 = A_0.method_18(i);
            Class433 class4 = A_0.method_19(class2.int_0);
            Class433 class5 = this.method_12(class4.string_0, class4.string_1);
            class2.int_0 = class5.int_0;
            this.arrayList_1.Add(class2);
            for (int k = 0; k < class2.int_1.Length; k++)
            {
                string str = A_0.method_20(class2.int_1[k]);
                class2.int_1[k] = this.method_13(str);
                string str2 = A_0.method_20(class2.int_2[k]);
                class2.int_2[k] = this.method_13(str2);
            }
        }
        for (int j = 0; j < A_0.method_22().method_4(); j++)
        {
            Class486 class6 = (Class486)A_0.method_22().method_18(j);
            class6.int_1 += num;
            int num6 = A_0.method_22().method_16(j);
            this.class164_0.method_6(A_1 + num6, class6);
        }
    }
示例#3
0
    private void method_16()
    {
        int num = this.class164_0.method_4();

        for (int i = 0; i < num; i++)
        {
            int      num4   = this.class164_0.method_16(i);
            Class486 class3 = (Class486)this.class164_0.method_18(i);
            class3.int_2 = 0;
            for (int j = 0; j < num; j++)
            {
                Class760 class2 = new Class760(this.class154_0.method_16(j), this.class164_0.method_16(j));
                if (!class2.method_1() && class2.method_0(num4))
                {
                    class3.int_2++;
                }
                if (class2.method_2() > num4)
                {
                    break;
                }
            }
        }
    }
        // Token: 0x06001CAD RID: 7341 RVA: 0x0005C870 File Offset: 0x0005AA70
        private void method_1(object state)
        {
            string text = state as string;

            if (string.IsNullOrEmpty(text))
            {
                this.class374_0.method_4(new Action <object>(this.method_4));
                this.class374_0.method_4(new Action <object>(this.method_2));
                return;
            }
            byte[] array = null;
            if (this.class132_0.Data.MultiFileData.ContainsKey(text))
            {
                Class338 @class = this.class132_0.Data.MultiFileData[text];
                array = @class.Data;
            }
            switch (Class136.smethod_4(text))
            {
            case Enum68.const_0:
                break;

            case Enum68.const_1:
                this.class374_0.method_5(new Action <object>(this.method_2), Class429.smethod_0(array, null));
                this.class374_0.method_4(new Action <object>(this.method_4));
                return;

            case Enum68.const_2:
                using (MemoryStream memoryStream = new MemoryStream(array))
                {
                    this.class374_0.method_5(new Action <object>(this.method_2), new Class429(Class486.smethod_2(memoryStream), null));
                }
                this.class374_0.method_4(new Action <object>(this.method_4));
                return;

            case Enum68.const_3:
            case Enum68.const_4:
            case Enum68.const_5:
                this.class374_0.method_5(new Action <object>(this.method_4), new Class355(text, array, null));
                this.class374_0.method_4(new Action <object>(this.method_2));
                break;

            default:
                return;
            }
        }
 public abstract void Visit(Class486 c);
 public override void Visit(Class486 c) { }