上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 52 下一页
摘要: AGE displays the amount of time that the application has been running. 阅读全文
posted @ 2021-06-17 08:27 lishidefengchen 阅读(69) 评论(0) 推荐(0) 编辑
摘要: Ctrl+K, Ctrl+H 阅读全文
posted @ 2021-06-10 16:29 lishidefengchen 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 从对比数据上看,Autofac有明显优势。更新周期更短,人们关注度更高,使用人也更多。 https://dotnet.libhunt.com/compare-tinyioc-vs-autofac 阅读全文
posted @ 2021-06-10 11:00 lishidefengchen 阅读(86) 评论(0) 推荐(0) 编辑
摘要: private async void ThrowExceptionAsync() { throw new InvalidOperationException(); } public void AsyncVoidExceptions_CannotBeCaughtByCatch() { try { Th 阅读全文
posted @ 2021-06-09 15:03 lishidefengchen 阅读(1666) 评论(0) 推荐(0) 编辑
摘要: 参考:https://docs.microsoft.com/en-us/xamarin/essentials/file-picker?context=xamarin%2Fandroid&tabs=android 示例: 权限添加—— 前端xaml代码—— <StackLayout Padding=" 阅读全文
posted @ 2021-04-15 10:29 lishidefengchen 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 需要安装nuget包: Xamarin.Controls.SignaturePad.Forms 前台关键代码: <Grid x:Name="LayoutRoot" Padding="12"> <Grid.RowDefinitions> <RowDefinition Height="*" /> <Ro 阅读全文
posted @ 2021-04-14 17:19 lishidefengchen 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 我对这几个区域进行了背景颜色的添加,用来显示具体的效果: 这个Grid的每一列上都有两个对象(Label),第列里面的第二个Label由于使用了Padding样式,所以从图上我们可以不难发现,它完全把我们的图片元素标签是覆盖了的。 所以,如果这个时候我们在图片上进行了手势事件的注册,就会发现,事件不 阅读全文
posted @ 2021-03-26 15:22 lishidefengchen 阅读(161) 评论(0) 推荐(0) 编辑
摘要: <StackLayout> <!--行设的是高度,列设的是宽度--> <Grid RowDefinitions="25,*,Auto" ColumnDefinitions="Auto,Auto,Auto"> <Label Grid.Row="0" Grid.Column="0" Text="0,0" 阅读全文
posted @ 2021-03-23 11:38 lishidefengchen 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 打不开的原因时权限问题导致的。 解决:(vs2019) 分别执行adb root 和 adb shell 命令 然后再执行,提权命令: 刷新,搞定 阅读全文
posted @ 2021-03-22 11:27 lishidefengchen 阅读(45) 评论(0) 推荐(0) 编辑
摘要: xamarin.forms中,可以用Setter对控件的样式属性进行个性化设置,那么,我们怎么去设置这个属性呢? 我上面这个图片的属性,用的是控件自带的属性,这个当然是没问题的。但是,我如果要自定义一些属性呢? 那就需要我们首先给这个控件附上我们自定义的属性,比如,我在【EntryStyle】资源里 阅读全文
posted @ 2021-03-18 11:13 lishidefengchen 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 在使用Behavior时,可以定义事件的名称,这个名称不是随便写的,必须时控件自身就有的,怎么找呢? 如下图所示: 附上官网链接: https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.entry?f1url=%3FappId%3DDev 阅读全文
posted @ 2021-03-18 10:11 lishidefengchen 阅读(66) 评论(0) 推荐(0) 编辑
摘要: xmlns:viewModelBase="clr-namespace:JKSY.ViewModels.Base;assembly=JKSY" viewModelBase:ViewModelLocator.AutoWireViewModel="true"> 使用这个自动绑定,然后页面进行实例化的时候, 阅读全文
posted @ 2021-03-17 13:49 lishidefengchen 阅读(82) 评论(0) 推荐(0) 编辑
摘要: create a new folder: Test dotnet new sln dotnet new webapi --no-https dotnet sln add . 阅读全文
posted @ 2021-03-16 09:01 lishidefengchen 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 如果遇到类似这样的错误:[mono]: unable to debugger: 10.0.0.0:85544 可能是我们Android项目的框架支持不兼容,需要重新设置一下(Android.Options-->Advanced-->Supported architectures) 我的开发环境是:v 阅读全文
posted @ 2021-03-12 17:48 lishidefengchen 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 错误如下: Severity Code Description Project File Line Suppression StateError ADB0020: Android ABI mismatch. You are deploying an app supporting 'armeabi-v 阅读全文
posted @ 2021-03-12 17:41 lishidefengchen 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 52 下一页