Ejemplo n.º 1
0
        private void Button_Word2Vec_Model_train_Click(object sender, EventArgs e)
        {
            Hide();
            Word2VecModelCreate wc = new Word2VecModelCreate();

            wc.ShowDialog();
            return;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// This method reads number, otherwise it throws warning message
        ///  it works even for the key Enter
        /// </summary>
        /// <param name="parentForm"></param>
        public ReadCount(Word2VecModelCreate parentForm)
        {
            InitializeComponent();
            parent = parentForm;

            textBox1.KeyDown += (sender, args) => {
                if (args.KeyCode == Keys.Enter)
                {
                    button1.PerformClick();
                }
            };
        }