private void HideStuff(bool hide = true)
 {
     if (!hide)
     {
         wit_name_value.Show();
         wit_gender_value.Show();
         wit_taken_value.Show();
         wit_name_lbl.Show();
         wit_gender_lbl.Show();
         wit_takenby_lbl.Show();
         wit_statement_lbl.Show();
         wit_statement_box.Show();
     }
     else
     {
         wit_name_value.Hide();
         wit_gender_value.Hide();
         wit_taken_value.Hide();
         wit_name_lbl.Hide();
         wit_gender_lbl.Hide();
         wit_takenby_lbl.Hide();
         wit_statement_lbl.Hide();
         wit_statement_box.Hide();
     }
 }
Пример #2
0
 public override void InitializeLayout()
 {
     GameFiber.StartNew(delegate
     {
         base.InitializeLayout();
         state = SubmitCheck.inprogress;
         Game.LogTrivial("Initializing FI Personal Info");
         this.Position             = new Point(Game.Resolution.Width / 2 - this.Window.Width / 2, Game.Resolution.Height / 2 - this.Window.Height / 2);
         FIContinueButton.Clicked += OnFIContinueButtonClick;
         FILookupButton.Clicked   += OnFILookupButtonClick;
         ShowFIButton.Clicked     += OnShowFIButtonClick;
         FIBackButton.Clicked     += OnFIBackButtonClick;
         ShowFIButton.Hide();
         FIBox.Hide();
         Wanted.Hide();
         PedCheck();
         VehCheck();
         GameFiber.Yield();
     });
 }
Пример #3
0
 private void HideStuff()
 {
     report_name_lbl.Hide();
     report_occupation_lbl.Hide();
     report_name_value.Hide();
     report_occupation_value.Hide();
     report_statement_lbl.Hide();
     report_statement_box.Hide();
     report_update_lbl.Hide();
     report_update_value.Hide();
 }