public CreateEvent(MainScreen mainScreen) { InitializeComponent(); this.mainScreen = mainScreen; FindStartingTime(); Coloring(); }
public CreateNote(MainScreen mainScreen) { InitializeComponent(); this.mainScreen = mainScreen; this.dateTimePicker1.MinDate = DateTime.Now.AddHours(1); this.dateTimePicker1.MaxDate = DateTime.Now.AddDays(3); Coloring(); }
public CreateHome(MainScreen form, Person user) { InitializeComponent(); this.Dock = DockStyle.Fill; this.form = form; this.user = user; Coloring(); }
public CreateHousework(MainScreen mainScreen) { InitializeComponent(); this.mainScreen = mainScreen; this.chores = mainScreen.home.Chores; this.choresEvent = mainScreen.home.Calendar.GetOccasionsByType(typeof(Housework)); this.houseworks = mainScreen.home.Houseworks; FillListBoxes(); ClearShowBox(); ClearChosenChore(); Coloring(); }
public ViewRoomList(MainScreen mainScreen) { InitializeComponent(); this.Dock = DockStyle.Fill; this.mainScreen = mainScreen; this.home = mainScreen.home; this.rooms = home.Rooms; DrawRooms(); Coloring(); }
public PersonalInformation(Person person, MainScreen mainScreen) { InitializeComponent(); Header header = new Header(this); this.Controls.Add(header); header.Parent = splitContainer_Main.Panel1; header.Show(); header.DeleteMaximizeButton(); header.ChangeAppTextSize(8); header.ChangeAppText("Home Life"); header.DeleteMenuStrip(); this.mainScreen = mainScreen; this.person = person; Coloring(); FillInformation(); }
private void busyTimesToolStripMenuItem_Click(object sender, EventArgs e) { MainScreen mainScreen = (MainScreen)form; mainScreen.ViewBusyTime(sender, e); }
private void viewToolStripMenuItem_Click(object sender, EventArgs e) { MainScreen mainScreen = (MainScreen)form; mainScreen.ViewBill(sender, e); }
private void billsToolStripMenuItem_Click(object sender, EventArgs e) { MainScreen mainScreen = (MainScreen)form; mainScreen.CreateBill(sender, e); }
private void informationToolStripMenuItem_Click(object sender, EventArgs e) { MainScreen mainScreen = (MainScreen)form; mainScreen.btn_PersonalInformation_Click(sender, e); }
private void signOutToolStripMenuItem_Click(object sender, EventArgs e) { MainScreen mainScreen = (MainScreen)form; mainScreen.User.SignOut(mainScreen); }
private void leaveToolStripMenuItem_Click(object sender, EventArgs e) { MainScreen mainScreen = (MainScreen)form; mainScreen.showLeaveHome(); }