/// <summary>
        /// Отобразить форму модально
        /// </summary>
        public static void ShowDialog(SortedList<string, string> commCnlParams, out bool modified)
        {
            if (commCnlParams == null)
                throw new ArgumentNullException("commCnlParams");

            FrmCommTcpServerProps form = new FrmCommTcpServerProps();
            form.commCnlParams = commCnlParams;
            form.modified = false;
            form.ShowDialog();
            modified = form.modified;
        }
Exemple #2
0
        /// <summary>
        /// Отобразить форму модально
        /// </summary>
        public static void ShowDialog(SortedList <string, string> commCnlParams, out bool modified)
        {
            if (commCnlParams == null)
            {
                throw new ArgumentNullException("commCnlParams");
            }

            FrmCommTcpServerProps form = new FrmCommTcpServerProps();

            form.commCnlParams = commCnlParams;
            form.modified      = false;
            form.ShowDialog();
            modified = form.modified;
        }