コード例 #1
0
 public void CreateMenu()
 {
     using (MenuHandle menu = ResourceMethods.CreateMenu())
     {
         menu.IsInvalid.Should().BeFalse();
     }
 }
コード例 #2
0
 public void AppendMenu()
 {
     using (MenuHandle menu = ResourceMethods.CreateMenu())
     {
         menu.IsInvalid.Should().BeFalse();
         ResourceMethods.AppendMenu(menu, "&File", 1000);
     }
 }