frmneuralnetworkconfig.cs

来自「AI : Neural Network for beginners」· CS 代码 · 共 47 行

CS
47
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace GA_ANN_XOR
{
    #region frmNeuralNetworkConfig CLASS
    /// <summary>
    /// Simply shows a <see cref="NeuralNetwork">NeuralNetwork</see>
    /// within a <see cref="System.Windows.Forms.PropertyGrid">PropertyGrid</see>
    /// </summary>
    public partial class frmNeuralNetworkConfig : Form
    {
        #region Instance Fields
        private NeuralNetwork nn;
        #endregion
        #region Constructor
        /// <summary>
        /// Constructs a new frmNeuralNetworkConfig object
        /// </summary>
        public frmNeuralNetworkConfig()
        {
            InitializeComponent();
        }
        #endregion
        #region Public properties

        /// <summary>
        /// gets/sets the <see cref="NeuralNetwork">NeuralNetwork</see> is use
        /// </summary>
        public NeuralNetwork NeuralNetworkCfg
        {
            get { return nn; }
            set
            {
                nn = value;
                this.pGrid.SelectedObject = value;
            }
        }
        #endregion
    }
    #endregion
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?