public Workspace () { _documents = new List<Document>(); _activeDocument = null; _references = new References (); _serviceContainer = new ServiceContainer (); }
public ReferencesDialog (References references) { if (references == null) throw new ArgumentNullException ("references"); _references = references; InitializeComponent (); PopulateReferencesList (); }
public Workspace() { _documents = new Dictionary<object, Document>(); _activeDocument = null; _references = new References (); _serviceContainer = new ServiceContainer (); }
private void LoadDefaultReferences(References references) { references.AddReference (Assembly.Load ("System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")); references.AddReference (Assembly.Load ("System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")); references.AddReference (Assembly.Load ("System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")); }
public void Dispose() { _activeDocument = null; _documents = null; _references.Dispose (); _references = null; _serviceContainer.Dispose (); _serviceContainer = null; }
public TypeResolutionService (References references) { if (references == null) throw new ArgumentNullException ("references"); _references = references; }
// Currently populates with all MWF Controls that have a public ctor with no params // private void PopulateToolbox (Toolbox toolbox, References references) { foreach (ToolboxItem item in _workspace.GetToolboxItems ()) toolbox.AddToolboxItem (item); }
private void LoadDefaultReferences(References references) { references.AddReference(Assembly.Load("System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")); references.AddReference(Assembly.Load("System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")); references.AddReference(Assembly.Load("System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")); }