• 大小: 135KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-01
  • 语言: C#
  • 标签: C#  嵌套  

资源简介

把一个现有的窗体应用程序界面嵌入到自己开发的窗体中来,看起来就像自己开发的一样.

资源截图

代码片段和文件信息

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;

namespace DemoApp
{
    public partial class FormembededDemo : Form
    {
        public FormembededDemo()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            MessageBox.Show(“Form border style: “ + this.FormBorderstyle);
        }

        private void FormembededDemo_Load(object sender EventArgs e)
        {
            this.label1.Text = “Form border style: “ + this.FormBorderstyle;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-05-04 05:21  AppContainer-master\
     文件        2518  2015-05-04 05:21  AppContainer-master\.gitattributes
     文件        2233  2015-05-04 05:21  AppContainer-master\.gitignore
     目录           0  2015-05-04 05:21  AppContainer-master\DemoApp\
     文件         182  2015-05-04 05:21  AppContainer-master\DemoApp\App.config
     文件        3757  2015-05-04 05:21  AppContainer-master\DemoApp\DemoApp.csproj
     文件       22512  2015-05-04 05:21  AppContainer-master\DemoApp\FormembededDemo.Designer.cs
     文件         715  2015-05-04 05:21  AppContainer-master\DemoApp\FormembededDemo.cs
     文件       14694  2015-05-04 05:21  AppContainer-master\DemoApp\FormembededDemo.resx
     文件         529  2015-05-04 05:21  AppContainer-master\DemoApp\Program.cs
     目录           0  2015-05-04 05:21  AppContainer-master\DemoApp\Properties\
     文件        1356  2015-05-04 05:21  AppContainer-master\DemoApp\Properties\AssemblyInfo.cs
     文件        2866  2015-05-04 05:21  AppContainer-master\DemoApp\Properties\Resources.Designer.cs
     文件        5496  2015-05-04 05:21  AppContainer-master\DemoApp\Properties\Resources.resx
     文件        1064  2015-05-04 05:21  AppContainer-master\DemoApp\Properties\Settings.Designer.cs
     文件         242  2015-05-04 05:21  AppContainer-master\DemoApp\Properties\Settings.settings
     文件       15703  2015-05-04 05:21  AppContainer-master\README.md
     目录           0  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\
     目录           0  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\Demo-apps\
     文件       22016  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\Demo-apps\DemoApp-Fixed3D.exe
     文件       22016  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\Demo-apps\DemoApp-FixedDialog.exe
     文件       22016  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\Demo-apps\DemoApp-FixedSingle.exe
     文件       22016  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\Demo-apps\DemoApp-FixedToolWindow.exe
     文件       22016  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\Demo-apps\DemoApp-None.exe
     文件       22016  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\Demo-apps\DemoApp-Sizable.exe
     文件       22016  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\Demo-apps\DemoApp-SizableToolWindow.exe
     文件        3724  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\FormHandle.Designer.cs
     文件         615  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\FormHandle.cs
     文件       20331  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\FormHandle.resx
     文件        6834  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\FormMain.Designer.cs
     文件        3687  2015-05-04 05:21  AppContainer-master\SmileWei.embeddedApp.WinForm\FormMain.cs
............此处省略20个文件信息

评论

共有 条评论