예제 #1
0
파일: foodForm.cs 프로젝트: Colarsis/SR2D
        private void typesDeProduitsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            typesDeProduitsToolStripMenuItem.Enabled = false;

            foodTypeForm fTF = new foodTypeForm(this, cB);

            fTF.Show();
        }
예제 #2
0
        public foodTypeInfoForm(foodTypeForm fTF, SR2DClassBound cB, DataRow refDR)
        {
            InitializeComponent();

            this.fTF   = fTF;
            this.cB    = cB;
            this.db    = cB.db;
            this.refDR = refDR;

            init();
        }
예제 #3
0
        public foodTypeAddForm(foodTypeForm fTF, SR2DClassBound cB)
        {
            InitializeComponent();

            this.fTF = fTF;
            this.cB  = cB;
            this.db  = cB.db;

            othersFoodTypeIDs = new List <int>();

            fillChListbox();
        }
예제 #4
0
        public foodTypeModifyForm(foodTypeForm fTF, SR2DClassBound cB, DataRow refDR)
        {
            InitializeComponent();

            this.fTF   = fTF;
            this.cB    = cB;
            this.db    = cB.db;
            this.refDR = refDR;

            othersFoodTypeInitialState = new List <CheckState>();
            othersFoodTypeIDs          = new List <int>();

            fill();
        }