Initialized ViewModel
This commit is contained in:
parent
efbc9f91db
commit
d3327089ff
3 changed files with 17 additions and 5 deletions
|
|
@ -33,11 +33,9 @@ namespace ImageCatalog
|
|||
{
|
||||
_service = testService;
|
||||
|
||||
Model = new DataModel();
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
bindingSource1.DataSource = Model;
|
||||
|
||||
|
||||
BindControls();
|
||||
|
||||
|
|
@ -199,6 +197,7 @@ namespace ImageCatalog
|
|||
|
||||
private void Form1_Load(object sender, EventArgs e)
|
||||
{
|
||||
bindingSource1.DataSource = Model;
|
||||
Application.EnableVisualStyles();
|
||||
setDefaults();
|
||||
/* TODO ERROR: Skipped IfDirectiveTrivia */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue