Exemple #1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            ServersList servers = new ServersList(Group);

            this.Content = servers;
            mainFrame.NavigationService.Navigate(servers);
        }
Exemple #2
0
        void init()
        {
            InitializeComponent();
            SetList();
            SetAllServersToGroup();
            ServersList servers = new ServersList(CheckUnasigned());

            servers.DataContext  = this;
            serversFrame.Content = servers;
        }
Exemple #3
0
        private void selectItem(object sender, RoutedEventArgs e)
        {
            var selectedItem = clientsList.SelectedItem as GroupModel;

            if (selectedItem == null)
            {
                return;
            }
            var servers = new ServersList(selectedItem);

            servers.DataContext  = this;
            serversFrame.Content = servers;
        }