Example #1
0
        private void Display(FileLink link)
        {
            var tab = scriptTabControl.AddTab(link);

            string text = string.Empty;

            if (link.Exists)
            {
                text = link.ReadAllText();
            }

            tab.ShowText(text);
            tab.IsDirty = false;
        }