예제 #1
0
 public static void smethod_0()
 {
     if (!Directory.Exists(Environment.CurrentDirectory + "\\data"))
     {
         Directory.CreateDirectory(Environment.CurrentDirectory + "\\data");
     }
     if (File.Exists("unloadHelper"))
     {
         Class3 @class = new Class3("unloadHelper");
         int i = @class.method_0();
         int num = 0;
         while (i > num)
         {
             string path = Environment.CurrentDirectory + "\\data\\plugins\\" + @class.method_1();
             File.Delete(path);
             num++;
         }
         File.Delete("unloadHelper");
     }
     Class1.class11_0 = new Class11();
     Class1.class7_0 = new Class7();
     Class9.smethod_0();
 }
 private void openFileDialog_0_FileOk(object sender, CancelEventArgs e)
 {
     if (!(this.openFileDialog_0.FileName == ""))
     {
         Class3 @class = new Class3(this.openFileDialog_0.FileName);
         int num = @class.method_0();
         for (int i = 0; i < num; i++)
         {
             Class8 class2 = new Class8();
             class2.byte_0 = Convert.FromBase64String(@class.method_1());
             class2.string_0 = @class.method_1();
             class2.int_0 = @class.method_0();
             class2.bool_0 = (@class.method_1() == "1");
             Class1.class7_0.method_0(class2);
         }
         this.method_0();
     }
 }
예제 #3
0
 private void openFileDialog_0_FileOk(object sender, CancelEventArgs e)
 {
     if (this.openFileDialog_0.FileName != "")
     {
         Class3 class2 = new Class3(this.openFileDialog_0.FileName);
         int num = class2.method_0();
         for (int i = 0; i < num; i++)
         {
             Class8 class3 = new Class8 {
                 byte_0 = Convert.FromBase64String(class2.method_1()),
                 string_0 = class2.method_1(),
                 int_0 = class2.method_0(),
                 bool_0 = class2.method_1() == "1"
             };
             Class1.class7_0.method_0(class3);
         }
         this.method_0();
     }
 }