/// <exception cref="IOException"> /// Could not load the project. /// </exception> /// <exception cref="InvalidDataException"> /// The save file is corrupt and could not load. /// </exception> /// <exception cref="ArgumentException"> /// <paramref name="fileName"/> is empty string. /// </exception> public override void Load(string fileName) { if (CanClose()) { visualizer.Clear(); isDirty = false; base.Load(fileName); isDirty = false; isReadonly = false; if (StateChanged != null) { StateChanged(this, EventArgs.Empty); } visualizer.LoadingFinished(); } }