Example #1
0
		private void Window_Loaded (object sender, RoutedEventArgs e)
			{
			WMB.WPMediaApplicationState.Instance.Properties["UsedDomain"] = Settings.Default.UsedDomain;
			CVM.LoginHandler.ApplicationName = "AltErlaaInfo";
//#if DEBUG
			String[] Rollen = CVM.LoginHandler.CheckUser("heinz", "monika");
			WMB.WPMediaApplicationState.Instance.Properties["UserName"] = "******";
			WMB.WPMediaApplicationState.Instance.Properties["PassWord"] = "******";
//#else
//			String[] Rollen = CVM.LoginHandler.CheckUser("", "");
//#endif
			if (Rollen == null)
				{
				Close();
				return;
				}
			WMB.WPMediaApplicationState.Instance.Properties["Roles"] = Rollen;
			WMB.WPMediaApplicationState.Instance.Properties["DefaultConnectionStringName"] = "AltErlaaInfoConnectionString";


			//WMB.WPMediaApplicationState.Instance.Properties["UserName"] = "******";
			//WMB.WPMediaApplicationState.Instance.Properties["WPMediaToken"]
			//	= WMB.WPMediaApplicationState.Instance.Properties["UserName"].ToString() + ";SecurityToken";
			m_CVM = new CVM.CommonValues ();
			PreparePlayableMaterialDllInstance = new PreparePlayableMaterialDLL ();
			PreparePlayableMaterialDllInstance.GetAVIInputFormatCall += new PreparePlayableMaterialDLL.GetAVIInputFormatEvent (PreparePlayableMaterialDllInstance_GetAVIInputFormatCall);
			PreparePlayableMaterialDllInstance.OnStart (new string[] {});
			}
		public ProtokollEntry(PreparePlayableMaterialDLL.Activity ActivityCodeParameter,
			String ParameterText1Parameter)
			{
			ActivityTime = DateTime.Now;
			ActivityCode = ActivityCodeParameter;
			ParameterText1 = ParameterText1Parameter;
			}