Beispiel #1
0
        private void OnAddClick(object sender, RoutedEventArgs e)
        {
            AddServerInfo AddServerInfo = new AddServerInfo();

            AddServerInfo.RefreshEvent += AddServerInfoRefreshEvent;

            AddServerInfo.ShowDialog();
        }
Beispiel #2
0
        private void OnLookClick(object sender, RoutedEventArgs e)
        {
            System.Windows.Controls.Button Btn = sender as System.Windows.Controls.Button;
            object obj = Btn.Tag;

            ServerInfo ServerInfo = ServerInfoXmlUtils.GetValById(obj.ToString());

            AddServerInfo AddServerInfo = new AddServerInfo(ServerInfo, true);

            AddServerInfo.ShowDialog();
        }