AmandaInterface.FileEditorTab.FileEditorTab C# (CSharp) Метод

FileEditorTab() публичный Метод

public FileEditorTab ( string content ) : System
content string
Результат System
        public FileEditorTab(string content)
        {
            Text = "Untitled";

            UseVisualStyleBackColor = true;
            textBox = new FastColoredTextBox();
            textBox.AllowDrop = true;
            textBox.KeyDown += _KeyDown;
            textBox.TextChanged += _TextChanged;
            textBox.AutoIndentNeeded += _AutoIndentNeeded;
            textBox.Dock = DockStyle.Fill;
            textBox.Text = content;

            autocomplete = new AutocompleteMenu(textBox);
            autocomplete.MinFragmentLength = 1;
            autocomplete.Items.MaximumSize = new System.Drawing.Size(200, 300);
            autocomplete.Items.Width = 400;

            amandaTagParser = new AmandaTagParser();

            saveDialog.Filter = "Amanda File|*.ama";

            Controls.Add(textBox);
        }

Same methods

FileEditorTab::FileEditorTab ( ) : System