private void LoadFromHMMFile_Click(object sender, EventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.Filter = "Gestures (*.hmm)|*.hmm"; dlg.Title = "Load Gestures"; dlg.RestoreDirectory = false; dlg.Multiselect = true; if (dlg.ShowDialog(this) == DialogResult.OK) { _hmmc = HiddenMarkovClassifier.Load(dlg.FileName); _hmms = _hmmc.Models; if (_hmmc != null) { lblResult.Text = "Success!!"; } ReloadViewForm(); } }