private void tsbNew_Click(object sender, EventArgs e) { using (var frmNew = new Forms.NewForm(21F, 29.7F, 37.62F)) if (frmNew.ShowDialog() == DialogResult.OK) { drawPad.CreateNewPage(frmNew.WinWidth, frmNew.WinHeight, frmNew.Unit, frmNew.Resolution); if (frmNew.Ip != null) { _appManament.CreateServer(frmNew.Ip); ShowListAccount(); } } }