Пример #1
0
        public void ShopModelTest()
        {
            var model = new ShopModel();

            model.Start();
            Thread.Sleep(10000);
            model.Stop();
        }
Пример #2
0
 private void ModelForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     model.Stop();
 }