string key = ConfigFile.Instance.key1 + "+" + ConfigFile.Instance.key2;
KeysConverter conv = new KeysConverter();
Keys keys = (Keys)conv.ConvertFromString(key);
hotkey.Shortcut = (System.Windows.Forms.Shortcut)keys;
'프로그래밍 > C#' 카테고리의 다른 글
[C#] 관리자 권한으로 실행 설정 (1) | 2012.04.02 |
---|---|
[C#] 인터넷 연결 유무 확인 (0) | 2012.03.28 |
[C#] Percent Encoding (0) | 2012.03.28 |