public frm_menu_pedidos() { InitializeComponent(); tipos_platos = new cargar_tipos_platos(); var connectionstring = ConfigurationManager.ConnectionStrings["Default"].ConnectionString; connection = new SqlConnection(connectionstring); }
public frm_menu_principal() { data_logic = new cargar_tipos_platos(); InitializeComponent(); }