• 大小: 1.89M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: UI  

资源简介

基于ChromiumFX项目进行开发,它能让你在你的Winform应用程序中使用HTML5/CSS3/Javascript等网页技术来呈现用户界面。同时NanUI提供了原生窗口和定制化的无标题栏无边框窗口,你能使用全部使用网页技术来设计你的程序界面。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using NetDimension.NanUI;

namespace BorderlessFormstyleDemoApp
{
public partial class Form1 : Formium
{
public Form1()
: base(“http://res.app.local/index.html“)
{
InitializeComponent();


Globalobject.AddFunction(“showDialog“).Execute += (_ args) =>
{
this.RequireUIThread(() =>
{
var form2 = new Form2();
form2.ShowDialog(this);
});
};

Globalobject.AddFunction(“showWindow“).Execute += (_ args) =>
{
this.RequireUIThread(() =>
{
var form2 = new Form2();
form2.Show(this);
});
};

Globalobject.AddFunction

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-05-27 19:10  NanUI\
     文件        2518  2018-07-27 15:17  NanUI\.gitattributes
     目录           0  2019-05-27 19:05  NanUI\BorderlessFormstyleDemoApp\
     文件         184  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\App.config
     目录           0  2019-05-27 19:04  NanUI\BorderlessFormstyleDemoApp\Assets\
     文件        1451  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Assets\PopupWindow.html
     目录           0  2019-05-27 19:04  NanUI\BorderlessFormstyleDemoApp\Assets\fonts\
     文件       77160  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Assets\fonts\fontawesome-webfont.woff2
     文件        3355  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Assets\index.html
     目录           0  2019-05-27 19:04  NanUI\BorderlessFormstyleDemoApp\Assets\scripts\
     文件      258648  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Assets\scripts\jquery-2.2.3.js
     目录           0  2019-05-27 19:04  NanUI\BorderlessFormstyleDemoApp\Assets\styles\
     文件        2575  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Assets\styles\app.css
     文件       31000  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Assets\styles\font-awesome.min.css
     文件        5969  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\BorderlessFormstyleDemoApp.csproj
     文件        2432  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Form1.Designer.cs
     文件         882  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Form1.cs
     文件      291287  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Form1.resx
     文件        1706  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Form2.Designer.cs
     文件         433  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Form2.cs
     文件        5698  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Form2.resx
     文件        1080  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Program.cs
     目录           0  2019-05-27 19:04  NanUI\BorderlessFormstyleDemoApp\Properties\
     文件        1354  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Properties\AssemblyInfo.cs
     文件        3180  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Properties\Resources.Designer.cs
     文件        6074  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Properties\Resources.resx
     文件         998  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Properties\Settings.Designer.cs
     文件         242  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Properties\Settings.settings
     目录           0  2019-05-27 19:04  NanUI\BorderlessFormstyleDemoApp\Resources\
     文件        7077  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\Resources\NanUI.png
     文件        2992  2018-07-27 15:17  NanUI\BorderlessFormstyleDemoApp\app.manifest
............此处省略652个文件信息

评论

共有 条评论