private void Space_Load(object sender, EventArgs e) { try { // Set size of elements based on screen resolution goFixTheResYas(); // Repair flickering by turning up instead this.BackgroundImage = null; this.BackgroundImageLayout = ImageLayout.Stretch; DoubleBufferManipulation.SetDoubleBuffered(panel1); DoubleBufferManipulation.SetDoubleBuffered(spaceForIcons); // Bottom Bar Load /*ThisMayFixTransparency prelimBar = new ThisMayFixTransparency(this.Height); prelimBar.Show(); prelimBar.BringToFront();*/ /*BottomBar newBotBar = new BottomBar(this.Height); newBotBar.Show(); newBotBar.BringToFront();*/ BottomBar_Concept124 newBotBar = new BottomBar_Concept124(this.Height); newBotBar.Show(); newBotBar.BringToFront(); // Font Family Setting Load timeSpaceContinuum.Font = new System.Drawing.Font(Properties.Settings.Default.fontsOfScience[Properties.Settings.Default.whoIsThisCrazyDoge], 11); // Space Background Load this.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); panel1.BackgroundImage = Image.FromFile(Properties.Settings.Default.space_back_path[Properties.Settings.Default.whoIsThisCrazyDoge]); currentBGPath = Properties.Settings.Default.space_back_path[Properties.Settings.Default.whoIsThisCrazyDoge]; // Top Left Account Information accountImg.Image = Image.FromFile(Properties.Settings.Default.userimgacc_path[Properties.Settings.Default.whoIsThisCrazyDoge]); name.Text = Properties.Settings.Default.nickname[Properties.Settings.Default.whoIsThisCrazyDoge]; // Custom Color Integration name.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); panel3.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); date.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); time.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); // Notification Loader Portion for (int index = 0; index <= Properties.Settings.Default.notificationapps.Count - 1; index++) { String nameThatFile = Settings.Default.notificationapps[index]; Process.Start(nameThatFile); } System.IO.File.WriteAllText("C:\\ProjectSnowshoes\\notification.txt", Properties.Settings.Default.notificationtext); //Application.DoEvents(); // Load apps goGenerateTilesFriendship(); //Application.DoEvents(); // Load processes // goGenerateProcessesFriendship(); // Aw yeah even more spaces // Time to do work, or in other words, free the spaceForProcesses from the taskbar so that hover functionality can work // (even though I still have to make the hover functionality Robert do you know what you are doing) // (no) /*panel1.Controls.Add(spaceForProcesses); bottomPanel.Controls.Remove(spaceForProcesses);*/ //Transition.run(this, "Opacity", 0, 1, new TransitionType_EaseInEaseOut(14)); BackgroundFunctionManager bfm = new BackgroundFunctionManager(); bfm.Show(); } catch (Exception ex) { TheScreenIsBlue tsib = new TheScreenIsBlue(ex.HResult + ": " + ex.Message); tsib.Show(); tsib.BringToFront(); this.Close(); } }
private void Space_Load(object sender, EventArgs e) { try { // Set size of elements based on screen resolution goFixTheResYas(); // Repair flickering by turning up instead this.BackgroundImage = null; this.BackgroundImageLayout = ImageLayout.Stretch; DoubleBufferManipulation.SetDoubleBuffered(panel1); DoubleBufferManipulation.SetDoubleBuffered(spaceForIcons); // Bottom Bar Load /*ThisMayFixTransparency prelimBar = new ThisMayFixTransparency(this.Height); * prelimBar.Show(); * prelimBar.BringToFront();*/ /*BottomBar newBotBar = new BottomBar(this.Height); * newBotBar.Show(); * newBotBar.BringToFront();*/ BottomBar_Concept124 newBotBar = new BottomBar_Concept124(this.Height); newBotBar.Show(); newBotBar.BringToFront(); // Font Family Setting Load timeSpaceContinuum.Font = new System.Drawing.Font(Properties.Settings.Default.fontsOfScience[Properties.Settings.Default.whoIsThisCrazyDoge], 11); // Space Background Load this.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); panel1.BackgroundImage = Image.FromFile(Properties.Settings.Default.space_back_path[Properties.Settings.Default.whoIsThisCrazyDoge]); currentBGPath = Properties.Settings.Default.space_back_path[Properties.Settings.Default.whoIsThisCrazyDoge]; // Top Left Account Information accountImg.Image = Image.FromFile(Properties.Settings.Default.userimgacc_path[Properties.Settings.Default.whoIsThisCrazyDoge]); name.Text = Properties.Settings.Default.nickname[Properties.Settings.Default.whoIsThisCrazyDoge]; // Custom Color Integration name.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); panel3.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); date.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); time.BackColor = Color.FromName(Properties.Settings.Default.custColor[Properties.Settings.Default.whoIsThisCrazyDoge]); // Notification Loader Portion for (int index = 0; index <= Properties.Settings.Default.notificationapps.Count - 1; index++) { String nameThatFile = Settings.Default.notificationapps[index]; Process.Start(nameThatFile); } System.IO.File.WriteAllText("C:\\ProjectSnowshoes\\notification.txt", Properties.Settings.Default.notificationtext); //Application.DoEvents(); // Load apps goGenerateTilesFriendship(); //Application.DoEvents(); // Load processes // goGenerateProcessesFriendship(); // Aw yeah even more spaces // Time to do work, or in other words, free the spaceForProcesses from the taskbar so that hover functionality can work // (even though I still have to make the hover functionality Robert do you know what you are doing) // (no) /*panel1.Controls.Add(spaceForProcesses); * bottomPanel.Controls.Remove(spaceForProcesses);*/ //Transition.run(this, "Opacity", 0, 1, new TransitionType_EaseInEaseOut(14)); BackgroundFunctionManager bfm = new BackgroundFunctionManager(); bfm.Show(); } catch (Exception ex) { TheScreenIsBlue tsib = new TheScreenIsBlue(ex.HResult + ": " + ex.Message); tsib.Show(); tsib.BringToFront(); this.Close(); } }