예제 #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);
        }