Exemplo n.º 1
0
 public static c00011c m0000a3()
 {
     c00011c cc = new c00011c(m00006b());
     cc.m0000a6(null);
     c000072.m0000bf(cc.f000019);
     f000092.AddLast(cc);
     return cc;
 }
Exemplo n.º 2
0
 private static void m000104(c00011c p0)
 {
     if (p0.m00008a().Count == 0)
     {
         c000070.m0000a9("Directory does not exist.", "Save Error");
     }
     else if (p0.f000007 == "Computer")
     {
         c000070.m0000a9("Can't save file - not a valid location.", "Save Error");
     }
     else
     {
         string path = p0.m00008a()[0];
         if (System.IO.File.Exists(path))
         {
             if ((System.IO.File.GetAttributes(path) & FileAttributes.ReadOnly) == FileAttributes.ReadOnly)
             {
                 c000070.m0000a9(path + " is read only.  Can't save file.", "Save Error");
             }
             else
             {
                 p0.m0000b1();
                 c000148 c = c000070.m0000a4();
                 c000070.m0000a6(c);
                 c.m000355(true);
                 c.m000375(10f);
                 c.m000376(6f);
                 c.m000080(c000091.m00012a(p0.m00008a()[0]) + " already exists.  Overwrite?");
                 c.f0008a6 = p0;
                 c.m0003aa(new delegate06f(p0.f000059.Invoke));
             }
         }
         else if (Directory.Exists(path))
         {
             p0.m000080(path);
             if (p0.f00089d != null)
             {
                 p0.f00089d.m0003b9("");
             }
         }
         else
         {
             p0.m0003af();
             p0.m0000b1();
         }
     }
 }