public void Setup() { var supplier = TestSupplier.Create(); supplier.Prices[0].CostType = CostType.MultiFile; supplier.Save(); form = new frmFREMain(); form.Form1_Load(form, null); }
public void Setup() { supplier = TestSupplier.CreateNaked(); var price = supplier.Prices[0]; price.CostType = CostType.MultiFile; price.Costs[0].PriceItem.Source.SourceType = PriceSourceType.Lan; session.Save(supplier); session.Transaction.Commit(); form = new frmFREMain(); form.Testing = true; form.Form1_Load(form, null); }
public SynonymMatcher(frmFREMain _owner) { owner = _owner; timer = new Timer(); timer.Tick += OnTimedEvent; timer.Interval = 3000; timer.Stop(); frmMatchRes = new frmMatchResult { Owner = owner, Matcher = this }; frmMatchProgr = new frmMatchProgress { Owner = owner, Matcher = this }; firms = new Dictionary <uint, FirmSummary>(); }
public void Setup() { grid = new DataGridView(); form = new frmFREMain(); text = "test"; }