summaryrefslogtreecommitdiff
path: root/product/desktop.ui/views/SingleStockTab.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'product/desktop.ui/views/SingleStockTab.xaml.cs')
-rw-r--r--product/desktop.ui/views/SingleStockTab.xaml.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/product/desktop.ui/views/SingleStockTab.xaml.cs b/product/desktop.ui/views/SingleStockTab.xaml.cs
index 709ba8b..125a4e5 100644
--- a/product/desktop.ui/views/SingleStockTab.xaml.cs
+++ b/product/desktop.ui/views/SingleStockTab.xaml.cs
@@ -2,11 +2,16 @@
namespace solidware.financials.windows.ui.views
{
- public partial class SingleStockTab : View<SingleStockPresenter>
+ public partial class SingleStockTab : Tab<SingleStockPresenter>
{
public SingleStockTab()
{
InitializeComponent();
}
+
+ public void bind_to(SingleStockPresenter presenter)
+ {
+ DataContext = presenter;
+ }
}
} \ No newline at end of file