Example #1
0
        private void frmTodoList_Load(object sender, EventArgs e)
        {
            dao = new ClsTodoDao();
            string connection = dao.GetConnectionString();

            dao.SetConnection(connection);

            LoadData();
        }
Example #2
0
        public frmAddInfo(ClsTodoDao dao)
        {
            InitializeComponent();

            this.dao = dao;
        }