/// <summary>プロジェクトデータをファイルに書き込む。</summary>
		public void WriteProjectFile(string filename)
			{
			XmlSerializer ser = null;
			try
				{
				ser = new XmlSerializer( typeof( WaveguideDesignerProjectData ) );
				}
			catch
				{ }
			StreamWriter sw = new StreamWriter( filename, false, new UTF8Encoding( false ) );
			ser?.Serialize( sw, this );
			sw.Close();
			}