07 2021 档案
摘要:private void ContentControl_MouseDown(object sender, MouseButtonEventArgs e) { if (e.LeftButton==MouseButtonState.Pressed) { this.DragMove(); } } <Win
        阅读全文
                
摘要:添加 AllowsTransparency="True" 属性消除
        阅读全文
                
摘要:<TextBox Name="xx" > <TextBox.InputBindings> <KeyBinding Command="{Binding MyCommand}" Key="Enter" CommandParameter="{Binding ElementName=xx}"/> </Tex
        阅读全文
                
摘要:新建类型位wpf类库,不是 普通的类库,要有wpf引用 同时引用时注意样式依赖先后 被依赖的放在前面
        阅读全文
                
摘要:var response = await client.PostAsync(path, content); //var response = client.PostAsync(path, content).Result; 调试发现,执行到加粗标红的那句代码后,程序不再继续执行,无异常,无返回,仿佛已
        阅读全文
                
摘要:PasswordBox 文本垂直居中 VerticalContentAlignment="Center"
        阅读全文
                
摘要:删除标题栏 WindowStyle="None" 设置背景图片 <DockPanel Grid.Column="0" LastChildFill="False"> <DockPanel.Background> <ImageBrush ImageSource="/Resources/bgpic.png
        阅读全文
                
摘要:var conn = $@"host=ip:端口;virtualHost=/;username=用户名那个;password=密码;timeout=30;publisherConfirms=true"; using (var bus = RabbitHutch.CreateBus(conn).Adv
        阅读全文
                

浙公网安备 33010602011771号