Example #1
0
 private void clos()
 {
     parent.Focus();
     parent.Activate();
     this.Visibility = Visibility.Hidden;
     parent.CallBack();
 }
        private void clos()
        {
            if (placeOrderView != null)
            {
                placeOrderView.Close();
            }
            if (mdfyOrderView != null)
            {
                mdfyOrderView.Close();
            }
            if (cnclOrderView != null)
            {
                cnclOrderView.Close();
            }

            parent.Focus();
            parent.Activate();
            this.Visibility = Visibility.Hidden;
            parent.CallBack();
        }
        private void close()
        {
            if (addSiteView != null)
            {
                addSiteView.Close();
            }
            else if (mdfySiteView != null)
            {
                mdfySiteView.Close();
            }
            else if (iactSiteView != null)
            {
                iactSiteView = null;
            }
            else if (actvSiteView != null)
            {
                actvSiteView = null;
            }

            parent.Focus();
            parent.Activate();
            this.Visibility = Visibility.Hidden;
            parent.CallBack();
        }
Example #4
0
        private void close()
        {
            if (addClientView != null)
            {
                addClientView.Close();
            }
            if (mdfyClientView != null)
            {
                mdfyClientView.Close();
            }
            if (actvClientView != null)
            {
                actvClientView.Close();
            }
            if (iactClientView != null)
            {
                iactClientView.Close();
            }

            parent.Focus();
            parent.Activate();
            this.Visibility = Visibility.Hidden;
            parent.CallBack();
        }