OsDevKit.UI.Editor.Editor_Load C# (CSharp) Method

Editor_Load() private method

private Editor_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void Editor_Load(object sender, EventArgs e)
        {
            if (!String.IsNullOrEmpty(FileName))
            {
                try {
                    fastColoredTextBox1.Text = File.ReadAllText(Path.Combine(Global.CurrentProjectFilePath, "files", FileName));
                    this.Text = "Editor - " + FileName;
                }
                catch(Exception ee)
                {

                }
            }
        }