Esempio n. 1
0
                private static void WriteDir(Phone.IO.DirectoryPointer po, int indent)
                {
                    try
                    {
                        var d = po.GetDirectory();

                        try
                        {
                            var files = d.GetDirectories();
                            foreach (var item in files)
                            {
                                System.Diagnostics.Debug.WriteLine(new string('-', indent) + "[DIR]" + item.FullDirectoryName);
                                WriteDir(item, indent + 1);
                            }
                        }
                        catch (Exception) { }

                        try
                        {
                            var files = d.GetFiles();
                            foreach (var item in files)
                            {
                                System.Diagnostics.Debug.WriteLine(new string('-', indent) + item.FullFileName);
                            }
                        }
                        catch (Exception) { }
                    }
                    catch (Exception) { }
                }
Esempio n. 2
0
 public IETab(Phone.TaskManager.WindowPointer windowHwnd)
 {
     this.TabPointer = windowHwnd;
 }