public void RetornaValores(out mdlDataBaseAccess.Tabelas.XsdTbProdutosRomaneioEmbalagens typDatSetTbProdutosRomaneioEmbalagens, out mdlDataBaseAccess.Tabelas.XsdTbProdutosRomaneioEmbalagensProdutos typDatSetTbProdutosRomaneioEmbalagensProdutos) { // Typed DataSets Retornando typDatSetTbProdutosRomaneioEmbalagens = m_typDatSetTbProdutosRomaneioEmbalagensCopy; typDatSetTbProdutosRomaneioEmbalagensProdutos = m_typDatSetTbProdutosRomaneioEmbalagensProdutosCopy; GC.Collect(); GC.WaitForPendingFinalizers(); }
public frmFEmbalagemInformacoes(ref mdlTratamentoErro.clsTratamentoErro tratadorErro, string strEnderecoExecutavel, mdlDataBaseAccess.Tabelas.XsdTbProdutosRomaneioEmbalagens typDatSetTbProdutosRomaneioEmbalagens, mdlDataBaseAccess.Tabelas.XsdTbProdutosRomaneioEmbalagensProdutos typDatSetTbProdutosRomaneioEmbalagensProdutos, ref System.Windows.Forms.ImageList ilEmbalagens, ref System.Collections.ArrayList arlEmbalagens) { m_cls_ter_tratadorErro = tratadorErro; m_strEnderecoExecutavel = strEnderecoExecutavel; m_arlEmbalagens = arlEmbalagens; // Typed DataSets Clones m_typDatSetTbProdutosRomaneioEmbalagensCopy = (mdlDataBaseAccess.Tabelas.XsdTbProdutosRomaneioEmbalagens)typDatSetTbProdutosRomaneioEmbalagens.Copy(); m_typDatSetTbProdutosRomaneioEmbalagensProdutosCopy = (mdlDataBaseAccess.Tabelas.XsdTbProdutosRomaneioEmbalagensProdutos)typDatSetTbProdutosRomaneioEmbalagensProdutos.Copy(); InitializeComponent(); m_lvEmbalagem.SmallImageList = ilEmbalagens; m_lvEmbalagem.LargeImageList = ilEmbalagens; m_lvProdutos.SmallImageList = ilEmbalagens; m_lvProdutos.LargeImageList = ilEmbalagens; }