Exemple #1
0
 private void btnMoveToCategory_Click(object sender, EventArgs e)
 {
     using (CategorySelector dlg = new CategorySelector(ganjoorView.GetCurrentPoetID()))
     {
         if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
         {
             ganjoorView.MoveToCategory(dlg.SelectedCatID);
         }
     }
 }
Exemple #2
0
 private void btnSelectRandomCat_Click(object sender, EventArgs e)
 {
     using (CategorySelector dlg = new CategorySelector())
     {
         dlg.CheckedCatsString = _RandomCatIDs;
         if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
         {
             _RandomCatIDs     = dlg.CheckedCatsString;
             lblRandomCat.Text = RandomCatPath;
         }
     }
 }