Esempio n. 1
0
        public override void OnClick(IKernel kernel)
        {
            EditLocalServerControl control = kernel.Get <EditLocalServerControl>();

            control.Server  = Item.Server;
            control.Visible = true;
        }
Esempio n. 2
0
        public LocalServerListControl(IKernel kernel)
            : base(kernel)
        {
            _shellController        = kernel.Get <IShellController>();
            _siteService            = kernel.Get <ISiteService>();
            _editLocalServerControl = kernel.Get <EditLocalServerControl>();

            _addLocalServerButton        = new ArrowButton();
            _addLocalServerButton.Text   = "Add Local Server";
            _addLocalServerButton.Click += addLocalServerButton_Click;

            InitializeComponent();
        }
        public LocalServerListControl(IKernel kernel)
            : base(kernel)
        {
            _shellController = kernel.Get<IShellController>();
            _siteService = kernel.Get<ISiteService>();
            _editLocalServerControl = kernel.Get<EditLocalServerControl>();

            _addLocalServerButton = new ArrowButton();
            _addLocalServerButton.Text = "Add Local Server";
            _addLocalServerButton.Click += addLocalServerButton_Click;

            InitializeComponent();
        }