Exemplo n.º 1
0
 public Class5()
 {
     Class9.gVVuj4FzFXpvb();
     this.string_0      = string.Concat("SOFTWARE\\", Application.ProductName.ToUpper());
     this.registryKey_0 = Registry.LocalMachine;
     base();
 }
Exemplo n.º 2
0
    // Token: 0x06000091 RID: 145 RVA: 0x0000B5F8 File Offset: 0x000097F8
    private static Class47 smethod_6(out bool bool_0)
    {
        bool_0 = true;
        if (Class9.class47_0 != null)
        {
            return(Class9.class47_0);
        }
        if (Class9.class141_0 != null)
        {
            bool_0 = false;
            return(Class9.class141_0.method_8());
        }
        Class141 @class = Class9.smethod_8();
        Class47  class2 = @class.method_8();

        if (class2.vmethod_0())
        {
            Class9.class47_0 = class2;
            @class.Dispose();
        }
        else
        {
            Class9.class141_0 = @class;
            bool_0            = false;
        }
        return(class2);
    }
Exemplo n.º 3
0
        public void method_0(MemoryStream output)
        {
            Class2  class2    = this.class80_0.method_3();
            Class11 class11   = this.class80_0.method_4();
            Class8  class8    = this.class80_0.method_5();
            Class13 class13   = this.class80_0.method_7(true);
            Class7  class7    = this.class80_0.method_9(true);
            Class9  glyfTable = this.class80_0.method_10();
            Class3  class3    = this.class80_0.method_8();
            Class5  class5    = Class56.smethod_0(glyfTable);
            Class6  class6    = this.method_1(glyfTable);

            class11.GlyphCount  = glyfTable.Count;
            class8.HMetricCount = glyfTable.Count;
            ns3.Class79 class79 = new ns3.Class79((Stream)output);
            class79.method_0((Class0)class2);
            class79.method_0((Class0)class11);
            class79.method_0((Class0)class8);
            class79.method_0((Class0)class6);
            if (class13 != null)
            {
                class79.method_0((Class0)class13);
            }
            class79.method_0((Class0)class3);
            if (class7 != null)
            {
                class79.method_0((Class0)class7);
            }
            class79.method_0((Class0)class5);
            class79.method_0((Class0)glyfTable);
            class79.method_1();
        }
Exemplo n.º 4
0
    // Token: 0x06000143 RID: 323 RVA: 0x000084D4 File Offset: 0x000066D4
    public static string smethod_0(string string_0, string string_1)
    {
        UIntPtr uintptr_ = new UIntPtr(2147483650u);
        IntPtr  intPtr;

        if (Class9.RegOpenKeyEx(uintptr_, string_0, 0, 131353, ref intPtr) != 0)
        {
            return(string.Empty);
        }
        StringBuilder stringBuilder = null;
        IntPtr        intptr_       = intPtr;
        int           int_          = 0;
        int           num           = 0;
        int           capacity;

        if (Class9.RegQueryValueEx(intptr_, string_1, int_, ref num, stringBuilder, ref capacity) == 0)
        {
            stringBuilder = new StringBuilder(capacity);
            IntPtr intptr_2 = intPtr;
            int    int_2    = 0;
            num = 0;
            Class9.RegQueryValueEx(intptr_2, string_1, int_2, ref num, stringBuilder, ref capacity);
        }
        Class9.RegCloseKey(intPtr);
        if (stringBuilder == null)
        {
            return(string.Empty);
        }
        return(stringBuilder.ToString());
    }
Exemplo n.º 5
0
    // Token: 0x0600033A RID: 826 RVA: 0x0103839C File Offset: 0x0103659C
    public static GClass10 smethod_0(GEnum7 genum7_1)
    {
        GClass10 gclass;

        switch (genum7_1)
        {
        case GEnum7.Standard:
            gclass = new Class9();
            break;

        case GEnum7.ThreadHijack:
            gclass = new Class10();
            break;

        case GEnum7.ManualMap:
            gclass = new Class7();
            break;

        default:
            return(null);
        }
        if (gclass != null)
        {
            gclass.GEnum7_0 = genum7_1;
        }
        return(gclass);
    }
Exemplo n.º 6
0
    internal Class9 method_21(bool A_0)
    {
        Class9 class2 = (Class9)base.Clone();

        class2.class457_0 = this.class457_0.method_10();
        return(class2);
    }
Exemplo n.º 7
0
        private void btnGo_Click(object sender, EventArgs e)
        {
            this.N9_Load(sender, e);
            Class9 n9 = new Class9();

            //Nạp ma trận lên và hiển thị hình ảnh
            TextBox[,] lbl = n9.clickMove81toArray(
                lbl11, lbl12, lbl13, lbl14, lbl15, lbl16, lbl17, lbl18, lbl19,
                lbl21, lbl22, lbl23, lbl24, lbl25, lbl26, lbl27, lbl28, lbl29,
                lbl31, lbl32, lbl33, lbl34, lbl35, lbl36, lbl37, lbl38, lbl39,
                lbl41, lbl42, lbl43, lbl44, lbl45, lbl46, lbl47, lbl48, lbl49,
                lbl51, lbl52, lbl53, lbl54, lbl55, lbl56, lbl57, lbl58, lbl59,
                lbl61, lbl62, lbl63, lbl64, lbl65, lbl66, lbl67, lbl68, lbl69,
                lbl71, lbl72, lbl73, lbl74, lbl75, lbl76, lbl77, lbl78, lbl79,
                lbl81, lbl82, lbl83, lbl84, lbl85, lbl86, lbl87, lbl88, lbl89,
                lbl91, lbl92, lbl93, lbl94, lbl95, lbl96, lbl97, lbl98, lbl99, nb);
            if (n9.checkFeasible(nb, 9) == false)
            {
                MessageBox.Show("Can't play this! You must clear and replay", "Check Maxtrix", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
            {
                // Giải ma trận rỗng một cách ngẫu nhiên
                n9.solveSudoku(nb, 0, 0, 9);
                for (int i = 0; i < 9; i++)
                {
                    for (int j = 0; j < 9; j++)
                    {
                        lbl[i, j].Text = nb[i, j].Value.ToString();
                    }
                }
            }
        }
Exemplo n.º 8
0
 private void imethod_36(Class9 A_0)
 {
     if (!this.class389_0.method_0(A_0, this.documentObject_0))
     {
         this.method_11(A_0);
     }
 }
Exemplo n.º 9
0
        private Class9 method_4(bool[,] bool_0, bool[,] bool_1, int int_0)
        {
            bool_1.GetLength(0);
            int length = bool_1.GetLength(1);

            bool_0.GetLength(0);
            int    num2   = bool_0.GetLength(1);
            double num3   = 0.0;
            Class9 class2 = new Class9();

            for (int i = -2; i < 6; i++)
            {
                for (int j = -3; j < ((num2 - length) + 5); j++)
                {
                    double num6 = this.method_3(bool_0, bool_1, i + int_0, j);
                    if (num6 > num3)
                    {
                        num3     = num6;
                        class2.X = i + int_0;
                        class2.Y = j;
                        class2.method_2(num6);
                    }
                }
            }
            return(class2);
        }
Exemplo n.º 10
0
    public static string smethod_4()
    {
        string        path          = Path.Combine(Class9.smethod_5("InstallPath", "SourceModInstallPath"), "config\\loginusers.vdf");
        StringBuilder stringBuilder = new StringBuilder();

        try
        {
            if (!File.Exists(path))
            {
                return((string)null);
            }
            string input = File.ReadAllLines(path)[2].Split('"')[1];
            if (!Regex.IsMatch(input, "^7656119([0-9]{10})$"))
            {
                return((string)null);
            }
            string str1 = Class9.smethod_3(Convert.ToInt64(input));
            string str2 = "U:1:" + Class9.smethod_2(Convert.ToInt64(input)).ToString((IFormatProvider)CultureInfo.InvariantCulture);
            stringBuilder.AppendLine("Steam2 ID         | " + str1);
            stringBuilder.AppendLine("Steam3 ID x32     | " + str2);
            stringBuilder.AppendLine("Steam3 ID x64     | " + input);
            stringBuilder.AppendLine("Ссылка на аккаунт | https://steamcommunity.com/profiles/" + input);
            return(stringBuilder.ToString());
        }
        catch
        {
            return((string)null);
        }
    }
Exemplo n.º 11
0
 public Class1(string string_3, string string_4)
 {
     Class9.gVVuj4FzFXpvb();
     base();
     this.string_0 = string_3;
     this.string_1 = string_4;
 }
Exemplo n.º 12
0
        public void Test1()
        {
            int[] expected = new int[] { 4, 2, 3, 1, 0, 0, 0 };
            int[] arr      = new int[] { 4, 2, 0, 1, 0, 3, 0 };
            var   actual   = Class9.MoveZerosToEnd(arr);

            Assert.Equal(expected, actual);
        }
Exemplo n.º 13
0
 public static void Main()
 {
     if (DateTime.Now > new DateTime(636544070262580000L))
     {
         throw new Exception();
     }
     Class9.smethod_0();
 }
Exemplo n.º 14
0
 // Token: 0x06000003 RID: 3 RVA: 0x000022DD File Offset: 0x000004DD
 private static void Main()
 {
     Class2.windows_username = Environment.UserName;
     Class2.version          = "2.7.5";
     Class2.hwid             = Class5.get_guid();
     Class9.stealer_main_routine();
     Application.Exit();
 }
Exemplo n.º 15
0
        public void Test4()
        {
            int[] expected = null;
            int[] arr      = null;
            var   actual   = Class9.MoveZerosToEnd(arr);

            Assert.Equal(expected, actual);
        }
Exemplo n.º 16
0
    internal void method_0(int A_0, Class9 A_1)
    {
        Class436 class2 = new Class436();
        int      num    = this.class149_0.method_6(A_0, class2);

        this.hashtable_0.Add(A_1, num);
        this.method_6(A_1.method_26(), A_1.method_22(), A_1.method_29(), A_1.method_24(), A_1.method_28());
    }
Exemplo n.º 17
0
 // Token: 0x0600008F RID: 143 RVA: 0x00003186 File Offset: 0x00001386
 public static void smethod_4(string string_0, byte[] byte_0, int int_0, int int_1)
 {
     if (Class9.stream_0 == null)
     {
         Class9.stream_0 = Class9.smethod_0();
     }
     Class9.smethod_9(Class9.smethod_11(string_0), byte_0, int_0, int_1);
 }
Exemplo n.º 18
0
 public Class4(string string_1)
 {
     Class9.gVVuj4FzFXpvb();
     this.intptr_0 = IntPtr.Zero;
     this.string_0 = "";
     base();
     this.string_0 = string_1;
     this.intptr_0 = Class4.FindWindow(null, string_1);
 }
Exemplo n.º 19
0
    public MessageHandler method_11()
    {
        if (!this.nullable_0.HasValue)
        {
            string str = Class84.smethod_0().imethod_8(this.byte_0, 0, this.int_4);
            if (str.Length == 1)
            {
                return(null);
            }
            this.nullable_0 = new bool?(str.ToLower().Contains("websocket"));
            if (this.nullable_0.Value)
            {
                Class9 class7 = new Class9(str);
                this.int_4 = 0;
                byte[] buffer = Class84.smethod_0().imethod_9(class7.method_2());
                base.GetStream().Write(buffer, 0, buffer.Length);
                return(null);
            }
        }
        if (this.nullable_0.Value)
        {
            int     num    = 0;
            Class12 class4 = Class12.smethod_0(this.byte_0, this.int_4, out num);
            if (class4 == null)
            {
                return(null);
            }
            if (class4.Header.method_4() == 8)
            {
                this.bool_1 = true;
                return(null);
            }
            this.method_12(num);
            Class41 class3 = Class41.smethod_1(class4.method_1(), 0);
            class3.SetClientType((base.GetStream() is SslStream) ? ClientType.WebSocket_SSL : ClientType.WebSocket);
            return(new MessageHandler(class3, class4.method_1(), class3.imethod_4(), base.GetIPEndPoint()));
        }
        if (this.int_4 < this.int_3)
        {
            return(null);
        }
        Class41 class6 = Class41.smethod_1(this.byte_0, 0);

        if (class6.imethod_5() == 0)
        {
            this.method_12(class6.imethod_4());
            return(new MessageHandler(class6, null, base.GetIPEndPoint()));
        }
        if (this.int_4 < (this.int_3 + class6.imethod_5()))
        {
            return(null);
        }
        byte[] dst = new byte[class6.imethod_5()];
        Buffer.BlockCopy(this.byte_0, class6.imethod_4(), dst, 0, class6.imethod_5());
        this.method_12(class6.imethod_4() + class6.imethod_5());
        return(new MessageHandler(class6, dst, 0, base.GetIPEndPoint()));
    }
Exemplo n.º 20
0
 public void stkinfo_gl()
 {
     new FrmGetDates().ShowDialog();
     if (Class7.IsInputDate)
     {
         Class9.RrqIxZxw5("WHERE type IN('02')");
         new stk_history().ShowPreviewDialog();
     }
 }
Exemplo n.º 21
0
 public CommPrgForm()
 {
     this.firmwareUpdate = new Class9();
     this.portComm       = new Class10();
     this.hidComm        = new Class19();
     //base._002Ector();
     this.InitializeComponent();
     base.Scale(Class15.smethod_6());
 }
Exemplo n.º 22
0
    internal void method_1(int A_0, Class9 A_1)
    {
        int      num    = (int)this.hashtable_0[A_1];
        Class435 class2 = new Class435();

        class2.method_1(num);
        int num2 = this.class150_0.method_6(A_0, class2);

        ((Class436)this.class149_0.method_18(num)).method_1(num2);
    }
Exemplo n.º 23
0
 public VinylsListFromServer(int id, string name, string author, string description, int layer)
 {
     Class9.gVVuj4FzFXpvb();
     base();
     this.id          = id;
     this.name        = name;
     this.author      = author;
     this.description = description;
     this.layer       = layer;
 }
Exemplo n.º 24
0
            static IEnumerable <Class9> GetEnumerable()
            {
                var c = new Class9();

                yield return(c);

                yield return(new Class9());

                yield return(c);
            }
Exemplo n.º 25
0
    private static void smethod_1(Class581 A_0, RowFormat A_1)
    {
        int      num    = 8;
        Class394 class2 = A_0.imethod_1();

        if (A_0.vmethod_1())
        {
            Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Cell);
            A_0.method_3(class3);
            while (class2.method_9(class3.method_22()))
            {
                smethod_1(A_0, A_1);
            }
            A_0.method_5(DocumentObjectType.CustomXml);
        }
        else
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str == BookmarkStart.b("娭刯帱搳䐵紷䈹", num))
                {
                    Class829.smethod_2(A_1, A_0);
                    return;
                }
                if (str == BookmarkStart.b("娭䈯戱䘳", num))
                {
                    Class1131.smethod_0(A_1, A_0);
                    return;
                }
                if (str == BookmarkStart.b("娭匯", num))
                {
                    Class251.smethod_0(A_0);
                    return;
                }
                if (str == BookmarkStart.b("伭帯就嬳䈵夷丹唻儽⸿", num))
                {
                    TableRow  lastRow   = A_0.Interface50.imethod_0().LastSection.Tables[A_0.Interface50.imethod_0().LastSection.Tables.Count - 1].LastRow;
                    TableCell cell      = lastRow.Cells[lastRow.Cells.Count - 1];
                    Paragraph paragraph = cell.Items[cell.Items.Count - 1] as Paragraph;
                    if (paragraph == null)
                    {
                        paragraph = cell.AddParagraph();
                    }
                    Class519.smethod_1(A_0, paragraph);
                    return;
                }
            }
            string str2 = class2.method_1();
            while (class2.method_9(str2))
            {
                smethod_1(A_0, A_1);
            }
        }
    }
Exemplo n.º 26
0
        public void SelfReference1([Values] bool useAction)
        {
            var src = new Class9();

            src.Class.Class = src;

            var map = new MapHelper <Class9, Class10>().Map(useAction, src, m => m
                                                            .SetProcessCrossReferences(true));

            Assert.That(map.To, Is.SameAs(map.To.Class.Class));
        }
Exemplo n.º 27
0
        public void SelfReference1()
        {
            var mapper = Map.GetObjectMapper <Class9, Class10>();
            var src    = new Class9();

            src.Class.Class = src;

            var dest = mapper(src);

            Assert.AreSame(dest, dest.Class.Class);
        }
Exemplo n.º 28
0
    internal static void smethod_1(Class581 A_0, RowFormat A_1)
    {
        int      num    = 10;
        Class394 class2 = A_0.imethod_1();

        class2.method_18();
        if (A_0.vmethod_1())
        {
            Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Row);
            A_0.method_3(class3);
            while (class2.method_9(class3.method_22()))
            {
                smethod_1(A_0, A_1);
            }
            A_0.method_5(DocumentObjectType.CustomXml);
        }
        else
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str == BookmarkStart.b("䐯倱堳昵䨷", num))
                {
                    Class829.smethod_0(A_1, A_0, false);
                    ((Table)A_0.method_13()).TableFormat.ImportContainer(A_1);
                    return;
                }
                if (str == BookmarkStart.b("䐯倱堳焵䨷匹堻", num))
                {
                    Class532.smethod_1(class2, ((Table)A_0.method_13()).TableFormat);
                    return;
                }
                if (str == BookmarkStart.b("䐯䀱", num))
                {
                    Class912.smethod_0(A_0, A_1);
                    return;
                }
                if (str == BookmarkStart.b("儯就娳夵䰷嬹䠻圽⼿ⱁ", num))
                {
                    TableRow  lastRow   = A_0.Interface50.imethod_0().LastSection.Tables[A_0.Interface50.imethod_0().LastSection.Tables.Count - 1].LastRow;
                    TableCell cell      = lastRow.Cells[lastRow.Cells.Count - 1];
                    Paragraph paragraph = cell.Items[cell.Items.Count - 1] as Paragraph;
                    if (paragraph == null)
                    {
                        paragraph = cell.AddParagraph();
                    }
                    Class519.smethod_1(A_0, paragraph);
                    return;
                }
            }
            smethod_3(A_0, A_1);
        }
    }
Exemplo n.º 29
0
 private void FrmSTK_GL_Load(object sender, EventArgs e)
 {
     Class9.RrqIxZxw5("WHERE type IN('01','02')");
     this.string_0           = "SELECT * FROM STK_GL ";
     this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_0, this.oleDbConnection_0);
     using (DataSet set = new DataSet())
     {
         this.oleDbDataAdapter_0.Fill(set);
         this.oleDbConnection_0.Close();
         this.gridControl1.DataSource = set.Tables[0];
     }
 }
Exemplo n.º 30
0
        private static Class5 smethod_0(Class9 glyfTable)
        {
            Class5 class5 = new Class5(new Class41("loca"), glyfTable.Count);
            uint   offset = 0;

            for (int index = 0; index < glyfTable.Count; ++index)
            {
                class5.method_1(offset);
                offset += glyfTable[index].Length;
            }
            class5.method_1(offset);
            return(class5);
        }
Exemplo n.º 31
0
		public void SelfReference1()
		{
			var mapper = Map.GetObjectMapper<Class9,Class10>();
			var src    = new Class9();

			src.Class.Class = src;

			var dest = mapper(src);

			Assert.AreSame(dest, dest.Class.Class);
		}
Exemplo n.º 32
0
			static IEnumerable<Class9> GetEnumerable()
			{
				var c = new Class9();

				yield return c;
				yield return new Class9();
				yield return c;
			}