コード例 #1
0
 /// <summary>
 /// Write fixed file information to a binary stream.
 /// </summary>
 /// <param name="w">Binary stream.</param>
 public void Write(BinaryWriter w)
 {
     w.Write(ResourceUtil.GetBytes <Kernel32.VS_FIXEDFILEINFO>(_fixedfileinfo));
     ResourceUtil.PadToDWORD(w);
 }
コード例 #2
0
ファイル: Accelerator.cs プロジェクト: nogu3ira/essence-udk
 /// <summary>
 /// String representation of the accelerator.
 /// </summary>
 /// <returns>String representation of the accelerator.</returns>
 public override string ToString()
 {
     return(string.Format("{0}, {1}, {2}",
                          Key, Command, ResourceUtil.FlagsToString <User32.AcceleratorVirtualKey>(
                              _accel.fVirt).Replace(" |", ",")));
 }