예제 #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            kk.Deleted = true;
            mainController.UpdateKid(kk);
            comboBox1.DataSource = null;
            comboBox1.Items.Clear();

            comboBox1.DataSource = mainController.getAllKids();
        }
예제 #2
0
        public ControlPanel(Controllers.MainController mainController)
        {
            // TODO: Complete member initialization
            this.mainController = mainController;
            InitializeComponent();

            InitializeNumberPickers();
            ControlBox = false;
            Text = "";

            Visible = true;
            openFileDialog1.Filter = "Image files|*.jpg; *.jpeg; *.png; *.gif";
            GetImages();
            WodoPanel.Visible = false;

            comboBox1.DataSource = mainController.getAllKids();
        }
예제 #3
0
        public ControlPanel(Controllers.MainController mainController)
        {
            // TODO: Complete member initialization
            this.mainController = mainController;
            InitializeComponent();

            InitializeNumberPickers();
            ControlBox = false;
            Text       = "";

            Visible = true;
            openFileDialog1.Filter = "Image files|*.jpg; *.jpeg; *.png; *.gif";
            GetImages();
            WodoPanel.Visible = false;



            comboBox1.DataSource = mainController.getAllKids();
        }