Пример #1
0
 public AdminSlideNew(AdminSlideshow SlideAwal)
 {
     _SlideAwal = SlideAwal;
     InitializeComponent();
     TanggalNOW.Text  = DateTime.Now.ToShortDateString();
     ShowHide.Checked = true;
 }
Пример #2
0
 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();
     }
 }
Пример #3
0
 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();
     }
 }
Пример #4
0
 public AdminSlideEdit(AdminSlideshow SlideAwal, int Choosen)
 {
     _SlideAwal = SlideAwal;
     ChoosenID  = Choosen;
     InitializeComponent();
 }