.......

footix97.egloos.com

포토로그 마이가든



C#안에서 IE 팝업하는 방법 DEV

C#안에서 IE 팝업하는 방법

SHDocVw.InternetExplorerClass oIE = new SHDocVw.InternetExplorerClass();
oIE.ToolBar = 0;
oIE.StatusBar = false;
oIE.AddressBar = false;
oIE.Resizable = false;
oIE.Width = 0x37e;
oIE.Height = 0x222;
oIE.Navigate(uRL, ref this.noValue, ref this.noValue, ref this.noValue, ref this.noValue);

윈도에서 창닫기 버튼 클릭시 창 안닫아지게.. DEV

윈도에서 창닫기 버튼 클릭시 창 안닫아지게..

        private void Form1_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (!m_bClose)
            {
                e.Cancel = true;
                this.Hide();
            }
        }

        // 종료 메시지 처리..

        protected override void WndProc(ref Message m)
        {
            UInt32 nShutDown = 0x11; //LogOff, Shutdown Code

            if (m.Msg == nShutDown)
            {
                m_bClose = true;
            }
            base.WndProc(ref m);
        }


1 2 3 4 5 6 7 8 9 10 다음