• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# DeserializeDockContent类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中DeserializeDockContent的典型用法代码示例。如果您正苦于以下问题:C# DeserializeDockContent类的具体用法?C# DeserializeDockContent怎么用?C# DeserializeDockContent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



DeserializeDockContent类属于命名空间,在下文中一共展示了DeserializeDockContent类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Main

        public Main()
        {
            InitializeComponent();

            MainMenuStrip.MdiWindowListItem = windowToolStripMenuItem;
            m_xmlNodeExplorer.RightToLeftLayout = RightToLeftLayout;
            m_serverExplorer.RightToLeftLayout = RightToLeftLayout;
            m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
            m_serverExplorer.SQLServerSelected += new EventHandler<ServerTreeEventArgs>(m_serverExplorer_SQLServerSelected);
            m_serverExplorer.DBSelected += new EventHandler<DBTreeEventArgs>(m_serverExplorer_DBSelected);
            m_serverExplorer.DBUnSelected += new EventHandler<DBTreeEventArgs>(m_serverExplorer_DBUnSelected);
            m_serverExplorer.SchemaGenerationStarted += new EventHandler<DBTreeEventArgs>(m_serverExplorer_SchemaGenerationStarted);
            m_serverExplorer.SchemaCompareStarted += new EventHandler<SchemaGeneratedEventArgs>(m_serverExplorer_SchemaCompareStarted);
            m_serverExplorer.SchemaGenerated += new EventHandler<DBTreeEventArgs>(m_serverExplorer_SchemaGenerated);
            m_serverExplorer.SchemaCompared += new EventHandler<SchemaGeneratedEventArgs>(m_serverExplorer_SchemaCompared);
            m_serverExplorer.TableSelected += new EventHandler<TableTreeEventArgs>(m_serverExplorer_TableSelected);
            m_serverExplorer.TableUnSelected += new EventHandler<TableTreeEventArgs>(m_serverExplorer_TableUnSelected);
            m_serverExplorer.TableCompareStarted += new EventHandler<TableTreeEventArgs>(m_serverExplorer_TableCompareStarted);
            dockPanel.ContentAdded += new EventHandler<DockContentEventArgs>(dockPanel_ContentAdded);
            dockPanel.ContentRemoved += new EventHandler<DockContentEventArgs>(dockPanel_ContentRemoved);
            dockPanel.ActiveDocumentChanged += new EventHandler(dockPanel_ActiveDocumentChanged);
            dockPanel.ActiveContentChanged += new EventHandler(dockPanel_ActiveContentChanged);
            windowToolStripMenuItem.DropDownItemClicked += new ToolStripItemClickedEventHandler(windowToolStripMenuItem_DropDownItemClicked);

            string appPath = Path.GetDirectoryName(Application.ExecutablePath);
            optionsFileName = Path.Combine(appPath, "options.config");
            configFileName = Path.Combine(appPath, "dockPanel.config");
            windowsSettingsFile = Path.Combine(appPath, "windows.config");

            btnHTML.Enabled = true;

            this.progressIndicator.Visible = false;
        }
开发者ID:ViniciusConsultor,项目名称:sqlschematool,代码行数:33,代码来源:Main.cs


示例2: CancerRiskView_Load

        private void CancerRiskView_Load(object sender, EventArgs e)
        {
            if (!ViewClosing)
            {
                theDockPanel.AllowEndUserDocking = SessionManager.Instance.AllowDockDragAndDrop;

                string configFile = SessionManager.SelectDockConfig("CancerRiskViewDockPanel.config");
                DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

                if (File.Exists(configFile))
                {
                    theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);

                }
                else
                {
                    colorv = new ColoEndoCancerRiskView();
                    colorv.Show(theDockPanel);
                    colorv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                    bocrv = new BrOvCancerRiskView();
                    bocrv.Show(theDockPanel);
                    bocrv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                }

                bocrv.SetOvarianRiskVisibility(true);
            }
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:29,代码来源:CancerRiskView.cs


示例3: Main

        public Main()
        {
            InitializeComponent();

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;
            this.dockContentLayout = new DeserializeDockContent(this.GetLayout);
        }
开发者ID:BroneKot,项目名称:PawnPlus,代码行数:7,代码来源:Main.cs


示例4: MainFrm

 //-------------------------------------------------------------------------------------------------------------------------------
 public MainFrm(string configFile)
 {
     InitializeComponent();
     this.configFile = configFile;
     //decerialization helper
     m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
 }
开发者ID:VirusFree,项目名称:VFTerminal,代码行数:8,代码来源:MainFrm.cs


示例5: MainForm

		public MainForm()
		{
			InitializeComponent();

#if DockSample1 // todo		// eucaly, 151205
			SetSplashScreen();
#endif      // eucaly, 151205
			Text = "logPLot - program loading";		// Form Title		// eucaly, 151205
			CreateStandardControls();

			showRightToLeft.Checked = (RightToLeft == RightToLeft.Yes);
			RightToLeftLayout = showRightToLeft.Checked;
			// m_solutionExplorer.RightToLeftLayout = RightToLeftLayout;
			m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
			
#if DockSample1 // todo		// eucaly, 151205
			vS2012ToolStripExtender1.DefaultRenderer = _toolStripProfessionalRenderer;
			vS2012ToolStripExtender1.VS2012Renderer = _vs2012ToolStripRenderer;
			vS2012ToolStripExtender1.VS2013Renderer = _vs2013ToolStripRenderer;
#endif      // eucaly, 151205

			this.topBar.BackColor = this.bottomBar.BackColor = Color.FromArgb(0xFF, 41, 57, 85);

			SetSchema(this.menuItemSchemaVS2013Blue, null);
		}
开发者ID:beZong,项目名称:bZmd,代码行数:25,代码来源:MainForm.cs


示例6: AdditionalCancerRiskFactorsView_Load

        private void AdditionalCancerRiskFactorsView_Load(object sender, EventArgs e)
        {
            if (!ViewClosing)
            {
                theDockPanel.AllowEndUserDocking = SessionManager.Instance.AllowDockDragAndDrop;

                string configFile = SessionManager.SelectDockConfig("AdditionalCancerRiskFactorsView.config");
                DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

                if (File.Exists(configFile))
                {
                    theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);

                }
                else
                {
                    bcrf = new BreastCancerRiskFactors();
                    bcrf.Show(theDockPanel);
                    bcrf.DockState = DockState.Document;

                    ccrf = new ColonCancerRiskFactors();
                    ccrf.Show(theDockPanel);
                    ccrf.DockState = DockState.Document;
                }
            }
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:26,代码来源:AdditionalCancerRiskFactorsView.cs


示例7: SpriteForm

        public SpriteForm()
        {
            InitializeComponent();

            _currentPath = Extensions.CheckDirectorySeparator(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));

            _spriteListWindow = new SpriteListWindow();
            _spriteListWindow.SpriteChanged += SpriteListWindowSpriteChanged;
            _spritePreviewWindow = new SpritePreviewWindow();
            _spriteDeltasWindow = new SpriteDeltasWindow();
            _spriteDeltasWindow.CheckedDeltaItemsChanged += SpriteDeltasWindowCheckedDeltaItemsChanged;
            _spriteRemapsWindow = new SpriteRemapsWindow();
            _spriteRemapsWindow.RemapChanged += SpriteRemapsWindowRemapChanged;

            _deserializeDockContent += DeserializeDockContent;

            var layoutFile = _currentPath + LayoutFile;
            try
            {
                dockPanel.LoadFromXml(layoutFile, _deserializeDockContent);
            }
            catch (Exception)
            {
                var stream = Assembly.GetAssembly(GetType()).GetManifestResourceStream(GetType().Namespace + ".Resources.SpriteFormDefaultLayout.xml");
                dockPanel.LoadFromXml(stream, _deserializeDockContent);
                if (stream != null)
                    stream.Close();
            }

            //Thread
            LoadPalette(_currentPath + Globals.GraphicsSubDir + Path.DirectorySeparatorChar + Globals.PaletteSuffix + Globals.TextureImageFormat);
            LoadSprites(_currentPath + Globals.GraphicsSubDir + Path.DirectorySeparatorChar + Globals.SpritesSuffix + Globals.XmlFormat);
            LoadDeltas(_currentPath + Globals.GraphicsSubDir + Path.DirectorySeparatorChar + Globals.DeltasSuffix + Globals.XmlFormat);
            CreateSpriteData(_spriteListWindow.TextureAltas);
        }
开发者ID:jpires,项目名称:gta2net,代码行数:35,代码来源:SpriteForm.cs


示例8: DiagnosticReportsView_Load

        private void DiagnosticReportsView_Load(object sender, EventArgs e)
        {
            if (!ViewClosing)
            {
                theDockPanel.AllowEndUserDocking = SessionManager.Instance.AllowDockDragAndDrop;
                string configFile = SessionManager.SelectDockConfig("RiskClinicDiagnosticReportsViewDockPanel.config");

                DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

                if (File.Exists(configFile))
                    theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);
                else
                {
                    tv = new TestsView();
                    tv.InitialDx = InitialDx;
                    tv.Show(theDockPanel);
                    tv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                    ov = new OrdersView();
                    ov.Show(theDockPanel);
                    ov.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;
                }

                patientRecordHeader1.setPatient(SessionManager.Instance.GetActivePatient());
            }
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:26,代码来源:DiagnosticReportsView.cs


示例9: FrmMain

        public FrmMain()
        {
            InitializeComponent();
            var splash = new FrmSplash();

              //      splash.Show();
            _deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
        }
开发者ID:CommunityWorkshops,项目名称:EEDev-IDE,代码行数:8,代码来源:frmMain.cs


示例10: MainForm2

		public MainForm2() {
			InitializeComponent();
			showRightToLeft.Checked = ( RightToLeft == RightToLeft.Yes );
			RightToLeftLayout = showRightToLeft.Checked;
			m_solutionExplorer = new DummySolutionExplorer();
			m_solutionExplorer.RightToLeftLayout = RightToLeftLayout;
			m_deserializeDockContent = new DeserializeDockContent( GetContentFromPersistString );
		}
开发者ID:GodLesZ,项目名称:svn-dump,代码行数:8,代码来源:MainForm2.cs


示例11: MainForm

        public MainForm()
        {
            InitializeComponent();
			_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
            _threadList = new Dictionary<string, Thread>();
            _taskManagerList = new Dictionary<string, TaskManager>();
            _hasRemindDialog = false;
        }
开发者ID:jojozhuang,项目名称:Projects,代码行数:8,代码来源:MainForm.cs


示例12: MainForm

 public MainForm()
 {
     InitializeComponent();
     CreateMDIForm();
     //iReaperNotifyManager.InitSysIcon(this.components);
     Application.Idle += new EventHandler(Application_Idle);
     CoreData.CoreDataContent[CoreDataTypes.ApplicationForm] = this;
     this.deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
 }
开发者ID:sunnysunhuajun,项目名称:BuilderCode,代码行数:9,代码来源:MainForm.cs


示例13: FormMain

        public FormMain()
        {
            InitializeComponent();
            this.Shown += FormMain_Shown;
            this.WindowState = FormWindowState.Maximized;
            CreateStandardControls();

            m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
        }
开发者ID:SyedMdKamruzzaman,项目名称:sap_interface,代码行数:9,代码来源:FormMain.cs


示例14: LoadFromXml

 public static void LoadFromXml(DockPanel dockPanel, string fileName,
     DeserializeDockContent deserializeContent)
 {
     FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read);
     try{
         LoadFromXml(dockPanel, fs, deserializeContent);
     } finally{
         fs.Close();
     }
 }
开发者ID:hksonngan,项目名称:sharptracing,代码行数:10,代码来源:DockPanel.Persistor.cs


示例15: DataCreator

		public DataCreator()
		{
			DOMConfigurator.Configure();

			m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
			InitializeComponent();
			_frmConnection.ChangedDBEvent+=new DBConnection.ChangedDBHandler( this.ChangeDB );
			_frmConnection.ChangedServerEvent += new DBConnection.ChangedServerHandler(this.ChangeServer);
			_frmTables.ScriptEvent+= new TableForm.ScriptHandler(HandleScript);
		}
开发者ID:netordead,项目名称:SqlInserter,代码行数:10,代码来源:DataCreator.cs


示例16: Workbench

        public Workbench(DockPanel dockPanel)
        {
            this.dockPanel = dockPanel;
            this.deserializeDockContent = new DeserializeDockContent(getContentFromPersistString);

            this.toolWorkplaceWindow = new WorkplaceExplorer(this);
            this.toolPropertyWindow = new PropertyWindow(this);
            this.toolHistoryWindow = new HistoryWindow(this);
            this.toolTaskWindow = new TaskWindow(this);

            workplaceOpenDialog = new OpenFileDialog();
            documentOpenDialog = new OpenFileDialog();
        }
开发者ID:pirzada,项目名称:sinapse,代码行数:13,代码来源:Workbench.cs


示例17: MainForm

        public MainForm()
        {
            InitializeComponent();

            CreateStandardControls();

            showRightToLeft.Checked = (RightToLeft == RightToLeft.Yes);
            RightToLeftLayout = showRightToLeft.Checked;
            m_solutionExplorer.RightToLeftLayout = RightToLeftLayout;
            m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
            SASstatusMsg.Text = "SAS Connection = Not Connected";
            Instance.mainForm = this;
        }
开发者ID:EmperorShmoo,项目名称:Project,代码行数:13,代码来源:MainForm.cs


示例18: MainForm

        public MainForm()
        {
            InitializeComponent();

            CreateStandardControls();

            dockPanel.Theme = new VS2012LightTheme();

            showRightToLeft.Checked = (RightToLeft == RightToLeft.Yes);
            RightToLeftLayout = showRightToLeft.Checked;
            m_solutionExplorer.RightToLeftLayout = RightToLeftLayout;
            m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
        }
开发者ID:hilts-vaughan,项目名称:inspire,代码行数:13,代码来源:MainForm.cs


示例19: MainForm

        public MainForm()
        {
            InitializeComponent();

            CreateStandardControls();

            showRightToLeft.Checked = (RightToLeft == RightToLeft.Yes);
            RightToLeftLayout = showRightToLeft.Checked;
            m_solutionExplorer.RightToLeftLayout = RightToLeftLayout;
            m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

            vS2012ToolStripExtender1.DefaultRenderer = _system;
            vS2012ToolStripExtender1.VS2012Renderer = _custom;
        }
开发者ID:RyuuKitsune,项目名称:dockpanelsuite,代码行数:14,代码来源:MainForm.cs


示例20: MainForm

        //static private GEForm _geForm;
        /// <summary>
        /// Initializes a new instance of the <see cref="MainForm"/> class.
        /// </summary>
        public MainForm()
        {
            InitializeComponent();

            _telemetryComms.InitializeComPort();
            _videoForm = new VideoForm(_telemetryComms.Data);
            _mapForm = new MapForm();
            _settingsForm = new SettingsForm();
            _outputForm = new OutputForm();
            _telemetryForm = new TelemetryForm(_telemetryComms.Data);
            //_geForm = new GEForm();

            _deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
        }
开发者ID:culiniac,项目名称:quavs,代码行数:18,代码来源:MainForm.cs



注:本文中的DeserializeDockContent类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Deserializer类代码示例发布时间:2022-05-24
下一篇:
C# DeserializeContext类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap