コード例 #1
0
        private void loadNetworkToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog OFD = new OpenFileDialog();

            OFD.InitialDirectory = Application.StartupPath;
            OFD.DefaultExt       = ".net";
            OFD.Filter           = "neural network files | *.net";
            MF = new InitNN();
            if (OFD.ShowDialog() == DialogResult.OK)
            {
                Load_and_Generate(OFD.FileName);
            }
            MF.Show();
            MF.DrawingThread.Start();
        }
コード例 #2
0
 private void settingsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MF           = new InitNN();
     MF.MdiParent = this;
     MF.Show();
 }