Exemplo n.º 1
0
 private void cmbAnimators_SelectedIndexChanged(object sender, EventArgs e)
 {
     _SelectedAnimator = cmbAnimators.SelectedItem as IDataCubeAnimation;
     if (cmbAnimators.SelectedIndex == 1)
     {
         _ShellService.SelectPanel(DockPanelNames.View3DPanel);
     }
 }
        private void Attributes_Click(object sender, EventArgs e)
        {
            var item = (sender as ToolStripItem).Owner.Tag as MonitorItem;

            if (item == null || item.Monitor == null)
            {
                return;
            }
            if (item.Monitor.DataSource == null)
            {
                return;
            }

            var dt = item.ToDataTable(item.Monitor.DataSource);

            _ShellService.SelectPanel(DockPanelNames.DataGridPanel);
            _ShellService.DataGridView.Bind(dt);
        }
Exemplo n.º 3
0
 protected virtual void ProjectItem_PropertyClicked(object sender, EventArgs e)
 {
     _ShellService.PropertyView.SelectedObject = _Package;
     _ShellService.SelectPanel(DockPanelNames.PropertyPanel);
 }
Exemplo n.º 4
0
 private void Property_Clicked(object sender, EventArgs e)
 {
     _Shell.PropertyView.SelectedObject = this.DataContext;
     _Shell.SelectPanel("kPropGrid");
 }