Пример #1
0
 public void Show()
 {
   if (ps == null)
   {
     ps = new PaletteSet("Property");
     ps.Style = PaletteSetStyles.NameEditable |
                PaletteSetStyles.ShowPropertiesMenu |
                PaletteSetStyles.ShowAutoHideButton |
                PaletteSetStyles.ShowCloseButton;
     ps.Dock = DockSides.Top;
     //ps.MinimumSize = new System.Drawing.Size(150, 300);
     dgv = new PropertyDataGridView();
     ps.Add("Property", dgv);
   }
   else
     Update();
   ps.Visible = true;
 }
 public void Show()
 {
     if (ps == null)
     {
         ps       = new PaletteSet("Property");
         ps.Style = PaletteSetStyles.NameEditable |
                    PaletteSetStyles.ShowPropertiesMenu |
                    PaletteSetStyles.ShowAutoHideButton |
                    PaletteSetStyles.ShowCloseButton;
         ps.Dock = DockSides.Top;
         //ps.MinimumSize = new System.Drawing.Size(150, 300);
         dgv = new PropertyDataGridView();
         ps.Add("Property", dgv);
     }
     else
     {
         Update();
     }
     ps.Visible = true;
 }