Пример #1
0
 public TechnologistForm(IContract contract)
 {
     InitializeComponent();
     presenter = new TechnologistPresenter(this, contract);
     repositoryItemComboBox1.Items.AddRange(Enum.GetValues((typeof(Status))));
 }
 public void Initialize()
 {
     mocktechnologistOrdersView = Substitute.For<ITechnologistView>();
     mockContract = Substitute.For<IContract>();
     presentor = new TechnologistPresenter(mocktechnologistOrdersView, mockContract);
 }