ObjectEditor.frmMain.LoadFileName C# (CSharp) Method

LoadFileName() private method

private LoadFileName ( string FileName ) : void
FileName string
return void
        private void LoadFileName(string FileName)
        {
            if (LoadedFilenames.Contains(FileName))
            {
                Message.Show(FileName + " is already loaded.", MessageBoxButtons.OK, MessageBoxIcon.Error, true);
                return;
            }
            if (LoadProtoList(FileName))
            {
                LoadedFilenames.Add(FileName);
                changeStatus("Loaded " + FileName);
            }
        }