Beispiel #1
0
        private void I_edit(Model.tax tax)
        {
            var viwer = new Taxes.Viwer();

            viwer.id          = tax.id;
            viwer.category_id = (tax.taxcategory as Model.taxcategory).name;

            viwer.title = tax.title;
        }
        private void add(Model.tax tax)
        {
            var viwer = new Taxes.Viwer();

            viwer.id          = tax.id;
            viwer.category_id = (tax.taxcategory as Model.taxcategory).name;
            viwer.title       = tax.title;

            viwer.Dock = DockStyle.Top;
            FlowLayoutPanel1.Controls.Add(viwer);
        }