Beispiel #1
0
        public MainWindow(int t)
        {
            InitializeComponent();

            Initialize();

            mFs = MyFileSystem.Instance();
            mFs.RegisterWindow(this);

            UpdateShowGrid();
            UpdateTreeView();

            this.tbDir.Text = mFs.currentDir.getFileLoc();

            window_cnt = t;
        }
Beispiel #2
0
        public MainWindow()
        {
            InitializeComponent();

            Initialize();

            if (!Deserialize())
            {
                mFs = MyFileSystem.Instance();
                mFs.EnterNextDir("user");
            }
            mFs.InitRegister();
            mFs.RegisterWindow(this);

            UpdateShowGrid();
            UpdateTreeView();

            this.tbDir.Text = mFs.currentDir.getFileLoc();
            window_cnt      = ++window_total;
        }