Ejemplo n.º 1
0
 public MainForm()
 {
     InitializeComponent();
     fileManager = new FileManager(this, this.tabSidebar, this.RTX);
     editBox.AssignRTX(this.RTX, this);
     this.DoubleBuffered = true;
 }
Ejemplo n.º 2
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.º 3
0
 public File(string name, bool iffocsed, string filepath, FileManager ParentFM)
 {
     this.ParentFM = ParentFM;
     this.ifEdited = false;
     this.ifFocused = iffocsed;
     this.name = name;
     this.filePath = filepath;
     this.buttons = new TabSidebar.Tab_Buttons(ParentFM, this, this.ParentFM.tabSidebar);
     if (String.IsNullOrEmpty(filePath)) this.content = "";
     else content = rtfReader(filePath);                
 }