Exemplo n.º 1
0
        private void btnStudentAttendent_Click(object sender, EventArgs e)
        {
            lbMainName.Text = btnStudentAttendent.Text;
            //ColorChecker
            pnTool.Controls.Clear();
            AttendanceForm form = new AttendanceForm();

            form.AutoScroll = true;
            form.TopLevel   = false;
            pnTool.Controls.Add(form);
            form.Show();
            pnUnder.BackColor = Color.FromArgb(192, 64, 0);
            DetectButton(4);
        }
Exemplo n.º 2
0
        public ToolMenu()
        {
            InitializeComponent();
            ////////Stating Program//////////////////
            ttClose.SetToolTip(btnExit, "Close");
            ttMinimun.SetToolTip(btnMinimun, "Minimun");
            btnClass.BackColor = Color.WhiteSmoke;
            if (Login.Role == true)
            {
                btnUserSetting.Enabled = true;
                btnUserSetting.Visible = true;
            }
            ///////////////////
            AttendanceForm att = new AttendanceForm();

            att.Owner = this;
        }