Esempio n. 1
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            _ucAlley = new ucAlley();

            _ucAlley.Dock = DockStyle.Fill;

            this.Controls.Add(_ucAlley);
        }
Esempio n. 2
0
        private void tbxMon_Click(object sender, EventArgs e)
        {
            DateTime day = RefWeek.AddDays(0);

            TableLayoutPanel pnl = (TableLayoutPanel)(this.Parent);
            ucAlley          uc  = (ucAlley)(pnl.Parent);

            uc.LogDay = day.Date;
            uc.cmdHead_Click();
        }