Interaction logic for ReferenceCopierControl.xaml
Inheritance: System.Windows.Controls.UserControl
Exemplo n.º 1
0
        private void HandleCopyProjectLinks(object sender, EventArgs e)
        {
            if (control == null)
            {
                control = new ReferenceCopierControl();
                this.AddToTab(PluginManager.LeftTab, control, "Reference Sharing");

                var viewModel = new ReferenceCopierViewModel();
                control.DataContext = viewModel;
            }
            else
            {
                AddTab();
            }
        }
Exemplo n.º 2
0
        private void HandleCopyProjectLinks(object sender, EventArgs e)
        {
            if (control == null)
            {
                control = new ReferenceCopierControl();
                this.AddToTab(PluginManager.LeftTab, control, "Reference Sharing");

                var viewModel = new ReferenceCopierViewModel();
                control.DataContext = viewModel;
            }
            else
            {
                AddTab();
            }

            
        }