Ejemplo n.º 1
0
        public static void OpenForm(EFormType type)
        {
            switch (type)
            {
            case EFormType.Process:
                var formProcess = new FormProcessos();
                formProcess.ShowDialog();
                break;

            case EFormType.ProductProcess:
                var formProductProcess = new FormProdutoProcessos();
                formProductProcess.ShowDialog();
                break;
            }
        }
Ejemplo n.º 2
0
        public static void OpenForm(EFormType type)
        {
            switch (type)
            {
            case EFormType.Process:
                var formProcess = new FormProcessos(GetData());
                formProcess.Show();
                break;

            case EFormType.ProductProcess:
                var formProductProcess = new FormProdutoProcessos(GetData(), GetIgdData());
                formProductProcess.Show();
                break;

            case EFormType.ProcessMonitor:
                var formProcessMonitor = new FormManagerRequisitions(GetData(), GetIgdData());
                formProcessMonitor.Show();
                break;

            case EFormType.OrdersMonitor:
                var formOrdersMonitor = new FormManagerOrders(GetData(), GetIgdData());
                formOrdersMonitor.Show();
                break;

            case EFormType.Analisys:
                var formAnalisys = new FormAnalises(GetData());
                formAnalisys.Show();
                break;

            case EFormType.ProductAnalisys:
                var formProductAnalisys = new FormProdutoAnalises(GetData(), GetIgdData());
                formProductAnalisys.Show();
                break;

            case EFormType.ProductSeriesData:
                var formProductSeriesData = new FormProdutoCertificado(GetData(), GetIgdData());
                formProductSeriesData.Show();
                break;

            case EFormType.CertifiedResult:
                var formCertifiedResult = new FormCertificadoImpressao(GetData(), GetIgdData());
                formCertifiedResult.Show();
                break;
            }
        }