コード例 #1
0
        public Form1(MasterDetailConfiguration configuration)
        {
            _configuration = configuration;
            _dataset       = new DataSet();

            InitializeComponent();
        }
コード例 #2
0
        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));
        }