资源简介
RibbonDemo源码
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace RibbonDemo
{
public partial class MainForm : RibbonForm
{
Ribbon ribbon;
OpenFileDialog ofdOpen=new OpenFileDialog ();
public MainForm()
{
InitializeComponent();
RibbonTab sceneBrowse = new RibbonTab();
sceneBrowse.Text = “场景浏览“;
RibbonButton rButton11 = new RibbonButton();
rButton11.Text = “创建场景“;
RibbonButton rButton12 = new RibbonButton();
rButton12.Text = “删除场景“;
RibbonPanel rPanel11 = new RibbonPanel();
rPanel11.Text = “场景操作“;
rPanel11.Items.Add(rButton11);
rPanel11.Items.Add(rButton12);
sceneBrowse.Panels.Add(rPanel11);
RibbonTab dataLoad = new RibbonTab();
dataLoad.Text = “数据加载“;
RibbonButton rButton21 = new RibbonButton();
rButton21.Text = “叠加GIS数据“;
RibbonButton rButton22 = new RibbonButton();
rButton22.Text = “本地场景“;
RibbonButton rButton23 = new RibbonButton();
rButton23.Text = “本地地形“;
RibbonButton rButton24 = new RibbonButton();
rButton24.Text = “叠加CAD数据“;
RibbonPanel rPanel21=new RibbonPanel ();
rPanel21.Text = “数据叠加“;
rPanel21.Items.Add(rButton21);
rPanel21.Items.Add(rButton22);
rPanel21.Items.Add(rButton23);
rPanel21.Items.Add(rButton24);
RibbonPanel rPanel22=new RibbonPanel ();
rPanel22.Text = “二维对象“;
RibbonPanel rPanel23=new RibbonPanel ();
rPanel23.Text = “三维对象“;
RibbonPanel rPanel24=new RibbonPanel ();
rPanel24.Text = “数据编辑“;
dataLoad.Panels.Add(rPanel21);
dataLoad.Panels.Add(rPanel22);
dataLoad.Panels.Add(rPanel23);
dataLoad.Panels.Add(rPanel24);
RibbonTab bTab3 = new RibbonTab();
bTab3.Text = “方案评审“;
RibbonTab bTab4 = new RibbonTab();
bTab4.Text = “查询定位“;
RibbonTab bTab5 = new RibbonTab();
bTab5.Text = “场景特效“;
RibbonTab bTab6 = new RibbonTab();
bTab6.Text = “规划成果“;
RibbonTab bTab7 = new RibbonTab();
bTab7.Text = “属性管理“;
RibbonTab bTab8 = new RibbonTab();
bTab8.Text = “帮助“;
RibbonButton rButton81 = new RibbonButton();
rButton81.Text = “全屏显示“;
RibbonPanel rPanel81 = new RibbonPanel();
rPanel81.Text = “其他操作“;
rPanel81.Items.Add(rButton81);
bTab8.Panels.Add(rPanel8
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 384512 2012-12-27 16:24 RibbonDemo\RibbonDemo\bin\Debug\RibbonDemo.exe
文件 26112 2012-12-27 16:24 RibbonDemo\RibbonDemo\bin\Debug\RibbonDemo.pdb
文件 11608 2012-12-27 16:24 RibbonDemo\RibbonDemo\bin\Debug\RibbonDemo.vshost.exe
文件 490 2010-03-17 22:39 RibbonDemo\RibbonDemo\bin\Debug\RibbonDemo.vshost.exe.manifest
文件 216576 2012-12-19 15:46 RibbonDemo\RibbonDemo\bin\Debug\System.Windows.Forms.Ribbon.dll
文件 642560 2012-12-19 15:46 RibbonDemo\RibbonDemo\bin\Debug\System.Windows.Forms.Ribbon.pdb
文件 6564 2012-12-27 16:24 RibbonDemo\RibbonDemo\MainForm.cs
文件 2498 2012-12-27 15:47 RibbonDemo\RibbonDemo\MainForm.designer.cs
文件 561221 2012-12-27 15:47 RibbonDemo\RibbonDemo\MainForm.resx
文件 6980 2012-12-27 16:05 RibbonDemo\RibbonDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6313 2012-12-27 16:24 RibbonDemo\RibbonDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 743 2012-12-27 16:24 RibbonDemo\RibbonDemo\obj\x86\Debug\RibbonDemo.csproj.FileListAbsolute.txt
文件 890 2012-12-27 16:23 RibbonDemo\RibbonDemo\obj\x86\Debug\RibbonDemo.csproj.GenerateResource.Cache
文件 384512 2012-12-27 16:24 RibbonDemo\RibbonDemo\obj\x86\Debug\RibbonDemo.exe
文件 370636 2012-12-27 16:23 RibbonDemo\RibbonDemo\obj\x86\Debug\RibbonDemo.MainForm.resources
文件 26112 2012-12-27 16:24 RibbonDemo\RibbonDemo\obj\x86\Debug\RibbonDemo.pdb
文件 3066 2012-12-27 16:23 RibbonDemo\RibbonDemo\obj\x86\Debug\RibbonDemo.Properties.Resources.resources
文件 4608 2012-12-27 15:46 RibbonDemo\RibbonDemo\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll
文件 505 2012-12-27 15:46 RibbonDemo\RibbonDemo\Program.cs
文件 1432 2012-12-27 15:43 RibbonDemo\RibbonDemo\Properties\AssemblyInfo.cs
文件 3222 2012-12-27 15:46 RibbonDemo\RibbonDemo\Properties\Resources.Designer.cs
文件 6199 2012-12-27 15:46 RibbonDemo\RibbonDemo\Properties\Resources.resx
文件 1097 2012-12-27 15:43 RibbonDemo\RibbonDemo\Properties\Settings.Designer.cs
文件 249 2012-12-27 15:43 RibbonDemo\RibbonDemo\Properties\Settings.settings
文件 370070 2012-12-27 15:46 RibbonDemo\RibbonDemo\Resources\Fluent.ico
文件 3944 2012-12-27 15:46 RibbonDemo\RibbonDemo\RibbonDemo.csproj
文件 872 2012-12-27 15:43 RibbonDemo\RibbonDemo.sln
..A..H. 57344 2012-12-27 16:22 RibbonDemo\RibbonDemo.suo
目录 0 2012-12-27 15:46 RibbonDemo\RibbonDemo\obj\x86\Debug\TempPE
目录 0 2012-12-27 16:24 RibbonDemo\RibbonDemo\obj\x86\Debug
............此处省略12个文件信息
- 上一篇:谱聚类算法对图像进行分割
- 下一篇:子QWidget上画图
评论
共有 条评论