예제 #1
0
        private void tsbOpen_Click(object sender, EventArgs e)
        {
            using (var frmOpen = new Forms.OpenForm())
                if (frmOpen.ShowDialog() == DialogResult.OK)
                {
                    //drawPad.CreateNewPage(frmNew.WinWidth, frmNew.WinHeight, frmNew.Unit, frmNew.Resolution);
                    if (!frmOpen.IsLocal)
                    {
                        _appManament.CreateClient(frmOpen.IpAddress);

                        ShowListAccount();
                    }
                }
        }
예제 #2
0
        private void tsbOpen_Click(object sender, EventArgs e)
        {
            using (var frmOpen = new Forms.OpenForm())
                if (frmOpen.ShowDialog() == DialogResult.OK)
                {
                    if (!frmOpen.IsLocal)
                    {
                        _appManament.CreateClient(frmOpen.IpAddress);

                        ShowListAccount();
                    }
                    else
                    {
                        drawPad.CreateNewPage(0, 0, Core.MessureUnit.Cm, 1F);
                        _appManament.SetPage(drawPad.Page);
                        _appManament.OpenPage(frmOpen.FilePath);
                        drawPad.AdjustPage();
                        drawPad.RePaint();
                    }
                }
        }
예제 #3
0
        private void tsbOpen_Click(object sender, EventArgs e)
        {
            using (var frmOpen = new Forms.OpenForm())
            if (frmOpen.ShowDialog() == DialogResult.OK)
            {
                //drawPad.CreateNewPage(frmNew.WinWidth, frmNew.WinHeight, frmNew.Unit, frmNew.Resolution);
                if (!frmOpen.IsLocal)
                {
                    _appManament.CreateClient(frmOpen.IpAddress);

                    ShowListAccount();
                }
            }
        }
예제 #4
0
        private void tsbOpen_Click(object sender, EventArgs e)
        {
            using (var frmOpen = new Forms.OpenForm())
            if (frmOpen.ShowDialog() == DialogResult.OK)
            {
                if (!frmOpen.IsLocal)
                {
                    _appManament.CreateClient(frmOpen.IpAddress);

                    ShowListAccount();
                }
                else
                {
                    drawPad.CreateNewPage(0, 0, Core.MessureUnit.Cm, 1F);
                    _appManament.SetPage(drawPad.Page);
                    _appManament.OpenPage(frmOpen.FilePath);
                    drawPad.AdjustPage();
                    drawPad.RePaint();
                }
            }
        }