This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Controls.Primitives; | |
using System.Windows.Data; | |
namespace WpfApplication1 | |
{ | |
/// <summary> | |
/// ドロップ ダウン メニューを表示する為のボタン コントロール クラスです。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class clazz = Application.class; | |
Method method = clazz.getDeclaredMethod("validate", String.class); | |
method.setAccessible(true); | |
method.invoke(null, "1w"); | |
Field field = clazz.getSuperclass().getDeclaredField("validation"); | |
field.setAccessible(true); | |
Validation v = (Validation) field.get(null); | |
assertEquals(1, v.errorsMap().size()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export module MyDialog { | |
export interface Button { | |
text: string, | |
method(): void | |
} | |
export function confirm(title: string, buttons: Button[]): void { | |
let button_set: any = {}; | |
for (let button of buttons) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Happy Hacking Keyboard Professional JP (JANSI)" | |
}, | |
[ | |
{ | |
"y": 0.3, | |
"c": "#a2a8b8", | |
"a": 6, | |
"f": 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Happy Hacking Keyboard Professional JP" | |
}, | |
[ | |
{ | |
"y": 0.3, | |
"c": "#a2a8b8", | |
"a": 6, | |
"f": 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"backcolor": "#ffffff", | |
"name": "Happy Hacking Keyboard Professional/Professional2" | |
}, | |
[ | |
{ | |
"y": 0.3, | |
"c": "#a2a8b8", | |
"a": 6, |
NewerOlder