コード例 #1
0
        public static Xlsx Load(string filename)
        {
            Xlsx x = new Xlsx(new DirAccess(filename));

            x.Load();

#if false
            try {
            } catch (Exception e) {
                if (x.Error == null)
                {
                    x.Error = "Generic loading error";
                }
                x.Error   += e;
                x.Workbook = null;
            }
#endif

            return(x);
        }
コード例 #2
0
ファイル: xlsx.cs プロジェクト: emtees/old-code
		public static Xlsx Load (string filename)
		{
			Xlsx x = new Xlsx (new DirAccess (filename));

			x.Load ();

#if false
			try {
			} catch (Exception e){
				if (x.Error == null)
					x.Error = "Generic loading error";
				x.Error += e;
				x.Workbook = null;
			}
#endif
	
			return x;
		}