上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 46 下一页
摘要: <TextBox x:Name="cszd" HorizontalContentAlignment="Left" //水平居左 VerticalContentAlignment="Top" //垂直居上 TextWrapping="Wrap" //换行 AcceptsReturn="True" // 阅读全文
posted @ 2021-08-10 09:54 东百牧码人 阅读(1707) 评论(0) 推荐(0)
摘要: private void ContentControl_MouseDown(object sender, MouseButtonEventArgs e) { if (e.LeftButton==MouseButtonState.Pressed) { this.DragMove(); } } <Win 阅读全文
posted @ 2021-07-26 13:21 东百牧码人 阅读(143) 评论(0) 推荐(0)
摘要: 添加 AllowsTransparency="True" 属性消除 阅读全文
posted @ 2021-07-24 10:35 东百牧码人 阅读(843) 评论(0) 推荐(0)
摘要: <TextBox Name="xx" > <TextBox.InputBindings> <KeyBinding Command="{Binding MyCommand}" Key="Enter" CommandParameter="{Binding ElementName=xx}"/> </Tex 阅读全文
posted @ 2021-07-21 14:52 东百牧码人 阅读(348) 评论(0) 推荐(1)
摘要: 新建类型位wpf类库,不是 普通的类库,要有wpf引用 同时引用时注意样式依赖先后 被依赖的放在前面 阅读全文
posted @ 2021-07-13 08:48 东百牧码人 阅读(163) 评论(0) 推荐(0)
摘要: var response = await client.PostAsync(path, content); //var response = client.PostAsync(path, content).Result; 调试发现,执行到加粗标红的那句代码后,程序不再继续执行,无异常,无返回,仿佛已 阅读全文
posted @ 2021-07-12 16:47 东百牧码人 阅读(688) 评论(1) 推荐(0)
摘要: PasswordBox 文本垂直居中 VerticalContentAlignment="Center" 阅读全文
posted @ 2021-07-09 19:16 东百牧码人 阅读(43) 评论(0) 推荐(0)
摘要: 删除标题栏 WindowStyle="None" 设置背景图片 <DockPanel Grid.Column="0" LastChildFill="False"> <DockPanel.Background> <ImageBrush ImageSource="/Resources/bgpic.png 阅读全文
posted @ 2021-07-09 16:16 东百牧码人 阅读(31) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-07-07 17:55 东百牧码人 阅读(74) 评论(0) 推荐(0)
摘要: var conn = $@"host=ip:端口;virtualHost=/;username=用户名那个;password=密码;timeout=30;publisherConfirms=true"; using (var bus = RabbitHutch.CreateBus(conn).Adv 阅读全文
posted @ 2021-07-06 16:31 东百牧码人 阅读(632) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 46 下一页