Example #1
0
        private void backButton_Click(object sender, EventArgs e)
        {
            ImagePrediction mainWindow = new ImagePrediction();

            mainWindow.Init(Constants.IMAGE);
            mainWindow.Show();
            Hide();
        }
Example #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();
     }
 }