NetBlog主题
3397
效果图设置 panel2.AutoScroll = true; 内容大于可视区的时间有滚动条核心代码private void AddControl(Control control){//转载请保留http://www.luofenming.com/show.aspx?id=ART2022011600001for (int i = 0; i 25; i++){Button button = new Button();button.Size = …
330
整个网站结构|-- myweb| |-- __init__.py| |-- apgi.py| |-- settings.py| |-- urls.py| |-- views.py| |-- wsgi.py|-- manage.py`-- templates `-- hello.html/myweb/settings.py 文件部分代码:TEMPLATES = [ { "BACKEND": "django.tem…
499
视频讲解地址 https://www.bilibili.com/video/BV1XN4y1x758/1、添加服务(Nuget 安装 Microsoft.AspNetCore.Authentication.JwtBearer)//添加JWT身份验证服务builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) .AddJwtBearer(options =…
3598
2020-02-06 更新 修复参数值为空异常问题
namespace 根据Model生成Sql
{//转载请保留 http://www.luofenming.com/show.aspx?id=ART2018040700001public class TestModel{//KeyAttribute 这个Key//如果 TestAttribute则特性写[Test(IsIncrement = true)][Key(IsIncrement = tr…
7406
效果图核心代码using System;using System.Drawing;using System.Drawing.Drawing2D;using System.Windows.Forms;namespace TabControlDemo{public class MyTabControl : TabControl{const int CLOSE_SIZE = 15;//原创来自 www.luofenming.compublic MyTabControl(){this.…