Exemplo n.º 1
0
        void ShowTerminListe()
        {
            var aList = ModelManager.AppointmentService.GetAppointmentList(this.myKunde);
            var alv   = new AppointmentListView(aList, this.myKunde.CompanyName1);

            alv.Show();
        }
        void ReleaseDesignerOutlets()
        {
            if (AppointmentListView != null)
            {
                AppointmentListView.Dispose();
                AppointmentListView = null;
            }

            if (HelpTextView != null)
            {
                HelpTextView.Dispose();
                HelpTextView = null;
            }

            if (HelpTextViewBottomConstraint != null)
            {
                HelpTextViewBottomConstraint.Dispose();
                HelpTextViewBottomConstraint = null;
            }

            if (ListViewBottomConstraint != null)
            {
                ListViewBottomConstraint.Dispose();
                ListViewBottomConstraint = null;
            }

            if (VideoLinkButton != null)
            {
                VideoLinkButton.Dispose();
                VideoLinkButton = null;
            }
        }
Exemplo n.º 3
0
        void ShowServicetermine()
        {
            if (this.mySelectedMachine == null)
            {
                return;
            }
            var machineAsLink = this.mySelectedMachine as ILinkedItem;
            var aList         = ModelManager.AppointmentService.GetAppointmentList(this.mySelectedMachine);
            var adv           = new AppointmentListView(aList, mySelectedMachine.Maschinenmodell.Modellbezeichnung);

            adv.Show();
        }