コード例 #1
0
ファイル: Window1.xaml.cs プロジェクト: heinzsack/DEV
		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[] {});
			}
コード例 #2
0
		public ProtokollEntry(PreparePlayableMaterialDLL.Activity ActivityCodeParameter,
			String ParameterText1Parameter)
			{
			ActivityTime = DateTime.Now;
			ActivityCode = ActivityCodeParameter;
			ParameterText1 = ParameterText1Parameter;
			}