internal void SetToolStrip(bool tool)
 {
     if (!tool)
     {
         toolStripMain.Visible = false;
         return;
     }
     painterProvider = new SeriesPainterControlPovider(toolStripButtonType, pic, StaticExtensionDataPerformerUI.DefaultSeriesPaintingArray);
     painterInreface = painterProvider;
     userControlChart.SetMouseIndicator(toolStripLabelCoord);
     boxes = new ToolStripComboBox[] { toolStripComboBoxX, toolStripComboBoxY };
 }
Esempio n. 2
0
 internal void ShowStrip(bool show, object[] array = null)
 {
     if (show)
     {
         object[] arr = array;
         if (arr == null)
         {
             arr = StaticExtensionDataPerformerUI.DefaultSeriesPaintingArray;
         }
         performer.SetMouseIndicator(toolStripLabelCoord);
         painterProvider =
             new SeriesPainterControlPovider(toolStripButtonType,
                                             pic, arr);
         painterInreface = painterProvider;
     }
     else
     {
         toolStripMain.Visible = false;
     }
 }