forked from amkovkov/GranuSightSoftware2
refactor: MainWindow View and ViewModel
This commit is contained in:
@@ -8,13 +8,13 @@ public partial class MainWindow : Window
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
#if DEBUG
|
||||
this.AttachDevTools();
|
||||
#endif
|
||||
// #if DEBUG
|
||||
// this.AttachDevTools();
|
||||
// #endif
|
||||
}
|
||||
|
||||
public void SetControl(UserControl control)
|
||||
public void SetControl(Control control)
|
||||
{
|
||||
MainContent.Content = control;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user