Ejemplo n.º 1
0
 protected virtual void OnRootClicked(RootClickedEventArgs args)
 {
     if (RootClicked != null)
     {
         RootClicked(this, args);
     }
 }
Ejemplo n.º 2
0
        private void scBrowser_RootClicked(object sender, RootClickedEventArgs args)
        {
            try
            {
                pnlContent.Controls.Clear();

                RootControl control = new RootControl();
                control.Root     = args.Root;
                control.Location = new Point(0, 0);
                control.Name     = "control";
                pnlContent.Controls.Add(control);
                control.Show();
            }
            catch (Exception e)
            {
                SC.GUI.Utility.ErrorForm.ShowErrorForm(e);
            }
        }
Ejemplo n.º 3
0
        private void scBrowser_RootClicked(object sender, RootClickedEventArgs args)
        {
            try
            {
                pnlContent.Controls.Clear();

                RootControl control = new RootControl();
                control.Root = args.Root;
                control.Location = new Point(0, 0);
                control.Name = "control";
                pnlContent.Controls.Add(control);
                control.Show();
            }
            catch (Exception e)
            {
                SC.GUI.Utility.ErrorForm.ShowErrorForm(e);
            }
        }
Ejemplo n.º 4
0
 protected virtual void OnRootClicked(RootClickedEventArgs args)
 {
     if (RootClicked != null)
         RootClicked(this, args);
 }