개정판 c206d293
- final service
: font 추가
Change-Id: If1a85790055b42b90f397f4e2054acc320c1ed30
KCOM/Events/Event_KeyEvent.cs | ||
---|---|---|
37 | 37 |
{ |
38 | 38 |
if (ViewerDataModel.Instance.IsPressCtrl && ViewerDataModel.Instance.IsPressShift) |
39 | 39 |
{ |
40 |
if(!ViewerDataModel.Instance.IsAdmin) |
|
40 |
if (!ViewerDataModel.Instance.IsAdmin)
|
|
41 | 41 |
{ |
42 |
ViewerDataModel.Instance.IsAdmin = true; |
|
42 |
EventHandler<WindowClosedEventArgs> closeEventHandler = (snd, evt) => |
|
43 |
{ |
|
44 |
if (evt.PromptResult == "markus01#") |
|
45 |
{ |
|
46 |
ViewerDataModel.Instance.IsAdmin = true; |
|
47 |
} |
|
48 |
}; |
|
49 |
|
|
50 |
var parameters = new DialogParameters() |
|
51 |
{ |
|
52 |
ContentStyle = (Style)this.FindResource("RadPasswordPromptStyle"), |
|
53 |
Content = "Enter password: ", |
|
54 |
Closed = closeEventHandler |
|
55 |
}; |
|
56 |
|
|
57 |
RadWindow.Prompt(parameters); |
|
43 | 58 |
} |
44 | 59 |
else |
45 | 60 |
{ |
내보내기 Unified diff