コード例 #1
0
        private void node_Selected(object sender, RoutedEventArgs e)
        {
            if (sender is DbTreeNodeUI node)
            {
                //tree.chdir(node.Path);
                tree.chdir($@"\{ServerName.Path}");
            }

            e.Handled = true;
        }
コード例 #2
0
        private void node_Selected(object sender, RoutedEventArgs e)
        {
            if (sender is DbTreeNodeUI node)
            {
                //tree.chdir(node.Path);
                DatabaseName dname = TableName.DatabaseName;
                ServerName   sname = dname.ServerName;
                tree.chdir($@"\{sname.Path}\{dname.Path}\{TableName.ShortName}");
            }

            e.Handled = true;
        }