Exercise 2: Create Dialog Box: Difference between revisions

Content added Content deleted
m (Protected "Exercise 2: Create Dialog Box" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite)))
No edit summary
Line 43: Line 43:
:Insert “BCE.Data.DBSetting dbSetting” in the constructor.
:Insert “BCE.Data.DBSetting dbSetting” in the constructor.


[[File:201a.Code.MenuItem.8.png|right|550px]]
[[File:201a.Code.MenuItem.8.png|550px]]
<syntaxhighlight lang="csharp" highlight="1,4">
<syntaxhighlight lang="csharp" highlight="1,4">


Line 63: Line 63:
* Insert “Close()” in the click event.
* Insert “Close()” in the click event.


[[File:201a.Code.FormProperties.10.png|right|580px]]
[[File:201a.Code.FormProperties.10.png|580px]]
<syntaxhighlight lang="csharp" highlight="5-8, 11-14">
<syntaxhighlight lang="csharp" highlight="5-8, 11-14">
public FormAbout(BCE.Data.DBSetting dbSetting)
public FormAbout(BCE.Data.DBSetting dbSetting)