示例#1
0
        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();
                    }
                }
        }
示例#2
0
        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();
                    }
                }
        }