Inheritance: MonoBehaviour
コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

            if (SartlarButton != null)
            {
                SartlarButton.Dispose();
                SartlarButton = null;
            }
        }
コード例 #2
0
        private static async void FinishCreatingAsyncVoid(BackButton backButton, Frame frame, NavigationService service)
        {
            await Task.CompletedTask;

            // TODO: add this feature back in if you can figure out the reason for an err
            // await ClearExpiredCacheAsync(service);

            service.BackButtonHandling = backButton;

            if (backButton == BackButton.Attach)
            {
                frame.RegisterPropertyChangedCallback(Frame.CanGoBackProperty, (s, args)
                                                      => GestureService.UpdateBackButton(service.CanGoBack));
                Central.Messenger.Subscribe <Messages.BackRequestedMessage>(frame, async m =>
                {
                    await service.GoBackAsync();
                });
            }

            if (!Instances.Any())
            {
                Default = service;
            }
            Instances.Register(service);

            Central.Messenger.Send(new Messages.NavigationServiceCreatedMessage
            {
                NavigationService  = service,
                BackButtonHandling = backButton,
                IsDefault          = Default == service,
                Dispatcher         = service.GetDispatcher()
            });
        }
コード例 #3
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

            if (NotificationsSectionHeader != null)
            {
                NotificationsSectionHeader.Dispose();
                NotificationsSectionHeader = null;
            }
        }
コード例 #4
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

            if (Content != null)
            {
                Content.Dispose();
                Content = null;
            }
        }
コード例 #5
0
        protected override void DidActivate(bool firstActivation, ActivationType activationType)
        {
            MainScreen         = GameObject.Find("MainScreen");
            MainScreenPosition = MainScreen.transform.position;
            if (firstActivation && activationType == ActivationType.AddedToHierarchy)
            {
                Instance = this;
                title    = "Counters+";

                navigationController = BeatSaberUI.CreateViewController <BackButton>();
                navigationController.DidFinishEvent += BackButton_DidFinish;

                editSettings = BeatSaberUI.CreateViewController <CountersPlusEditViewController>();
                placeholder  = BeatSaberUI.CreateViewController <CountersPlusFillerForMainViewController>();
                //settingsList = BeatSaberUI.CreateViewController<CountersPlusSettingsListViewController>();
                horizSettingsList = BeatSaberUI.CreateViewController <CountersPlusHorizontalSettingsListViewController>();
                credits           = BeatSaberUI.CreateViewController <CountersPlusCreditsViewController>();
            }
            SetViewControllersToNavigationConctroller(navigationController, new VRUIViewController[] { credits });
            ProvideInitialViewControllers(placeholder, navigationController, editSettings, horizSettingsList);
            MainScreen.transform.position = new Vector3(0, -100, 0); //"If it works it's not stupid"

            CounterWarning.CreateWarning("Due to limitations, some counters may not reflect their true appearance in-game.", 7.5f);
            if (!Plugin.UpToDate)
            {
                CounterWarning.CreateWarning("A new Counters+ update is available to download!", 5);
            }
            StartCoroutine(InitMockCounters());
        }
コード例 #6
0
ファイル: UpDownEnemy.cs プロジェクト: grajpawel/Grayhunt
 void OnTriggerEnter2D(Collider2D col)
 {
     if (col.gameObject.name == "Player")
     {
         BackButton.OnTap();
     }
 }
コード例 #7
0
 private void Awake()
 {
     bb = this;
     control = GetComponent<dfControl>();
     tabcontainer = MenuTabContainer.tab;
     Hide();
 }
コード例 #8
0
 public virtual void Awake()
 {
     BackButton.Init();
     SoundyManager.Init();
     Database.Add(GetComponent <T>());
     UpdateStartValues();
 }
コード例 #9
0
        private void MainForm_KeyUp(object sender, KeyEventArgs e)
        {
            if (InvokeRequired)
            {
                Invoke(new KeyEventHandler(MainForm_KeyUp), sender, e);
                return;
            }

            if (e.KeyCode == Keys.Back ||
                e.KeyCode == Keys.BrowserBack ||
                (e.Alt && e.KeyCode == Keys.Left))
            {
                BackButton.PerformClick();
                return;
            }

            if (e.KeyCode == Keys.BrowserForward ||
                (e.Alt && e.KeyCode == Keys.Right))
            {
                NextButton.PerformClick();
                return;
            }

            if (e.KeyCode == Keys.F5 ||
                e.KeyCode == Keys.BrowserRefresh)
            {
                RefreshButton.PerformClick();
                return;
            }
        }
コード例 #10
0
ファイル: tutorialMan.cs プロジェクト: kotuakoutyan/TATAE_CO
    // Update is called once per frame
    void Update()
    {
        if (tutorialNum < 0)
        {
            tutorialNum = 0;
        }
        if (tutorialNum > 1)
        {
            tutorialNum = 1;
        }

        if (tutorialNum == 0)
        {
            BackButton.SetActive(false);
            NextButton.SetActive(true);

            tutorial0.SetActive(true);
            tutorial1.SetActive(false);
        }
        if (tutorialNum == 1)
        {
            BackButton.SetActive(true);
            NextButton.SetActive(false);

            tutorial0.SetActive(false);
            tutorial1.SetActive(true);
        }
    }
コード例 #11
0
    private void OnDestroy()
    {
        BackBtn  = null;
        PlayBtn  = null;
        PauseBtn = null;

        NextBtn       = null;
        VolumeBtn     = null;
        FocusBtn      = null;
        SettingBtn    = null;
        VideoNameText = null;
        VolumeImages  = null;

        PlayPBPanel   = null;
        VolumePanel   = null;
        SettingsPanel = null;

        PlayBtnHovrSprite  = null;
        PlayBtnNorSprite   = null;
        PauseBtnHovrSprite = null;
        PauseBtnNorSprite  = null;

        PlayBtnChildImage  = null;
        PauseBtnChildImage = null;

        ClickBackBtnCallback           = null;
        ClickPlayBtnAndReplayCallback  = null;
        ClickPlayBtnCallback           = null;
        ClickPauseBtnCallback          = null;
        ClickPreviousBtnCallback       = null;
        ClickNextBtnCallback           = null;
        PointerEnterUICallback         = null;
        VolumeValueChangedByUICallback = null;
    }
コード例 #12
0
        public TestSceneBackButton()
        {
            Child = new Container
            {
                Anchor   = Anchor.Centre,
                Origin   = Anchor.Centre,
                Size     = new Vector2(300),
                Masking  = true,
                Children = new Drawable[]
                {
                    new Box
                    {
                        RelativeSizeAxes = Axes.Both,
                        Colour           = Color4.SlateGray
                    },
                    button = new BackButton
                    {
                        Anchor = Anchor.BottomLeft,
                        Origin = Anchor.BottomLeft,
                        Action = () => button.Hide(),
                    }
                }
            };

            AddStep("show button", () => button.Show());
            AddStep("hide button", () => button.Hide());
        }
コード例 #13
0
ファイル: WaterUp.cs プロジェクト: grajpawel/Grayhunt
 // Update is called once per frame
 void Update()
 {
     if (transform.position.y >= 19.2f)
     {
         transform.position = new Vector2(transform.position.x, 19.2f);
     }
     if (CollectibleTeleport.tpWater == true)
     {
         if (hasTpd == false)
         {
             transform.position = new Vector2(transform.position.x, tpY);
             hasTpd             = true;
         }
     }
     if (hasTpd == false)
     {
         transform.Translate(Vector2.up / startSpeed);
     }
     if (hasTpd == true)
     {
         transform.Translate(Vector2.up / tpSpeed);
     }
     if (transform.position.y - GameObject.Find("Player").transform.position.y >= -5.9f)
     {
         BackButton.OnTap();
     }
 }
コード例 #14
0
 protected void Back()
 {
     NameLabel.Hide();
     NameBox.Hide();
     NameBox.Text = "";
     TypeLabeld.Hide();
     Typebox.Hide();
     OwnerLabel.Hide();
     OwnerBox.Hide();
     OwnerBox.Text = "";
     AddButton.Show();
     ViewButton.Show();
     BackButton.Hide();
     DoneButton.Hide();
     ScreenLabel.Hide();
     ScreenSpin.Hide();
     ScreenSpin.Text = "0";
     CatLabel.Hide();
     CatBox.Hide();
     ExcLabel.Hide();
     ExTablesButton.Hide();
     ExTablesButton.Active = false;
     HoursLabel.Hide();
     HoursBox.Hide();
     HoursBox.Text = "";
 }
コード例 #15
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

            if (TitleViewLabel != null)
            {
                TitleViewLabel.Dispose();
                TitleViewLabel = null;
            }
        }
コード例 #16
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

            if (HeaderLabel != null)
            {
                HeaderLabel.Dispose();
                HeaderLabel = null;
            }
        }
コード例 #17
0
ファイル: Form1.cs プロジェクト: Haurum/P2
 // Går tilbage til visning af hele løbet i tabellen
 private void BackButton_Click(object sender, EventArgs e)
 {
     headers--;
     isLeg = false;
     Put_Data(MainLeg);
     BackButton.Hide();
 }
コード例 #18
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            BackButton.SetCommand(ViewModel.BackCommand);
            BackButton.SetTitle(ViewModel.BackText, UIControlState.Normal);
        }
コード例 #19
0
        private static async void FinishCreatingAsync(BackButton backButton, Frame frame, NavigationService service)
        {
            await Task.CompletedTask;

            // TODO: add this feature back in if you can figure out the reason for an err
            // await ClearExpiredCacheAsync(service);

            service.BackButtonHandling = backButton;

            frame.RequestedTheme = Settings.DefaultTheme;

            if (backButton == BackButton.Attach)
            {
                // frame.RegisterPropertyChangedCallback(Frame.BackStackDepthProperty, (s, args) => BackButtonService.GetInstance().UpdateBackButton(service.CanGoBack));
                frame.Navigated += (s, args) => BackButtonService.UpdateBackButton(service.CanGoBack);
                BackButtonService.BackRequested += async(s, e) => e.Handled = await service.GoBackAsync();
            }

            if (!Instances.Any())
            {
                Default = service;
            }
            Instances.Add(service);

            Central.MessengerService.Send(new Messages.NavigationServiceCreatedMessage
            {
                NavigationService  = service,
                BackButtonHandling = backButton,
                IsDefault          = Default == service,
                Dispatcher         = service.GetDispatcher()
            });
        }
コード例 #20
0
ファイル: TicTacToePage.cs プロジェクト: emactaggart/CS476
 private void QuitButton_Click(object sender, EventArgs e)
 {
     try
     {
         Program.gameController.QuitGame(_state.GetValue().id, Program.infoController.profile.id);
         ExitGame();
     }
     catch (FaultException <PlayerNotInSpecifiedGameFault> )
     {
         UpdateTimer.Enabled = false;
         MessageBox.Show("Player not in specified game!");
         ExitGame();
     }
     catch (FaultException <EmptyResultsFault> )
     {
         UpdateTimer.Enabled = false;
         MessageBox.Show("Game is not available!");
         ExitGame();
     }
     catch (CommunicationException)
     {
         UpdateTimer.Enabled = false;
         MessageBox.Show("Unable to connect to server!\nPlease try again Later.");
         BackButton.Show();
     }
     catch (Exception ex)
     {
         UpdateTimer.Enabled = false;
         MessageBox.Show("Unforseen error!, " + ex.Message);
         BackButton.Show();
     }
 }
コード例 #21
0
ファイル: TicTacToePage.cs プロジェクト: emactaggart/CS476
 public TicTacToePage()
 {
     InitializeComponent();
     _state = new BasicObserver <MatchState>();
     BackButton.Hide();
     _gameOver = false;
 }
コード例 #22
0
        private async void LoadBackground()
        {
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
            if (!Settings.PerformanceMode)
            {
                Task.Run(async() => {
                    BitmapImage bmp = await Database.GetFanArt(series.id);
                    Dispatcher.Invoke(() => {
                        if (bmp != null)
                        {
                            BackgroundImage.Source = bmp;
                            Darkener.Visibility    = Visibility.Visible;
                            var sb = (Storyboard)FindResource("BlurImage");
                            sb.Begin();
                            var sboard = (Storyboard)FindResource("OpacityUp");
                            sboard.Begin(BackgroundImage);
                        }
                        else
                        {
                            BackButton.SetResourceReference(Image.SourceProperty, "BackIcon");
                        }
                    }, DispatcherPriority.Send);
                });
            }
#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
        }
コード例 #23
0
 public void OnClickArcadeBurger(int mode)
 {
     PlayerPrefs.SetInt("RecipeSelected", mode);
     StartCoroutine(LoadLevel("Arcade Scene"));
     NextPanel(LoadingPanel);
     BackButton.SetActive(false);
 }
コード例 #24
0
        void ReleaseDesignerOutlets()
        {
            if (ActivatedLabel != null)
            {
                ActivatedLabel.Dispose();
                ActivatedLabel = null;
            }

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

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

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

            if (NavItem != null)
            {
                NavItem.Dispose();
                NavItem = null;
            }
        }
コード例 #25
0
        private void Setup()
        {
            if (string.IsNullOrEmpty(PrivacyPolicy))
            {
                StartCoroutine(GET_FILE(SERVER_FILE.PP));
            }

            Accept.GetComponentInChildren <TextMeshProUGUI>().text  = "Continue";
            Decline.GetComponentInChildren <TextMeshProUGUI>().text = "Back";
            Decline.onClick.AddListener(delegate()
            {
                Setup();
                BackButton.GetComponent <Button>().onClick.Invoke();
            });

            MainContent.text = "\n\n\nThe YUR Mobile App requires the creation of a YUR account." +
                               "\n In order to do that, you will have to read, understand and agree to the following" +
                               "\n Privacy Policy, Terms of Service, and End User License Agreement." +
                               "\n" +
                               "\n" +
                               "Press Continue";

            Accept.interactable = true;
            unityAction         = new UnityEngine.Events.UnityAction(delegate()
            {
                Display_PrivacyPolicy();
            });

            Accept.onClick.AddListener(unityAction);

            Legal.SetActive(true);
            SignUp.SetActive(false);
        }
コード例 #26
0
 private void TimeTable_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Back)
     {
         BackButton.PerformClick();
     }
 }
コード例 #27
0
        private void InitializeAllStrings()
        {
            // login
            EmailTextField.Placeholder    = Application.LocalizedString("EmailAddress");
            PasswordTextField.Placeholder = Application.LocalizedString("Password");
            LoginButton.SetTitle(Application.LocalizedString("Login"), UIControlState.Normal);
            WhatIsSeekiosButton.SetTitle(Application.LocalizedString("WhatIsSeekios"), UIControlState.Normal);

            // double action forget/create
            ForgetPasswordButton.SetTitle(Application.LocalizedString("ForgetPassword"), UIControlState.Normal);
            CreateAccountButton.SetTitle(Application.LocalizedString("CreateAccount"), UIControlState.Normal);
            BackButton.SetTitle(Application.LocalizedString("Back"), UIControlState.Normal);

            // createAccount
            FirstNameTextField.Placeholder = Application.LocalizedString("FirstName");
            LastNameTextField.Placeholder  = Application.LocalizedString("LastName");
            PasswordTextFieldOfRegistration.Placeholder = Application.LocalizedString("Password");
            ConfirmPasswordTextField.Placeholder        = Application.LocalizedString("ConfirmPassword");
            RegistrationButton.SetTitle(Application.LocalizedString("CreateMyAccount"), UIControlState.Normal);
            EmailTextFieldOfRegistration.Placeholder = Application.LocalizedString("EmailAddress");
            ErrorMessageLabel.Text = Application.LocalizedString("PasswordErrorLength");

            // forget Password
            EmailTextFieldOfForgetPassword.Placeholder = Application.LocalizedString("EmailAddress");
            ResetPasswordButton.SetTitle(Application.LocalizedString("ResetPassword"), UIControlState.Normal);
        }
コード例 #28
0
        /// <summary>
        /// Creates a new NavigationService from the gived Frame to the
        /// WindowWrapper collection. In addition, it optionally will setup the
        /// shell back button to react to the nav of the Frame.
        /// A developer should call this when creating a new/secondary frame.
        /// </summary>
        /// <remarks>
        /// The shell back button should only be setup one time.
        /// </remarks>
        public static async Task <INavigationService> CreateAsync(BackButton backButton, Frame frame = null)
        {
            await CheckAllCacheExpiryAsync();

            var existing = frame.GetNavigationService();

            if (existing != null)
            {
                return(existing);
            }

            var service = new NavigationService(frame);

            service.BackButtonHandling = backButton;
            if (backButton == BackButton.Attach)
            {
                frame.RegisterPropertyChangedCallback(Frame.BackStackDepthProperty, (s, args) => BackButtonService.BackButtonService.Instance.UpdateBackButton(service.CanGoBack));
                frame.Navigated += (s, args) => BackButtonService.BackButtonService.Instance.UpdateBackButton(service.CanGoBack);
                BackButtonService.BackButtonService.Instance.BackRequested += async(s, e) => e.Handled = await service.GoBackAsync();
            }

            if (!NavigationServiceHelper.Instances.Any())
            {
                NavigationServiceHelper.Default = service;
            }
            NavigationServiceHelper.Instances.Add(service);

            return(service);
        }
コード例 #29
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

            if (UrlLabel != null)
            {
                UrlLabel.Dispose();
                UrlLabel = null;
            }
        }
コード例 #30
0
ファイル: PlayerDrown9.cs プロジェクト: grajpawel/Grayhunt
 // Update is called once per frame
 void Update()
 {
     if (GameObject.Find("Player").transform.position.x >= -46.5f && GameObject.Find("Player").transform.position.y <= 51.2f && GameObject.Find("Player").transform.position.y >= 50f)
     {
         BackButton.OnTap();
     }
 }
コード例 #31
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

            if (UserNameLabel != null)
            {
                UserNameLabel.Dispose();
                UserNameLabel = null;
            }
        }
コード例 #32
0
ファイル: BannerButton.cs プロジェクト: spilist/shoong
 void Start() {
   gameOverUI = GameObject.Find("GameOver").gameObject;
   back = gameOverUI.GetComponent<ScoreUpdate>().back;
   gold = GameObject.Find("GameOverGoldCubes").GetComponent<GameOverGoldCubes>();
   LanguageManager languageManager = LanguageManager.Instance;
   languageManager.OnChangeLanguage += OnChangeLanguage;
   OnChangeLanguage(languageManager);
   initRest();
 }
コード例 #33
0
        /// <summary>
        /// Craetes a new FamFrame and adds the resulting NavigationService to the 
        /// WindowWrapper collection. In addition, it optionally will setup the 
        /// shell back button to react to the nav of the Frame.
        /// A developer should call this when creating a new/secondary frame.
        /// The shell back button should only be setup one time.
        /// </summary>
        public Services.NavigationService.NavigationService NavigationServiceFactory(BackButton backButton, ExistingContent existingContent)
        {
            var frame = new Frame
            {
                Language = Windows.Globalization.ApplicationLanguages.Languages[0],
                Content = (existingContent == ExistingContent.Include) ? Window.Current.Content : null,
            };

            var navigationService = new Services.NavigationService.NavigationService(frame);
            WindowWrapper.Current().NavigationServices.Add(navigationService);

            if (backButton == BackButton.Attach)
            {
                // TODO: unattach others

                // update shell back when backstack changes
                // only the default frame in this case because secondary should not dismiss the app
                frame.RegisterPropertyChangedCallback(Frame.BackStackDepthProperty, (s, args) => UpdateShellBackButton());

                // update shell back when navigation occurs
                // only the default frame in this case because secondary should not dismiss the app
                frame.Navigated += (s, args) => UpdateShellBackButton();
            }

            // this is always okay to check, default or not
            // expire any state (based on expiry)
            DateTime cacheDate;
            // default the cache age to very fresh if not known
            var otherwise = DateTime.MinValue.ToString();
            if (DateTime.TryParse(navigationService.FrameFacade.GetFrameState(CacheDateKey, otherwise), out cacheDate))
            {
                var cacheAge = DateTime.Now.Subtract(cacheDate);
                if (cacheAge >= CacheMaxDuration)
                {
                    // clear state in every nav service in every view
                    foreach (var service in WindowWrapper.ActiveWrappers.SelectMany(x => x.NavigationServices))
                    {
                        service.FrameFacade.ClearFrameState();
                    }
                }
            }
            else
            {
                // no date, that's okay
            }

            return navigationService;
        }
コード例 #34
0
 public void Awake()
 {
     businessAd = GameObject.Find("BusinessAd");
     backBtn = GameObject.Find("BackButton").GetComponent<BackButton>();
 }
コード例 #35
0
	// Use this for initialization
	void Start () {
        b = transform.parent.parent.GetComponentInChildren<BackButton>();
        img.sprite = imgCont.resourceIcons[(int)WorkerSender.resOpen];
	}
コード例 #36
0
ファイル: InsideMenusBehavior.cs プロジェクト: spilist/shoong
 void Start() {
   menus = GameObject.Find("Menus").GetComponent<MenusController>();
   back = menus.backButton.GetComponent<BackButton>();
 }