Пример #1
0
        internal static void MsgBox(string strMsg)
        {
            frmMsg frm = new frmMsg();

            frm.lblMsg.Text         = strMsg;
            frm.txtTitel.Text       = "رسالة تنبيه";
            frm.stpOk.Visibility    = Visibility.Visible;
            frm.stpYesNO.Visibility = Visibility.Hidden;
            frm.ShowDialog();
            //  frm.Dispose();
        }
Пример #2
0
        internal static bool MsgBox(string strMsg, string strTitle, bool blDialog)
        {
            frmMsg frm = new frmMsg();

            frm.lblMsg.Text         = strMsg;
            frm.txtTitel.Text       = strTitle;
            frm.stpYesNO.Visibility = Visibility.Visible;
            frm.stpOk.Visibility    = Visibility.Hidden;
            frm.ShowDialog();


            return(blMsg);
        }