Пример #1
0
        public static void Superviser(CSchemaReseau schemaReseau, CFormNavigateur navigateur)
        {
            CFormSupervisionSchema form = new CFormSupervisionSchema();

            form.m_navigateur = navigateur;

            form.WindowState = FormWindowState.Maximized;
            form.InitForSchema(schemaReseau);
            form.Show();
            form.BringToFront();
            form.m_controleSchema.Enabled = false;
            form.m_controleSchema.Refresh();
            //InitCalcul(form);
            new InitCalculDelegate(InitCalcul).BeginInvoke(form, null, null);
        }
Пример #2
0
 private static void InitCalcul(CFormSupervisionSchema form)
 {
     form.m_basePourVue.InitForSupervision(form.m_schemaSupervise);
     form.m_controleSchema.Enabled = true;
     form.m_controleSchema.SetChargementTermine();;
 }