Exemple #1
0
 public FormWorldClock(FBLogic i_FBLogic)
 {
     InitializeComponent();
     r_FBLogic = i_FBLogic;
     disableButtons();
     r_FBLogic.CreateWorldClockLogic(new RefreshPostTextDelegate(ListOfCapitalCitys_SelectedIndexChanged));
     CityPhoto.SizeMode = PictureBoxSizeMode.StretchImage;
 }
Exemple #2
0
 public FormPhotosSearchByFilterSettings(FBLogic i_FBLogic)
 {
     r_FBLogic = i_FBLogic;
     InitializeComponent();
     dateTimePickerStartDate.Value           = DateTime.Today;
     dateTimePickerEndDate.Value             = DateTime.Today;
     numericUpDownAmount.Maximum             = r_FBLogic.MaxAmountOfPicForUser();
     numericUpDownAmount.Enabled             = false;
     FindPicsButton.Enabled                  = false;
     MostCommentsRadioButton.CheckedChanged += RadioButton_checkChanged;
     MostLikesRadioButton.CheckedChanged    += RadioButton_checkChanged;
 }
 public FormPhotosSearchByFilter(FBLogic i_FBLogic)
 {
     InitializeComponent();
     r_FBLogic = i_FBLogic;
     r_FBLogic.CreatePhotosSearchByFilterLogic();
     m_CollectionPicSettings    = new FormPhotosSearchByFilterSettings(r_FBLogic);
     m_CurrPictureDate          = new Label();
     m_AmountOfFilterPerCurrPic = new Label();
     m_ViewPicture = new FadePictureBox();
     BuildForm();
     if (!m_ToClose)
     {
         ShowDialog();
     }
     else
     {
         Close();
     }
 }
Exemple #4
0
 public FormFBHomePage()
 {
     InitializeComponent();
     disableButtons();
     r_FBLogic = new FBLogic();
 }