예제 #1
0
        public Form1()
        {
            // designer support
            InitializeComponent();

            // initial state of controls
            cbQuery.SelectedIndex      = 0;
            cbItemsCount.SelectedIndex = 0;

            // where DataEngine data is stored
            workspace = C1.Win.FlexPivot.C1FlexPivotPanel.CreateWorkspace();
            workspace.Init(Path.Combine(System.Windows.Forms.Application.StartupPath, "Data"));
        }
예제 #2
0
        public Form1()
        {
            // designer support
            InitializeComponent();

            // initial state of controls
            panelProduct.Top       = panelUnitPriceRange.Top;
            panelJoin.Top          = panelUnitPriceRange.Top;
            panelJoinFlexPivot.Top = panelUnitPriceRange.Top;
            panelGroupRange.Top    = panelUnitPriceRange.Top;
            btnFlexPivot.Enabled   = false;
            cbQuery.SelectedIndex  = 0;

            // where DataEngine data is stored
            workspace = C1.Win.FlexPivot.C1FlexPivotPanel.CreateWorkspace();
            workspace.Init(Path.Combine(System.Windows.Forms.Application.StartupPath, "Data"));
        }