Пример #1
0
        private void reporteDeTransaccionesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var formReporteTransacciones = new FormReporteTransacciones();

            formReporteTransacciones.MdiParent = this;
            formReporteTransacciones.Show();
        }
Пример #2
0
        private void metroTile6_Click(object sender, EventArgs e)
        {
            MetroColor();
            metroTile6.Style = MetroFramework.MetroColorStyle.Green;
            metroTile6.Refresh();
            var form = Application.OpenForms.OfType <FormReporteTransacciones>().FirstOrDefault();
            FormReporteTransacciones hijo = form ?? new FormReporteTransacciones();

            AddFormInPanel(hijo);
        }