public Form1(MasterDetailConfiguration configuration) { _configuration = configuration; _dataset = new DataSet(); InitializeComponent(); }
public static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // var configuration = MasterDetailConfiguration.ReadFromFile("UserVideos.xml"); var configuration = MasterDetailConfiguration.ReadFromFile("VideoVotes.xml"); Application.Run(new Form1(configuration)); }