コード例 #1
0
        public override void OnClick()
        {
            PrintPageLayout frm = null;

            sPath = axMapControl1.DocumentFilename;
            if (frm == null || frm.IsDisposed)
            {
                frm = new PrintPageLayout(sPath);
            }

            frm.Show();
            frm.TopMost = true;
        }
コード例 #2
0
ファイル: menu.cs プロジェクト: hijushen/WindowDemo
        public override void OnClick()
        {
            PrintPageLayout frm = null;
            sPath = axMapControl1.DocumentFilename;
            if (frm == null || frm.IsDisposed)
                frm = new PrintPageLayout(sPath);

            frm.Show();
            frm.TopMost = true;
        }