private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            List <Team> teamsList = Prowareness.GetTeams();

            Telerik.Windows.Controls.RadChart radChart = new Telerik.Windows.Controls.RadChart();
            radChart.DefaultView.ChartArea.AxisX.IsDateTime           = true;
            radChart.DefaultView.ChartArea.AxisX.Step                 = 5;
            radChart.DefaultView.ChartArea.AxisX.LabelStep            = 2;
            radChart.DefaultView.ChartArea.AxisX.StepLabelLevelCount  = 3;
            radChart.DefaultView.ChartArea.AxisX.StepLabelLevelHeight = 10;
            radChart.DefaultView.ChartArea.AxisX.DefaultLabelFormat   = "dd-MMM";
            //....
            SeriesMapping sm = new SeriesMapping();

            sm.SeriesDefinition = new SplineSeriesDefinition();
            //....
            sm.ItemMappings.Add(new ItemMapping("Date", DataPointMember.XValue));
            sm.ItemMappings.Add(new ItemMapping("Value", DataPointMember.YValue));
            radChart.SeriesMappings.Add(sm);



            foreach (Team team in teamsList)
            {
                addTeamTab(team);
            }
        }
Esempio n. 2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightApplication;component/InLine.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.radChart = ((Telerik.Windows.Controls.RadChart)(this.FindName("radChart")));
 }
Esempio n. 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.RadChart1 = ((Telerik.Windows.Controls.RadChart)(target));
         return;
     }
     this._contentLoaded = true;
 }
Esempio n. 4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightApplication;component/InPic.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.radChart   = ((Telerik.Windows.Controls.RadChart)(this.FindName("radChart")));
 }
        private void AddChartInGrid(int numRadChart, string _strNameExchange, string _strNameExchangeBack
                                    , string _strFilePath, string _strFilePathBack)
        {
            Dispatcher.BeginInvoke(new ThreadStart(delegate
            {
                string _elementName       = "RadChart" + numRadChart.ToString();
                RadChart _elementRadChart = FindElementRadChart(this.GridTable.Children, _elementName);
                Telerik.Windows.Controls.RadChart telerikChart = _elementRadChart;

                //добавление в Grid новой строки
                System.Windows.Controls.RowDefinition newRow = new System.Windows.Controls.RowDefinition();
                GridLengthConverter myGridLengthConverter    = new GridLengthConverter();
                newRow.Height = (GridLength)myGridLengthConverter.ConvertFromString("*");
                GridTable.RowDefinitions.Add(newRow);
                _elementRadChart.Visibility = System.Windows.Visibility.Visible;
                //-

                telerikChart.DefaultView.ChartTitle.HorizontalAlignment    = HorizontalAlignment.Center; //Chart Legend
                telerikChart.DefaultView.ChartLegend.UseAutoGeneratedItems = true;                       //Line Chart
                telerikChart.DefaultView.ChartTitle.Content = _strNameExchange;                          // "Обмен " + _strNameExchange; //+" и " + _strNameExchangeBack;

                DataSeries lineSeries  = new DataSeries();
                lineSeries.LegendLabel = _strNameExchange;                     // "Обмен " + _strNameExchange;
                lineSeries.Definition  = new LineSeriesDefinition();
                telerikChart.DefaultView.ChartArea.DataSeries.Add(lineSeries); //Bar Chart

                DataSeries barSeries  = new DataSeries();
                barSeries.LegendLabel = _strNameExchangeBack; // "Обмен " + _strNameExchangeBack;
                barSeries.Definition  = new LineSeriesDefinition();
                telerikChart.DefaultView.ChartArea.DataSeries.Add(barSeries);
            }));

            StrPathToExange _newStr = new StrPathToExange();

            _newStr._strNameExchange     = _strNameExchange;
            _newStr._strNameExchangeBack = _strNameExchangeBack;
            _newStr._strFilePath         = _strFilePath;
            _newStr._strFilePathBack     = _strFilePathBack;

            if (FileChecker.Instance._filePathList == null)
            {
                FileChecker.Instance._filePathList = new List <StrPathToExange>();
            }
            FileChecker.Instance._filePathList.Add(_newStr);
            FileChecker.Instance.CreateFileWatcher();

            //CreateChart_DefaultView();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cb_objetiveX = ((Telerik.Windows.Controls.RadComboBox)(target));

            #line 24 "..\..\..\..\Controls\Visualizers\PartitionVisualizer.xaml"
                this.cb_objetiveX.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_objetiveX_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.cb_objetiveY = ((Telerik.Windows.Controls.RadComboBox)(target));

            #line 28 "..\..\..\..\Controls\Visualizers\PartitionVisualizer.xaml"
                this.cb_objetiveY.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_objetiveY_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.btSave = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\..\..\Controls\Visualizers\PartitionVisualizer.xaml"
                this.btSave.Click += new System.Windows.RoutedEventHandler(this.btSave_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.tb_alg_name = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.rc_graphic = ((Telerik.Windows.Controls.RadChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private RadChart FindElementRadChart(UIElementCollection ChildrenCollection, string _elementName)
        {
            var e = ChildrenCollection.GetEnumerator();

            while (e.MoveNext())
            {
                UIElement _elementChildren = (UIElement)e.Current;
                if (_elementChildren.GetType().Name != "RadChart")
                {
                    continue;
                }
                Telerik.Windows.Controls.RadChart _element = (Telerik.Windows.Controls.RadChart)_elementChildren;
                if (_element.Name == _elementName)
                {
                    return(_element);
                }
            }
            return(null);
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.radChart = ((Telerik.Windows.Controls.RadChart)(target));
                return;

            case 2:
                this.cmb_espacios = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.btn_mostrarEspacio = ((InterfazWPF.Boton)(target));
                return;

            case 4:
                this.cmb_filtro = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 9
0
        private void Telerik.Windows.Controls.RadChart CreateChart_DefaultView()
        {
            //Telerik.Windows.Controls.RadChart telerikChart = new Telerik.Windows.Controls.RadChart();    //Chart Title
            Telerik.Windows.Controls.RadChart telerikChart = RadChart0;
            telerikChart.DefaultView.ChartTitle.HorizontalAlignment = HorizontalAlignment.Center;    //Chart Legend
            telerikChart.DefaultView.ChartLegend.UseAutoGeneratedItems = true;    //Line Chart
            telerikChart.DefaultView.ChartTitle.Content = "График 2009";
           
            DataSeries lineSeries = new DataSeries();
            lineSeries.LegendLabel = "Обмен1";
            lineSeries.Definition = new LineSeriesDefinition(); 
            lineSeries.Add(new DataPoint() { YValue = 154, XCategory = "Jan" });
            lineSeries.Add(new DataPoint() { YValue = 138, XCategory = "Feb" });
            lineSeries.Add(new DataPoint() { YValue = 143, XCategory = "Mar" });
            lineSeries.Add(new DataPoint() { YValue = 120, XCategory = "Apr" });
            lineSeries.Add(new DataPoint() { YValue = 135, XCategory = "May" });
            lineSeries.Add(new DataPoint() { YValue = 125, XCategory = "Jun" });
            lineSeries.Add(new DataPoint() { YValue = 179, XCategory = "Jul" });
            lineSeries.Add(new DataPoint() { YValue = 170, XCategory = "Aug" });
            lineSeries.Add(new DataPoint() { YValue = 198, XCategory = "Sep" });
            lineSeries.Add(new DataPoint() { YValue = 187, XCategory = "Oct" });
            lineSeries.Add(new DataPoint() { YValue = 193, XCategory = "Nov" });
            lineSeries.Add(new DataPoint() { YValue = 176, XCategory = "Dec" }); 
            telerikChart.DefaultView.ChartArea.DataSeries.Add(lineSeries);    //Bar Chart

            DataSeries barSeries = new DataSeries();
            barSeries.LegendLabel = "Обмен2";
            barSeries.Definition = new LineSeriesDefinition(); //new BarSeriesDefinition(); 
            barSeries.Add(new DataPoint() { YValue = 45, XCategory = "Jan" });
            barSeries.Add(new DataPoint() { YValue = 48, XCategory = "Feb" });
            barSeries.Add(new DataPoint() { YValue = 53, XCategory = "Mar" });
            barSeries.Add(new DataPoint() { YValue = 41, XCategory = "Apr" });
            barSeries.Add(new DataPoint() { YValue = 32, XCategory = "May" });
            barSeries.Add(new DataPoint() { YValue = 28, XCategory = "Jun" });
            barSeries.Add(new DataPoint() { YValue = 63, XCategory = "Jul" });
            barSeries.Add(new DataPoint() { YValue = 74, XCategory = "Aug" });
        }
Esempio n. 10
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Wykres = ((Telerik.Windows.Controls.RadChart)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 11
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ExcelGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.graph = ((Telerik.Windows.Controls.RadChart)(target));
     return;
     case 3:
     this.BubbleGraph = ((Telerik.Windows.Controls.RadChart)(target));
     return;
     case 4:
     this.CombineBtn = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.CombineBtn.Click += new System.Windows.RoutedEventHandler(this.CombineCommAndRatings_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ExportBtn = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\MainWindow.xaml"
     this.ExportBtn.Click += new System.Windows.RoutedEventHandler(this.ExportBarGraphs_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ExportBubbleBtn = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\..\MainWindow.xaml"
     this.ExportBubbleBtn.Click += new System.Windows.RoutedEventHandler(this.ExportBbubbleCharts_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.BeginSheetBtn = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\..\MainWindow.xaml"
     this.BeginSheetBtn.Click += new System.Windows.RoutedEventHandler(this.ImportBeginSheet);
     
     #line default
     #line hidden
     return;
     case 8:
     this.EndSheetBtn = ((System.Windows.Controls.Button)(target));
     
     #line 16 "..\..\..\MainWindow.xaml"
     this.EndSheetBtn.Click += new System.Windows.RoutedEventHandler(this.ImportEndSheet);
     
     #line default
     #line hidden
     return;
     case 9:
     this.LeftToExportText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.CombineText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.ExportBubbleText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.BeginImportText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.EndImportText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.ColumnBlockBegin = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.CompletelyBlockBegin = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.ColumnBlockEnd = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.CompletelyBlockEnd = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.NumNamesRowBlockEnd = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.NumNamesRowBlockBegin = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.NumColumnsBegin = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.CompletelyStartBegin = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.NumNamesRowBeginBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.NumColumnsEnd = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.CompletelyStartEnd = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.NumNamesRowEndBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.ImportTwoGraphs = ((System.Windows.Controls.CheckBox)(target));
     
     #line 34 "..\..\..\MainWindow.xaml"
     this.ImportTwoGraphs.Checked += new System.Windows.RoutedEventHandler(this.ImportTwoChecked);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\MainWindow.xaml"
     this.ImportTwoGraphs.Unchecked += new System.Windows.RoutedEventHandler(this.ImportTwoUnchecked);
     
     #line default
     #line hidden
     return;
     case 27:
     this.DisableNameBox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 35 "..\..\..\MainWindow.xaml"
     this.DisableNameBox.Checked += new System.Windows.RoutedEventHandler(this.DisableNameChecked);
     
     #line default
     #line hidden
     
     #line 35 "..\..\..\MainWindow.xaml"
     this.DisableNameBox.Unchecked += new System.Windows.RoutedEventHandler(this.DisableNameUnchecked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            List<Team> teamsList = Prowareness.GetTeams();

            Telerik.Windows.Controls.RadChart radChart = new Telerik.Windows.Controls.RadChart();
            radChart.DefaultView.ChartArea.AxisX.IsDateTime = true;
            radChart.DefaultView.ChartArea.AxisX.Step = 5;
            radChart.DefaultView.ChartArea.AxisX.LabelStep = 2;
            radChart.DefaultView.ChartArea.AxisX.StepLabelLevelCount = 3;
            radChart.DefaultView.ChartArea.AxisX.StepLabelLevelHeight = 10;
            radChart.DefaultView.ChartArea.AxisX.DefaultLabelFormat = "dd-MMM";
            //....
            SeriesMapping sm = new SeriesMapping();
            sm.SeriesDefinition = new SplineSeriesDefinition();
            //....
            sm.ItemMappings.Add( new ItemMapping( "Date", DataPointMember.XValue ) );
            sm.ItemMappings.Add( new ItemMapping( "Value", DataPointMember.YValue ) );
            radChart.SeriesMappings.Add( sm );

            foreach (Team team in teamsList)
            {
                addTeamTab(team);
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\StatisticsWorkerWindow.xaml"
                ((HrDepartment.StatisticsWorkerWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.StatisticsWorkerWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.NumericUpDown = ((Telerik.Windows.Controls.RadNumericUpDown)(target));
                return;

            case 3:
                this.CriteriaComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.Present = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 5:
                this.Absence = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 6:
                this.Hospital = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.Vacation = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.CreateButton = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\StatisticsWorkerWindow.xaml"
                this.CreateButton.Click += new System.Windows.RoutedEventHandler(this.CreateButton_OnClick);

            #line default
            #line hidden
                return;

            case 9:
                this.Separator1 = ((System.Windows.Controls.Separator)(target));
                return;

            case 10:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\StatisticsWorkerWindow.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_OnClick);

            #line default
            #line hidden
                return;

            case 11:
                this.FiaComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.Png = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 14:
                this.ExcelMl = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 15:
                this.Xps = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 16:
                this.ExportButton = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\..\StatisticsWorkerWindow.xaml"
                this.ExportButton.Click += new System.Windows.RoutedEventHandler(this.ExportButton_OnClick);

            #line default
            #line hidden
                return;

            case 17:
                this.Chart = ((Telerik.Windows.Controls.RadChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 14
0
        private void AddFileWindows_Click(object sender, RoutedEventArgs e)
        {
            Microsoft.Win32.OpenFileDialog dlg = new Microsoft.Win32.OpenFileDialog();
            dlg.DefaultExt = ".zip";
            dlg.Filter = "архивы|*.zip|xml-файлы|*.xml";

            // Show open file dialog box
            Nullable<bool> result = dlg.ShowDialog(); // Открываем окно

            // Process open file dialog box results
            if (result == true)
            {
                mFilePath = dlg.FileName; //присваиваем переменной путь к файлу
                int _lastChar = mFilePath.LastIndexOf("\\");
                string[] _ArrayPath = mFilePath.Split(new Char[] { '\\' });
                int _lastStr = _ArrayPath.Count();
                String _strNameExchange = _ArrayPath[_lastStr - 1];
                _strNameExchange = _strNameExchange.Substring(8, _strNameExchange.Length - 4 - 8);
                int _separator = _strNameExchange.LastIndexOf("_");
                String _strNameExchangeBack = _strNameExchange.Substring(_separator + 1, _strNameExchange.Length - _separator - 1) + "_" + _strNameExchange.Substring(0, _separator);
                String _newFilePath = mFilePath.Substring(0, _lastChar + 9) + _strNameExchangeBack + mFilePath.Substring(mFilePath.Length - 4, 4);

                int CountStr = ((ArrayList)ListPath.Resources["teams"]).Count;
                    Dispatcher.BeginInvoke(new ThreadStart(delegate
                    {
                        int numRadChart = CountStr / 2;
                        string _nameRadChart = "RadChart" + numRadChart.ToString();
                        Telerik.Windows.Controls.RadChart telerikChart = RadChart0;
                        telerikChart.DefaultView.ChartTitle.HorizontalAlignment = HorizontalAlignment.Center;    //Chart Legend
                        telerikChart.DefaultView.ChartLegend.UseAutoGeneratedItems = true;    //Line Chart
                        telerikChart.DefaultView.ChartTitle.Content = "Обмен " + _strNameExchange + " и " + _strNameExchangeBack;

                        DataSeries lineSeries = new DataSeries();
                        lineSeries.LegendLabel = "Обмен " + _strNameExchange;
                        lineSeries.Definition = new LineSeriesDefinition();
                        telerikChart.DefaultView.ChartArea.DataSeries.Add(lineSeries);    //Bar Chart

                        DataSeries barSeries = new DataSeries();
                        barSeries.LegendLabel = "Обмен " + _strNameExchangeBack;
                        barSeries.Definition = new LineSeriesDefinition();  
                        telerikChart.DefaultView.ChartArea.DataSeries.Add(barSeries); 

                        for (int i = 0; i <= 1; i++)
                        {
                            int num = CountStr + i;
                        string _elementName = "DockPanel" + num.ToString();
                        DockPanel _elementDockPanel = FindElementDockPanel(this.GridTable.Children, _elementName);
                        _elementName = "LabelPathFile" + num.ToString();
                        System.Windows.Controls.Label _elementLabel = FindElementLabel(_elementDockPanel.Children, _elementName);
                        if (i == 0)
                        {
                            _strNameExchange = _strNameExchange.Replace("_", "->");
                            _elementLabel.Content = "Обмен: " + _strNameExchange;
                        }
                        else
                        {
                            _strNameExchangeBack = _strNameExchangeBack.Replace("_", "->");
                            _elementLabel.Content = "Обмен: " + _strNameExchangeBack;
                        }
                        }
                    }));

                ((ArrayList)ListPath.Resources["teams"]).Add(mFilePath);
                ((ArrayList)ListPath.Resources["teams"]).Add(_newFilePath);
                FileChecker.Instance._filePathList = ((ArrayList)ListPath.Resources["teams"]);

                FileChecker.Instance.CreateFileWatcher();

                //CreateChart_DefaultView();

                Dispatcher.BeginInvoke(new ThreadStart(delegate { ListPath.Items.Refresh(); }));
            }

            Console.WriteLine(result); // <-- For debugging use.
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Cb_objetive = ((Telerik.Windows.Controls.RadComboBox)(target));

            #line 21 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.Cb_objetive.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RadComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Rc_att = ((Telerik.Windows.Controls.RadChart)(target));
                return;

            case 3:
                this.sp_cboxs = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.DCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 30 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.DCheckBox.Checked += new System.Windows.RoutedEventHandler(this.Bar3DChecked);

            #line default
            #line hidden

            #line 31 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.DCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.Bar3DUnchecked);

            #line default
            #line hidden
                return;

            case 5:
                this.AxisXCheckbox = ((System.Windows.Controls.CheckBox)(target));

            #line 36 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisXCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisXVisibilityChecked);

            #line default
            #line hidden

            #line 37 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisXCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisXVisibilityChecked);

            #line default
            #line hidden
                return;

            case 6:
                this.AxisYCheckbox = ((System.Windows.Controls.CheckBox)(target));

            #line 42 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisYCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisYVisibilityChecked);

            #line default
            #line hidden

            #line 43 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisYCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisYVisibilityChecked);

            #line default
            #line hidden
                return;

            case 7:
                this.AxisXGridLinesCheckbox = ((System.Windows.Controls.CheckBox)(target));

            #line 47 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisXGridLinesCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisXGridLinesChecked);

            #line default
            #line hidden

            #line 48 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisXGridLinesCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisXGridLinesChecked);

            #line default
            #line hidden
                return;

            case 8:
                this.AxisYGridLinesCheckbox = ((System.Windows.Controls.CheckBox)(target));

            #line 52 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisYGridLinesCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisYGridLinesChecked);

            #line default
            #line hidden

            #line 53 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisYGridLinesCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisYGridLinesChecked);

            #line default
            #line hidden
                return;

            case 9:
                this.AxisXStripLinesCheckbox = ((System.Windows.Controls.CheckBox)(target));

            #line 57 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisXStripLinesCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisXStripLinesChecked);

            #line default
            #line hidden

            #line 58 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisXStripLinesCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisXStripLinesChecked);

            #line default
            #line hidden
                return;

            case 10:
                this.AxisYStripLinesCheckbox = ((System.Windows.Controls.CheckBox)(target));

            #line 63 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisYStripLinesCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisYStripLinesChecked);

            #line default
            #line hidden

            #line 64 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
                this.AxisYStripLinesCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisYStripLinesChecked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Cb_objetive = ((Telerik.Windows.Controls.RadComboBox)(target));
     
     #line 21 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.Cb_objetive.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RadComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Rc_att = ((Telerik.Windows.Controls.RadChart)(target));
     return;
     case 3:
     this.sp_cboxs = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.DCheckBox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 30 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.DCheckBox.Checked += new System.Windows.RoutedEventHandler(this.Bar3DChecked);
     
     #line default
     #line hidden
     
     #line 31 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.DCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.Bar3DUnchecked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.AxisXCheckbox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 36 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisXCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisXVisibilityChecked);
     
     #line default
     #line hidden
     
     #line 37 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisXCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisXVisibilityChecked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.AxisYCheckbox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 42 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisYCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisYVisibilityChecked);
     
     #line default
     #line hidden
     
     #line 43 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisYCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisYVisibilityChecked);
     
     #line default
     #line hidden
     return;
     case 7:
     this.AxisXGridLinesCheckbox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 47 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisXGridLinesCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisXGridLinesChecked);
     
     #line default
     #line hidden
     
     #line 48 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisXGridLinesCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisXGridLinesChecked);
     
     #line default
     #line hidden
     return;
     case 8:
     this.AxisYGridLinesCheckbox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 52 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisYGridLinesCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisYGridLinesChecked);
     
     #line default
     #line hidden
     
     #line 53 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisYGridLinesCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisYGridLinesChecked);
     
     #line default
     #line hidden
     return;
     case 9:
     this.AxisXStripLinesCheckbox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 57 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisXStripLinesCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisXStripLinesChecked);
     
     #line default
     #line hidden
     
     #line 58 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisXStripLinesCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisXStripLinesChecked);
     
     #line default
     #line hidden
     return;
     case 10:
     this.AxisYStripLinesCheckbox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 63 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisYStripLinesCheckbox.Checked += new System.Windows.RoutedEventHandler(this.AxisYStripLinesChecked);
     
     #line default
     #line hidden
     
     #line 64 "..\..\..\..\Controls\Visualizers\AttributesGraphicsVisualizer.xaml"
     this.AxisYStripLinesCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.AxisYStripLinesChecked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\StatisticsWindow.xaml"
                ((HrDepartment.StatisticsWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.StatisticsWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.NumericUpDown = ((Telerik.Windows.Controls.RadNumericUpDown)(target));
                return;

            case 3:
                this.MonthComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.Січень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 5:
                this.Лютий = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 6:
                this.Березень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.Квітень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.Травень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 9:
                this.Червень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 10:
                this.Липень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.Серпень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.Вересень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 13:
                this.Жовтень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 14:
                this.Листопад = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 15:
                this.Грудень = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 16:
                this.CriteriaComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.Present = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 18:
                this.Absence = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.Hospital = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 20:
                this.Vacation = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 21:
                this.CreateButton = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\StatisticsWindow.xaml"
                this.CreateButton.Click += new System.Windows.RoutedEventHandler(this.CreateButton_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.Separator1 = ((System.Windows.Controls.Separator)(target));
                return;

            case 23:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\..\StatisticsWindow.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.Png = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 26:
                this.ExcelMl = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 27:
                this.Xps = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 28:
                this.ExportButton = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\..\StatisticsWindow.xaml"
                this.ExportButton.Click += new System.Windows.RoutedEventHandler(this.ExportButton_OnClick);

            #line default
            #line hidden
                return;

            case 29:
                this.Chart = ((Telerik.Windows.Controls.RadChart)(target));
                return;
            }
            this._contentLoaded = true;
        }