public AdminSlideNew(AdminSlideshow SlideAwal) { _SlideAwal = SlideAwal; InitializeComponent(); TanggalNOW.Text = DateTime.Now.ToShortDateString(); ShowHide.Checked = true; }
public AdminAwal() { InitializeComponent(); Sidepanel.Height = btn_Slideshow.Height; Sidepanel.Top = btn_Slideshow.Top; if (!panelUC.Controls.Contains(AdminSlideshow.Instance)) { panelUC.Controls.Add(AdminSlideshow.Instance); AdminSlideshow.Instance.Dock = DockStyle.Fill; AdminSlideshow.Instance.BringToFront(); AdminSlideshow Slideshow = new AdminSlideshow(); //Slideshow.SlideList(""); } else { AdminSlideshow.Instance.BringToFront(); } }
private void btn_Slideshow_Click(object sender, EventArgs e) { Sidepanel.Height = btn_Slideshow.Height; Sidepanel.Top = btn_Slideshow.Top; //adminSlideshow1.BringToFront(); //AdminSlideshow Slideshow = new AdminSlideshow(); //Slideshow.SlideList(""); if (!panelUC.Controls.Contains(AdminSlideshow.Instance)) { panelUC.Controls.Add(AdminSlideshow.Instance); AdminSlideshow.Instance.Dock = DockStyle.Fill; AdminSlideshow.Instance.BringToFront(); AdminSlideshow Slideshow = new AdminSlideshow(); Slideshow.SlideList(""); } else { AdminSlideshow.Instance.BringToFront(); } }
public AdminSlideEdit(AdminSlideshow SlideAwal, int Choosen) { _SlideAwal = SlideAwal; ChoosenID = Choosen; InitializeComponent(); }