Пример #1
0
 public Home()
 {
     splash();
     logorReg();
     InitializeComponent();
     weather      = new Weather();
     music        = new Music_and_Chatting(user_now);
     alarm        = new AlarmPage(user_now);
     act_list     = new ActivityList(user_now);
     email_f      = new GmailSender(user_now);
     act_settings = new Account_Settings(user_now);
     //user_now = new PersonalActivityReferences.LibraryStorage.UserStorage();
     panel3.BackColor     = Color.FromArgb(180, Color.DeepSkyBlue);
     panel6.BackColor     = Color.FromArgb(180, Color.LightPink);
     panel8.BackColor     = Color.FromArgb(180, Color.Orange);
     panel13.BackColor    = Color.FromArgb(180, Color.LimeGreen);
     panel14.BackColor    = Color.FromArgb(180, Color.Navy);
     this.label11.Text    = user_now.getOnlineUserInformation()[0];
     this.timer1.Interval = 1000;
     this.timer1.Enabled  = true;
 }
Пример #2
0
 public GmailSender(PersonalActivityReferences.LibraryStorage.UserStorage user)
 {
     InitializeComponent();
     EMAIL_SENDER         = new paemail.Email(user);
     this.sender_box.Text = user.getOnlineUserInformation()[0];
 }