Exemple #1
0
        private void Swt_Connessione_OnClick(Switch sender, bool value)
        {
            if (value)
            {
                PLController.Init(Environment.CurrentDirectory + @"\variabili.json");
                GestioneManuale frm = new GestioneManuale();

                MessageBox.Show(PLController.Write("Blocco_dati_1.nstMain", true).ToString());
                //frm.ShowDialog();
            }
            else
            {
                PLController.Close();
            }
        }
Exemple #2
0
        private void ApriGestioneManuale(cstButton sender)
        {
            GestioneManuale frm = new GestioneManuale();

            frm.ShowDialog();
        }