/// <summary> /// Отобразить форму модально /// </summary> public static void ShowDialog(SortedList<string, string> commCnlParams, out bool modified) { if (commCnlParams == null) throw new ArgumentNullException("commCnlParams"); FrmCommSerialProps form = new FrmCommSerialProps(); form.commCnlParams = commCnlParams; form.modified = false; form.ShowDialog(); modified = form.modified; }
/// <summary> /// Отобразить форму модально /// </summary> public static void ShowDialog(SortedList <string, string> commCnlParams, out bool modified) { if (commCnlParams == null) { throw new ArgumentNullException("commCnlParams"); } FrmCommSerialProps form = new FrmCommSerialProps(); form.commCnlParams = commCnlParams; form.modified = false; form.ShowDialog(); modified = form.modified; }
/// <summary> /// Отобразить свойства модуля /// </summary> public override void ShowProps(SortedList <string, string> commCnlParams, out bool modified) { FrmCommSerialProps.ShowDialog(commCnlParams, out modified); }