private void backButton_Click(object sender, EventArgs e) { TextPrediction mainWindow = new TextPrediction(); mainWindow.Init(type); mainWindow.Show(); Hide(); }