Beispiel #1
0
 protected virtual void OnRootClicked(RootClickedEventArgs args)
 {
     if (RootClicked != null)
     {
         RootClicked(this, args);
     }
 }
Beispiel #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);
            }
        }
Beispiel #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);
            }
        }
Beispiel #4
0
 protected virtual void OnRootClicked(RootClickedEventArgs args)
 {
     if (RootClicked != null)
         RootClicked(this, args);
 }