예제 #1
0
        private void backButton_Click(object sender, EventArgs e)
        {
            TextPrediction mainWindow = new TextPrediction();

            mainWindow.Init(type);
            mainWindow.Show();
            Hide();
        }
예제 #2
0
 private void ChooseButton_Click(object sender, EventArgs e)
 {
     if (imageRadioButton.Checked)
     {
         Hide();
         imagePredictionPanel.Init(Constants.IMAGE);
         imagePredictionPanel.Show();
     }
     else if (spamRadioButton.Checked)
     {
         Hide();
         textPredictionPanel.Init(Constants.SPAM);
         textPredictionPanel.Show();
     }
     else if (imdbRadioButton.Checked)
     {
         Hide();
         textPredictionPanel.Init(Constants.IMBD);
         textPredictionPanel.Show();
     }
 }