private void backButton_Click(object sender, EventArgs e) { TextPrediction mainWindow = new TextPrediction(); mainWindow.Init(type); mainWindow.Show(); Hide(); }
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(); } }