public void OnExpend()
 {
     holder.sizeDelta = new Vector2(RT.sizeDelta.x, 434.3f);
     ExpandBtn.SetActive(false);
     Srinkbtn.SetActive(true);
     TXT.text = " Pocker is any number of card games in which players wages over which hand is best according to that specific game's rulesin ways similar to these rankings.                                                                                              dsdfsds dfsfs sdfs fh sgsd Sfsdf asdfa dgdsa sdfsadf sadfsad asdfasdf sadfsa sad sadfsadf sfasd fd v dfga asdc asfad asda a asdfas ";
 }
Пример #2
0
 public void OnSrink()
 {
     //   RT.sizeDelta = new Vector2(RT.sizeDelta.x,RT.sizeDelta.y - 178f);
     holder.sizeDelta = new Vector2(RT.sizeDelta.x, 274f);
     ExpandBtn.SetActive(true);
     Srinkbtn.SetActive(false);
 }
Пример #3
0
 private void SettingClick(object sender, RoutedEventArgs e)
 {
     if ((bool)ExpandBtn.IsChecked)
     {
         ExpandBtn.RaiseEvent(new RoutedEventArgs(ToggleButton.UncheckedEvent));
         ExpandBtn.IsChecked = false;
     }
 }
 public void OnSrink()
 {
     //   RT.sizeDelta = new Vector2(RT.sizeDelta.x,RT.sizeDelta.y - 178f);
     holder.sizeDelta = new Vector2(RT.sizeDelta.x, 274f);
     ExpandBtn.SetActive(true);
     Srinkbtn.SetActive(false);
     TXT.text = " Pocker is any number of card games in which players wages over which hand is best according to that specific game's rulesin ways similar to these rankings";
 }
Пример #5
0
 private void ToSearchClick(object sender, RoutedEventArgs e)
 {
     if ((bool)ExpandBtn.IsChecked)
     {
         ExpandBtn.RaiseEvent(new RoutedEventArgs(ToggleButton.UncheckedEvent));
         ExpandBtn.IsChecked = false;
     }
     ToSearch();
     ToolBarListView.SelectedItem = ((Button)sender).Parent;
 }
Пример #6
0
        void ReleaseDesignerOutlets()
        {
            if (addTimeBtn != null)
            {
                addTimeBtn.Dispose();
                addTimeBtn = null;
            }

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

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

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

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

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

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

            if (QuID != null)
            {
                QuID.Dispose();
                QuID = null;
            }
        }
Пример #7
0
 private async void ToWatchingClick(object sender, RoutedEventArgs e)
 {
     if ((bool)ExpandBtn.IsChecked)
     {
         ExpandBtn.RaiseEvent(new RoutedEventArgs(ToggleButton.UncheckedEvent));
         ExpandBtn.IsChecked = false;
     }
     try
     {
         await Retry.Do(() => ToWatching(), TimeSpan.FromSeconds(3));
     }
     catch (WebException web_exception)
     {
         Console.WriteLine(web_exception.Message);
     }
     catch (AuthorizationException authorization_exception)
     {
         Console.WriteLine(authorization_exception.Message);
     }
     ToolBarListView.SelectedItem = ((Button)sender).Parent;
 }
Пример #8
0
 public void OnExpend()
 {
     holder.sizeDelta = new Vector2(RT.sizeDelta.x, 434.3f);
     ExpandBtn.SetActive(false);
     Srinkbtn.SetActive(true);
 }
Пример #9
0
 private void RestoreClick(object sender, RoutedEventArgs e)
 {
     ExpandBtn.RaiseEvent(new RoutedEventArgs(ToggleButton.UncheckedEvent));
     ExpandBtn.IsChecked = false;
 }