예제 #1
0
파일: Form1.cs 프로젝트: zhimaqiao51/docs
        private void Form_Submit(object sender, HtmlElementEventArgs e)
        {
            bool doOrder = orderWindow.Confirm("Once you transmit this order, you cannot cancel it. Submit?");

            if (!doOrder)
            {
                //Cancel the submit.
                e.ReturnValue = false;
                orderWindow.Alert("Submit cancelled.");
            }
        }