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

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

            FrmCommTcpClientProps form = new FrmCommTcpClientProps();

            form.commCnlParams = commCnlParams;
            form.modified      = false;
            form.ShowDialog();
            modified = form.modified;
        }
コード例 #3
0
ファイル: CommTcpClientView.cs プロジェクト: lzbgt/scada-1
 /// <summary>
 /// Отобразить свойства модуля
 /// </summary>
 public override void ShowProps(SortedList <string, string> commCnlParams, out bool modified)
 {
     FrmCommTcpClientProps.ShowDialog(commCnlParams, out modified);
 }