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(); } }
private void ApriGestioneManuale(cstButton sender) { GestioneManuale frm = new GestioneManuale(); frm.ShowDialog(); }