Пример #1
0
        static public bool isContinue(string msg)
        {
            FormCaution cc = new FormCaution(msg);

            cc.cancel.Focus();
            return(cc.ShowDialog() == DialogResult.OK);
        }
Пример #2
0
        static public bool isDeleteConfirmed()
        {
            FormCaution cc = new FormCaution("ȷ��Ҫɾ��?");

            return(cc.ShowDialog() == DialogResult.OK);
        }