criticsoli.blogg.se

Quiplash questions
Quiplash questions








quiplash questions quiplash questions

explicitq īool hasjokeaudio = ( importQIndex. create the files necessary for a new data.jet and an updated question.jet jokeaudio + ".mp3 ", questionPath + "Question \\ " + index + " + importQIndex. audio + ".mp3 ", questionPath + "Question \\ " + index + " + importQIndex. CreateDirectory( questionPath + "Question \\ " + index) įile. Exists( questionPath + "Question \\ " + index))ĭirectory. QuiplashQuestionPack importQIndex = JsonConvert. Using ( StreamReader sr = new StreamReader( QQDir + " + "QQP.jet ")) Private void importFile( string QQPFilename, string QQPPath) Private void importToolStripMenuItem_Click( object sender, EventArgs e) Private void btnSelNone_Click( object sender, EventArgs e) Private void ListQuestionJet_SelectedIndexChanged( object sender, EventArgs e)ītnEdit. / Makes the edit button available if and only if a single item is selected. Protected override bool ProcessCmdKey( ref Message msg, Keys keyData) / Prompts the user to input a string and then this form searches for the first instance of that string.įindQuestion finddialog = new FindQuestion( lastSearchString) Private void findToolStripMenuItem_Click( object sender, EventArgs e) Private void aboutToolStripMenuItem_Click( object sender, EventArgs e) Private void exitToolStripMenuItem_Click( object sender, EventArgs e) Private void openToolStripMenuItem_Click( object sender, EventArgs e) DeserializeObject( questionJetFileContents) QuestionJetFileContents = questionJetFileContents + sr. Using ( StreamReader sr = new StreamReader( questionJetFilename)) / Opens an open file dialog and prepares the form. NewQuestion createWindow = new newQuestion( questionPath, index) / Bring up the newQuestion form to create a new question Private void BtnNew_Click( object sender, EventArgs e) Using ( StreamWriter newTask = new StreamWriter( questionJetFilename, false)) SerializeObject( questionIndex, Formatting. / Creates a new Question.jet file, overwrites the old one Count //indices.Count goes down as items are removed. Show( "Are you sure you want to remove this question from Question.jet? ", "Confirm ", MessageBoxButtons. SelectedIndexCollection indices = ListQuestionJet. Private void btnRemove_Click( object sender, EventArgs e) / Prompt the user whether or not they want to delete the selected question. Private void btnEdit_Click( object sender, EventArgs e)ĮditQuestion editWindow = new editQuestion( questionIndex. / Bring up the editQuestion form to edit the currently selected question Private void Form1_Load( object sender, EventArgs e) / Starts the open subprocedure immediately / The main form that keeps everything together ♥










Quiplash questions