/// <summary>プロジェクトデータをファイルから読み込む。</summary>
		public static WaveguideDesignerProjectData ReadProjectFile(string filename)
			{
			WaveguideDesignerProjectData res=null;
			XmlSerializer ser = null;
			try
				{
				ser = new XmlSerializer( typeof( WaveguideDesignerProjectData ) );
				}
			catch { }
			StreamReader sr = new StreamReader( filename, new UTF8Encoding( false ) );
			res = (WaveguideDesignerProjectData)ser?.Deserialize( sr );
			return res;
			}