Exemplo n.º 1
0
		private static WindowFeature GetWindowFeature()
		{
			WindowFeature feature = null;
			if (ResourceUriSettings.GetConfig().Features.ContainsKey("genericProcess"))
			{
				feature = ResourceUriSettings.GetConfig().Features["genericProcess"].Feature;
			}
			else
			{
				feature = new WindowFeature();

				feature.Width = 800;
				feature.Height = 650;
				feature.Resizable = true;
				feature.ShowAddressBar = false;
				feature.ShowMenuBar = false;
				feature.Center = true;
				feature.ShowStatusBar = false;
			}

			return feature;
		}
		protected override string GetDialogFeature()
		{
			WindowFeature feature = new WindowFeature();

			feature.Width = 580;
			feature.Height = 540;
			feature.Resizable = false;
			feature.ShowStatusBar = false;
			feature.ShowScrollBars = false;
			feature.Center = true;

			return feature.ToDialogFeatureClientString();
		}