예제 #1
0
        private void btnFeriados_Click(object sender, EventArgs e)
        {
            Feriados formulario = new Feriados();

            formulario.StartPosition = FormStartPosition.CenterScreen;
            formulario.ShowDialog();
            ActualizarFeriados();
            Refresh();
        }
예제 #2
0
파일: Menuppal.cs 프로젝트: mecaram/IOL
        private void tsbFeriados_Click(object sender, EventArgs e)
        {
            Feriados formulario = new Feriados();

            formulario.MdiParent     = this;
            formulario.StartPosition = FormStartPosition.Manual;
            formulario.Location      = new Point((this.Width / 2) - (formulario.Width / 2), tbcMenuppal.Location.Y + altura);
            formulario.Show();
        }