07 2020 档案

摘要:1 <Window x:Class="WpfApp3.MainWindow" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schemas.microsoft.com/win 阅读全文
posted @ 2020-07-23 10:12 吃奶嘴的路飞 阅读(156) 评论(0) 推荐(0)
摘要:添加右键上下文菜单后,点击后需要获取到源控件 1 private void MenuItem_Click(object sender, RoutedEventArgs e) 2 { 3 if (sender is MenuItem item && 4 item.Parent is ContextMe 阅读全文
posted @ 2020-07-02 16:46 吃奶嘴的路飞 阅读(161) 评论(0) 推荐(0)