public Leiloes_leilao(Leiloes window, Leilao l) { InitializeComponent(); leiloes_window = window; leilao = l; var mainWindow = (MainWindow)Application.Current.MainWindow; ahref = mainWindow.ah; initLeilaoCard(l); }
public Leiloes_leilao(Leiloes window, Leilao l, String bidstatus) { InitializeComponent(); leiloes_window = window; leilao = l; var mainWindow = (MainWindow)Application.Current.MainWindow; ahref = mainWindow.ah; this.bidstatus = bidstatus; initLeilaoCard(l); }