Ejemplo n.º 1
0
		public bool InitializeMe()
			{
			if (HasBeenInitialized)
				return true;
			HasBeenInitialized = true;
			DataContext = Data.DbServer3;
			if (MMProgrammBlockManagementModellInstance == null)
				{
				MMProgrammBlockManagementModellInstance = new MMProgrammBlockManagementModell();
				}
			if (MMSlotManagementModellInstance == null)
				{
				MMSlotManagementModellInstance = new MMSlotManagementModell();
				}

			return true;
			}
Ejemplo n.º 2
0
	    private void MMSlotManagementModellInstanceChanged(MMSlotManagementModell OldValue,
		    MMSlotManagementModell NewValue)
		    {
			if (NewValue != null)
				NewValue.StartMMUnitElementeDetails += MMSlotManagementModell_StartMMUnitElementeDetails;
		    }
	    private void PrepareEnvironment()
		    {
			if (InformationenBearbeitungModellInstance == null)
				{
				InformationenBearbeitungModellInstance = new InformationenBearbeitungModell();
				InformationenBearbeitungModellInstance.CommonSearchClassListInstance = new CommonSearchClassList();
				InformationenBearbeitungModellInstance.SearchConfiguratorDataModellInstance = new SearchConfiguratorDataModell();
				InformationenBearbeitungModellInstance.InformationenProcessingModellInstance = new InformationenProcessingModell();
				InformationenBearbeitungsStandModellInstance = new InformationenBearbeitungsStandModell();
				InformationenBearbeitungsStandModellInstance.CommonSearchClassList = new CommonSearchClassList();
				MMSlotManagementModellInstance = new MMSlotManagementModell();
				}

			}
	    private void MMSlotManagementModellInstanceChanged(MMSlotManagementModell OldValue,
		    MMSlotManagementModell NewValue)
		    {
		    }
Ejemplo n.º 5
0
	    private void MMunitDistribution_OnContextMenuOpening(object sender, ContextMenuEventArgs e)
		    {
			MMSlot mmSlotToProcess = (sender as ListView).SelectedItem as MMSlot;
			if (mmSlotToProcess == null)
				return;
			Cursor = Cursors.Wait;
			ContextMenu CMenu = (sender as ListView).ContextMenu;
			MMSlotManagementModell MMSlotManagementModellInstance = new MMSlotManagementModell();
			MMSlotManagementModellInstance.StartMMUnitElementeDetails += MMSlotManagementModellInstance_StartMMUnitElementeDetails;
			MMSlotManagementModellInstance.AddSlotContextMenuEntries(mmSlotToProcess, CMenu);
			Cursor = Cursors.Arrow;
			}
Ejemplo n.º 6
0
	    void PrepareEnvironment()
		    {
			if (MMSenderManagementModellInstance == null)
			    {
				MMSenderManagementModellInstance = new MMSenderManagementModell();
			    MMSenderManagementModellInstance.InitializeMe();
			    MMSlotManagementModellInstance
				    = MMSenderManagementModellInstance.MMSlotManagementModellInstance;
			    MMProgrammBlockManagementModellInstance
				    = MMSenderManagementModellInstance.MMProgrammBlockManagementModellInstance;
			    return;
			    }
		    if (MMSenderManagementModellInstance.MMProgrammBlockManagementModellInstance == null)
			    MMSenderManagementModellInstance.MMProgrammBlockManagementModellInstance
				    = MMProgrammBlockManagementModellInstance = new MMProgrammBlockManagementModell();
		    else
			    {
			    if (MMProgrammBlockManagementModellInstance != null)
				    MMSenderManagementModellInstance.MMProgrammBlockManagementModellInstance
					    = MMProgrammBlockManagementModellInstance;
			    else
				    MMSenderManagementModellInstance.MMProgrammBlockManagementModellInstance
					    = MMProgrammBlockManagementModellInstance = new MMProgrammBlockManagementModell();


			    }

		    }