Beispiel #1
0
        public FileManager()
        {
            FilePanel filePanel = new FilePanel();     //расположение первой панелей

            filePanel.Top  = 0;
            filePanel.Left = 0;
            this.panels.Add(filePanel);

            filePanel      = new FilePanel(); // расположение второй панели
            filePanel.Top  = 0;
            filePanel.Left = 80;
            this.panels.Add(filePanel);

            activePanelIndex = 0;     //выбор активного окна

            this.panels[this.activePanelIndex].Active = true;
            KeyPress += this.panels[this.activePanelIndex].KeyboardProcessing;

            foreach (FilePanel fp in panels)
            {
                fp.Show();
            }

            this.ShowKeys();
        }
Beispiel #2
0
        public FileManager()
        {
            FilePanel filePanel = new FilePanel();

            filePanel.Top  = 0;
            filePanel.Left = 0;
            this.panels.Add(filePanel);

            filePanel      = new FilePanel();
            filePanel.Top  = FilePanel.PANEL_HEIGHT;
            filePanel.Left = 0;
            this.panels.Add(filePanel);

            activePanelIndex = 0;

            this.panels[this.activePanelIndex].Active = true;
            KeyPress += this.panels[this.activePanelIndex].KeyboardProcessing;

            foreach (FilePanel fp in panels)
            {
                fp.Show();
            }

            this.ShowKeys();
        }
Beispiel #3
0
        public FileManager()
        {
            FilePanel filePanel = new FilePanel();

            filePanel.Top  = 0;
            filePanel.Left = 0;
            this.panels.Add(filePanel);

            filePanel      = new FilePanel();
            filePanel.Top  = FilePanel.panel_height;
            filePanel.Left = 0;
            this.panels.Add(filePanel);

            activePanelIndex = 0;

            panels[activePanelIndex].Active = true;
            KeyPress += panels[activePanelIndex].KeyboardProcessing;

            foreach (FilePanel fp in panels)
            {
                fp.Show();
            }

            ShowKeys();
        }
Beispiel #4
0
        public FileManager()
        {
            FilePanel filePanel = new FilePanel();
            filePanel.Top = 0;
            filePanel.Left = 0;
            this.panels.Add(filePanel);

            filePanel = new FilePanel();
            filePanel.Top = FilePanel.PANEL_HEIGHT;
            filePanel.Left = 0;
            this.panels.Add(filePanel);

            activePanelIndex = 0;

            this.panels[this.activePanelIndex].Active = true;
            KeyPress += this.panels[this.activePanelIndex].KeyboardProcessing;

            foreach (FilePanel fp in panels)
            {
                fp.Show();
            }

            this.ShowKeys();
        }