mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-27 05:00:48 +00:00
added Revit 2022 SDK minus except *rvt and *rfa
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using Autodesk.Revit;
|
||||
using Autodesk.Revit.DB;
|
||||
using Autodesk.Revit.UI;
|
||||
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
/// <summary>
|
||||
/// This class inherits IExternalCommand interface and used to retrieve the events setting
|
||||
/// dialog to help user changing his choices. None event is register in this class.
|
||||
/// Because all trigger points in this sample come from UI, all events in application level
|
||||
/// must be registered to ControlledApplication. If the trigger point is from API,
|
||||
/// user can register it to Application or Document according to what level it is in.
|
||||
/// But then, the syntax is the same in these three cases.
|
||||
/// </summary>
|
||||
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)]
|
||||
[Autodesk.Revit.Attributes.Regeneration(Autodesk.Revit.Attributes.RegenerationOption.Manual)]
|
||||
[Autodesk.Revit.Attributes.Journaling(Autodesk.Revit.Attributes.JournalingMode.NoCommandData)]
|
||||
public class Command : IExternalCommand
|
||||
{
|
||||
#region Class Interface Implementation
|
||||
/// <summary>
|
||||
/// Implement this method as an external command for Revit.
|
||||
/// </summary>
|
||||
/// <param name="commandData">An object that is passed to the external application
|
||||
/// which contains data related to the command,
|
||||
/// such as the application object and active view.</param>
|
||||
/// <param name="message">A message that can be set by the external application
|
||||
/// which will be displayed if a failure or cancellation is returned by
|
||||
/// the external command.</param>
|
||||
/// <param name="elements">A set of elements to which the external application
|
||||
/// can add elements that are to be highlighted in case of failure or cancellation.</param>
|
||||
/// <returns>Return the status of the external command.
|
||||
/// A result of Succeeded means that the API external method functioned as expected.
|
||||
/// Cancelled can be used to signify that the user cancelled the external operation
|
||||
/// at some point. Failure should be returned if the application is unable to proceed with
|
||||
/// the operation.</returns>
|
||||
public Autodesk.Revit.UI.Result Execute(ExternalCommandData commandData,
|
||||
ref string message,
|
||||
ElementSet elements)
|
||||
{
|
||||
|
||||
IDictionary<string, string> journaldata = commandData.JournalData;
|
||||
|
||||
// These #if directives within file are used to compile project in different purpose:
|
||||
// . Build project with Release mode for regression test,
|
||||
// . Build project with Debug mode for manual run
|
||||
#if !(Debug || DEBUG)
|
||||
// playing journal.
|
||||
if (ExternalApplication.JnlProcessor.IsReplay)
|
||||
{
|
||||
ExternalApplication.ApplicationEvents = ExternalApplication.JnlProcessor.GetEventsListFromJournalData(journaldata);
|
||||
|
||||
}
|
||||
|
||||
// running the sample form UI.
|
||||
else
|
||||
{
|
||||
#endif
|
||||
|
||||
ExternalApplication.SettingDialog.ShowDialog();
|
||||
if (DialogResult.OK == ExternalApplication.SettingDialog.DialogResult)
|
||||
{
|
||||
// get what user select.
|
||||
ExternalApplication.ApplicationEvents = ExternalApplication.SettingDialog.AppSelectionList;
|
||||
|
||||
#if !(Debug || DEBUG)
|
||||
// dump what user select to a file in order to autotesting.
|
||||
ExternalApplication.JnlProcessor.DumpEventListToJournalData(ExternalApplication.ApplicationEvents, ref journaldata);
|
||||
#endif
|
||||
}
|
||||
#if !(Debug || DEBUG)
|
||||
}
|
||||
#endif
|
||||
// update the events according to the selection.
|
||||
ExternalApplication.AppEventMgr.Update(ExternalApplication.ApplicationEvents);
|
||||
|
||||
// track the selected events by showing the information in the information windows.
|
||||
ExternalApplication.InfoWindows.Show();
|
||||
|
||||
|
||||
return Autodesk.Revit.UI.Result.Succeeded;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,292 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
|
||||
using Autodesk.Revit;
|
||||
using Autodesk.Revit.UI;
|
||||
using Autodesk.Revit.DB.Events;
|
||||
using Autodesk.Revit.UI.Events;
|
||||
using Autodesk.Revit.ApplicationServices;
|
||||
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
/// <summary>
|
||||
/// This class is a manager for application events.
|
||||
/// In this class, user can subscribe and remove the events according to what he select.
|
||||
/// This class used the controlled Application as the sender.
|
||||
/// If you want to use Application or Document as the sender, the usage is same.
|
||||
/// "+=" is used to register event and "-=" is used to remove event.
|
||||
/// </summary>
|
||||
public class EventManager
|
||||
{
|
||||
#region Class Member Variables
|
||||
/// <summary>
|
||||
/// Revit application
|
||||
/// </summary>
|
||||
private UIControlledApplication m_app;
|
||||
|
||||
/// <summary>
|
||||
/// This list is used to store what user select last time.
|
||||
/// </summary>
|
||||
private List<String> historySelection;
|
||||
#endregion
|
||||
|
||||
#region Class Constructor
|
||||
/// <summary>
|
||||
/// Prevent the compiler from generating a default constructor.
|
||||
/// </summary>
|
||||
private EventManager()
|
||||
{
|
||||
// none any codes, just declare it as private to obey the .Net design rule
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructor for application event manager.
|
||||
/// </summary>
|
||||
/// <param name="app"></param>
|
||||
public EventManager(UIControlledApplication app)
|
||||
{
|
||||
m_app = app;
|
||||
historySelection = new List<string>();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Class Methods
|
||||
/// <summary>
|
||||
/// A public method used to update the events subscription
|
||||
/// </summary>
|
||||
/// <param name="selection"></param>
|
||||
public void Update(List<String> selection)
|
||||
{
|
||||
// If event has been in history list and not in current selection,
|
||||
// it means user doesn't select this event again, and it should be move.
|
||||
foreach (String eventname in historySelection)
|
||||
{
|
||||
if (!selection.Contains(eventname))
|
||||
{
|
||||
subtractEvents(eventname);
|
||||
}
|
||||
}
|
||||
|
||||
// Contrarily,if event has been in current selection and not in history list,
|
||||
// it means this event should be subscribed.
|
||||
foreach (String eventname in selection)
|
||||
{
|
||||
if (!historySelection.Contains(eventname))
|
||||
{
|
||||
addEvents(eventname);
|
||||
}
|
||||
}
|
||||
|
||||
// generate the history list.
|
||||
historySelection.Clear();
|
||||
foreach (String eventname in selection)
|
||||
{
|
||||
historySelection.Add(eventname);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Register event according to event name.
|
||||
/// The generic handler app_eventsHandlerMethod will be subscribed to this event.
|
||||
/// </summary>
|
||||
/// <param name="eventName"></param>
|
||||
private void addEvents(String eventName)
|
||||
{
|
||||
switch (eventName)
|
||||
{
|
||||
case "DocumentCreating":
|
||||
m_app.ControlledApplication.DocumentCreating += new EventHandler<DocumentCreatingEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentCreated":
|
||||
m_app.ControlledApplication.DocumentCreated += new EventHandler<DocumentCreatedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentOpening":
|
||||
m_app.ControlledApplication.DocumentOpening += new EventHandler<DocumentOpeningEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentOpened":
|
||||
m_app.ControlledApplication.DocumentOpened += new EventHandler<DocumentOpenedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentClosing":
|
||||
m_app.ControlledApplication.DocumentClosing += new EventHandler<DocumentClosingEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentClosed":
|
||||
m_app.ControlledApplication.DocumentClosed += new EventHandler<DocumentClosedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentSavedAs":
|
||||
m_app.ControlledApplication.DocumentSavedAs += new EventHandler<DocumentSavedAsEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentSavingAs":
|
||||
m_app.ControlledApplication.DocumentSavingAs += new EventHandler<DocumentSavingAsEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentSaving":
|
||||
m_app.ControlledApplication.DocumentSaving += new EventHandler<DocumentSavingEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentSaved":
|
||||
m_app.ControlledApplication.DocumentSaved += new EventHandler<DocumentSavedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentSynchronizingWithCentral":
|
||||
m_app.ControlledApplication.DocumentSynchronizingWithCentral += new EventHandler<DocumentSynchronizingWithCentralEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentSynchronizedWithCentral":
|
||||
m_app.ControlledApplication.DocumentSynchronizedWithCentral += new EventHandler<DocumentSynchronizedWithCentralEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "FileExporting":
|
||||
m_app.ControlledApplication.FileExporting += new EventHandler<FileExportingEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "FileExported":
|
||||
m_app.ControlledApplication.FileExported += new EventHandler<FileExportedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "FileImporting":
|
||||
m_app.ControlledApplication.FileImporting += new EventHandler<FileImportingEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "FileImported":
|
||||
m_app.ControlledApplication.FileImported += new EventHandler<FileImportedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentPrinting":
|
||||
m_app.ControlledApplication.DocumentPrinting += new EventHandler<DocumentPrintingEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "DocumentPrinted":
|
||||
m_app.ControlledApplication.DocumentPrinted += new EventHandler<DocumentPrintedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "ViewPrinting":
|
||||
m_app.ControlledApplication.ViewPrinting += new EventHandler<ViewPrintingEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "ViewPrinted":
|
||||
m_app.ControlledApplication.ViewPrinted += new EventHandler<ViewPrintedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "ViewActivating":
|
||||
m_app.ViewActivating += new EventHandler<ViewActivatingEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "ViewActivated":
|
||||
m_app.ViewActivated += new EventHandler<ViewActivatedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
case "ProgressChanged":
|
||||
m_app.ControlledApplication.ProgressChanged += new EventHandler<ProgressChangedEventArgs>(app_eventsHandlerMethod);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remove registered event by its name.
|
||||
/// </summary>
|
||||
/// <param name="eventName">Event name to be subtracted.</param>
|
||||
private void subtractEvents(String eventName)
|
||||
{
|
||||
switch (eventName)
|
||||
{
|
||||
case "DocumentCreating":
|
||||
m_app.ControlledApplication.DocumentCreating -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentCreated":
|
||||
m_app.ControlledApplication.DocumentCreated -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentOpening":
|
||||
m_app.ControlledApplication.DocumentOpening -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentOpened":
|
||||
m_app.ControlledApplication.DocumentOpened -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentClosing":
|
||||
m_app.ControlledApplication.DocumentClosing -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentClosed":
|
||||
m_app.ControlledApplication.DocumentClosed -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentSavedAs":
|
||||
m_app.ControlledApplication.DocumentSavedAs -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentSavingAs":
|
||||
m_app.ControlledApplication.DocumentSavingAs -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentSaving":
|
||||
m_app.ControlledApplication.DocumentSaving -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentSaved":
|
||||
m_app.ControlledApplication.DocumentSaved -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentSynchronizingWithCentral":
|
||||
m_app.ControlledApplication.DocumentSynchronizingWithCentral -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentSynchronizedWithCentral":
|
||||
m_app.ControlledApplication.DocumentSynchronizedWithCentral -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "FileExporting":
|
||||
m_app.ControlledApplication.FileExporting -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "FileExported":
|
||||
m_app.ControlledApplication.FileExported -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "FileImporting":
|
||||
m_app.ControlledApplication.FileImporting -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "FileImported":
|
||||
m_app.ControlledApplication.FileImported -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentPrinting":
|
||||
m_app.ControlledApplication.DocumentPrinting -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "DocumentPrinted":
|
||||
m_app.ControlledApplication.DocumentPrinted -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "ViewPrinting":
|
||||
m_app.ControlledApplication.ViewPrinting -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "ViewPrinted":
|
||||
m_app.ControlledApplication.ViewPrinted -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "ViewActivating":
|
||||
m_app.ViewActivating -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "ViewActivated":
|
||||
m_app.ViewActivated -= app_eventsHandlerMethod;
|
||||
break;
|
||||
case "ProgressChanged":
|
||||
m_app.ControlledApplication.ProgressChanged -= app_eventsHandlerMethod;
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generic event handler can be subscribed to any events.
|
||||
/// It will dump events information(sender and EventArgs) to log window and log file
|
||||
/// </summary>
|
||||
/// <param name="obj"></param>
|
||||
/// <param name="args"></param>
|
||||
public void app_eventsHandlerMethod(Object obj, EventArgs args)
|
||||
{
|
||||
// generate event information and set to information window
|
||||
// to track what event be touch off.
|
||||
ExternalApplication.EventLogManager.TrackEvent(obj, args);
|
||||
// write log file.
|
||||
ExternalApplication.EventLogManager.WriteLogFile(obj, args);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
/// <summary>
|
||||
/// The UI to show the events history logs. This class is not the main one just a assistant
|
||||
/// in this sample. If you just want to learn how to use Revit events,
|
||||
/// please pay more attention to EventManager class.
|
||||
/// </summary>
|
||||
public partial class EventsInfoWindows : System.Windows.Forms.Form
|
||||
{
|
||||
#region Class Member Variable
|
||||
/// <summary>
|
||||
/// An instance of RevitApplicationEvents class
|
||||
/// Which prepares the informations which is shown in this UI
|
||||
/// </summary>
|
||||
private LogManager m_dataBuffer;
|
||||
#endregion
|
||||
|
||||
#region Class Constructors
|
||||
/// <summary>
|
||||
/// Constructor without any argument
|
||||
/// </summary>
|
||||
public EventsInfoWindows()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructor with one argument
|
||||
/// </summary>
|
||||
/// <param name="dataBuffer">prepare the informations which is shown in this UI</param>
|
||||
public EventsInfoWindows(LogManager dataBuffer)
|
||||
: this()
|
||||
{
|
||||
m_dataBuffer = dataBuffer;
|
||||
Initialize();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Class Implementation
|
||||
/// <summary>
|
||||
/// Initialize the DataGridView property
|
||||
/// </summary>
|
||||
private void Initialize()
|
||||
{
|
||||
// set dataSource
|
||||
appEventsLogDataGridView.AutoGenerateColumns = false;
|
||||
appEventsLogDataGridView.DataSource = m_dataBuffer.EventsLog;
|
||||
timeColumn.DataPropertyName = "Time";
|
||||
eventColumn.DataPropertyName = "Event";
|
||||
typeColumn.DataPropertyName = "Type";
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Class Events Handler
|
||||
/// <summary>
|
||||
/// form closed event handler
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void InformationWindows_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
// when form closed the relevant resource will be set free.
|
||||
// Then the instance InfoWindows become invalid, so we set InfoWindows with null.
|
||||
ExternalApplication.InfoWindows = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// windows shown event handler
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void applicationEventsInfoWindows_Shown(object sender, EventArgs e)
|
||||
{
|
||||
// set window's display location
|
||||
int left = Screen.PrimaryScreen.WorkingArea.Right - this.Width - 5;
|
||||
int top = Screen.PrimaryScreen.WorkingArea.Bottom - this.Height;
|
||||
Point windowLocation = new Point(left, top);
|
||||
this.Location = windowLocation;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Scroll to last line when add new log lines
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void appEventsLogDataGridView_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)
|
||||
{
|
||||
appEventsLogDataGridView.CurrentCell = appEventsLogDataGridView.Rows[appEventsLogDataGridView.Rows.Count - 1].Cells[0];
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
//
|
||||
|
||||
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
partial class EventsInfoWindows
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.appEventsLogDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.timeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.eventColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.typeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.appEventsLogDataGridView)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// appEventsLogDataGridView
|
||||
//
|
||||
this.appEventsLogDataGridView.AllowUserToAddRows = false;
|
||||
this.appEventsLogDataGridView.AllowUserToDeleteRows = false;
|
||||
this.appEventsLogDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.appEventsLogDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.appEventsLogDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.timeColumn,
|
||||
this.eventColumn,
|
||||
this.typeColumn});
|
||||
this.appEventsLogDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.appEventsLogDataGridView.Location = new System.Drawing.Point(0, 0);
|
||||
this.appEventsLogDataGridView.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.appEventsLogDataGridView.Name = "appEventsLogDataGridView";
|
||||
this.appEventsLogDataGridView.ReadOnly = true;
|
||||
this.appEventsLogDataGridView.RowHeadersVisible = false;
|
||||
this.appEventsLogDataGridView.RowTemplate.Height = 24;
|
||||
this.appEventsLogDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.appEventsLogDataGridView.Size = new System.Drawing.Size(475, 116);
|
||||
this.appEventsLogDataGridView.TabIndex = 0;
|
||||
this.appEventsLogDataGridView.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.appEventsLogDataGridView_RowsAdded);
|
||||
//
|
||||
// timeColumn
|
||||
//
|
||||
this.timeColumn.HeaderText = "Time";
|
||||
this.timeColumn.Name = "timeColumn";
|
||||
this.timeColumn.ReadOnly = true;
|
||||
this.timeColumn.Width = 120;
|
||||
//
|
||||
// eventColumn
|
||||
//
|
||||
this.eventColumn.HeaderText = "Event";
|
||||
this.eventColumn.Name = "eventColumn";
|
||||
this.eventColumn.ReadOnly = true;
|
||||
this.eventColumn.Width = 150;
|
||||
//
|
||||
// typeColumn
|
||||
//
|
||||
this.typeColumn.HeaderText = "Type";
|
||||
this.typeColumn.Name = "typeColumn";
|
||||
this.typeColumn.ReadOnly = true;
|
||||
this.typeColumn.Width = 200;
|
||||
//
|
||||
// EventsInfoWindows
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(475, 116);
|
||||
this.Controls.Add(this.appEventsLogDataGridView);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "EventsInfoWindows";
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.Text = "Events History";
|
||||
this.TopMost = true;
|
||||
this.Shown += new System.EventHandler(this.applicationEventsInfoWindows_Shown);
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.InformationWindows_FormClosed);
|
||||
((System.ComponentModel.ISupportInitialize)(this.appEventsLogDataGridView)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.DataGridView appEventsLogDataGridView;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn timeColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn eventColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn typeColumn;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="timeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="eventColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="typeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RevitAddIns>
|
||||
<AddIn Type="Application">
|
||||
<Name>External Tool</Name>
|
||||
<Assembly>EventsMonitor.dll</Assembly>
|
||||
<ClientId>f24da5a5-87a6-41aa-9afe-456dbcaee906</ClientId>
|
||||
<FullClassName>Revit.SDK.Samples.EventsMonitor.CS.ExternalApplication</FullClassName>
|
||||
<VendorId>ADSK</VendorId>
|
||||
<VendorDescription>Autodesk, www.autodesk.com</VendorDescription>
|
||||
</AddIn>
|
||||
</RevitAddIns>
|
||||
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{AEBC5F6D-38D3-407D-A92A-E0B3A4BC480E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Revit.SDK.Samples.EventsMonitor.CS</RootNamespace>
|
||||
<AssemblyName>EventsMonitor</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Command.cs" />
|
||||
<Compile Include="EventManager.cs" />
|
||||
<Compile Include="EventsInfoWindows.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="EventsInfoWindows.designer.cs">
|
||||
<DependentUpon>EventsInfoWindows.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="EventsSettingForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="EventsSettingForm.designer.cs">
|
||||
<DependentUpon>EventsSettingForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ExternalApplication.cs" />
|
||||
<Compile Include="JournalProcessor.cs" />
|
||||
<Compile Include="LogManager.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="EventsInfoWindows.resx">
|
||||
<DependentUpon>EventsInfoWindows.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="EventsSettingForm.resx">
|
||||
<DependentUpon>EventsSettingForm.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(SolutionDir)VSProps\SDKSamples.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>set FILEFORSAMPLEREG="$(SolutionDir)..\..\..\..\Regression\API\SDKSamples\UpdateSampleDllForRegression.pl"
|
||||
if exist %25FILEFORSAMPLEREG%25 perl %25FILEFORSAMPLEREG%25 $(ProjectExt) "$(ProjectPath)" "$(TargetPath)" "$(SolutionDir)"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,150 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using Autodesk.Revit;
|
||||
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
/// <summary>
|
||||
/// The UI to allow user to choose which event they want to subscribe.
|
||||
/// This class is not the main one, is just a assistant in this sample.
|
||||
/// If you just want to learn how to use Revit events,
|
||||
/// please pay more attention to EventManager class.
|
||||
/// </summary>
|
||||
public partial class EventsSettingForm : System.Windows.Forms.Form
|
||||
{
|
||||
#region Class Member Variable
|
||||
/// <summary>
|
||||
/// A list to storage the selection user made
|
||||
/// </summary>
|
||||
private List<String> m_appSelection;
|
||||
#endregion
|
||||
|
||||
#region Class property
|
||||
/// <summary>
|
||||
/// Property to get and set private member variables of SeletionMap
|
||||
/// </summary>
|
||||
public List<String> AppSelectionList
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == m_appSelection)
|
||||
{
|
||||
m_appSelection = new List<string>();
|
||||
}
|
||||
return m_appSelection;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_appSelection = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Class Constructors
|
||||
/// <summary>
|
||||
/// Constructor without any argument
|
||||
/// </summary>
|
||||
public EventsSettingForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
m_appSelection = new List<string>();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Class Events Handler
|
||||
/// <summary>
|
||||
/// Event handler for click OK button.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void FinishToggle_Click(object sender, EventArgs e)
|
||||
{
|
||||
// clear lists.
|
||||
m_appSelection.Clear();
|
||||
foreach (object item in AppEventsCheckedList.CheckedItems)
|
||||
{
|
||||
m_appSelection.Add(item.ToString());
|
||||
}
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Hide();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event handler for close windows
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void ToggleForm_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
this.Hide();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event handler for clicking check all button.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void checkAllButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
for (int i = 0; i < AppEventsCheckedList.Items.Count; i++)
|
||||
{
|
||||
AppEventsCheckedList.SetItemChecked(i, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Events handler for clicking check none button.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void checkNoneButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
for (int i = 0; i < AppEventsCheckedList.Items.Count; i++)
|
||||
{
|
||||
AppEventsCheckedList.SetItemChecked(i, false);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Events handler for clicking cancel button.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void cancelButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
this.Hide();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,154 @@
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
partial class EventsSettingForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.FinishToggle = new System.Windows.Forms.Button();
|
||||
this.checkAllButton = new System.Windows.Forms.Button();
|
||||
this.checkNoneButton = new System.Windows.Forms.Button();
|
||||
this.cancelButton = new System.Windows.Forms.Button();
|
||||
this.AppEventsCheckedList = new System.Windows.Forms.CheckedListBox();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// FinishToggle
|
||||
//
|
||||
this.FinishToggle.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.FinishToggle.Location = new System.Drawing.Point(232, 225);
|
||||
this.FinishToggle.Name = "FinishToggle";
|
||||
this.FinishToggle.Size = new System.Drawing.Size(75, 23);
|
||||
this.FinishToggle.TabIndex = 1;
|
||||
this.FinishToggle.Text = "&OK";
|
||||
this.FinishToggle.UseVisualStyleBackColor = true;
|
||||
this.FinishToggle.Click += new System.EventHandler(this.FinishToggle_Click);
|
||||
//
|
||||
// checkAllButton
|
||||
//
|
||||
this.checkAllButton.Location = new System.Drawing.Point(317, 7);
|
||||
this.checkAllButton.Name = "checkAllButton";
|
||||
this.checkAllButton.Size = new System.Drawing.Size(75, 23);
|
||||
this.checkAllButton.TabIndex = 3;
|
||||
this.checkAllButton.Text = "&Select All";
|
||||
this.checkAllButton.UseVisualStyleBackColor = true;
|
||||
this.checkAllButton.Click += new System.EventHandler(this.checkAllButton_Click);
|
||||
//
|
||||
// checkNoneButton
|
||||
//
|
||||
this.checkNoneButton.Location = new System.Drawing.Point(317, 47);
|
||||
this.checkNoneButton.Name = "checkNoneButton";
|
||||
this.checkNoneButton.Size = new System.Drawing.Size(75, 23);
|
||||
this.checkNoneButton.TabIndex = 4;
|
||||
this.checkNoneButton.Text = "&Unselect All";
|
||||
this.checkNoneButton.UseVisualStyleBackColor = true;
|
||||
this.checkNoneButton.Click += new System.EventHandler(this.checkNoneButton_Click);
|
||||
//
|
||||
// cancelButton
|
||||
//
|
||||
this.cancelButton.Location = new System.Drawing.Point(317, 225);
|
||||
this.cancelButton.Name = "cancelButton";
|
||||
this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
||||
this.cancelButton.TabIndex = 4;
|
||||
this.cancelButton.Text = "&Cancel";
|
||||
this.cancelButton.UseVisualStyleBackColor = true;
|
||||
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
|
||||
//
|
||||
// AppEventsCheckedList
|
||||
//
|
||||
this.AppEventsCheckedList.CheckOnClick = true;
|
||||
this.AppEventsCheckedList.FormattingEnabled = true;
|
||||
this.AppEventsCheckedList.Items.AddRange(new object[] {
|
||||
"DocumentCreating",
|
||||
"DocumentCreated",
|
||||
"DocumentOpening",
|
||||
"DocumentOpened",
|
||||
"DocumentClosing",
|
||||
"DocumentClosed",
|
||||
"DocumentSavingAs",
|
||||
"DocumentSavedAs",
|
||||
"DocumentSaving",
|
||||
"DocumentSaved",
|
||||
"FileExporting",
|
||||
"FileExported",
|
||||
"FileImporting",
|
||||
"FileImported",
|
||||
"DocumentPrinting",
|
||||
"DocumentPrinted",
|
||||
"ViewPrinting",
|
||||
"ViewPrinted",
|
||||
"ViewActivating",
|
||||
"ViewActivated",
|
||||
"DocumentSynchronizingWithCentral",
|
||||
"DocumentSynchronizedWithCentral",
|
||||
"ProgressChanged"});
|
||||
this.AppEventsCheckedList.Location = new System.Drawing.Point(7, 7);
|
||||
this.AppEventsCheckedList.Name = "AppEventsCheckedList";
|
||||
this.AppEventsCheckedList.Size = new System.Drawing.Size(304, 199);
|
||||
this.AppEventsCheckedList.TabIndex = 2;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.groupBox1.Location = new System.Drawing.Point(0, 218);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(406, 1);
|
||||
this.groupBox1.TabIndex = 5;
|
||||
this.groupBox1.TabStop = false;
|
||||
//
|
||||
// ToggleForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(400, 254);
|
||||
this.Controls.Add(this.AppEventsCheckedList);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.checkAllButton);
|
||||
this.Controls.Add(this.FinishToggle);
|
||||
this.Controls.Add(this.checkNoneButton);
|
||||
this.Controls.Add(this.cancelButton);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "ToggleForm";
|
||||
this.ShowInTaskbar = false;
|
||||
this.Text = "Events Tracking Setting";
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ToggleForm_FormClosed);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button FinishToggle;
|
||||
private System.Windows.Forms.Button checkAllButton;
|
||||
private System.Windows.Forms.Button checkNoneButton;
|
||||
private System.Windows.Forms.Button cancelButton;
|
||||
private System.Windows.Forms.CheckedListBox AppEventsCheckedList;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,334 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
//
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Diagnostics;
|
||||
|
||||
using Autodesk.Revit;
|
||||
using Autodesk.Revit.UI;
|
||||
using Autodesk.Revit.ApplicationServices;
|
||||
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
/// <summary>
|
||||
/// A class inherits IExternalApplication interface and provide an entry of the sample.
|
||||
/// This class controls other function class and plays the bridge role in this sample.
|
||||
/// It create a custom menu "Track Revit Events" of which the corresponding
|
||||
/// external command is the command in this project.
|
||||
/// </summary>
|
||||
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)]
|
||||
[Autodesk.Revit.Attributes.Regeneration(Autodesk.Revit.Attributes.RegenerationOption.Manual)]
|
||||
[Autodesk.Revit.Attributes.Journaling(Autodesk.Revit.Attributes.JournalingMode.NoCommandData)]
|
||||
public class ExternalApplication : IExternalApplication
|
||||
{
|
||||
#region Class Member Variables
|
||||
/// <summary>
|
||||
/// A controlled application used to register the events. Because all trigger points
|
||||
/// in this sample come from UI, all events in application level must be registered
|
||||
/// to ControlledApplication. If the trigger point is from API, user can register it
|
||||
/// to Application or Document according to what level it is in. But then,
|
||||
/// the syntax is the same in these three cases.
|
||||
/// </summary>
|
||||
private static UIControlledApplication m_ctrlApp;
|
||||
|
||||
/// <summary>
|
||||
/// A common object used to write the log file and generate the data table
|
||||
/// for event information.
|
||||
/// </summary>
|
||||
private static LogManager m_logManager;
|
||||
|
||||
/// <summary>
|
||||
/// The window is used to show events' information.
|
||||
/// </summary>
|
||||
private static EventsInfoWindows m_infWindows;
|
||||
|
||||
/// <summary>
|
||||
/// The window is used to choose what event to be subscribed.
|
||||
/// </summary>
|
||||
private static EventsSettingForm m_settingDialog;
|
||||
|
||||
/// <summary>
|
||||
/// This list is used to store what user selected.
|
||||
/// It can be got from the selectionDialog.
|
||||
/// </summary>
|
||||
private static List<String> m_appEventsSelection;
|
||||
|
||||
/// <summary>
|
||||
/// This object is used to manager the events in application level.
|
||||
/// It can be updated according to what user select.
|
||||
/// </summary>
|
||||
private static EventManager m_appEventMgr;
|
||||
|
||||
// These #if directives within file are used to compile project in different purpose:
|
||||
// . Build project with Release mode for regression test,
|
||||
// . Build project with Debug mode for manual run
|
||||
#if !(Debug || DEBUG)
|
||||
/// <summary>
|
||||
/// This object is used to make the sample can be autotest.
|
||||
/// It can dump the event list to file or commandData.Data
|
||||
/// and also can retrieval the list from file and commandData.Data.
|
||||
/// If you just pay attention to how to use events,
|
||||
/// please skip over this class and related sentence.
|
||||
/// </summary>
|
||||
private static JournalProcessor m_journalProcessor;
|
||||
#endif
|
||||
#endregion
|
||||
|
||||
#region Class Static Property
|
||||
/// <summary>
|
||||
/// Property to get and set private member variable of InfoWindows
|
||||
/// </summary>
|
||||
public static EventsInfoWindows InfoWindows
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == m_infWindows)
|
||||
{
|
||||
m_infWindows = new EventsInfoWindows(EventLogManager);
|
||||
}
|
||||
return m_infWindows;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_infWindows = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Property to get private member variable of SeletionDialog
|
||||
/// </summary>
|
||||
public static EventsSettingForm SettingDialog
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == m_settingDialog)
|
||||
{
|
||||
m_settingDialog = new EventsSettingForm();
|
||||
}
|
||||
return m_settingDialog;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Property to get and set private member variable of log data
|
||||
/// </summary>
|
||||
public static LogManager EventLogManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == m_logManager)
|
||||
{
|
||||
m_logManager = new LogManager();
|
||||
}
|
||||
return m_logManager;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Property to get and set private member variable of application events selection.
|
||||
/// </summary>
|
||||
public static List<String> ApplicationEvents
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == m_appEventsSelection)
|
||||
{
|
||||
m_appEventsSelection = new List<string>();
|
||||
}
|
||||
return m_appEventsSelection;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_appEventsSelection = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Property to get private member variable of application events manager.
|
||||
/// </summary>
|
||||
public static EventManager AppEventMgr
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == m_appEventMgr)
|
||||
{
|
||||
m_appEventMgr = new EventManager(m_ctrlApp);
|
||||
}
|
||||
return m_appEventMgr;
|
||||
}
|
||||
}
|
||||
|
||||
#if !(Debug || DEBUG)
|
||||
/// <summary>
|
||||
/// Property to get private member variable of journal processor.
|
||||
/// </summary>
|
||||
public static JournalProcessor JnlProcessor
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == m_journalProcessor)
|
||||
{
|
||||
m_journalProcessor = new JournalProcessor();
|
||||
}
|
||||
return m_journalProcessor;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endregion
|
||||
|
||||
#region IExternalApplication Members
|
||||
|
||||
/// <summary>
|
||||
/// Implement this method to implement the external application which should be called when
|
||||
/// Revit starts before a file or default template is actually loaded.
|
||||
/// </summary>
|
||||
/// <param name="application">An object that is passed to the external application
|
||||
/// which contains the controlled application.</param>
|
||||
/// <returns>Return the status of the external application.
|
||||
/// A result of Succeeded means that the external application successfully started.
|
||||
/// Cancelled can be used to signify that the user cancelled the external operation at
|
||||
/// some point.
|
||||
/// If false is returned then Revit should inform the user that the external application
|
||||
/// failed to load and the release the internal reference.</returns>
|
||||
public Autodesk.Revit.UI.Result OnStartup(UIControlledApplication application)
|
||||
{
|
||||
// initialize member variables.
|
||||
m_ctrlApp = application;
|
||||
m_logManager = new LogManager();
|
||||
m_infWindows = new EventsInfoWindows(m_logManager);
|
||||
m_settingDialog = new EventsSettingForm();
|
||||
m_appEventsSelection = new List<string>();
|
||||
m_appEventMgr = new EventManager(m_ctrlApp);
|
||||
|
||||
#if !(Debug || DEBUG)
|
||||
m_journalProcessor = new JournalProcessor();
|
||||
#endif
|
||||
|
||||
try
|
||||
{
|
||||
#if !(Debug || DEBUG)
|
||||
// playing journal.
|
||||
if (m_journalProcessor.IsReplay)
|
||||
{
|
||||
m_appEventsSelection = m_journalProcessor.EventsList;
|
||||
}
|
||||
|
||||
// running the sample form UI.
|
||||
else
|
||||
{
|
||||
#endif
|
||||
m_settingDialog.ShowDialog();
|
||||
if (DialogResult.OK == m_settingDialog.DialogResult)
|
||||
{
|
||||
//get what user select.
|
||||
m_appEventsSelection = m_settingDialog.AppSelectionList;
|
||||
}
|
||||
|
||||
#if !(Debug || DEBUG)
|
||||
// dump what user select to a file in order to autotesting.
|
||||
m_journalProcessor.DumpEventsListToFile(m_appEventsSelection);
|
||||
}
|
||||
#endif
|
||||
|
||||
// update the events according to the selection.
|
||||
m_appEventMgr.Update(m_appEventsSelection);
|
||||
|
||||
// track the selected events by showing the information in the information windows.
|
||||
m_infWindows.Show();
|
||||
|
||||
// add menu item in Revit menu bar to provide an approach to
|
||||
// retrieve events setting form. User can change his choices
|
||||
// by calling the setting form again.
|
||||
AddCustomPanel(application);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return Autodesk.Revit.UI.Result.Failed;
|
||||
}
|
||||
|
||||
return Autodesk.Revit.UI.Result.Succeeded;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Implement this method to implement the external application which should be called when
|
||||
/// Revit is about to exit,Any documents must have been closed before this method is called.
|
||||
/// </summary>
|
||||
/// <param name="application">An object that is passed to the external application
|
||||
/// which contains the controlled application.</param>
|
||||
/// <returns>Return the status of the external application.
|
||||
/// A result of Succeeded means that the external application successfully shutdown.
|
||||
/// Cancelled can be used to signify that the user cancelled the external operation at
|
||||
/// some point.
|
||||
/// If false is returned then the Revit user should be warned of the failure of the external
|
||||
/// application to shut down correctly.</returns>
|
||||
public Autodesk.Revit.UI.Result OnShutdown(UIControlledApplication application)
|
||||
{
|
||||
// dispose some resource.
|
||||
Dispose();
|
||||
return Autodesk.Revit.UI.Result.Succeeded;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Class Methods
|
||||
/// <summary>
|
||||
/// Dispose some resource.
|
||||
/// </summary>
|
||||
public static void Dispose()
|
||||
{
|
||||
if (m_infWindows != null)
|
||||
{
|
||||
m_infWindows.Close();
|
||||
m_infWindows = null;
|
||||
}
|
||||
if (m_settingDialog != null)
|
||||
{
|
||||
m_settingDialog.Close();
|
||||
m_settingDialog = null;
|
||||
}
|
||||
m_appEventMgr = null;
|
||||
m_logManager.CloseLogFile();
|
||||
m_logManager = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Add custom menu.
|
||||
/// </summary>
|
||||
static private void AddCustomPanel(UIControlledApplication application)
|
||||
{
|
||||
// create a panel named "Events Monitor";
|
||||
string panelName = "Events Monitor";
|
||||
// create a button on the panel.
|
||||
RibbonPanel ribbonPanelPushButtons = application.CreateRibbonPanel(panelName);
|
||||
PushButtonData pushButtonData = new PushButtonData("EventsSetting",
|
||||
"Set Events", System.Reflection.Assembly.GetExecutingAssembly().Location,
|
||||
"Revit.SDK.Samples.EventsMonitor.CS.Command");
|
||||
PushButton pushButtonCreateWall = ribbonPanelPushButtons.AddItem(pushButtonData)as PushButton;
|
||||
pushButtonCreateWall.ToolTip = "Setting Events";
|
||||
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Data;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
using Autodesk.Revit;
|
||||
using Autodesk.Revit.DB.Events;
|
||||
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
/// <summary>
|
||||
/// This class is implemented to make sample autotest.
|
||||
/// It checks whether the external file exists or not.
|
||||
/// The sample can control the UI's display by this judgement.
|
||||
/// It can dump the seleted event list to file or commandData.Data
|
||||
/// and also can retrieve the list from file and commandData.Data.
|
||||
/// </summary>
|
||||
public class JournalProcessor
|
||||
{
|
||||
#region Class Member Variables
|
||||
/// <summary>
|
||||
/// xml file name.
|
||||
/// </summary>
|
||||
private string m_xmlFile;
|
||||
|
||||
/// <summary>
|
||||
/// xml serializer.
|
||||
/// </summary>
|
||||
private XmlSerializer m_xs;
|
||||
|
||||
/// <summary>
|
||||
/// using UI or playing journal.
|
||||
/// </summary>
|
||||
private bool m_isReplay;
|
||||
|
||||
/// <summary>
|
||||
/// events deserialized from xml file.
|
||||
/// </summary>
|
||||
private List<String> m_eventsInFile;
|
||||
|
||||
/// <summary>
|
||||
/// direcotory of xml file.
|
||||
/// </summary>
|
||||
private string m_directory;
|
||||
#endregion
|
||||
|
||||
#region Class Property
|
||||
/// <summary>
|
||||
/// Property to get private member variables to check the stauts is playing or recording.
|
||||
/// </summary>
|
||||
public bool IsReplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_isReplay;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Property to get private member variables of Event list.
|
||||
/// </summary>
|
||||
public List<String> EventsList
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_eventsInFile;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Class Constructor and Destructor
|
||||
/// <summary>
|
||||
/// Constructor without argument.
|
||||
/// </summary>
|
||||
public JournalProcessor()
|
||||
{
|
||||
m_xs = new XmlSerializer(typeof(List<String>));
|
||||
m_directory = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
|
||||
m_xmlFile = Path.Combine(m_directory,"Current.xml");
|
||||
|
||||
// if the external file is exist, it means playing journal now. No Setting Dialog will pop up.
|
||||
m_isReplay = CheckFileExistence();
|
||||
|
||||
// get event list from xml file.
|
||||
GetEventsListFromFile();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Class Methods
|
||||
/// <summary>
|
||||
/// Check whether the xml file is exist or not.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private bool CheckFileExistence()
|
||||
{
|
||||
return File.Exists(m_xmlFile) ? true : false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the event list from xml file.
|
||||
/// This method is used in ExternalApplication.
|
||||
/// </summary>
|
||||
private void GetEventsListFromFile()
|
||||
{
|
||||
if (m_isReplay)
|
||||
{
|
||||
Stream stream = new FileStream(m_xmlFile, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
|
||||
m_eventsInFile = (List<String>)m_xs.Deserialize(stream);
|
||||
stream.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_eventsInFile = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Dump the selected event list to xml file.
|
||||
/// This method is used in ExternalApplication.
|
||||
/// </summary>
|
||||
/// <param name="eventList"></param>
|
||||
public void DumpEventsListToFile(List<String> eventList)
|
||||
{
|
||||
if (!m_isReplay)
|
||||
{
|
||||
string fileName = DateTime.Now.ToString("yyyyMMdd") + ".xml";
|
||||
string tempFile =Path.Combine(m_directory ,fileName);
|
||||
Stream stream = new FileStream(tempFile, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.ReadWrite);
|
||||
m_xs.Serialize(stream, eventList);
|
||||
stream.Close();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get event list from commandData.Data.
|
||||
/// This method is used in ExternalCommmand.
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
public List<String> GetEventsListFromJournalData(IDictionary<String, String> data)
|
||||
{
|
||||
List<String> eventList = new List<string>();
|
||||
foreach (KeyValuePair<string, string> kvp in data)
|
||||
{
|
||||
eventList.Add(kvp.Key);
|
||||
}
|
||||
return eventList;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Dump the selected event list to commandData.Data.
|
||||
/// This method is used in ExternalCommand.
|
||||
/// </summary>
|
||||
/// <param name="eventList"></param>
|
||||
/// <param name="data"></param>
|
||||
public void DumpEventListToJournalData(List<String> eventList, ref IDictionary<String, String> data)
|
||||
{
|
||||
foreach (String eventname in eventList)
|
||||
{
|
||||
data.Add(eventname, "1");
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,255 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Data;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
using Autodesk.Revit;
|
||||
using Autodesk.Revit.DB.Events;
|
||||
|
||||
namespace Revit.SDK.Samples.EventsMonitor.CS
|
||||
{
|
||||
/// <summary>
|
||||
/// This class implements all operators about writing log file and generating event
|
||||
/// information for showing in the information window. This class is not the main one
|
||||
/// just a assistant in this sample. If you just want to learn how to use Revit events,
|
||||
/// please pay more attention to EventManager class.
|
||||
/// </summary>
|
||||
public class LogManager
|
||||
{
|
||||
#region Class Member Variables
|
||||
/// <summary>
|
||||
/// data table for information windows.
|
||||
/// </summary>
|
||||
private DataTable m_eventsLog;
|
||||
|
||||
/// <summary>
|
||||
/// add a trace listener.
|
||||
/// </summary>
|
||||
private TraceListener m_txtListener;
|
||||
|
||||
/// <summary>
|
||||
/// path of temp file and log file
|
||||
/// </summary>
|
||||
private string m_filePath = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
|
||||
|
||||
/// <summary>
|
||||
/// a temp file to record log and before revit closed the temp file will be change to log file.
|
||||
/// This strategy can make the log file alway can be accessable.
|
||||
/// </summary>
|
||||
private string m_tempFile;
|
||||
#endregion
|
||||
|
||||
#region Class Property
|
||||
/// <summary>
|
||||
/// Property to get and set private member variables of Event log information.
|
||||
/// </summary>
|
||||
public DataTable EventsLog
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_eventsLog;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Class Constructor and Destructor
|
||||
/// <summary>
|
||||
/// Constructor without argument.
|
||||
/// </summary>
|
||||
public LogManager()
|
||||
{
|
||||
//m_filePath = ;
|
||||
CreateLogFile();
|
||||
m_eventsLog = CreateEventsLogTable();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Class Methods
|
||||
/// <summary>
|
||||
/// Create a log file to track the subscribed events' work process.
|
||||
/// </summary>
|
||||
private void CreateLogFile()
|
||||
{
|
||||
m_tempFile = Path.Combine(m_filePath, "Temp.log");
|
||||
if (File.Exists(m_tempFile)) File.Delete(m_tempFile);
|
||||
m_txtListener = new TextWriterTraceListener(m_tempFile);
|
||||
Trace.Listeners.Add(m_txtListener);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Close the log file and remove the corresponding listener.
|
||||
/// </summary>
|
||||
public void CloseLogFile()
|
||||
{
|
||||
Trace.Flush();
|
||||
Trace.Listeners.Remove(m_txtListener);
|
||||
Trace.Close();
|
||||
m_txtListener.Close();
|
||||
|
||||
string log = Path.Combine(m_filePath, "EventsMonitor.log");
|
||||
if (File.Exists(log)) File.Delete(log);
|
||||
File.Copy(m_tempFile, log);
|
||||
File.Delete(m_tempFile);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generate a data table with four columns for display in window
|
||||
/// </summary>
|
||||
/// <returns>The DataTable to be displayed in window</returns>
|
||||
private DataTable CreateEventsLogTable()
|
||||
{
|
||||
// create a new dataTable
|
||||
DataTable eventsInfoLogTable = new DataTable("EventsLogInfoTable");
|
||||
|
||||
// Create a "Time" column
|
||||
DataColumn timeColumn = new DataColumn("Time", typeof(System.String));
|
||||
timeColumn.Caption = "Time";
|
||||
eventsInfoLogTable.Columns.Add(timeColumn);
|
||||
|
||||
// Create a "Event" column
|
||||
DataColumn eventColum = new DataColumn("Event", typeof(System.String));
|
||||
eventColum.Caption = "Event";
|
||||
eventsInfoLogTable.Columns.Add(eventColum);
|
||||
|
||||
// Create a "Type" column
|
||||
DataColumn typeColum = new DataColumn("Type", typeof(System.String));
|
||||
typeColum.Caption = "Type";
|
||||
eventsInfoLogTable.Columns.Add(typeColum);
|
||||
|
||||
// return this data table
|
||||
return eventsInfoLogTable;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// When any event which has been subscribed is fired, log its information.
|
||||
/// the information includes: machine name, user, time and event
|
||||
/// </summary>
|
||||
/// <param name="sender"> Event sender.</param>
|
||||
/// <param name="args">EventArgs of this event.</param>
|
||||
public void TrackEvent(Object sender, EventArgs args)
|
||||
{
|
||||
DataRow newRow = m_eventsLog.NewRow();
|
||||
|
||||
// set the relative information of this event into the table.
|
||||
newRow["Time"] = System.DateTime.Now.ToString();
|
||||
newRow["Event"] = GetEventsName(args.GetType());
|
||||
newRow["Type"] = sender.GetType().ToString();
|
||||
|
||||
m_eventsLog.Rows.Add(newRow);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Write log to file, event name and type will be dumped
|
||||
/// </summary>
|
||||
/// <param name="sender">Event sender.</param>
|
||||
/// <param name="args">EventArgs of this event.</param>
|
||||
public void WriteLogFile(Object sender, EventArgs args)
|
||||
{
|
||||
Trace.WriteLine("*********************************************************");
|
||||
if (null == args)
|
||||
{
|
||||
return;
|
||||
}
|
||||
// get this eventArgs's runtime type.
|
||||
Type type = args.GetType();
|
||||
String eventName = GetEventsName(type);
|
||||
Trace.WriteLine("Raised " + sender.GetType().ToString() + "." + eventName);
|
||||
Trace.WriteLine("---------------------------------------------------------");
|
||||
|
||||
// 1: output sender's information
|
||||
Trace.WriteLine(" Start to dump Sender and EventAgrs of Event...\n");
|
||||
if (null != sender)
|
||||
{
|
||||
// output the type of sender
|
||||
Trace.WriteLine(" [Event Sender]: " + sender.GetType().FullName);
|
||||
}
|
||||
else
|
||||
{
|
||||
Trace.WriteLine(" Sender is null, it's unexpected!!!");
|
||||
}
|
||||
|
||||
// 2: Output event argument
|
||||
// get all properties info of this argument.
|
||||
PropertyInfo[] propertyInfos = type.GetProperties();
|
||||
|
||||
// output some typical property's name and value. (for example, Cancelable, Cancel,etc)
|
||||
foreach (PropertyInfo propertyInfo in propertyInfos)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!propertyInfo.CanRead)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Object propertyValue;
|
||||
String propertyName = propertyInfo.Name;
|
||||
switch(propertyName)
|
||||
{
|
||||
case "Document":
|
||||
case "Cancellable":
|
||||
case "Cancel":
|
||||
case "Status":
|
||||
case "DocumentType":
|
||||
case "Format":
|
||||
propertyValue = propertyInfo.GetValue(args, null);
|
||||
// Dump current property value
|
||||
Trace.WriteLine(" [Property]: " + propertyInfo.Name);
|
||||
Trace.WriteLine(" [Value]: " + propertyValue.ToString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Unexpected exception
|
||||
Trace.WriteLine(" [Property Exception]: " + propertyInfo.Name + ", " + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get event name from its EventArgs, without namespace prefix
|
||||
/// </summary>
|
||||
/// <param name="type">Generic event type.</param>
|
||||
/// <returns></returns>
|
||||
private String GetEventsName(Type type)
|
||||
{
|
||||
String argName = type.ToString();
|
||||
String tail = "EventArgs";
|
||||
String head = "Autodesk.Revit.DB.Events.";
|
||||
int firstIndex = head.Length;
|
||||
int length = argName.Length - head.Length - tail.Length;
|
||||
String eventName = argName.Substring(firstIndex, length);
|
||||
return eventName;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("EventsMonitor")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Autodesk")]
|
||||
[assembly: AssemblyProduct("EventsMonitor")]
|
||||
[assembly: AssemblyCopyright("Copyright © Autodesk, Inc. 2009")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("0a3861ab-0237-41b9-a073-81634af9ba84")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,266 @@
|
||||
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi0\deflang1033\deflangfe2052\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
|
||||
{\f13\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}SimSun{\*\falt ??\'a1\'a7??};}{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\f39\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}@SimSun;}
|
||||
{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fhimajor\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f40\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\f41\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f43\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f44\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f45\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\f46\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f47\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f48\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f50\fbidi \fswiss\fcharset238\fprq2 Arial CE;}
|
||||
{\f51\fbidi \fswiss\fcharset204\fprq2 Arial Cyr;}{\f53\fbidi \fswiss\fcharset161\fprq2 Arial Greek;}{\f54\fbidi \fswiss\fcharset162\fprq2 Arial Tur;}{\f55\fbidi \fswiss\fcharset177\fprq2 Arial (Hebrew);}
|
||||
{\f56\fbidi \fswiss\fcharset178\fprq2 Arial (Arabic);}{\f57\fbidi \fswiss\fcharset186\fprq2 Arial Baltic;}{\f58\fbidi \fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f172\fbidi \fnil\fcharset0\fprq2 SimSun Western{\*\falt ??\'a1\'a7??};}
|
||||
{\f380\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f381\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}{\f383\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f384\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}
|
||||
{\f387\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f432\fbidi \fnil\fcharset0\fprq2 @SimSun Western;}{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
|
||||
{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}
|
||||
{\fhimajor\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\fhimajor\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\fhimajor\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}
|
||||
{\fhimajor\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
|
||||
{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}
|
||||
{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}
|
||||
{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
|
||||
\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;
|
||||
\red192\green192\blue192;\red31\green73\blue125;}{\*\defchp \fs22\loch\af31506\hich\af31506\dbch\af31505 }{\*\defpap \ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{
|
||||
\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \fs22\lang1033\langfe2052\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp2052
|
||||
\snext0 \sqformat \spriority0 Normal;}{\*\cs10 \additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\*
|
||||
\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0 \fs22\lang1033\langfe2052\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp2052
|
||||
\snext11 \ssemihidden \sunhideused \sqformat Normal Table;}}{\*\listtable{\list\listtemplateid1630585668\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\leveltemplateid67698703
|
||||
\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-360\li360\lin360 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698713
|
||||
\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1080\lin1080 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698715
|
||||
\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li1800\lin1800 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698703
|
||||
\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2520\lin2520 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698713
|
||||
\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3240\lin3240 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698715
|
||||
\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li3960\lin3960 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698703
|
||||
\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li4680\lin4680 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698713
|
||||
\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5400\lin5400 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698715
|
||||
\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6120\lin6120 }{\listname ;}\listid1369185784}{\list\listtemplateid-172859438\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li360\lin360 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1080\lin1080 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li1800\lin1800 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2520\lin2520 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3240\lin3240 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li3960\lin3960 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li4680\lin4680 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5400\lin5400 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6120\lin6120 }{\listname ;}\listid1524635321}}{\*\listoverridetable{\listoverride\listid1369185784
|
||||
\listoverridecount0\ls1}{\listoverride\listid1524635321\listoverridecount0\ls2}}{\*\rsidtbl \rsid3025347\rsid4668219\rsid6759877\rsid9322000\rsid12205652\rsid13314860}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0
|
||||
\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\operator Jim Jia}{\creatim\yr2010\mo3\dy3\hr17\min27}{\revtim\yr2010\mo6\dy12\hr9\min32}{\version7}{\edmins1069}{\nofpages2}{\nofwords599}{\nofchars3297}{\nofcharsws3889}{\vern32771}}
|
||||
{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect
|
||||
\widowctrl\ftnbj\aenddoc\trackmoves1\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120\dgvspace120\dghorigin1701
|
||||
\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale123\rsidroot9322000 \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2
|
||||
\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6
|
||||
\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang
|
||||
{\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \fs22\lang1033\langfe2052\loch\af31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp2052 {
|
||||
\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Application}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 : EventsMonitor\line }{\rtlch\fcs1 \ab\af1\afs20
|
||||
\ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Revit Platform}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 : All\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219
|
||||
\hich\af1\dbch\af31505\loch\f1 Revit Version}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 : 2011.0}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0
|
||||
\b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 First Released For}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 : 2010}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219 .0\line }{
|
||||
\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Programming Language}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 : C#\line }{\rtlch\fcs1 \ab\af1\afs20
|
||||
\ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Skill Level}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 : Medium\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219
|
||||
\hich\af1\dbch\af31505\loch\f1 Category}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 : Basics\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Type}{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 : ExternalApplication \line \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Subject:}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Track Event.\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Summary}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219
|
||||
\hich\af1\dbch\af31505\loch\f1 :}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\cf6\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 \line }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1
|
||||
This sample demonstrates how to subscribe to controlled application level Events. }{\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \f0\fs24\insrsid4668219
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\lang1036\langfe2052\langnp1036\insrsid4668219\charrsid9322000 \hich\af1\dbch\af31505\loch\f1 Classes:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\lang1036\langfe2052\langnp1036\insrsid4668219\charrsid9322000 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\lang1036\langfe2052\langnp1036\insrsid4668219\charrsid9322000
|
||||
\par }\pard \ltrpar\ql \li360\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin360\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\lang1036\langfe2052\langnp1036\insrsid4668219\charrsid9322000 \hich\af1\dbch\af31505\loch\f1 Autodesk.Revit.}{\rtlch\fcs1
|
||||
\af1\afs20 \ltrch\fcs0 \fs20\lang1036\langfe2052\loch\af1\hich\af1\dbch\af13\langnp1036\insrsid6759877 \hich\af1\dbch\af13\loch\f1 UI.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\lang1036\langfe2052\langnp1036\insrsid4668219\charrsid9322000
|
||||
\hich\af1\dbch\af31505\loch\f1 IExternalCommand
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\lang1036\langfe2052\langnp1036\insrsid4668219\charrsid6759877 \hich\af1\dbch\af31505\loch\f1 Autodesk.Revit.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\lang1036\langfe2052\loch\af1\hich\af1\dbch\af13\langnp1036\insrsid6759877\charrsid6759877 \hich\af1\dbch\af13\loch\f1 UI.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\lang1036\langfe2052\langnp1036\insrsid4668219\charrsid6759877
|
||||
\hich\af1\dbch\af31505\loch\f1 IExternamApplication}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\lang1036\langfe2052\loch\af1\hich\af1\dbch\af13\langnp1036\insrsid4668219
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\lang1036\langfe2052\loch\af1\hich\af1\dbch\af13\langnp1036\insrsid6759877 \hich\af1\dbch\af13\loch\f1 Autodesk.Revit.DB.Events}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\lang1036\langfe2052\loch\af1\hich\af1\dbch\af13\langnp1036\insrsid6759877\charrsid6759877
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\lang1036\langfe2052\langnp1036\insrsid4668219\charrsid6759877
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Project Files:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0
|
||||
\f0\fs20\insrsid4668219
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Command.cs
|
||||
\par }\pard \ltrpar\ql \li360\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin360\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains the class Command which implements IExternalCommand and used to retrieve the events setting to help user changing his choices}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219 .
|
||||
\par
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 ExternalApplication.cs
|
||||
\par }\pard \ltrpar\ql \li360\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin360\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 This file contains one class ExternalApplication which impl
|
||||
\hich\af1\dbch\af31505\loch\f1 \hich\f1
|
||||
ements IExternalApplication interface and provides an entry of the sample. This class controls other function class and plays the bridge role in this sample. It also creates a custom panel "Event Monitor" that contains a push button named \'93\loch\f1
|
||||
\hich\f1 Set Events\'94\loch\f1 in\hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 OnStartup method.
|
||||
\par }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 EventManager.cs}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li360\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin360\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains one class AppEventManager which implements all the events handler methods. This class is a manager for application events. In this class, you can subscribe and remove the events according to what you se\hich\af1\dbch\af31505\loch\f1
|
||||
lect.
|
||||
\par
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 LogManager.cs}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li360\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin360\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains one class LogManager which implements all operations about writing log file and generating event information for showing in the information windows.
|
||||
\par }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 EventInfoWindows.cs}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li360\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin360\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 This file contains a form class InformationWin\hich\af1\dbch\af31505\loch\f1
|
||||
dows which consists of one DataGridView to show the user the Revit events history log. The event log includes the event time, the event name, and the event type.
|
||||
\par }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 EventSettingForm.cs
|
||||
\par }\pard \ltrpar\ql \li360\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin360\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains a form class which consists of CheckedList controls to provide the user with options about to which events they subscribe.
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 JournalProcessor.cs
|
||||
\par }\pard \ltrpar\ql \li360\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin360\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains one class JournalProcessor which can help to auto-test this sample.This cl\hich\af1\dbch\af31505\loch\f1
|
||||
ass checks the external xml file before the UI pops up and help entrance method to control whether it is playing journal or operating in UI.This class also can help to dump the selected event list to external xml file or journal file and retrieve the even
|
||||
\hich\af1\dbch\af31505\loch\f1 t\hich\af1\dbch\af31505\loch\f1 list from those files. If you are just interested in how to use event, you can skip over this class and other related sentence.
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx720\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Description:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219
|
||||
\hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 \hich\f1 The sample pop up a dialog named \'93\loch\f1 \hich\f1 Events Tracking Setting\'94\loch\f1 when the Revit application starts. User makes his cho
|
||||
\hich\af1\dbch\af31505\loch\f1
|
||||
ice in this dialog and tracking the events he selected. And one custom panel with a push button is created at the same time. This button is used to retrieve the setting dialog shown at the beginning to let use change his last choice}{\rtlch\fcs1
|
||||
\af0\afs20 \ltrch\fcs0 \f0\fs20\cf17\insrsid4668219 .}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 All subscribed events \hich\af1\dbch\af31505\loch\f1
|
||||
are shown in InformationWindows including their names, types and the trigger times}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219 .
|
||||
\par }\pard \ltrpar\ql \fi-420\li420\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin420\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 -\tab \hich\af1\dbch\af31505\loch\f1
|
||||
This sample will subscribe to events according to what the user chose in Events Setting Window.
|
||||
\par -\tab \hich\af1\dbch\af31505\loch\f1 This sample lists events information like time, name, and type and so on\hich\af1\dbch\af31505\loch\f1 in a modeless window when corresponding events are raised.
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid4668219
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 Instructions:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\cf2\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0
|
||||
\f0\fs20\insrsid4668219
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3025347 \hich\af1\dbch\af31505\loch\f1 1.\tab}}\pard \ltrpar\ql \fi-360\li360\ri0\nowidctlpar\tx360\wrapdefault\faauto\ls1\rin0\lin360\itap0\pararsid3025347 {\rtlch\fcs1
|
||||
\af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3025347 \hich\af1\dbch\af31505\loch\f1 Build this sample under Debug mode and register your .addin with .addin of this sample.
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 2.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1
|
||||
Run Revit. An Events setting dialog box will appear.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219\charrsid3025347
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 3.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1
|
||||
Choose any event that you would like to track. For example you might try to select DocumentSaving and DocumentsSaved events. Push OK button and go to Events information window. Open and save a document, then a log item will appear in the Events informatio
|
||||
\hich\af1\dbch\af31505\loch\f1 n\hich\af1\dbch\af31505\loch\f1 window and be written into the EventsMonitor.log file}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219\charrsid3025347 .}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219\charrsid3025347
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 4.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid4668219 \hich\af1\dbch\af31505\loch\f1 \hich\f1
|
||||
And then, if you want to change another event to track, you can push the \'93\loch\f1 \hich\f1 Set Events\'94\loch\f1 button in the "EventsMonitor" panel. The Events Setting dialog box will appear again.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid4668219\charrsid3025347
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \f0\fs24\insrsid4668219
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid3025347 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid3025347 \hich\af1\dbch\af31505\loch\f1 Notes\hich\af1\dbch\af31505\loch\f1 :
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3025347\charrsid12205652 \hich\af1\dbch\af31505\loch\f1 1.\tab}}\pard \ltrpar\ql \fi-360\li360\ri0\nowidctlpar\tx360\wrapdefault\faauto\ls2\rin0\lin360\itap0\pararsid12205652
|
||||
{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3025347\charrsid12205652 \hich\af1\dbch\af31505\loch\f1 Note that some condition \hich\af1\dbch\af31505\loch\f1 compile}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12205652
|
||||
\hich\af1\dbch\af31505\loch\f1 directive}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3025347\charrsid12205652 \hich\af1\dbch\af31505\loch\f1 (\hich\af1\dbch\af31505\loch\f1 #if\hich\af1\dbch\af31505\loch\f1 )\hich\af1\dbch\af31505\loch\f1
|
||||
were used in\hich\af1\dbch\af31505\loch\f1 sample\loch\af1\dbch\af31505\hich\f1 \rquote \hich\af1\dbch\af31505\loch\f1 s sources,\hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 they\loch\af1\dbch\af31505\hich\f1 \rquote
|
||||
\hich\af1\dbch\af31505\loch\f1 re used for different purposes; please make sure you build this sample under Debug mode to let sample works as \hich\af1\dbch\af31505\loch\f1 described above, building sample under Release mode
|
||||
\hich\af1\dbch\af31505\loch\f1 is \hich\af1\dbch\af31505\loch\f1 just }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12205652 \hich\af1\dbch\af31505\loch\f1 for regression test purpose. }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid3025347\charrsid12205652
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \f0\fs24\insrsid3025347
|
||||
\par }{\*\themedata 504b030414000600080000002100828abc13fa0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb6ac3301045f785fe83d0b6d8
|
||||
72ba28a5d8cea249777d2cd20f18e4b12d6a8f843409c9df77ecb850ba082d74231062ce997b55ae8fe3a00e1893f354e9555e6885647de3a8abf4fbee29bbd7
|
||||
2a3150038327acf409935ed7d757e5ee14302999a654e99e393c18936c8f23a4dc072479697d1c81e51a3b13c07e4087e6b628ee8cf5c4489cf1c4d075f92a0b
|
||||
44d7a07a83c82f308ac7b0a0f0fbf90c2480980b58abc733615aa2d210c2e02cb04430076a7ee833dfb6ce62e3ed7e14693e8317d8cd0433bf5c60f53fea2fe7
|
||||
065bd80facb647e9e25c7fc421fd2ddb526b2e9373fed4bb902e182e97b7b461e6bfad3f010000ffff0300504b030414000600080000002100a5d6a7e7c00000
|
||||
00360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4fc7060abb08
|
||||
84a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b63095120f88d94fbc
|
||||
52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462a1a82fe353
|
||||
bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f7468656d652f7468
|
||||
656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b4b0d592c9c
|
||||
070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b4757e8d3f7
|
||||
29e245eb2b260a0238fd010000ffff0300504b03041400060008000000210096b5ade296060000501b0000160000007468656d652f7468656d652f7468656d65
|
||||
312e786d6cec594f6fdb3614bf0fd87720746f6327761a07758ad8b19b2d4d1bc46e871e698996d850a240d2497d1bdae38001c3ba618715d86d87615b8116d8
|
||||
a5fb34d93a6c1dd0afb0475292c5585e9236d88aad3e2412f9e3fbff1e1fa9abd7eec70c1d1221294fda5efd72cd4324f1794093b0eddd1ef62fad79482a9c04
|
||||
98f184b4bd2991deb58df7dfbb8ad755446282607d22d771db8b944ad79796a40fc3585ee62949606ecc458c15bc8a702910f808e8c66c69b9565b5d8a314d3c
|
||||
94e018c8de1a8fa94fd05093f43672e23d06af89927ac06762a049136785c10607758d9053d965021d62d6f6804fc08f86e4bef210c352c144dbab999fb7b471
|
||||
7509af678b985ab0b6b4ae6f7ed9ba6c4170b06c788a705430adf71bad2b5b057d03606a1ed7ebf5babd7a41cf00b0ef83a6569632cd467faddec9699640f671
|
||||
9e76b7d6ac355c7c89feca9cccad4ea7d36c65b258a206641f1b73f8b5da6a6373d9c11b90c537e7f08dce66b7bbeae00dc8e257e7f0fd2badd5868b37a088d1
|
||||
e4600ead1ddaef67d40bc898b3ed4af81ac0d76a197c86826828a24bb318f3442d8ab518dfe3a20f000d6458d104a9694ac6d88728eee2782428d60cf03ac1a5
|
||||
193be4cbb921cd0b495fd054b5bd0f530c1931a3f7eaf9f7af9e3f45c70f9e1d3ff8e9f8e1c3e3073f5a42ceaa6d9c84e5552fbffdeccfc71fa33f9e7ef3f2d1
|
||||
17d57859c6fffac327bffcfc793510d26726ce8b2f9ffcf6ecc98baf3efdfdbb4715f04d814765f890c644a29be408edf3181433567125272371be15c308d3f2
|
||||
8acd249438c19a4b05fd9e8a1cf4cd296699771c393ac4b5e01d01e5a30a787d72cf1178108989a2159c77a2d801ee72ce3a5c545a6147f32a99793849c26ae6
|
||||
6252c6ed637c58c5bb8b13c7bfbd490a75330f4b47f16e441c31f7184e140e494214d273fc80900aedee52ead87597fa824b3e56e82e451d4c2b4d32a423279a
|
||||
668bb6690c7e9956e90cfe766cb37b077538abd27a8b1cba48c80acc2a841f12e698f13a9e281c57911ce298950d7e03aba84ac8c154f8655c4f2af074481847
|
||||
bd804859b5e696007d4b4edfc150b12addbecba6b18b148a1e54d1bc81392f23b7f84137c2715a851dd0242a633f900710a218ed715505dfe56e86e877f0034e
|
||||
16bafb0e258ebb4faf06b769e888340b103d3311da9750aa9d0a1cd3e4efca31a3508f6d0c5c5c398602f8e2ebc71591f5b616e24dd893aa3261fb44f95d843b
|
||||
5974bb5c04f4edafb95b7892ec1108f3f98de75dc97d5772bdff7cc95d94cf672db4b3da0a6557f70db629362d72bcb0431e53c6066acac80d699a6409fb44d0
|
||||
8741bdce9c0e4971624a2378cceaba830b05366b90e0ea23aaa241845368b0eb9e2612ca8c742851ca251ceccc70256d8d87265dd96361531f186c3d9058edf2
|
||||
c00eafe8e1fc5c509031bb4d680e9f39a3154de0accc56ae644441edd76156d7429d995bdd88664a9dc3ad50197c38af1a0c16d684060441db02565e85f3b966
|
||||
0d0713cc48a0ed6ef7dedc2dc60b17e92219e180643ed27acffba86e9c94c78ab90980d8a9f0913ee49d62b512b79626fb06dccee2a432bbc60276b9f7dec44b
|
||||
7904cfbca4f3f6443ab2a49c9c2c41476dafd55c6e7ac8c769db1bc399161ee314bc2e75cf8759081743be1236ec4f4d6693e5336fb672c5dc24a8c33585b5fb
|
||||
9cc24e1d4885545b58463634cc5416022cd19cacfccb4d30eb45296023fd35a458598360f8d7a4003bbaae25e331f155d9d9a5116d3bfb9a95523e51440ca2e0
|
||||
088dd844ec6370bf0e55d027a012ae264c45d02f708fa6ad6da6dce29c255df9f6cae0ec38666984b372ab5334cf640b37795cc860de4ae2816e95b21be5ceaf
|
||||
8a49f90b52a51cc6ff3355f47e0237052b81f6800fd7b802239daf6d8f0b1571a8426944fdbe80c6c1d40e8816b88b8569082ab84c36ff0539d4ff6dce591a26
|
||||
ade1c0a7f669880485fd484582903d284b26fa4e2156cff62e4b9265844c4495c495a9157b440e091bea1ab8aaf7760f4510eaa69a6465c0e04ec69ffb9e65d0
|
||||
28d44d4e39df9c1a52ecbd3607fee9cec7263328e5d661d3d0e4f62f44acd855ed7ab33cdf7bcb8ae889599bd5c8b3029895b6825696f6af29c239b75a5bb1e6
|
||||
345e6ee6c28117e73586c1a2214ae1be07e93fb0ff51e133fb65426fa843be0fb515c187064d0cc206a2fa926d3c902e907670048d931db4c1a44959d366ad93
|
||||
b65abe595f70a75bf03d616c2dd959fc7d4e6317cd99cbcec9c58b34766661c7d6766ca1a9c1b327531486c6f941c638c67cd22a7f75e2a37be0e82db8df9f30
|
||||
254d30c1372581a1f51c983c80e4b71ccdd28dbf000000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468656d652f74
|
||||
68656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4350d363f24
|
||||
51eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d262452282e3198
|
||||
720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe514173d9850528
|
||||
a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100828abc13fa0000001c0200001300000000000000000000000000
|
||||
000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b000000000000000000000000
|
||||
002b0100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c00000000000000000000000000140200007468
|
||||
656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d001400060008000000210096b5ade296060000501b000016000000000000000000
|
||||
00000000d10200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b010000270000000000
|
||||
00000000000000009b0900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d010000960a00000000}
|
||||
{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
|
||||
617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
|
||||
6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
|
||||
656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
|
||||
{\*\latentstyles\lsdstimax267\lsdlockeddef0\lsdsemihiddendef1\lsdunhideuseddef1\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
|
||||
\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;
|
||||
\lsdpriority39 \lsdlocked0 toc 1;\lsdpriority39 \lsdlocked0 toc 2;\lsdpriority39 \lsdlocked0 toc 3;\lsdpriority39 \lsdlocked0 toc 4;\lsdpriority39 \lsdlocked0 toc 5;\lsdpriority39 \lsdlocked0 toc 6;\lsdpriority39 \lsdlocked0 toc 7;
|
||||
\lsdpriority39 \lsdlocked0 toc 8;\lsdpriority39 \lsdlocked0 toc 9;\lsdqformat1 \lsdpriority35 \lsdlocked0 caption;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority10 \lsdlocked0 Title;\lsdpriority1 \lsdlocked0 Default Paragraph Font;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority59 \lsdlocked0 Table Grid;\lsdunhideused0 \lsdlocked0 Placeholder Text;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdunhideused0 \lsdlocked0 Revision;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 4;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdpriority37 \lsdlocked0 Bibliography;\lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;}}{\*\datastore 010500000200000018000000
|
||||
4d73786d6c322e534158584d4c5265616465722e352e3000000000000000000000060000
|
||||
d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffffec69d9888b8b3d4c859eaf6cd158be0f000000000000000000000000902c
|
||||
a219cf09cb01feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000
|
||||
0000000000000000000000000000000000000000000000000105000000000000}}
|
||||
Reference in New Issue
Block a user