Example #1
0
        private void OpenWindowUC(string codeUC, Guid parentGuid)
        {
            var uc = this.GetUCFromCode(codeUC);

            ((VMUCBase)uc.DataContext).IsWindowMode = true;
            ((VMUCBase)uc.DataContext).UCParentGuid = parentGuid;

            UCWindow window = new UCWindow(uc);

            window.ShowDialog();
        }
Example #2
0
		private void OpenWindowUC(string codeUC, Guid parentGuid) {
			var uc = this.GetUCFromCode(codeUC);

			((VMUCBase)uc.DataContext).IsWindowMode = true;
			((VMUCBase)uc.DataContext).UCParentGuid = parentGuid;

			UCWindow window = new UCWindow(uc);
			window.ShowDialog();
		}