Esempio n. 1
0
 private void Magnets_Click(object sender, EventArgs e)
 {
     using (var rulesForm = new MagnetsForm(magnets: _engine.Magnets, categories: _categories))
     {
         rulesForm.ShowDialog();
     }
 }
Esempio n. 2
0
 private void Magnets_Click(object sender, EventArgs e)
 {
   using (var rulesForm = new MagnetsForm( engine: _engine, categories: _categories ))
   {
     rulesForm.ShowDialog();
   }
 }