Example #1
0
        private void bttnCategory_Click(object sender, System.EventArgs e)
        {
            FORMCategory_View.sCATBooks = "Categories";
            FORMCategory_View sForm = new FORMCategory_View();

            sForm.ShowDialog();
        }
        private void FORMCategory_View_Load(object sender, System.EventArgs e)
        {
            //Set Images
            listView1.SmallImageList = MDIFORM.i16x16;

            //Set the Data Adapter
            daCategoryList = new OleDbDataAdapter("", clsConnections.CN);

            loadCategory();
            publicCatList = this;
        }