/// <summary>
 /// Sets the control as the parent for the next document window that is opened in Mapinfo.
 /// </summary>
 /// <param name="value">The control to which the next document will be the parent.</param>
 /// <param name="windowStyle">The style of window when opened.</param>
 public static void SetAsNextDocumentParent(this Control value, NextDocumentEnum windowStyle)
 {
     wrapper.RunCommand("Set Next Document Parent {0} Style {1}".FormatWith(value.Handle.ToString(),
                                                                            (int)windowStyle));
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the control as the parent for the next document window that is opened in Mapinfo.
 /// </summary>
 /// <param name="value">The control to which the next document will be the parent.</param>
 /// <param name="windowStyle">The style of window when opened.</param>
 public static void SetAsNextDocumentParent(this Control value, MapInfoSession MISession, NextDocumentEnum windowStyle)
 {
     MISession.Do("Set Next Document Parent {0} Style {1}".FormatWith(value.Handle.ToString(),
                                                                      (int)windowStyle));
 }