Beispiel #1
0
		public MainWindow()
			{
			if (Environment.GetCommandLineArgs().Length < 1)
				Environment.Exit(0);
			FileInfo dBFileInfo = new FileInfo(Environment.GetCommandLineArgs()[0]);
			if (!dBFileInfo.Exists)
				App.Current.Shutdown();


			RingPlayerDb ringerl = dBFileInfo.LoadAs_Object_From_SerializedBinary<RingPlayerDb>();
			if (ringerl == null)
				{
				MessageBox.Show($"Der File\r\n{Environment.GetCommandLineArgs()[0]}\r\nkann nicht als DataSet desrialisiert werden");
				Environment.Exit(0);
				}









			PlayerDataSetViewerModellInstance = new PlayerDataSetViewerModell(ringerl);
			InitializeComponent();
			}
Beispiel #2
0
		private void PlayerDataSetViewerModellInstanceChanged(PlayerDataSetViewerModell OldValue,
			PlayerDataSetViewerModell NewValue)
			{
			}