Exemplo n.º 1
0
        private void foodToolstripButton_Click(object sender, EventArgs e)
        {
            foodForm food = new foodForm(this, cB);

            food.Show();


            setButtonEnabling(foodButton, false);
        }
Exemplo n.º 2
0
        public foodAddForm(foodForm fF, SR2DClassBound cB)
        {
            InitializeComponent();

            this.fF = fF;
            this.cB = cB;
            this.db = cB.db;

            foodTypeIDs = new List <int>();

            fill();
        }
Exemplo n.º 3
0
        public foodModifyForm(foodForm fF, SR2DClassBound cB, DataRow refDR)
        {
            InitializeComponent();

            this.fF    = fF;
            this.cB    = cB;
            this.db    = cB.db;
            this.refDR = refDR;

            foodTypeIDs = new List <int>();

            fill();
        }
Exemplo n.º 4
0
        public foodTypeForm(foodForm fF, SR2DClassBound cB)
        {
            InitializeComponent();

            this.fF = fF;
            this.cB = cB;
            this.db = cB.db;

            db.Ds.DatasetUpdatedEvent += new SR2DDataset.EventHandler(update);

            setServiceMode();

            fillGridView();
        }