public Offer_Fak(OfferStorage OfferStorage) { InitializeComponent(); dbconnection = new MySqlConnection(connection.connectionString); dbconnection1 = new MySqlConnection(connection.connectionString); dbconnection2 = new MySqlConnection(connection.connectionString); offerStorage = OfferStorage; }
public Offer_Collect(OfferStorage OfferStorage) { try { InitializeComponent(); dbconnection = new MySqlConnection(connection.connectionString); dbconnection1 = new MySqlConnection(connection.connectionString); dbconnection2 = new MySqlConnection(connection.connectionString); this.offerStorage = OfferStorage; } catch (Exception ex) { MessageBox.Show(ex.Message); } }