Пример #1
0
        /// <summary>
        ///  selects wireless ap
        ///  shows second screen
        ///  reveals mdf and idf buttonss
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void WirelessAPButton_Click(object sender, EventArgs e)
        {
            PhoneButton.Hide();
            WirelessAPButton.Hide();

            SecondScreenPanel.Show();
            //mdfButton.Show();
        }
        void ReleaseDesignerOutlets()
        {
            if (PhoneButton != null)
            {
                PhoneButton.Dispose();
                PhoneButton = null;
            }

            if (SharingButton != null)
            {
                SharingButton.Dispose();
                SharingButton = null;
            }
        }
Пример #3
0
        // resets all values and updates labels
        void Reset()
        {
            idf_switchNum = 0;
            idf_cableType = 1;
            idf_portNum   = 0;
            slotNum       = 0;
            portNum       = 0;
            idfNum        = 0;
            subnet        = 0;

            UpdateLabels();
            UpdateIDFLables();
            SecondScreenPanel.Hide();
            panel1.Hide();
            panel2.Hide();
            PhoneButton.Show();
            WirelessAPButton.Show();
        }
Пример #4
0
    void Start()
    {
        mTrackableBehaviour = GetComponent <TrackableBehaviour>();
        if (mTrackableBehaviour)
        {
            mTrackableBehaviour.RegisterTrackableEventHandler(this);
        }

        simpleCloud = GameObject.FindGameObjectWithTag("cloudrec").GetComponent <SimpleCloudHandler>();

        phoneButton = GetComponentInChildren <PhoneButton>();
        gotolink    = GetComponentInChildren <GoToLink>();
        infoMarker  = GetComponentInChildren <ModelSelect>();
        infoPanel   = GetComponentInChildren <InfoPanel>();
        phonePanel  = phoneButton.gameObject;
        linkPanel   = gotolink.gameObject;
        infoButton  = infoMarker.gameObject;

        phonePanel.SetActive(false);
        linkPanel.SetActive(false);
        infoButton.SetActive(false);
    }
Пример #5
0
 //Phone Button
 public void ClickPhoneButton()
 {
     PhoneButton.Click();
 }
Пример #6
0
 internal PhoneButtonPressEventArgs(TapiPhone phone, PhoneButton button, ButtonState state)
 {
     Phone  = phone;
     Button = button;
     State  = state;
 }
Пример #7
0
 public ContactPage PhoneButtonClick()
 {
     PhoneButton.Click();
     return(new ContactPage());
 }
Пример #8
0
        void ReleaseDesignerOutlets()
        {
            if (AddressLine1Label != null)
            {
                AddressLine1Label.Dispose();
                AddressLine1Label = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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