示例#1
0
 /// <summary>
 /// Triggered when user selects undock on server to pop it out to a new window
 /// </summary>
 /// <param name="form">Information about what server was undocked and the window that was created for it</param>
 public void OnUndockServer(IUndockedServerForm form)
 {
     RdcManPluginFix.BeginningOfOnUndockServer(this, form);
     OnUndockServerEvent?.Invoke(form.Server, new MenuStripEventArgs(pluginContext, form.MainMenuStrip));
 }
示例#2
0
 /// <summary>
 /// Triggered after main GUI has loaded but before connection tree has loaded
 /// This fix also saves plugin context for future use in other events
 /// </summary>
 /// <param name="context">The current state of the application</param>
 /// <param name="xmlNode">The exported SaveSettings() XmlNode of a previous session with additional plugin node wrapping XML</param>
 public void PreLoad(IPluginContext context, XmlNode xmlNode)
 {
     RdcManPluginFix.BeginningOfPreLoadMethod(xmlNode, out xmlNode);
     pluginContext = context;
     PreLoadEvent?.Invoke(context, new XmlNodeEventArgs(pluginContext, xmlNode));
 }
示例#3
0
 static PluginFix()
 {
     RdcManPluginFix.BeginningOfStaticConstructor();
 }