Ejemplo n.º 1
0
 public Tab_Buttons(FileManager RootFM, FileManager.File AttachedFile, TabSidebar TS)
 {
     this.TS = TS;
     this.FM = RootFM;
     this.AttachedFile = AttachedFile;
     this.tab = newTab();
     this.close = newClosing();
     tab.Text = AttachedFile.name;
 }
Ejemplo n.º 2
0
        public FileManager(MainForm f, TabSidebar TS, System.Windows.Forms.RichTextBox rtx)
        {
            this.mainform = f;
            this.rtx = rtx;

            this.tabSidebar = TS;
            tabSidebar.Icon_Click_Thrower += IconClicked;

            this.Tabs = new List<File>();
            Focus = 0;
            NewFile();            
        }