public Account_Settings(PersonalActivityReferences.LibraryStorage.UserStorage user) { InitializeComponent(); NOW_USER = user; this.checkup_system = new PACheckUP.SystemCheckup(); this.name_field.Text = this.NOW_USER.getOnlineUserInformation()[0]; this.username_field.Text = this.NOW_USER.getOnlineUserInformation()[2]; this.email_field.Text = this.NOW_USER.getOnlineUserInformation()[3]; this.phoneN_field.Text = this.NOW_USER.getOnlineUserInformation()[1]; }
public Music_and_Chatting(PersonalActivityReferences.LibraryStorage.UserStorage user) { InitializeComponent(); music_player = new Music(); this.ONLINLE_USER = user; //this.waitNewMessage.Enabled = true; chat_client = new OrionChatClient.ChatClient(this.ONLINLE_USER); checkup_system = new PACheckUP.SystemCheckup(); //panel5.BackColor = Color.FromArgb(200, Color.Black); //panel4.BackColor = Color.FromArgb(200, Color.LightCyan); }
public AlarmPage(PersonalActivityReferences.LibraryStorage.UserStorage user) { InitializeComponent(); this.USER_ON = user; timer_now.Enabled = true; timer1.Enabled = true; alarm = new AlarmSystem.AlarmSystem(this.USER_ON); for (int i = 1; i <= 59; i++) { if (i != 24 && i <= 24) { hours.Items.Add(i); } else if (i == 24 && i <= 24) { hours.Items.Add(00); } Minute.Items.Add(i); Second.Items.Add(i); } }
public ActivityList(PersonalActivityReferences.LibraryStorage.UserStorage user) { InitializeComponent(); activity_lst = new PersonalActivityReferences.LibraryStorage.ActivityList(user); }
public GmailSender(PersonalActivityReferences.LibraryStorage.UserStorage user) { InitializeComponent(); EMAIL_SENDER = new paemail.Email(user); this.sender_box.Text = user.getOnlineUserInformation()[0]; }