码迷,mamicode.com
首页 >  
搜索关键字:forms    ( 2772个结果
WPF使用Winform自定义控件
在WPF的用户控件中使用Winfrom自定义控件的过程: 1、添加引用 WindowsFormsIntegration.dll System.Windows.Forms.dll 2、在要使用WinForm控件的WPF窗体的XAML文件中添加如下内容: xmlns:wf="clr-namespace: ...
分类:Windows程序   时间:2020-02-25 09:53:51    阅读次数:85
钻取报表
using Microsoft.Reporting.WinForms; using System; using System.Data; using System.Windows.Forms; namespace WindowsFormsApp13 { public partial class Fo ...
分类:其他好文   时间:2020-02-21 20:31:14    阅读次数:64
TChart-数据编辑(TChartListBox,TeeCommander)
先上图 功能代码: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, TeEngine, Series, TeeNavigato ...
分类:其他好文   时间:2020-02-21 20:01:45    阅读次数:82
DELPHI中Showmodal与Show的区别
Showmodal是个函数,Show是个过程 1.Showmodal: 概念: 当你调用一个窗口用SHOWMODAL时,当这个窗口显示出来后, 程序不会继续执行 ShowModal 后的代码 ,而是根据你对这个窗口的操作来执行, 只有关闭了这个窗口后才会执行ShowModal 后的代码 属性 : F ...
分类:Windows程序   时间:2020-02-18 20:42:21    阅读次数:111
Flutter Build apk 错误(一)
FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':shared_preferences:verifyReleaseResources'.> A failure occurred ...
分类:其他好文   时间:2020-02-18 09:48:09    阅读次数:464
C#中FolderBrowserDialog类打开文件夹使用说明
C 中FolderBrowserDialog类打开文件夹使用说明 作用: 打开文件选择窗口获取文件夹路径 。 导入的命名空间为: System.Windows.Forms; 属性: Description:打开文件框的标题。 ShowNewFolderButton:是否显示新建文件夹按钮。 Sele ...
分类:Windows程序   时间:2020-02-17 15:53:18    阅读次数:411
pytorch 中HWC转CHW
import torch import numpy as np from torchvision.transforms import ToTensor t = torch.tensor(np.arange(24).reshape(2,4,3)) print(t) #HWC 转CHW print(t. ...
分类:其他好文   时间:2020-02-15 19:01:03    阅读次数:350
123.ModelForm的使用
ModelForm 在我们的实例中,需要通过models.py中定义相关的模型字段,之后在forms.py中同样需要定义每个字段进行相应的验证,这样的话,我们会需要重复定义,这样的话,就相对比较麻烦,所以为了简化我们的操作。我们可以使用ModelForm,将二者进行结合。 1.models.py文件 ...
分类:其他好文   时间:2020-02-15 10:19:55    阅读次数:64
C# WinForm MessageBox.Show显示在窗体中间
一、新建MessageBoxEx类,并添加以下代码。 using System; using System.Windows.Forms; using System.Text; using System.Drawing; using System.Runtime.InteropServices; na ...
分类:Windows程序   时间:2020-02-14 18:24:53    阅读次数:214
一个简单的ASP.NET Web Forms应用程序
ASP.NET 支持三种不同的开发模式: Web Pages(Web 页面)、MVC(Model View Controller 模型-视图-控制器)、Web Forms(Web 窗体) 我给大家展示的是Web Forms(Web 窗体) 第一:我们需要了解下,什么是Web Forms。 Web F ...
分类:Web程序   时间:2020-02-11 00:04:07    阅读次数:111
2772条   上一页 1 ... 14 15 16 17 18 ... 278 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!