Esempio n. 1
0
        public static void smethod_6(string string_0, string string_1)
        {
            string s1 = null;
            string s2 = null;

            GClass5.WritePrivateProfileStringW(ref string_1, ref s1, ref s2, ref string_0);
        }
Esempio n. 2
0
        public static string smethod_0(string string_0, string string_1, string string_2, string string_3)
        {
            string s = Strings.Space(1024);
            int    i = GClass5.GetPrivateProfileStringW(ref string_1, ref string_2, ref string_3, ref s, s.Length, ref string_0);

            if (i > 0)
            {
                return(s.Substring(0, i));
            }
            return("");
        }
Esempio n. 3
0
        private void method_14(object sender, EventArgs e)
        {
            buttonX_0.Enabled = false;
            if (gclass43_0 == null)
            {
                goto label_1;
            }
            if (gclass43_0.get_State() == 0)
            {
                goto label_1;
            }
label_1:
            string s = vmethod_44().SelectedItem.ToString();

            if (Operators.CompareString(s, "INTERNATIONAL", false) != 0)
            {
                goto label_2;
            }
            string_0 = "INT";
            goto label_3;
label_2:
            if (Operators.CompareString(s, "EUROPE", false) == 0)
            {
                string_0 = "EU";
            }
            else if (Operators.CompareString(s, "RUSSIA", false) == 0)
            {
                string_0 = "RU";
            }
            else if (Operators.CompareString(s, "INDONESIA", false) == 0)
            {
                string_0 = "IND";
            }
            else if (Operators.CompareString(s, "JAPAN", false) == 0)
            {
                string_0 = "JAO";
            }
label_3:
            if (vmethod_42().Checked)
            {
                GClass5.smethod_4(Login.string_1, "Credentials", "Username", vmethod_56().Text);
                GClass5.smethod_4(Login.string_1, "Credentials", "Password", vmethod_54().Text);
                GClass5.smethod_4(Login.string_1, "Credentials", "Region", vmethod_44().SelectedItem.ToString());
                GClass5.smethod_4(Login.string_1, "Credentials", "Save Credentials", Conversions.ToString(vmethod_42().Checked));
            }
            Thread thread = new Thread(new ThreadStart(method_2));

            thread.IsBackground = true;
            thread.Start();
            vmethod_36().Enabled = true;
        }
Esempio n. 4
0
 private void method_5(object sender, EventArgs e)
 {
     GClass14.GClass19 gclass19 = Enumerable.FirstOrDefault <GClass14.GClass19>(gclass14_0.list_4, new Func <GClass14.GClass19, bool>(method_9));
     if (gclass19 != null)
     {
         gclass14_0.list_4.Remove(gclass19);
         GClass5.smethod_6(string_1, Conversions.ToString(vmethod_10().SelectedItem));
         vmethod_10().Items.Remove(RuntimeHelpers.GetObjectValue(vmethod_10().SelectedItem));
         if (vmethod_10().Items.Count > 0)
         {
             vmethod_10().SelectedIndex = 0;
         }
     }
 }
Esempio n. 5
0
        private void method_3(object sender, EventArgs e)
        {
            string s = GClass5.smethod_2(string_1, vmethod_20().Text);

            GClass14.GClass19 gclass19_1 = Enumerable.FirstOrDefault <GClass14.GClass19>(gclass14_0.list_4, new Func <GClass14.GClass19, bool>(method_7));
            if ((gclass19_1 == null) && (Operators.CompareString(s, "", false) == 0))
            {
                GClass14.GClass19 gclass19_2 = new GClass14.GClass19();
                long l = gclass22_0.method_3(checked ((int)bot_0.gclass26_0.long_46), 2);
                gclass19_2.method_1(vmethod_20().Text);
                gclass19_2.method_3(l);
                gclass19_2.method_5(Conversions.ToLong(vmethod_24().Text));
                gclass19_2.method_7(vmethod_22().Text);
                gclass14_0.list_4.Add(gclass19_2);
                GClass5.smethod_4(string_1, vmethod_20().Text, "Id", Conversions.ToString(l));
                GClass5.smethod_4(string_1, vmethod_20().Text, "X", vmethod_24().Text);
                GClass5.smethod_4(string_1, vmethod_20().Text, "Y", vmethod_22().Text + "\r\n");
                vmethod_10().Items.Add(vmethod_20().Text);
            }
        }
Esempio n. 6
0
 private void method_12()
 {
     try
     {
         if (!File.Exists(Login.string_1))
         {
             GClass5.smethod_4(Login.string_1, "Credentials", "Username", "");
             GClass5.smethod_4(Login.string_1, "Credentials", "Password", "");
             GClass5.smethod_4(Login.string_1, "Credentials", "Region", "INTERNATIONAL");
             GClass5.smethod_4(Login.string_1, "Credentials", "Save Credentials", "False");
         }
         vmethod_56().Text    = GClass5.smethod_1(Login.string_1, "Credentials", "Username");
         vmethod_54().Text    = GClass5.smethod_1(Login.string_1, "Credentials", "Password");
         vmethod_44().Text    = GClass5.smethod_1(Login.string_1, "Credentials", "Region");
         vmethod_42().Checked = Conversions.ToBoolean(GClass5.smethod_1(Login.string_1, "Credentials", "Save Credentials"));
     }
     catch (Exception e)
     {
         ProjectData.SetProjectError(e);
         Interaction.MsgBox(e.Message, MsgBoxStyle.ApplicationModal, null);
         ProjectData.ClearProjectError();
     }
 }
Esempio n. 7
0
        public static void smethod_5(string string_0, string string_1, string string_2)
        {
            string s = null;

            GClass5.WritePrivateProfileStringW(ref string_1, ref string_2, ref s, ref string_0);
        }
Esempio n. 8
0
 public static void smethod_4(string string_0, string string_1, string string_2, string string_3)
 {
     GClass5.WritePrivateProfileStringW(ref string_1, ref string_2, ref string_3, ref string_0);
 }
Esempio n. 9
0
 public static string smethod_3(string string_0)
 {
     return(GClass5.smethod_0(string_0, null, null, ""));
 }
Esempio n. 10
0
 public static string smethod_2(string string_0, string string_1)
 {
     return(GClass5.smethod_0(string_0, string_1, null, ""));
 }
Esempio n. 11
0
 public static string smethod_1(string string_0, string string_1, string string_2)
 {
     return(GClass5.smethod_0(string_0, string_1, string_2, ""));
 }