AmandaInterface.FileManagerTabControl.AddNewFile C# (CSharp) Method

AddNewFile() public method

public AddNewFile ( ) : void
return void
        public void AddNewFile()
        {
            // Add a new FileEditorTab (which has a FastColoredTextbox inside it)
            FileEditorTab newPage = new FileEditorTab();
            newPage.Padding = new System.Windows.Forms.Padding(3);

            this.TabPages.Add(newPage);
            SelectedIndex = TabCount - 1;
        }