示例#1
0
        private void Click(object sender)
        {
            PhotoFrame        p          = sender as PhotoFrame;
            CouponsShowWindow showWindow = new CouponsShowWindow();

            showWindow.viewModel.CouponsModel = p.SlipInfo;
            showWindow.DataBinding();
            showWindow.Width  = 1080;
            showWindow.Height = 1000;
            showWindow.Top    = 0;
            showWindow.Left   = 0;
            showWindow.Show();
        }
示例#2
0
        private void Click(object sender)
        {
            PhotoFrame p = sender as PhotoFrame;

            if (showWindow != null && nowState != SeatManage.EnumType.SendClentMessageType.Normal)
            {
                showWindow.Close();
                showWindow = null;
            }
            showWindow = new CouponsShowWindow();
            showWindow.viewModel.CouponsModel = p.SlipInfo;
            showWindow.DataBinding();
            showWindow.Width  = 1080;
            showWindow.Height = 920;
            showWindow.Top    = 0;
            showWindow.Left   = 0;
            showWindow.Show();
            //showWindow = null;
        }