示例#1
0
        private void btn_DoProductType_Click(object sender, EventArgs e)
        {
            ProductTypesView productTypes = new ProductTypesView(this);

            productTypes.Show();
            this.Visible = false;
        }
示例#2
0
        public List <ProductTypesModel> ptList;       //список объектов (по факту, каждый элемент - одна строка из БД)

        /* Конструктор */
        public ProductTypesController(ProductTypesView _controlForm)
        {
            connection = DBData.GetDBConnection();
            controlFormProductTypesView = _controlForm;
        }