Exemplo n.º 1
0
        protected override void InitializeControls()
        {
            this.Chart = new FlexRadar()
            {
                Dock = DockStyle.Fill
            };

            _lKValue = new LabelEx("k =")
            {
                Margin = new Padding(5, 5, 0, 5)
            };
            _udKValue = new NumericUpDownEx()
            {
                Minimum = 0, Maximum = 10, Increment = 1, Value = (decimal)_kValue, Margin = new Padding(0, 5, 0, 5)
            };
            _udKValue.ValueChanged += (s, e) => (this.Chart as FlexRadar).DataSource = DataService.GetSineCosineData((double)_udKValue.Value, (double)_udAValue.Value);

            _lAValue = new LabelEx("a =")
            {
                Margin = new Padding(5, 5, 0, 5)
            };
            _udAValue = new NumericUpDownEx()
            {
                Minimum = 0, Maximum = 5, Increment = 0.1M, DecimalPlaces = 1, Value = (decimal)_aValue, Margin = new Padding(0, 5, 0, 5)
            };
            _udAValue.ValueChanged += (s, e) => (this.Chart as FlexRadar).DataSource = DataService.GetSineCosineData((double)_udKValue.Value, (double)_udAValue.Value);

            this.pnlControls.Controls.Add(_lKValue);
            this.pnlControls.Controls.Add(_udKValue);
            this.pnlControls.Controls.Add(_lAValue);
            this.pnlControls.Controls.Add(_udAValue);
        }
        protected override void InitializeControls()
        {
            this.Chart = new FlexRadar()
            {
                Dock = DockStyle.Fill
            };

            _cbChartType = ControlFactory.EnumBasedCombo(typeof(RadarChartType), "Chart Type");
            _cbChartType.SelectedIndexChanged += (s, e) => (this.Chart as FlexRadar).ChartType = (RadarChartType)Enum.Parse(typeof(RadarChartType), _cbChartType.SelectedItem.ToString());

            _cbStacking = ControlFactory.EnumBasedCombo(typeof(Stacking), "Stacking");
            _cbStacking.SelectedIndexChanged += (s, e) => (this.Chart as FlexRadar).Stacking = (Stacking)Enum.Parse(typeof(Stacking), _cbStacking.SelectedItem.ToString());

            _cbPalette = ControlFactory.EnumBasedCombo(typeof(Palette), "Palette");
            _cbPalette.SelectedIndexChanged += (s, e) => (this.Chart as FlexRadar).Palette = (Palette)Enum.Parse(typeof(Palette), _cbPalette.SelectedItem.ToString());

            _lStartAngle  = new LabelEx("Start Angle:");
            _udStartAngle = new NumericUpDownEx()
            {
                Minimum = -360, Maximum = 360, Increment = 45, Value = 0
            };
            _udStartAngle.ValueChanged += (s, e) => (this.Chart as FlexRadar).StartAngle = (double)_udStartAngle.Value;

            _chbReverse = new CheckBoxEx("Reverse");
            _chbReverse.CheckedChanged += (s, e) => (this.Chart as FlexRadar).Reversed = _chbReverse.Checked;

            this.pnlControls.Controls.Add(_cbChartType);
            this.pnlControls.Controls.Add(_cbStacking);
            this.pnlControls.Controls.Add(_cbPalette);
            this.pnlControls.Controls.Add(_lStartAngle);
            this.pnlControls.Controls.Add(_udStartAngle);
            this.pnlControls.Controls.Add(_chbReverse);
        }
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _lHeader = new LabelEx("Header:");
            _tHeader = new TextBoxEx {
                ForeColor = Color.DimGray, AutoSize = false
            };
            _tHeader.TextChanged += (s, e) => { flexChart1.Header.Content = _tHeader.Text; };

            _lFooter = new LabelEx("Footer:");
            _tFooter = new TextBoxEx {
                AutoSize = false, ForeColor = Color.DimGray
            };
            _tFooter.TextChanged += (s, e) => { flexChart1.Footer.Content = _tFooter.Text; };

            _cbAlignment = ControlFactory.EnumBasedCombo(typeof(HorizontalAlignment), "Alignment");
            _cbAlignment.SelectedIndexChanged += (s, e) =>
            {
                flexChart1.Header.HorizontalAlignment = flexChart1.Footer.HorizontalAlignment = (HorizontalAlignment)Enum.Parse(typeof(HorizontalAlignment), _cbAlignment.SelectedItem.ToString());
            };

            _chbBorder = new CheckBoxEx("Border");
            _chbBorder.CheckedChanged += (s, e) => { flexChart1.Header.Border = flexChart1.Footer.Border = _chbBorder.Checked; };

            this.pnlControls.Controls.Add(_lHeader);
            this.pnlControls.Controls.Add(_tHeader);
            this.pnlControls.Controls.Add(_lFooter);
            this.pnlControls.Controls.Add(_tFooter);
            this.pnlControls.Controls.Add(_cbAlignment);
            this.pnlControls.Controls.Add(_chbBorder);
        }
Exemplo n.º 4
0
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            //Init lable Info1 & Info2
            _lInfo1 = new LabelEx(string.Empty)
            {
                Location = new Point(40, 10), ForeColor = Color.Gray
            };
            _lInfo2 = new LabelEx(string.Empty)
            {
                Location = new Point(200, 10), ForeColor = Color.Gray
            };

            //Init Information Panel
            _pInformation = new Panel {
                Dock = DockStyle.Bottom, BackColor = Color.White
            };
            _pInformation.Paint += (s, e) =>
            {
                e.Graphics.DrawLine(new Pen(Color.Gray), 0, 0, _pInformation.Width, 0);
            };

            _pInformation.Controls.Add(_lInfo1);
            _pInformation.Controls.Add(_lInfo2);
            this.Controls.Add(_pInformation);
        }
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _cbChartType = ChartControlFactory.BasicChartTypesCombo();
            _cbChartType.SelectedIndexChanged += (s, e) => { flexChart1.ChartType = (ChartType)Enum.Parse(typeof(ChartType), _cbChartType.SelectedValue.ToString()); };

            _cbLabelPosition = ControlFactory.EnumBasedCombo(typeof(LabelPosition), "Label Position");
            _cbLabelPosition.SelectedIndexChanged += (s, e) => { flexChart1.DataLabel.Position = (LabelPosition)Enum.Parse(typeof(LabelPosition), _cbLabelPosition.SelectedValue.ToString()); };

            _chbLabelBorder = new CheckBoxEx("Label Border");
            _chbLabelBorder.CheckedChanged += (s, e) => { flexChart1.DataLabel.Border = _chbLabelBorder.Checked; };

            _chbConnectingLine = new CheckBoxEx("Connecting Line");
            _chbConnectingLine.CheckedChanged += (s, e) => { flexChart1.DataLabel.ConnectingLine = _chbConnectingLine.Checked; };

            _lLabelAngle  = new LabelEx("Angle :");
            _udLabelAngle = new NumericUpDownEx {
                Minimum = -90, Maximum = 90, Value = 0, Increment = 30, Width = 40
            };
            _udLabelAngle.ValueChanged += (s, e) => { flexChart1.DataLabel.Angle = (int)_udLabelAngle.Value; };

            this.pnlControls.Controls.Add(_cbChartType);
            this.pnlControls.Controls.Add(_cbLabelPosition);
            this.pnlControls.Controls.Add(_chbLabelBorder);
            this.pnlControls.Controls.Add(_chbConnectingLine);
            this.pnlControls.Controls.Add(_lLabelAngle);
            this.pnlControls.Controls.Add(_udLabelAngle);
        }
Exemplo n.º 6
0
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _lBinWidth  = new LabelEx("Bin Width :");
            _udBinWidth = new NumericUpDownEx()
            {
                Minimum = (decimal)0.1, Maximum = 2, Increment = (decimal)0.1, DecimalPlaces = 1
            };
            _udBinWidth.ValueChanged += (s, e) => { _histogramSeries.BinWidth = (double)_udBinWidth.Value; };

            _cbAppearance       = ControlFactory.EnumBasedCombo(typeof(HistogramAppearance), "Appearance");
            _cbAppearance.Width = 160;
            _cbAppearance.SelectedIndexChanged += (s, e) => { _histogramSeries.HistogramAppearance = (HistogramAppearance)Enum.Parse(typeof(HistogramAppearance), _cbAppearance.SelectedItem.ToString()); };

            _chbNormalCurve = new CheckBoxEx("Normal Curve");
            _chbNormalCurve.CheckedChanged += (s, e) => { _histogramSeries.NormalCurve.Visible = _chbNormalCurve.Checked; };

            _chbCumulative = new CheckBoxEx("Cumulative");
            _chbCumulative.CheckedChanged += (s, e) => { _histogramSeries.CumulativeMode = _chbCumulative.Checked; };

            this.pnlControls.Controls.Add(_lBinWidth);
            this.pnlControls.Controls.Add(_udBinWidth);
            this.pnlControls.Controls.Add(_cbAppearance);
            this.pnlControls.Controls.Add(_chbNormalCurve);
            this.pnlControls.Controls.Add(_chbCumulative);
        }
Exemplo n.º 7
0
            private void InitializeComponent()
            {
                using (new SuspendLayoutTransaction(this))
                {
                    AutoSize = true;

                    //
                    // lblDataSetName
                    //
                    lblDataSetName      = new LabelEx(_serviceProvider);
                    lblDataSetName.Dock = DockStyle.Top;
                    lblDataSetName.Text = Resources.CalendarSmartPanelDatasetNameLabel;
                    //
                    // cbDataSetName
                    //
                    cbDataSetName                       = new ComboBoxEx(_serviceProvider);
                    cbDataSetName.Dock                  = DockStyle.Fill;
                    cbDataSetName.Validated            += cbDataSetName_Validated;
                    cbDataSetName.SelectedIndexChanged += cbDataSetName_SelectedIndexChanged;
                    //
                    // DataSetNameEditor
                    //
                    Controls.Add(lblDataSetName);
                    Controls.Add(cbDataSetName);
                }
            }
        protected override void InitializeControls()
        {
            this.Chart = new C1.Win.Chart.TreeMap()
            {
                Dock = DockStyle.Fill
            };

            _cbChartType = ControlFactory.EnumBasedCombo(typeof(TreeMapType), "Chart Type");
            _cbChartType.SelectedIndexChanged += (s, e) => (this.Chart as C1.Win.Chart.TreeMap).ChartType = (TreeMapType)Enum.Parse(typeof(TreeMapType), _cbChartType.SelectedItem.ToString());

            _cbPalette = ControlFactory.EnumBasedCombo(typeof(Palette), "Palette");
            _cbPalette.SelectedIndexChanged += (s, e) => (this.Chart as C1.Win.Chart.TreeMap).Palette = (Palette)Enum.Parse(typeof(Palette), _cbPalette.SelectedItem.ToString());

            _chbLabel = new CheckBoxEx("Labels")
            {
                Checked = true
            };
            _chbLabel.CheckedChanged += (s, e) => (this.Chart as C1.Win.Chart.TreeMap).DataLabel.Position = _chbLabel.Checked ? LabelPosition.Center : LabelPosition.None;

            _lMaxDepth  = new LabelEx("MaxDepth");
            _udMaxDepth = new NumericUpDownEx {
                Minimum = 1, Maximum = 4, Increment = 1, Value = 2
            };
            _udMaxDepth.ValueChanged += (s, e) => (this.Chart as C1.Win.Chart.TreeMap).MaxDepth = (int)_udMaxDepth.Value;

            this.pnlControls.Controls.Add(_cbChartType);
            this.pnlControls.Controls.Add(_cbPalette);
            this.pnlControls.Controls.Add(_chbLabel);
            this.pnlControls.Controls.Add(_lMaxDepth);
            this.pnlControls.Controls.Add(_udMaxDepth);
        }
Exemplo n.º 9
0
        public ComboBoxTreeView()
        {
            this.InitializeComponent();

            //---
            //jash add Object init
            this.AbsoluteChildrenSelectableOnly = true;
            this.BranchSeparator = ".";
            //---jash add Object init

            // Initializing Controls
            this.m_blnSowToggleTreeView = false;//jash add
            this.pnlBack             = new Panel();
            this.pnlBack.BorderStyle = BorderStyle.Fixed3D;
            this.pnlBack.BackColor   = Color.White;
            this.pnlBack.AutoScroll  = false;

            this.tbSelectedValue              = new TextBox();
            this.tbSelectedValue.ReadOnly     = true;                                       //jash add
            this.tbSelectedValue.BorderStyle  = System.Windows.Forms.BorderStyle.None;
            this.tbSelectedValue.TextChanged += new System.EventHandler(this.Data_Changed); //jash add

            this.btnSelect           = new ButtonEx();
            this.btnSelect.Click    += new EventHandler(ToggleTreeView);
            this.btnSelect.FlatStyle = FlatStyle.Flat;

            this.lblSizingGrip            = new LabelEx();
            this.lblSizingGrip.Size       = new Size(9, 9);
            this.lblSizingGrip.BackColor  = Color.Transparent;
            this.lblSizingGrip.Cursor     = Cursors.SizeNWSE;
            this.lblSizingGrip.MouseMove += new MouseEventHandler(SizingGripMouseMove);
            this.lblSizingGrip.MouseDown += new MouseEventHandler(SizingGripMouseDown);

            this.tvTreeView              = new TreeView();
            this.tvTreeView.BorderStyle  = BorderStyle.None;
            this.tvTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(TreeViewNodeSelect);//jash modified this.tvTreeView.DoubleClick += new EventHandler(TreeViewNodeSelect); //jash modified this.tvTreeView.Click += new EventHandler(TreeViewNodeSelect); //jash modified
            this.tvTreeView.Location     = new Point(0, 0);
            this.tvTreeView.LostFocus   += new EventHandler(TreeViewLostFocus);
            //this.tvTreeView.Scrollable = false;

            this.frmTreeView = new Form();
            this.frmTreeView.FormBorderStyle = FormBorderStyle.None;
            this.frmTreeView.StartPosition   = FormStartPosition.Manual;
            this.frmTreeView.ShowInTaskbar   = false;
            this.frmTreeView.BackColor       = System.Drawing.SystemColors.Control;

            this.pnlTree             = new Panel();
            this.pnlTree.BorderStyle = BorderStyle.FixedSingle;
            this.pnlTree.BackColor   = Color.White;

            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, true);

            // Adding Controls to UserControl
            this.pnlTree.Controls.Add(this.lblSizingGrip);
            this.pnlTree.Controls.Add(this.tvTreeView);
            this.frmTreeView.Controls.Add(this.pnlTree);
            this.pnlBack.Controls.AddRange(new Control[] { btnSelect, tbSelectedValue });
            this.Controls.Add(this.pnlBack);
        }
Exemplo n.º 10
0
        protected override void OnElementChanged(ElementChangedEventArgs <Label> e)
        {
            base.OnElementChanged(e);
            try
            {
                LabelEx control = Element as LabelEx;
                if (control == null || Control == null)
                {
                    return;
                }

                if (control.NumberOfLines > 1)
                {
                    Control.Lines = control.NumberOfLines;
                }

                if (control.LetterSpacing != 0.0f && !String.IsNullOrEmpty(control.Text))
                {
                    var text             = control.Text;
                    var attributedString = new NSMutableAttributedString(text);

                    var nsKern  = new NSString("NSKern");
                    var spacing = NSObject.FromObject(control.LetterSpacing * 10);
                    var range   = new NSRange(0, text.Length);

                    attributedString.AddAttribute(nsKern, spacing, range);
                    if (control.IsUnderlined)
                    {
                        attributedString.Append(new NSAttributedString(control.Text, underlineStyle: NSUnderlineStyle.Single));
                    }
                    Control.AttributedText = attributedString;
                }
                else if (control.IsUnderlined)
                {
                    var attributedString = new NSMutableAttributedString();
                    attributedString.Append(new NSAttributedString(control.Text, underlineStyle: NSUnderlineStyle.Single));
                    Control.AttributedText = attributedString;
                }
                else
                {
                    var paragraphStyle = new NSMutableParagraphStyle()
                    {
                        LineSpacing = control.LineHeightEx
                    };
                    var attr  = new NSMutableAttributedString(control.Text);
                    var style = UIStringAttributeKey.ParagraphStyle;
                    var range = new NSRange(0, attr.Length);

                    attr.AddAttribute(style, paragraphStyle, range);

                    this.Control.AttributedText = attr;
                }
            }
            catch (Exception exc)
            {
                System.Diagnostics.Debug.WriteLine("Exception " + exc.Message);
            }
        }
Exemplo n.º 11
0
 /// <summary>
 /// Updates the margin of control by an indentation given in inches.
 /// </summary>
 /// <param name="margin">margin to update</param>
 /// <param name="serviceProvider">provider to create a label</param>
 /// <param name="indent">indent</param>
 public static System.Windows.Forms.Padding UpdateMarginByIndent(System.Windows.Forms.Padding margin, IServiceProvider serviceProvider, int indent)
 {
     using (LabelEx labelControl = new LabelEx(serviceProvider))
     {
         int indentSize = labelControl.ControlInfo.ControlSpacingInfo.Indention;
         margin.Left = indent * indentSize;
     }
     return(margin);
 }
Exemplo n.º 12
0
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _chbByCategory = new CheckBoxEx("By Category");
            _chbByCategory.CheckedChanged += _chbByCategory_CheckedChanged;

            _cbMode = ControlFactory.EnumBasedCombo(typeof(HistogramBinning), "Mode");
            _cbMode.SelectedIndexChanged += _cbMode_SelectedIndexChanged;

            _chbOverflowBin = new CheckBoxEx("Overflow Bin");
            _chbOverflowBin.CheckedChanged += ChbOverflow_CheckedChanged;
            _tbOverflow = new TextBox()
            {
                Margin = new Padding(5), Width = 60, Enabled = false
            };
            _tbOverflow.KeyPress    += (s, e) => e.Handled = !char.IsDigit(e.KeyChar) && !char.IsControl(e.KeyChar);
            _tbOverflow.TextChanged += TbOverflow_TextChanged;

            _chbUnderflowBin = new CheckBoxEx("Underflow Bin");
            _chbUnderflowBin.CheckedChanged += ChbUnderflow_CheckedChanged;
            _tbUnderflow = new TextBox()
            {
                Margin = new Padding(5), Width = 60, Enabled = false
            };
            _tbUnderflow.KeyPress    += (s, e) => e.Handled = !char.IsDigit(e.KeyChar) && !char.IsControl(e.KeyChar);
            _tbUnderflow.TextChanged += TbUnderflow_TextChanged;

            _lBinWidth  = new LabelEx("Bin Width :");
            _tbBinWidth = new TextBox()
            {
                Margin = new Padding(5), Width = 60, Enabled = false
            };
            _tbBinWidth.KeyPress    += (s, e) => e.Handled = !char.IsDigit(e.KeyChar) && !char.IsControl(e.KeyChar);
            _tbBinWidth.TextChanged += TbBinWidth_TextChanged;

            _lBinNumbers  = new LabelEx("Number Of Bins :");
            _tbBinNumbers = new TextBox()
            {
                Margin = new Padding(5), Width = 60, Enabled = false
            };
            _tbBinNumbers.KeyPress    += (s, e) => e.Handled = !char.IsDigit(e.KeyChar) && !char.IsControl(e.KeyChar);
            _tbBinNumbers.TextChanged += TbBinNum_TextChanged;

            this.pnlControls.Controls.Add(_chbByCategory);
            this.pnlControls.Controls.Add(_cbMode);
            this.pnlControls.Controls.Add(_chbOverflowBin);
            this.pnlControls.Controls.Add(_tbOverflow);
            this.pnlControls.Controls.Add(_chbUnderflowBin);
            this.pnlControls.Controls.Add(_tbUnderflow);
            this.pnlControls.Controls.Add(_lBinWidth);
            this.pnlControls.Controls.Add(_tbBinWidth);
            this.pnlControls.Controls.Add(_lBinNumbers);
            this.pnlControls.Controls.Add(_tbBinNumbers);
        }
Exemplo n.º 13
0
        public ComboBoxTree()
        {
            this.InitializeComponent();

            // Initializing Controls
            this.pnlBack             = new Panel();
            this.pnlBack.BorderStyle = BorderStyle.Fixed3D;
            this.pnlBack.BackColor   = Color.White;
            this.pnlBack.AutoScroll  = false;

            this.tbSelectedValue             = new TextBox();
            this.tbSelectedValue.ReadOnly    = true;
            this.tbSelectedValue.BackColor   = Color.White;
            this.tbSelectedValue.BorderStyle = System.Windows.Forms.BorderStyle.None;

            this.btnSelect           = new ButtonEx();
            this.btnSelect.Click    += new EventHandler(ToggleTreeView);
            this.btnSelect.FlatStyle = FlatStyle.Flat;

            this.lblSizingGrip            = new LabelEx();
            this.lblSizingGrip.Size       = new Size(9, 9);
            this.lblSizingGrip.BackColor  = Color.Transparent;
            this.lblSizingGrip.Cursor     = Cursors.SizeNWSE;
            this.lblSizingGrip.MouseMove += new MouseEventHandler(SizingGripMouseMove);
            this.lblSizingGrip.MouseDown += new MouseEventHandler(SizingGripMouseDown);

            this.tvTreeView              = new TreeView();
            this.tvTreeView.BorderStyle  = BorderStyle.None;// BorderStyle.Fixed3D;//
            this.tvTreeView.DoubleClick += new EventHandler(TreeViewNodeSelect);
            this.tvTreeView.Location     = new Point(0, 0);
            this.tvTreeView.LostFocus   += new EventHandler(TreeViewLostFocus);
            this.tvTreeView.Font         = new System.Drawing.Font("���ו", 10F);
            this.tvTreeView.ItemHeight   = 22;
            //this.tvTreeView.Scrollable = false;

            this.frmTreeView = new Form();
            this.frmTreeView.FormBorderStyle = FormBorderStyle.None;//FormBorderStyle.Sizable;//
            this.frmTreeView.StartPosition   = FormStartPosition.Manual;
            this.frmTreeView.ShowInTaskbar   = false;
            this.frmTreeView.BackColor       = Color.Yellow;// System.Drawing.SystemColors.Control;

            this.pnlTree             = new Panel();
            this.pnlTree.BorderStyle = BorderStyle.FixedSingle;
            this.pnlTree.BackColor   = Color.White;

            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, true);

            // Adding Controls to UserControl
            this.pnlTree.Controls.Add(this.lblSizingGrip);
            this.pnlTree.Controls.Add(this.tvTreeView);
            this.frmTreeView.Controls.Add(this.pnlTree);
            this.pnlBack.Controls.AddRange(new Control[] { btnSelect, tbSelectedValue });
            this.Controls.Add(this.pnlBack);
        }
Exemplo n.º 14
0
        public ComboBoxTree()
        {
            Control.CheckForIllegalCrossThreadCalls = false;//���߳������ı�����״̬
            this.InitializeComponent();

            // Initializing Controls
            this.txtBack = new TextBox();
            this.txtBack.ReadOnly = true;
            this.txtBack.Text = this.defaultText;
            this.txtBack.Tag = this.defaultValue;
            this.txtBack.BackColor = Color.White;
            this.txtBack.Cursor = System.Windows.Forms.Cursors.Default;
            //this.txtBack.Click += new EventHandler(ToggleTreeView);//���Բ�Ҫ

            this.btnSelect = new ButtonEx();
            this.btnSelect.Click += new EventHandler(ToggleTreeView);
            this.btnSelect.FlatStyle = FlatStyle.Flat;

            this.lblSizingGrip = new LabelEx();
            this.lblSizingGrip.Size = new Size(10, 10);
            this.lblSizingGrip.BackColor = Color.Transparent;
            this.lblSizingGrip.Cursor = Cursors.SizeNWSE;
            this.lblSizingGrip.MouseMove += new MouseEventHandler(SizingGripMouseMove);
            this.lblSizingGrip.MouseDown += new MouseEventHandler(SizingGripMouseDown);

            this.tvTreeView = new TreeView();
            this.tvTreeView.Dock = DockStyle.Fill;
            this.tvTreeView.BorderStyle = BorderStyle.None;
            this.tvTreeView.AfterSelect += new TreeViewEventHandler(TreeViewNodeSelect);
            this.tvTreeView.Location = new Point(0, 0);
            this.tvTreeView.LostFocus += new EventHandler(TreeViewLostFocus);

            this.frmTreeView = new Form();
            this.frmTreeView.FormBorderStyle = FormBorderStyle.None;
            this.frmTreeView.StartPosition = FormStartPosition.Manual;
            this.frmTreeView.ShowInTaskbar = false;
            this.frmTreeView.BackColor = System.Drawing.SystemColors.Control;

            this.pnlTree = new Panel();
            this.pnlTree.Dock = DockStyle.Fill;
            this.pnlTree.Padding = new Padding(0, 0, 8, 8);
            this.pnlTree.BorderStyle = BorderStyle.FixedSingle;
            this.pnlTree.BackColor = Color.White;

            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, true);

            // Adding Controls to UserControl
            this.pnlTree.Controls.Add(this.lblSizingGrip);
            this.pnlTree.Controls.Add(this.tvTreeView);
            this.frmTreeView.Controls.Add(this.pnlTree);
            this.txtBack.Controls.AddRange(new Control[] { btnSelect });
            this.Controls.Add(this.txtBack);
        }
Exemplo n.º 15
0
        /// <summary>
        /// Create a label with the given text and style
        /// </summary>
        /// <param name="text"></param>
        /// <param name="style"></param>
        /// <returns></returns>
        public static LabelEx CreateStaticLabel(string textLabel, string style = Label_Field)
        {
            LabelEx label = new LabelEx();

            label.Text = textLabel;
            if (style != null)
            {
                label.Style = (Style)Application.Current.Resources[style.ToString()];
            }

            return(label);
        }
Exemplo n.º 16
0
            private void InitializeComponent()
            {
                _isInitialized = false;

                using (new SuspendLayoutTransaction(this))
                {
                    AutoSize = true;
                    //
                    // visibilityLabel
                    //
                    visibilityLabel      = new LabelEx(_serviceProvider);
                    visibilityLabel.Dock = DockStyle.Top;
                    visibilityLabel.Text = Resources.InitialVisibilityCaption;
                    Controls.Add(visibilityLabel);
                    //
                    // btnVisible
                    //
                    btnVisible                 = new RadioButtonEx(_serviceProvider);
                    btnVisible.Margin          = Utils.UpdateMarginByIndent(System.Windows.Forms.Padding.Empty, btnVisible.ControlInfo, 1);            // 1in
                    btnVisible.Dock            = DockStyle.Top;
                    btnVisible.Text            = Resources.InitialVisibilityVisibleLabel;
                    btnVisible.CheckedChanged += btnVisible_CheckedChanged;
                    Controls.Add(btnVisible);
                    //
                    // btnHidden
                    //
                    btnHidden                 = new RadioButtonEx(_serviceProvider);
                    btnHidden.Margin          = Utils.UpdateMarginByIndent(System.Windows.Forms.Padding.Empty, btnHidden.ControlInfo, 1);            // 1in
                    btnHidden.Dock            = DockStyle.Top;
                    btnHidden.Text            = Resources.InitialVisibilityHiddenLabel;
                    btnHidden.CheckedChanged += btnHidden_CheckedChanged;
                    Controls.Add(btnHidden);
                    //
                    // btnExpression
                    //
                    btnExpression                 = new RadioButtonEx(_serviceProvider);
                    btnExpression.Margin          = Utils.UpdateMarginByIndent(System.Windows.Forms.Padding.Empty, btnExpression.ControlInfo, 1);            // 1in
                    btnExpression.Dock            = DockStyle.Top;
                    btnExpression.Text            = Resources.InitialVisibilityExpressionLabel;
                    btnExpression.CheckedChanged += btnExpression_CheckedChanged;
                    Controls.Add(btnExpression);
                    //
                    // visibilityExpressionEditor
                    //
                    visibilityExpressionEditor = new TypedValueEditor(_serviceProvider,
                                                                      null, _visibilityWrapper, VisibilityWrapper.HiddenPropertyName);
                    visibilityExpressionEditor.Margin = System.Windows.Forms.Padding.Empty;
                    Controls.Add(visibilityExpressionEditor);
                }

                _isInitialized = true;
            }
Exemplo n.º 17
0
            private void InitializeComponent()
            {
                using (new SuspendLayoutTransaction(this))
                {
                    AutoSize = true;

                    //
                    // nameEditor
                    //
                    nameEditor = new TypedValueEditor(_serviceProvider,
                                                      Resources.ElementNameCaption, _designer.ReportItem, ReportItemDesignerBase.DataElementNamePropertyName);
                    Controls.Add(nameEditor);
                    //
                    // outputTitleLabel
                    //
                    LabelEx outputTitleLabel = new LabelEx(_serviceProvider);
                    outputTitleLabel.Text = Resources.OutputCaption;
                    Controls.Add(outputTitleLabel);
                    //
                    // autoOutputButton
                    //
                    if (hasAuto)
                    {
                        autoOutputButton                 = new RadioButtonEx(_serviceProvider);
                        autoOutputButton.Text            = Resources.AutoLabel;
                        autoOutputButton.Checked         = Output == DataElementOutput.Auto;
                        autoOutputButton.CheckedChanged += OutputChangedHandler;
                        autoOutputButton.Margin          = Utils.UpdateMarginByIndent(System.Windows.Forms.Padding.Empty, autoOutputButton.ControlInfo, 1);
                        Controls.Add(autoOutputButton);
                    }
                    //
                    // yesOutputButton
                    //
                    yesOutputButton                 = new RadioButtonEx(_serviceProvider);
                    yesOutputButton.Text            = Resources.YesLabel;
                    yesOutputButton.Checked         = Output == DataElementOutput.Output;
                    yesOutputButton.CheckedChanged += OutputChangedHandler;
                    yesOutputButton.Margin          = Utils.UpdateMarginByIndent(System.Windows.Forms.Padding.Empty, yesOutputButton.ControlInfo, 1);
                    Controls.Add(yesOutputButton);
                    //
                    // noOutputButton
                    //
                    noOutputButton                 = new RadioButtonEx(_serviceProvider);
                    noOutputButton.Text            = Resources.NoLabel;
                    noOutputButton.Checked         = Output == DataElementOutput.NoOutput;
                    noOutputButton.CheckedChanged += OutputChangedHandler;
                    noOutputButton.Margin          = Utils.UpdateMarginByIndent(System.Windows.Forms.Padding.Empty, noOutputButton.ControlInfo, 1);
                    Controls.Add(noOutputButton);
                }
            }
Exemplo n.º 18
0
        public KryptonComboBoxTree()
        {
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, true);

            this.InitializeComponent();

            // Initializing Controls
            this.pnlBack             = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
            this.pnlBack.BorderStyle = BorderStyle.None;
            this.pnlBack.Dock        = DockStyle.Fill;
            this.pnlBack.AutoScroll  = false;
            //this.pnlBack.BackColor = txtSelectedValue.BackColor;

            this.lblSizingGrip            = new LabelEx();
            this.lblSizingGrip.Size       = new Size(9, 9);
            this.lblSizingGrip.Cursor     = Cursors.SizeNWSE;
            this.lblSizingGrip.Text       = "";
            this.lblSizingGrip.MouseMove += new MouseEventHandler(SizingGripMouseMove);
            this.lblSizingGrip.MouseDown += new MouseEventHandler(SizingGripMouseDown);

            this.tvTreeView              = new KryptonTreeView();
            this.tvTreeView.BorderStyle  = BorderStyle.None;
            this.tvTreeView.DoubleClick += new EventHandler(TreeViewNodeSelect);
            this.tvTreeView.Location     = new Point(0, 0);
            this.tvTreeView.LostFocus   += new EventHandler(TreeViewLostFocus);
            //this.tvTreeView.Scrollable = false;

            this.frmTreeView = new Form();
            this.frmTreeView.FormBorderStyle = FormBorderStyle.None;
            this.frmTreeView.StartPosition   = FormStartPosition.Manual;
            this.frmTreeView.ShowInTaskbar   = false;

            this.pnlTree             = new Panel();
            this.pnlTree.Dock        = DockStyle.Fill;
            this.pnlTree.BorderStyle = BorderStyle.FixedSingle;
            this.pnlTree.BackColor   = Color.White;

            combobox = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
            combobox.DropDownStyle   = ComboBoxStyle.DropDownList;
            combobox.Dock            = DockStyle.Fill;
            combobox.ComboBox.Click += new EventHandler(ToggleTreeView);

            // Adding Controls to UserControl
            this.pnlTree.Controls.Add(this.lblSizingGrip);
            this.pnlTree.Controls.Add(this.tvTreeView);
            this.frmTreeView.Controls.Add(this.pnlTree);
            this.pnlBack.Controls.Add(combobox);
            this.Controls.Add(this.pnlBack);
        }
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            //Init ShowEquation CheckBox
            _chbShowEquation = new CheckBoxEx("Show Equation")
            {
                Checked = true
            };
            _chbShowEquation.CheckedChanged += (s, e) =>
            {
                _slEquationLabel.Visible = _chbShowEquation.Checked;
                //change ShowEquation label text
                if (_chbShowEquation.Checked)
                {
                    _slEquationLabel.Text = GetEquationString(_trendLine);
                }
            };
            //Init Fit Type ComboBox
            _cbFitType = ControlFactory.EnumBasedCombo(typeof(FitType), "FitType");
            _cbFitType.SelectedIndexChanged += (s, e) =>
            {
                _trendLine.FitType = (FitType)Enum.Parse(typeof(FitType), _cbFitType.SelectedItem.ToString());
                _lOrder.Visible    = _udOrder.Visible = _trendLine.FitType == FitType.Fourier || _trendLine.FitType == FitType.Polynom;
            };
            //Init Order
            _lOrder = new LabelEx("Order :")
            {
                Visible = false
            };
            _udOrder = new NumericUpDownEx()
            {
                Minimum = 2, Maximum = 9, Value = 4, Increment = 1, Visible = false
            };
            _udOrder.ValueChanged += (s, e) => { _trendLine.Order = (int)_udOrder.Value; };

            //Init Equation SuperLabel
            _slEquationLabel = new C1SuperLabel()
            {
                AutoSize = true, UseMnemonic = true
            };

            this.pnlControls.Controls.Add(_chbShowEquation);
            this.pnlControls.Controls.Add(_cbFitType);
            this.pnlControls.Controls.Add(_lOrder);
            this.pnlControls.Controls.Add(_udOrder);
            this.flexChart1.Controls.Add(_slEquationLabel);
        }
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _tbVisibilityLevel = new LabelEx("Group Visibility Level");
            _udVisibilityLevel = new NumericUpDownEx()
            {
                Minimum = -4, Maximum = 4, Value = 1, Increment = 1
            };
            _udVisibilityLevel.ValueChanged += (s, e) => { flexChart1.AxisX.GroupVisibilityLevel = (int)_udVisibilityLevel.Value; };

            this.pnlControls.Controls.Add(_tbVisibilityLevel);
            this.pnlControls.Controls.Add(_udVisibilityLevel);
        }
        protected override void InitializeControls()
        {
            //Sunburst chart
            this.Chart = new C1.Win.Chart.Sunburst {
                Dock = DockStyle.Fill
            };

            //Inner Radius
            _lInnerRad = new LabelEx("Inner Radius");

            _udInnerRad = new NumericUpDownEx {
                Minimum = 0, Maximum = 1, Increment = (decimal)0.1, Value = 0, DecimalPlaces = 1
            };
            _udInnerRad.ValueChanged += (s, e) => (this.Chart as C1.Win.Chart.Sunburst).InnerRadius = (double)_udInnerRad.Value;

            //Offset
            _lOffset = new LabelEx("Offset");

            _udOffset = new NumericUpDownEx {
                Minimum = 0, Maximum = 1, Increment = (decimal)0.1, Value = 0, DecimalPlaces = 1
            };
            _udOffset.ValueChanged += (s, e) => (this.Chart as C1.Win.Chart.Sunburst).Offset = (double)_udOffset.Value;

            //Start Angle
            _lStartAngle = new LabelEx("Start Angle");

            _udStartAngle = new NumericUpDownEx {
                Minimum = 0, Maximum = 360, Increment = 45, Value = 0
            };
            _udStartAngle.ValueChanged += (s, e) => (this.Chart as C1.Win.Chart.Sunburst).StartAngle = (double)_udStartAngle.Value;

            //Palette
            _cbPalette = ControlFactory.EnumBasedCombo(typeof(Palette), "Palette");
            _cbPalette.SelectedIndexChanged += (s, e) => (this.Chart as C1.Win.Chart.Sunburst).Palette = (Palette)Enum.Parse(typeof(Palette), _cbPalette.SelectedItem.ToString());

            //Reversed
            _chbReverse = new CheckBoxEx("Reversed");
            _chbReverse.CheckedChanged += (s, e) => (this.Chart as C1.Win.Chart.Sunburst).Reversed = _chbReverse.Checked;

            this.pnlControls.Controls.Add(_lInnerRad);
            this.pnlControls.Controls.Add(_udInnerRad);
            this.pnlControls.Controls.Add(_lOffset);
            this.pnlControls.Controls.Add(_udOffset);
            this.pnlControls.Controls.Add(_lStartAngle);
            this.pnlControls.Controls.Add(_udStartAngle);
            this.pnlControls.Controls.Add(_cbPalette);
            this.pnlControls.Controls.Add(_chbReverse);
        }
Exemplo n.º 22
0
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _lStaggeredLines  = new LabelEx("Staggered Lines :");
            _udStaggeredLines = new NumericUpDownEx {
                Minimum = 1, Maximum = 4, Value = 2
            };
            _udStaggeredLines.ValueChanged += (s, e) => { flexChart1.AxisX.StaggeredLines = (int)_udStaggeredLines.Value; };

            _cbOverlapping = ControlFactory.EnumBasedCombo(typeof(OverlappingLabels), "Overlapping");
            _cbOverlapping.SelectedIndexChanged += (s, e) => { flexChart1.AxisX.OverlappingLabels = (OverlappingLabels)Enum.Parse(typeof(OverlappingLabels), _cbOverlapping.SelectedValue.ToString()); };

            this.pnlControls.Controls.Add(_lStaggeredLines);
            this.pnlControls.Controls.Add(_udStaggeredLines);
            this.pnlControls.Controls.Add(_cbOverlapping);
        }
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _lLabelsGap  = new LabelEx("DataLabels Gap :");
            _udLabelsGap = new NumericUpDownEx {
                Minimum = 0, Maximum = 15, Increment = 1, Value = 10
            };
            _udLabelsGap.ValueChanged += (s, e) => { flexChart1.Invalidate(); };

            _chblabelBorder = new CheckBoxEx("Label Border");
            _chblabelBorder.CheckedChanged += (s, e) => { this.flexChart1.DataLabel.Border = _chblabelBorder.Checked; };

            this.pnlControls.Controls.Add(_lLabelsGap);
            this.pnlControls.Controls.Add(_udLabelsGap);
            this.pnlControls.Controls.Add(_chblabelBorder);
        }
Exemplo n.º 24
0
        public void AddMessagesLable(UsLabelExInfors lblExInfor)
        {
            var    lmParams = lblExInfor.LblParams;
            string ctrlKey  = lblExInfor.ControlName?.Trim();

            if (string.IsNullOrEmpty(ctrlKey) || !Controls.ContainsKey(ctrlKey))
            {
                var     guid          = Guid.NewGuid();
                LabelEx lblExMessages = new LabelEx();
                lblExMessages.Name             = guid.ToString();
                lblExMessages.AutoSize         = true;
                lblExMessages.UseMnemonic      = false;
                lblExMessages.Text             = lmParams.Messages;
                lblExMessages.Parent           = this;
                lblExMessages.Location         = lmParams.Location;
                lblExMessages.Font             = new Font(lmParams.Font.FontFamily, lmParams.Font.Size * PicsScale, lmParams.Font.Style); //lmParams.Font;
                lblExMessages.ForeColor        = lmParams.ForeColor;
                lblExMessages.BackColor        = lmParams.BackColor;
                lblExInfor.ControlName         = lblExMessages.Name;
                lblExMessages.Tag              = lblExInfor;
                lblExMessages.ContextMenuStrip = lblMenu;// mnChildSelectionAction;

                lblExMessages.MouseDown += new MouseEventHandler(Conotrl_MouseDown);
                lblExMessages.MouseMove += new MouseEventHandler(Conotrl_MouseMove);
                lblExMessages.MouseUp   += new MouseEventHandler(Conotrl_MouseUp);

                this.Controls.Add(lblExMessages);
                this.Controls.SetChildIndex(lblExMessages, 0);
            }
            else
            {
                var lblExMessages = Controls[ctrlKey] as LabelEx;
                if (lblExMessages != null)
                {
                    lblExMessages.Text      = lmParams.Messages;
                    lblExMessages.Font      = new Font(lmParams.Font.FontFamily, lmParams.Font.Size * PicsScale, lmParams.Font.Style);
                    lblExMessages.ForeColor = lmParams.ForeColor;
                    lblExMessages.BackColor = lmParams.BackColor;
                    lblExMessages.Tag       = lblExInfor;
                }
            }
        }
Exemplo n.º 25
0
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _cbPoints = new ComboBoxEx("Points")
            {
                DataSource = new int[] { 100, 1000, 10000, 50000 }
            };
            _cbPoints.SelectedIndexChanged += (s, e) => { flexChart1.DataSource = DataService.CreateDataPoints(x => x, _yFunc, int.Parse(_cbPoints.SelectedItem.ToString())); };

            _chbSVGOrDirectX = new CheckBoxEx("DirectX Rendering");
            _chbSVGOrDirectX.CheckedChanged += (s, e) => { flexChart1.RenderMode = _chbSVGOrDirectX.Checked ? RenderMode.DirectX : RenderMode.Default; };

            _lTimeElapsed = new LabelEx("Elapsed Time");
            _stopwatch    = new Stopwatch();

            this.pnlControls.Controls.Add(_cbPoints);
            this.pnlControls.Controls.Add(_chbSVGOrDirectX);
            this.pnlControls.Controls.Add(_lTimeElapsed);
        }
Exemplo n.º 26
0
        private StatusBar(Serial serial)
        {
            this.serial = serial;
            table.Padding = new Padding(3);
            table.Controls.Add(barHP = new Bar(Color.Red));
            if (serial == Serial.MinusOne || PacketHandlers.Party.Contains(serial))
            {
                table.Controls.Add(barMana = new Bar(Color.Blue));
                table.Controls.Add(barStamina = new Bar(Color.DarkGoldenrod));
                if (PacketHandlers.Party.Contains(serial))
                    barMana.Text = barStamina.Text = "-";
            }

            if (serial == Serial.MinusOne)
            {
                if (ConfigEx.GetAttribute(false, "ex", "Status"))
                {
                    table.ColumnCount = 2;
                    table.Controls.Add(labelFoll = new LabelEx("-", margin: 0) { ForeColor = Color.White });
                    table.Controls.Add(labelWeight = new LabelEx("-", margin: 0) { ForeColor = Color.White });
                    table.Controls.Add(labelBands = new LabelEx("-", margin: 0) { ForeColor = Color.White });
                    table.Controls.SetChildIndex(labelFoll, 1);
                    table.Controls.SetChildIndex(labelWeight, 3);
                    table.Controls.SetChildIndex(labelBands, 5);
                    Bandages.Changed += Bandages_Changed;
                }
                ConfigEx.SetAttribute(true, "enabled", "Status");
                BackColor = Color.Purple;
                Location = new Point(ConfigEx.GetAttribute(Location.X, "locX", "Status"),
                                     ConfigEx.GetAttribute(Location.Y, "locY", "Status"));
                UpdateStats();
            }
            else
            {
                Mobile mobile = World.FindMobile(serial);
                if (mobile != null)
                    WorldEx.SendToServer(new StatusQuery(mobile));
            }
            Event.MobileUpdated += WorldEx_MobileUpdated;
        }
Exemplo n.º 27
0
        void hookKeyboardEvent(ref KeyboardGlobalHook.KeyboardData data)
        {
            if (data.Stroke != KeyboardGlobalHook.Stroke.KEY_UP)
            {
                return;
            }

            LabelEx scanCode   = this.cMode1.Checked ? this.cScanCode1 : this.cScanCode2;
            LabelEx windowsKey = this.cMode1.Checked ? this.cWindowsKey1 : this.cWindowsKey2;
            LabelEx flags      = this.cMode1.Checked ? this.cFlags1 : this.cFlags2;

            scanCode.Text   = "0x" + data.ScanCode.ToString("X");
            windowsKey.Text = this.ConvertDisplayName(((System.Windows.Forms.Keys)data.Key).ToString());
            if (data.Extended)
            {
                flags.Text = "Extended";
            }
            else
            {
                flags.Text = "";
            }
        }
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _lXTitle  = new LabelEx("X-Axis Title:");
            _tbXTitle = new TextBoxEx {
                ForeColor = Color.DimGray, AutoSize = false
            };
            _tbXTitle.TextChanged += (s, e) => { flexChart1.AxisX.Title = _tbXTitle.Text; };

            _lYTitle  = new LabelEx("Y-Axis Title:");
            _tbYTitle = new TextBoxEx {
                ForeColor = Color.DimGray, AutoSize = false
            };
            _tbYTitle.TextChanged += (s, e) => { flexChart1.AxisY.Title = _tbYTitle.Text; };

            this.pnlControls.Controls.Add(_lXTitle);
            this.pnlControls.Controls.Add(_tbXTitle);
            this.pnlControls.Controls.Add(_lYTitle);
            this.pnlControls.Controls.Add(_tbYTitle);
        }
        protected override void OnElementChanged(ElementChangedEventArgs <Label> e)
        {
            base.OnElementChanged(e);

            UseLineHeightMultiplier();

            if (e.OldElement == null)
            {
                this.CustomLabel = (LabelEx)this.Element;
            }

            if (CustomLabel != null && CustomLabel.IsUnderlined)
            {
                this.Control.PaintFlags = this.Control.PaintFlags | PaintFlags.UnderlineText;
                this.UpdateLayout();
            }

            if (CustomLabel != null && CustomLabel.NumberOfLines > 1)
            {
                this.Control.SetLines(CustomLabel.NumberOfLines);
                this.UpdateLayout();
            }
        }
        protected override void InitializeControls()
        {
            this.Chart = new C1.Win.Chart.Sunburst {
                Dock = DockStyle.Fill
            };

            //Selected Item Offset
            _lOffset = new LabelEx("Selected Item Offset");

            _udOffset = new NumericUpDownEx {
                Minimum = 0, Maximum = 1, Increment = (decimal)0.1, Value = 0, DecimalPlaces = 1
            };
            _udOffset.ValueChanged += (s, e) => (this.Chart as C1.Win.Chart.Sunburst).SelectedItemOffset = (double)_udOffset.Value;

            //Selected Item Position
            _cbSelItemPos       = ControlFactory.EnumBasedCombo(typeof(Position), "Selected Item Position");
            _cbSelItemPos.Width = 160;
            _cbSelItemPos.SelectedIndexChanged += (s, e) => (this.Chart as C1.Win.Chart.Sunburst).SelectedItemPosition = (Position)Enum.Parse(typeof(Position), _cbSelItemPos.SelectedItem.ToString());

            this.pnlControls.Controls.Add(_lOffset);
            this.pnlControls.Controls.Add(_udOffset);
            this.pnlControls.Controls.Add(_cbSelItemPos);
        }
        protected override void InitializeControls()
        {
            flexChart1 = new FlexChart();
            this.Chart = flexChart1;

            _cbPalette = ControlFactory.EnumBasedCombo(typeof(Palette), "Palette");
            _cbPalette.SelectedIndexChanged += (s, e) => this.flexChart1.Palette = (Palette)Enum.Parse(typeof(Palette), _cbPalette.SelectedItem.ToString());

            _cbFunnelType = ControlFactory.EnumBasedCombo(typeof(FunnelChartType), "Funnel Type");
            _cbFunnelType.SelectedIndexChanged += (s, e) =>
            {
                this.flexChart1.Options.FunnelType = (FunnelChartType)Enum.Parse(typeof(FunnelChartType), _cbFunnelType.SelectedItem.ToString());
                _udNeckWidth.Enabled = _udNeckHeight.Enabled = this.flexChart1.Options.FunnelType == FunnelChartType.Default;
            };

            _lNeckHeight = new LabelEx("Neck Height: ");
            _lNeckWidth  = new LabelEx("Neck Width: ");

            _udNeckHeight = new NumericUpDownEx()
            {
                Minimum = 0M, Maximum = 1M, Increment = 0.1M, DecimalPlaces = 1
            };
            _udNeckHeight.ValueChanged += (s, e) => this.flexChart1.Options.FunnelNeckHeight = (double)_udNeckHeight.Value;

            _udNeckWidth = new NumericUpDownEx()
            {
                Minimum = 0M, Maximum = 1M, Increment = 0.1M, DecimalPlaces = 1
            };
            _udNeckWidth.ValueChanged += (s, e) => this.flexChart1.Options.FunnelNeckWidth = (double)_udNeckWidth.Value;

            this.pnlControls.Controls.Add(_cbPalette);
            this.pnlControls.Controls.Add(_cbFunnelType);
            this.pnlControls.Controls.Add(_lNeckHeight);
            this.pnlControls.Controls.Add(_udNeckHeight);
            this.pnlControls.Controls.Add(_lNeckWidth);
            this.pnlControls.Controls.Add(_udNeckWidth);
        }
Exemplo n.º 32
0
        /// <summary>
        /// Custom Renderer class
        /// </summary>
        /// <param name="e"></param>
        protected override void OnElementChanged(ElementChangedEventArgs <Label> e)
        {
            base.OnElementChanged(e);

            if (e.OldElement == null)
            {
                TextBlock native = Control as TextBlock;
                if (native != null)
                {
                    System.Windows.Thickness nativeThickness;
                    LabelEx newElement = e.NewElement as LabelEx;
                    if (newElement != null && newElement.Margin != null)
                    {
                        Thickness elementMargin = newElement.Margin.GetValueOrDefault();
                        nativeThickness = new System.Windows.Thickness(elementMargin.Left, elementMargin.Top, elementMargin.Right, elementMargin.Bottom);
                    }
                    else
                    {
                        nativeThickness = new System.Windows.Thickness(13, 0, 3, 0);
                    }
                    native.Margin = nativeThickness;
                }
            }
        }
Exemplo n.º 33
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor. 
 /// </summary> 
 private void InitializeComponent()
 {
     this.panel1 = new System.Windows.Forms.Panel();
     this.button1 = new System.Windows.Forms.Button();
     this.currentProjectLabel = new GravurGIS.GUI.Controls.LabelEx();
     this.cbSaveOpenProject = new System.Windows.Forms.CheckBox();
     this.cbSaveTransportLayers = new System.Windows.Forms.CheckBox();
     this.cbSaveDefault = new System.Windows.Forms.CheckBox();
     this.cancelButton = new System.Windows.Forms.Button();
     this.saveButton = new System.Windows.Forms.Button();
     this.text = new System.Windows.Forms.Label();
     this.Caption = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.currentProjectLabel);
     this.panel1.Controls.Add(this.cbSaveOpenProject);
     this.panel1.Controls.Add(this.cbSaveTransportLayers);
     this.panel1.Controls.Add(this.cbSaveDefault);
     this.panel1.Controls.Add(this.cancelButton);
     this.panel1.Controls.Add(this.saveButton);
     this.panel1.Controls.Add(this.text);
     this.panel1.Location = new System.Drawing.Point(1, 22);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(238, 187);
     //
     // button1
     //
     this.button1.DialogResult = System.Windows.Forms.DialogResult.Ignore;
     this.button1.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.button1.Location = new System.Drawing.Point(82, 162);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(71, 20);
     this.button1.TabIndex = 16;
     this.button1.Text = "Verwerfen";
     //
     // currentProjectLabel
     //
     this.currentProjectLabel.BackColor = System.Drawing.Color.White;
     this.currentProjectLabel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular);
     this.currentProjectLabel.Location = new System.Drawing.Point(27, 120);
     this.currentProjectLabel.Name = "currentProjectLabel";
     this.currentProjectLabel.Size = new System.Drawing.Size(207, 31);
     this.currentProjectLabel.TabIndex = 17;
     //
     // cbSaveOpenProject
     //
     this.cbSaveOpenProject.Location = new System.Drawing.Point(3, 99);
     this.cbSaveOpenProject.Name = "cbSaveOpenProject";
     this.cbSaveOpenProject.Size = new System.Drawing.Size(172, 20);
     this.cbSaveOpenProject.TabIndex = 14;
     this.cbSaveOpenProject.Text = "Projekt speichern unter:";
     //
     // cbSaveTransportLayers
     //
     this.cbSaveTransportLayers.Location = new System.Drawing.Point(3, 77);
     this.cbSaveTransportLayers.Name = "cbSaveTransportLayers";
     this.cbSaveTransportLayers.Size = new System.Drawing.Size(168, 20);
     this.cbSaveTransportLayers.TabIndex = 13;
     this.cbSaveTransportLayers.Text = "Austauschlayer speichern";
     //
     // cbSaveDefault
     //
     this.cbSaveDefault.Location = new System.Drawing.Point(3, 56);
     this.cbSaveDefault.Name = "cbSaveDefault";
     this.cbSaveDefault.Size = new System.Drawing.Size(213, 20);
     this.cbSaveDefault.TabIndex = 12;
     this.cbSaveDefault.Text = "Als Standardprojekt setzen";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.cancelButton.Location = new System.Drawing.Point(5, 162);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(69, 20);
     this.cancelButton.TabIndex = 9;
     this.cancelButton.Text = "Abbrechen";
     //
     // saveButton
     //
     this.saveButton.DialogResult = System.Windows.Forms.DialogResult.Yes;
     this.saveButton.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.saveButton.Location = new System.Drawing.Point(160, 162);
     this.saveButton.Name = "saveButton";
     this.saveButton.Size = new System.Drawing.Size(71, 20);
     this.saveButton.TabIndex = 0;
     this.saveButton.Text = "Speichern";
     //
     // text
     //
     this.text.Location = new System.Drawing.Point(5, 7);
     this.text.Name = "text";
     this.text.Size = new System.Drawing.Size(230, 48);
     this.text.Text = "Es wurden ungespeicherte Änderungen am Projekt vorgenommen. Möchten Sie diese Änd" +
         "erungen speichern?\r\n";
     //
     // Caption
     //
     this.Caption.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular);
     this.Caption.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.Caption.Location = new System.Drawing.Point(6, 4);
     this.Caption.Name = "Caption";
     this.Caption.Size = new System.Drawing.Size(172, 18);
     this.Caption.Text = "Änderungen Speichern?";
     //
     // CloseDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.BackColor = System.Drawing.SystemColors.ActiveCaption;
     this.ClientSize = new System.Drawing.Size(240, 210);
     this.ControlBox = false;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.Caption);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.MinimizeBox = false;
     this.Name = "CloseDialog";
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Form2_MouseDown);
     this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Form2_MouseUp);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 34
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor. 
 /// </summary> 
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label lKeyMappingsRight;
     System.Windows.Forms.Label lKeyMappingsEnter;
     System.Windows.Forms.Label lKeyMappingsDown;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingDialog));
     this.rbGPSTrackingTriggerTime = new System.Windows.Forms.RadioButton();
     this.panel1 = new System.Windows.Forms.Panel();
     this.layerTabControl = new System.Windows.Forms.TabControl();
     this.generalTab = new System.Windows.Forms.TabPage();
     this.removeDirIconBox = new GravurGIS.GUI.Controls.IconBox();
     this.addDirIconBox = new GravurGIS.GUI.Controls.IconBox();
     this.settingsSearchDirListbox = new System.Windows.Forms.ListBox();
     this.label10 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.stOpenIconBox = new GravurGIS.GUI.Controls.IconBox();
     this.settingDefaultProjectTB = new GravurGIS.GUI.Controls.LabelEx();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.label6 = new System.Windows.Forms.Label();
     this.behaviourTab = new System.Windows.Forms.TabPage();
     this.maxSeletClickDist = new System.Windows.Forms.NumericUpDown();
     this.label29 = new System.Windows.Forms.Label();
     this.zoomInPercent = new System.Windows.Forms.NumericUpDown();
     this.zoomOutPercent = new System.Windows.Forms.NumericUpDown();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.exchangeTab = new System.Windows.Forms.TabPage();
     this.bRemoveCategory = new GravurGIS.GUI.Controls.IconBox();
     this.bAddCategory = new GravurGIS.GUI.Controls.IconBox();
     this.lbCategories = new System.Windows.Forms.ListBox();
     this.label27 = new System.Windows.Forms.Label();
     this.PolygonLayerFile = new GravurGIS.GUI.Controls.IconBox();
     this.PolyLineLayerFile = new GravurGIS.GUI.Controls.IconBox();
     this.PointLayerFile = new GravurGIS.GUI.Controls.IconBox();
     this.PolygonLayerSettings = new GravurGIS.GUI.Controls.IconBox();
     this.PolylineLayerSettings = new GravurGIS.GUI.Controls.IconBox();
     this.PointLayerSettings = new GravurGIS.GUI.Controls.IconBox();
     this.settingsTrasferPolygonName = new System.Windows.Forms.TextBox();
     this.labelTransferPolygon = new System.Windows.Forms.Label();
     this.settingsTrasferPolyLineName = new System.Windows.Forms.TextBox();
     this.settingsTrasferPointName = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.gpsTab = new System.Windows.Forms.TabPage();
     this.nGPSUpdateInterval = new System.Windows.Forms.NumericUpDown();
     this.lGPSUpdateInterval = new System.Windows.Forms.Label();
     this.cbGPSTrackingDiscardSamePos = new System.Windows.Forms.CheckBox();
     this.rbGPSTrackingTriggerKey = new System.Windows.Forms.RadioButton();
     this.lGPSTriggerTimer = new System.Windows.Forms.Label();
     this.tbGPSTrackingTimeInterval = new GravurGIS.GUI.Controls.TextBoxEx();
     this.lTrigger = new System.Windows.Forms.Label();
     this.tbGPSTrackingComment = new System.Windows.Forms.TextBox();
     this.lGPSTrackingComment = new System.Windows.Forms.Label();
     this.cbGPSTrackingStartMode = new System.Windows.Forms.ComboBox();
     this.lGPSTrackingStartMode = new System.Windows.Forms.Label();
     this.cbGPSTrackingActivate = new System.Windows.Forms.CheckBox();
     this.lGPSViewMode = new System.Windows.Forms.Label();
     this.gpsViewSelection = new System.Windows.Forms.ComboBox();
     this.gpsWidth = new System.Windows.Forms.NumericUpDown();
     this.lblGpsWidth = new System.Windows.Forms.Label();
     this.lblGpsColor = new System.Windows.Forms.Label();
     this.gpsColor = new GravurGIS.GUI.Controls.ColorIcon();
     this.ShowGPSPositionCB = new System.Windows.Forms.CheckBox();
     this.coordTab = new System.Windows.Forms.TabPage();
     this.coordGKStripe = new System.Windows.Forms.NumericUpDown();
     this.btnConfigOtherProj = new System.Windows.Forms.Button();
     this.chkCoordOther = new System.Windows.Forms.RadioButton();
     this.chkCoordGK = new System.Windows.Forms.RadioButton();
     this.chkCoordGeo = new System.Windows.Forms.RadioButton();
     this.datumTab = new System.Windows.Forms.TabPage();
     this.bElSave = new System.Windows.Forms.Button();
     this.tbElS = new System.Windows.Forms.TextBox();
     this.label25 = new System.Windows.Forms.Label();
     this.label24 = new System.Windows.Forms.Label();
     this.tbElAprev = new System.Windows.Forms.TextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.tbElRz = new System.Windows.Forms.TextBox();
     this.label14 = new System.Windows.Forms.Label();
     this.tbElDz = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.tbElRy = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.tbElDy = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.tbElRx = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.tbElDx = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.tbElB = new System.Windows.Forms.TextBox();
     this.lblA = new System.Windows.Forms.Label();
     this.tbElA = new System.Windows.Forms.TextBox();
     this.tBElName = new System.Windows.Forms.TextBox();
     this.txtName = new System.Windows.Forms.Label();
     this.comboDatums = new System.Windows.Forms.ComboBox();
     this.miscTab = new System.Windows.Forms.TabPage();
     this.cbKeyMappingsDown = new System.Windows.Forms.ComboBox();
     this.cbKeyMappingsUp = new System.Windows.Forms.ComboBox();
     this.lKeyMappingsUp = new System.Windows.Forms.Label();
     this.cbKeyMappingsEnter = new System.Windows.Forms.ComboBox();
     this.cbKeyMappingsRight = new System.Windows.Forms.ComboBox();
     this.cbKeyMappingsLeft = new System.Windows.Forms.ComboBox();
     this.label28 = new System.Windows.Forms.Label();
     this.lKeyMappings = new System.Windows.Forms.Label();
     this.cbShowNorthArrow = new System.Windows.Forms.CheckBox();
     this.ciNewLayerColor = new GravurGIS.GUI.Controls.ColorIcon();
     this.newLayerSpecificColor = new System.Windows.Forms.RadioButton();
     this.newLayerRandomColor = new System.Windows.Forms.RadioButton();
     this.label26 = new System.Windows.Forms.Label();
     this.cbShowScaleOnMap = new System.Windows.Forms.CheckBox();
     this.sesstingsSpecialLayers = new System.Windows.Forms.CheckBox();
     this.scaleTab = new System.Windows.Forms.TabPage();
     this.Caption = new System.Windows.Forms.Label();
     this.inputPanel1 = new Microsoft.WindowsCE.Forms.InputPanel(this.components);
     this.label15 = new System.Windows.Forms.Label();
     this.textBox10 = new System.Windows.Forms.TextBox();
     this.label16 = new System.Windows.Forms.Label();
     this.textBox11 = new System.Windows.Forms.TextBox();
     this.label17 = new System.Windows.Forms.Label();
     this.textBox12 = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.textBox13 = new System.Windows.Forms.TextBox();
     this.label19 = new System.Windows.Forms.Label();
     this.textBox14 = new System.Windows.Forms.TextBox();
     this.label20 = new System.Windows.Forms.Label();
     this.textBox15 = new System.Windows.Forms.TextBox();
     this.label21 = new System.Windows.Forms.Label();
     this.textBox16 = new System.Windows.Forms.TextBox();
     this.label22 = new System.Windows.Forms.Label();
     this.textBox17 = new System.Windows.Forms.TextBox();
     this.textBox18 = new System.Windows.Forms.TextBox();
     this.label23 = new System.Windows.Forms.Label();
     this.comboBox2 = new System.Windows.Forms.ComboBox();
     lKeyMappingsRight = new System.Windows.Forms.Label();
     lKeyMappingsEnter = new System.Windows.Forms.Label();
     lKeyMappingsDown = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.layerTabControl.SuspendLayout();
     this.generalTab.SuspendLayout();
     this.behaviourTab.SuspendLayout();
     this.exchangeTab.SuspendLayout();
     this.gpsTab.SuspendLayout();
     this.coordTab.SuspendLayout();
     this.datumTab.SuspendLayout();
     this.miscTab.SuspendLayout();
     this.SuspendLayout();
     //
     // lKeyMappingsRight
     //
     lKeyMappingsRight.Location = new System.Drawing.Point(22, 262);
     lKeyMappingsRight.Name = "lKeyMappingsRight";
     lKeyMappingsRight.Size = new System.Drawing.Size(47, 20);
     lKeyMappingsRight.Text = "Rechts";
     //
     // lKeyMappingsEnter
     //
     lKeyMappingsEnter.Location = new System.Drawing.Point(22, 290);
     lKeyMappingsEnter.Name = "lKeyMappingsEnter";
     lKeyMappingsEnter.Size = new System.Drawing.Size(39, 20);
     lKeyMappingsEnter.Text = "Enter";
     //
     // lKeyMappingsDown
     //
     lKeyMappingsDown.Location = new System.Drawing.Point(22, 207);
     lKeyMappingsDown.Name = "lKeyMappingsDown";
     lKeyMappingsDown.Size = new System.Drawing.Size(47, 20);
     lKeyMappingsDown.Text = "Unten";
     //
     // rbGPSTrackingTriggerTime
     //
     this.rbGPSTrackingTriggerTime.Location = new System.Drawing.Point(14, 284);
     this.rbGPSTrackingTriggerTime.Name = "rbGPSTrackingTriggerTime";
     this.rbGPSTrackingTriggerTime.Size = new System.Drawing.Size(100, 20);
     this.rbGPSTrackingTriggerTime.TabIndex = 154;
     this.rbGPSTrackingTriggerTime.Text = "Zeitintervall";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.layerTabControl);
     this.panel1.Location = new System.Drawing.Point(1, 22);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(238, 175);
     //
     // layerTabControl
     //
     this.layerTabControl.Controls.Add(this.generalTab);
     this.layerTabControl.Controls.Add(this.behaviourTab);
     this.layerTabControl.Controls.Add(this.exchangeTab);
     this.layerTabControl.Controls.Add(this.gpsTab);
     this.layerTabControl.Controls.Add(this.coordTab);
     this.layerTabControl.Controls.Add(this.datumTab);
     this.layerTabControl.Controls.Add(this.miscTab);
     this.layerTabControl.Location = new System.Drawing.Point(0, 0);
     this.layerTabControl.Name = "layerTabControl";
     this.layerTabControl.SelectedIndex = 0;
     this.layerTabControl.Size = new System.Drawing.Size(238, 172);
     this.layerTabControl.TabIndex = 0;
     //
     // generalTab
     //
     this.generalTab.AutoScroll = true;
     this.generalTab.Controls.Add(this.settingDefaultProjectTB);
     this.generalTab.Controls.Add(this.removeDirIconBox);
     this.generalTab.Controls.Add(this.addDirIconBox);
     this.generalTab.Controls.Add(this.settingsSearchDirListbox);
     this.generalTab.Controls.Add(this.label10);
     this.generalTab.Controls.Add(this.label9);
     this.generalTab.Controls.Add(this.stOpenIconBox);
     this.generalTab.Controls.Add(this.checkBox1);
     this.generalTab.Controls.Add(this.label6);
     this.generalTab.Location = new System.Drawing.Point(0, 0);
     this.generalTab.Name = "generalTab";
     this.generalTab.Size = new System.Drawing.Size(238, 149);
     this.generalTab.Text = "Allgemein";
     //
     // removeDirIconBox
     //
     this.removeDirIconBox.Location = new System.Drawing.Point(200, 137);
     this.removeDirIconBox.Name = "removeDirIconBox";
     this.removeDirIconBox.Size = new System.Drawing.Size(16, 21);
     this.removeDirIconBox.TabIndex = 129;
     this.removeDirIconBox.Click += new System.EventHandler(this.removeDirIconBox_Click_1);
     //
     // addDirIconBox
     //
     this.addDirIconBox.Location = new System.Drawing.Point(200, 114);
     this.addDirIconBox.Name = "addDirIconBox";
     this.addDirIconBox.Size = new System.Drawing.Size(16, 21);
     this.addDirIconBox.TabIndex = 128;
     this.addDirIconBox.Click += new System.EventHandler(this.addDirIconBox_Click_1);
     //
     // settingsSearchDirListbox
     //
     this.settingsSearchDirListbox.Location = new System.Drawing.Point(42, 112);
     this.settingsSearchDirListbox.Name = "settingsSearchDirListbox";
     this.settingsSearchDirListbox.Size = new System.Drawing.Size(153, 44);
     this.settingsSearchDirListbox.TabIndex = 127;
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(27, 90);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(192, 77);
     this.label10.Text = "Zusätzliche Such-Orte für Dateien:";
     //
     // label9
     //
     this.label9.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.label9.Location = new System.Drawing.Point(7, 72);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(99, 19);
     this.label9.Text = "Ordner:";
     //
     // stOpenIconBox
     //
     this.stOpenIconBox.Enabled = false;
     this.stOpenIconBox.Icon = ((System.Drawing.Icon)(resources.GetObject("stOpenIconBox.Icon")));
     this.stOpenIconBox.Location = new System.Drawing.Point(43, 44);
     this.stOpenIconBox.Name = "stOpenIconBox";
     this.stOpenIconBox.Size = new System.Drawing.Size(16, 16);
     this.stOpenIconBox.TabIndex = 121;
     this.stOpenIconBox.Click += new System.EventHandler(this.stOpenIconBox_Click_1);
     //
     // settingDefaultProjectTB
     //
     this.settingDefaultProjectTB.Enabled = false;
     this.settingDefaultProjectTB.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular);
     this.settingDefaultProjectTB.Location = new System.Drawing.Point(63, 42);
     this.settingDefaultProjectTB.Name = "settingDefaultProjectTB";
     this.settingDefaultProjectTB.Size = new System.Drawing.Size(156, 45);
     this.settingDefaultProjectTB.Text = "(keins)";
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(27, 21);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(126, 25);
     this.checkBox1.TabIndex = 123;
     this.checkBox1.Text = "Standard-Projekt:";
     this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged_1);
     //
     // label6
     //
     this.label6.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.label6.Location = new System.Drawing.Point(7, 4);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(105, 19);
     this.label6.Text = "Programmstart:";
     //
     // behaviourTab
     //
     this.behaviourTab.AutoScroll = true;
     this.behaviourTab.Controls.Add(this.maxSeletClickDist);
     this.behaviourTab.Controls.Add(this.label29);
     this.behaviourTab.Controls.Add(this.zoomInPercent);
     this.behaviourTab.Controls.Add(this.zoomOutPercent);
     this.behaviourTab.Controls.Add(this.label11);
     this.behaviourTab.Controls.Add(this.label12);
     this.behaviourTab.Location = new System.Drawing.Point(0, 0);
     this.behaviourTab.Name = "behaviourTab";
     this.behaviourTab.Size = new System.Drawing.Size(230, 146);
     this.behaviourTab.Text = "Verhalten";
     //
     // maxSeletClickDist
     //
     this.maxSeletClickDist.Location = new System.Drawing.Point(96, 89);
     this.maxSeletClickDist.Name = "maxSeletClickDist";
     this.maxSeletClickDist.Size = new System.Drawing.Size(100, 22);
     this.maxSeletClickDist.TabIndex = 161;
     this.maxSeletClickDist.Value = new decimal(new int[] {
     6,
     0,
     0,
     0});
     //
     // label29
     //
     this.label29.Location = new System.Drawing.Point(7, 64);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(181, 20);
     this.label29.Text = "Selektions-Klick-Toleranz [px]:";
     //
     // zoomInPercent
     //
     this.zoomInPercent.ForeColor = System.Drawing.Color.Black;
     this.zoomInPercent.Location = new System.Drawing.Point(96, 7);
     this.zoomInPercent.Maximum = new decimal(new int[] {
     1000,
     0,
     0,
     0});
     this.zoomInPercent.Minimum = new decimal(new int[] {
     100,
     0,
     0,
     0});
     this.zoomInPercent.Name = "zoomInPercent";
     this.zoomInPercent.Size = new System.Drawing.Size(100, 22);
     this.zoomInPercent.TabIndex = 156;
     this.zoomInPercent.Value = new decimal(new int[] {
     200,
     0,
     0,
     0});
     //
     // zoomOutPercent
     //
     this.zoomOutPercent.Location = new System.Drawing.Point(96, 33);
     this.zoomOutPercent.Name = "zoomOutPercent";
     this.zoomOutPercent.Size = new System.Drawing.Size(100, 22);
     this.zoomOutPercent.TabIndex = 157;
     this.zoomOutPercent.Value = new decimal(new int[] {
     85,
     0,
     0,
     0});
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(7, 10);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(77, 18);
     this.label11.Text = "Zoom In [%]";
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(7, 37);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(93, 18);
     this.label12.Text = "Zoom Out [%]";
     //
     // exchangeTab
     //
     this.exchangeTab.AutoScroll = true;
     this.exchangeTab.AutoScrollMargin = new System.Drawing.Size(0, 10);
     this.exchangeTab.Controls.Add(this.bRemoveCategory);
     this.exchangeTab.Controls.Add(this.bAddCategory);
     this.exchangeTab.Controls.Add(this.lbCategories);
     this.exchangeTab.Controls.Add(this.label27);
     this.exchangeTab.Controls.Add(this.PolygonLayerFile);
     this.exchangeTab.Controls.Add(this.PolyLineLayerFile);
     this.exchangeTab.Controls.Add(this.PointLayerFile);
     this.exchangeTab.Controls.Add(this.PolygonLayerSettings);
     this.exchangeTab.Controls.Add(this.PolylineLayerSettings);
     this.exchangeTab.Controls.Add(this.PointLayerSettings);
     this.exchangeTab.Controls.Add(this.settingsTrasferPolygonName);
     this.exchangeTab.Controls.Add(this.labelTransferPolygon);
     this.exchangeTab.Controls.Add(this.settingsTrasferPolyLineName);
     this.exchangeTab.Controls.Add(this.settingsTrasferPointName);
     this.exchangeTab.Controls.Add(this.label3);
     this.exchangeTab.Controls.Add(this.label2);
     this.exchangeTab.Location = new System.Drawing.Point(0, 0);
     this.exchangeTab.Name = "exchangeTab";
     this.exchangeTab.Size = new System.Drawing.Size(230, 146);
     this.exchangeTab.Text = "Datenaustausch";
     //
     // bRemoveCategory
     //
     this.bRemoveCategory.Location = new System.Drawing.Point(180, 135);
     this.bRemoveCategory.Name = "bRemoveCategory";
     this.bRemoveCategory.Size = new System.Drawing.Size(16, 21);
     this.bRemoveCategory.TabIndex = 133;
     this.bRemoveCategory.Click += new System.EventHandler(this.bRemoveCategory_Click);
     //
     // bAddCategory
     //
     this.bAddCategory.Location = new System.Drawing.Point(180, 112);
     this.bAddCategory.Name = "bAddCategory";
     this.bAddCategory.Size = new System.Drawing.Size(16, 21);
     this.bAddCategory.TabIndex = 132;
     this.bAddCategory.Click += new System.EventHandler(this.bAddCategory_Click);
     //
     // lbCategories
     //
     this.lbCategories.Location = new System.Drawing.Point(22, 110);
     this.lbCategories.Name = "lbCategories";
     this.lbCategories.Size = new System.Drawing.Size(153, 44);
     this.lbCategories.TabIndex = 131;
     //
     // label27
     //
     this.label27.Location = new System.Drawing.Point(7, 88);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(192, 19);
     this.label27.Text = "Mögliche Kategorien der Objekte:";
     //
     // PolygonLayerFile
     //
     this.PolygonLayerFile.Location = new System.Drawing.Point(181, 55);
     this.PolygonLayerFile.Name = "PolygonLayerFile";
     this.PolygonLayerFile.Size = new System.Drawing.Size(16, 16);
     this.PolygonLayerFile.TabIndex = 33;
     this.PolygonLayerFile.Click += new System.EventHandler(this.TransPortLayerPath_Click);
     //
     // PolyLineLayerFile
     //
     this.PolyLineLayerFile.Location = new System.Drawing.Point(181, 32);
     this.PolyLineLayerFile.Name = "PolyLineLayerFile";
     this.PolyLineLayerFile.Size = new System.Drawing.Size(16, 16);
     this.PolyLineLayerFile.TabIndex = 32;
     this.PolyLineLayerFile.Click += new System.EventHandler(this.TransPortLayerPath_Click);
     //
     // PointLayerFile
     //
     this.PointLayerFile.Location = new System.Drawing.Point(181, 10);
     this.PointLayerFile.Name = "PointLayerFile";
     this.PointLayerFile.Size = new System.Drawing.Size(16, 16);
     this.PointLayerFile.TabIndex = 31;
     this.PointLayerFile.Click += new System.EventHandler(this.TransPortLayerPath_Click);
     //
     // PolygonLayerSettings
     //
     this.PolygonLayerSettings.Location = new System.Drawing.Point(202, 55);
     this.PolygonLayerSettings.Name = "PolygonLayerSettings";
     this.PolygonLayerSettings.Size = new System.Drawing.Size(16, 16);
     this.PolygonLayerSettings.TabIndex = 27;
     this.PolygonLayerSettings.Click += new System.EventHandler(this.PolygonLayerSettings_Click);
     //
     // PolylineLayerSettings
     //
     this.PolylineLayerSettings.Location = new System.Drawing.Point(202, 32);
     this.PolylineLayerSettings.Name = "PolylineLayerSettings";
     this.PolylineLayerSettings.Size = new System.Drawing.Size(16, 16);
     this.PolylineLayerSettings.TabIndex = 26;
     this.PolylineLayerSettings.Click += new System.EventHandler(this.PolylineLayerSettings_Click);
     //
     // PointLayerSettings
     //
     this.PointLayerSettings.Location = new System.Drawing.Point(202, 10);
     this.PointLayerSettings.Name = "PointLayerSettings";
     this.PointLayerSettings.Size = new System.Drawing.Size(16, 16);
     this.PointLayerSettings.TabIndex = 25;
     this.PointLayerSettings.Click += new System.EventHandler(this.PointLayerSettings_Click);
     //
     // settingsTrasferPolygonName
     //
     this.settingsTrasferPolygonName.Location = new System.Drawing.Point(90, 53);
     this.settingsTrasferPolygonName.Name = "settingsTrasferPolygonName";
     this.settingsTrasferPolygonName.Size = new System.Drawing.Size(85, 21);
     this.settingsTrasferPolygonName.TabIndex = 24;
     this.settingsTrasferPolygonName.Text = "\\My Documents\\shp\\transferPolygon.shp";
     //
     // labelTransferPolygon
     //
     this.labelTransferPolygon.Location = new System.Drawing.Point(7, 54);
     this.labelTransferPolygon.Name = "labelTransferPolygon";
     this.labelTransferPolygon.Size = new System.Drawing.Size(100, 20);
     this.labelTransferPolygon.Text = "Polygonlayer:";
     //
     // settingsTrasferPolyLineName
     //
     this.settingsTrasferPolyLineName.Location = new System.Drawing.Point(90, 31);
     this.settingsTrasferPolyLineName.Name = "settingsTrasferPolyLineName";
     this.settingsTrasferPolyLineName.Size = new System.Drawing.Size(85, 21);
     this.settingsTrasferPolyLineName.TabIndex = 23;
     this.settingsTrasferPolyLineName.Text = "\\My Documents\\shp\\transferPolylinie.shp";
     //
     // settingsTrasferPointName
     //
     this.settingsTrasferPointName.Location = new System.Drawing.Point(90, 9);
     this.settingsTrasferPointName.Name = "settingsTrasferPointName";
     this.settingsTrasferPointName.Size = new System.Drawing.Size(85, 21);
     this.settingsTrasferPointName.TabIndex = 22;
     this.settingsTrasferPointName.Text = "\\My Documents\\shp\\transferPunkt.shp";
     this.settingsTrasferPointName.WordWrap = false;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(7, 32);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(89, 20);
     this.label3.Text = "Linienlayer:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(7, 10);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(66, 20);
     this.label2.Text = "Punktlayer:";
     //
     // gpsTab
     //
     this.gpsTab.AutoScroll = true;
     this.gpsTab.AutoScrollMargin = new System.Drawing.Size(0, 10);
     this.gpsTab.Controls.Add(this.nGPSUpdateInterval);
     this.gpsTab.Controls.Add(this.lGPSUpdateInterval);
     this.gpsTab.Controls.Add(this.cbGPSTrackingDiscardSamePos);
     this.gpsTab.Controls.Add(this.rbGPSTrackingTriggerKey);
     this.gpsTab.Controls.Add(this.lGPSTriggerTimer);
     this.gpsTab.Controls.Add(this.tbGPSTrackingTimeInterval);
     this.gpsTab.Controls.Add(this.rbGPSTrackingTriggerTime);
     this.gpsTab.Controls.Add(this.lTrigger);
     this.gpsTab.Controls.Add(this.tbGPSTrackingComment);
     this.gpsTab.Controls.Add(this.lGPSTrackingComment);
     this.gpsTab.Controls.Add(this.cbGPSTrackingStartMode);
     this.gpsTab.Controls.Add(this.lGPSTrackingStartMode);
     this.gpsTab.Controls.Add(this.cbGPSTrackingActivate);
     this.gpsTab.Controls.Add(this.lGPSViewMode);
     this.gpsTab.Controls.Add(this.gpsViewSelection);
     this.gpsTab.Controls.Add(this.gpsWidth);
     this.gpsTab.Controls.Add(this.lblGpsWidth);
     this.gpsTab.Controls.Add(this.lblGpsColor);
     this.gpsTab.Controls.Add(this.gpsColor);
     this.gpsTab.Controls.Add(this.ShowGPSPositionCB);
     this.gpsTab.Location = new System.Drawing.Point(0, 0);
     this.gpsTab.Name = "gpsTab";
     this.gpsTab.Size = new System.Drawing.Size(230, 146);
     this.gpsTab.Text = "GPS";
     //
     // nGPSUpdateInterval
     //
     this.nGPSUpdateInterval.Location = new System.Drawing.Point(164, 124);
     this.nGPSUpdateInterval.Maximum = new decimal(new int[] {
     200,
     0,
     0,
     0});
     this.nGPSUpdateInterval.Name = "nGPSUpdateInterval";
     this.nGPSUpdateInterval.Size = new System.Drawing.Size(51, 22);
     this.nGPSUpdateInterval.TabIndex = 174;
     this.nGPSUpdateInterval.Value = new decimal(new int[] {
     4,
     0,
     0,
     0});
     //
     // lGPSUpdateInterval
     //
     this.lGPSUpdateInterval.Location = new System.Drawing.Point(11, 124);
     this.lGPSUpdateInterval.Name = "lGPSUpdateInterval";
     this.lGPSUpdateInterval.Size = new System.Drawing.Size(147, 20);
     this.lGPSUpdateInterval.Text = "Aktualisierungsrate (sec):";
     //
     // cbGPSTrackingDiscardSamePos
     //
     this.cbGPSTrackingDiscardSamePos.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular);
     this.cbGPSTrackingDiscardSamePos.Location = new System.Drawing.Point(14, 233);
     this.cbGPSTrackingDiscardSamePos.Name = "cbGPSTrackingDiscardSamePos";
     this.cbGPSTrackingDiscardSamePos.Size = new System.Drawing.Size(201, 26);
     this.cbGPSTrackingDiscardSamePos.TabIndex = 165;
     this.cbGPSTrackingDiscardSamePos.Text = "Mehrfach selbe Position verbieten";
     //
     // rbGPSTrackingTriggerKey
     //
     this.rbGPSTrackingTriggerKey.Location = new System.Drawing.Point(14, 310);
     this.rbGPSTrackingTriggerKey.Name = "rbGPSTrackingTriggerKey";
     this.rbGPSTrackingTriggerKey.Size = new System.Drawing.Size(100, 20);
     this.rbGPSTrackingTriggerKey.TabIndex = 157;
     this.rbGPSTrackingTriggerKey.Text = "Tastendruck";
     //
     // lGPSTriggerTimer
     //
     this.lGPSTriggerTimer.Location = new System.Drawing.Point(194, 285);
     this.lGPSTriggerTimer.Name = "lGPSTriggerTimer";
     this.lGPSTriggerTimer.Size = new System.Drawing.Size(21, 20);
     this.lGPSTriggerTimer.Text = "ms";
     //
     // tbGPSTrackingTimeInterval
     //
     this.tbGPSTrackingTimeInterval.AllowSpace = false;
     this.tbGPSTrackingTimeInterval.Location = new System.Drawing.Point(117, 283);
     this.tbGPSTrackingTimeInterval.Name = "tbGPSTrackingTimeInterval";
     this.tbGPSTrackingTimeInterval.NumbersOnly = true;
     this.tbGPSTrackingTimeInterval.Size = new System.Drawing.Size(71, 21);
     this.tbGPSTrackingTimeInterval.TabIndex = 155;
     this.tbGPSTrackingTimeInterval.Text = "5000";
     //
     // lTrigger
     //
     this.lTrigger.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.lTrigger.Location = new System.Drawing.Point(14, 262);
     this.lTrigger.Name = "lTrigger";
     this.lTrigger.Size = new System.Drawing.Size(60, 20);
     this.lTrigger.Text = "Auslöser";
     //
     // tbGPSTrackingComment
     //
     this.tbGPSTrackingComment.Location = new System.Drawing.Point(104, 206);
     this.tbGPSTrackingComment.Name = "tbGPSTrackingComment";
     this.tbGPSTrackingComment.Size = new System.Drawing.Size(111, 21);
     this.tbGPSTrackingComment.TabIndex = 152;
     //
     // lGPSTrackingComment
     //
     this.lGPSTrackingComment.Location = new System.Drawing.Point(14, 207);
     this.lGPSTrackingComment.Name = "lGPSTrackingComment";
     this.lGPSTrackingComment.Size = new System.Drawing.Size(72, 20);
     this.lGPSTrackingComment.Text = "Kommentar";
     //
     // cbGPSTrackingStartMode
     //
     this.cbGPSTrackingStartMode.Items.Add("Nach Tastendruck");
     this.cbGPSTrackingStartMode.Items.Add("Nach Dialogende");
     this.cbGPSTrackingStartMode.Location = new System.Drawing.Point(104, 174);
     this.cbGPSTrackingStartMode.Name = "cbGPSTrackingStartMode";
     this.cbGPSTrackingStartMode.Size = new System.Drawing.Size(111, 22);
     this.cbGPSTrackingStartMode.TabIndex = 150;
     //
     // lGPSTrackingStartMode
     //
     this.lGPSTrackingStartMode.Location = new System.Drawing.Point(14, 176);
     this.lGPSTrackingStartMode.Name = "lGPSTrackingStartMode";
     this.lGPSTrackingStartMode.Size = new System.Drawing.Size(72, 20);
     this.lGPSTrackingStartMode.Text = "Startmodus";
     //
     // cbGPSTrackingActivate
     //
     this.cbGPSTrackingActivate.Location = new System.Drawing.Point(7, 152);
     this.cbGPSTrackingActivate.Name = "cbGPSTrackingActivate";
     this.cbGPSTrackingActivate.Size = new System.Drawing.Size(142, 20);
     this.cbGPSTrackingActivate.TabIndex = 148;
     this.cbGPSTrackingActivate.Text = "Tracking aktivieren";
     this.cbGPSTrackingActivate.CheckStateChanged += new System.EventHandler(this.cbGPSTrackingActivate_CheckStateChanged);
     //
     // lGPSViewMode
     //
     this.lGPSViewMode.Location = new System.Drawing.Point(11, 94);
     this.lGPSViewMode.Name = "lGPSViewMode";
     this.lGPSViewMode.Size = new System.Drawing.Size(83, 19);
     this.lGPSViewMode.Text = "Anzeigemodus";
     //
     // gpsViewSelection
     //
     this.gpsViewSelection.Items.Add("Statische Karte");
     this.gpsViewSelection.Items.Add("Statischer Punkt");
     this.gpsViewSelection.Location = new System.Drawing.Point(103, 91);
     this.gpsViewSelection.Name = "gpsViewSelection";
     this.gpsViewSelection.Size = new System.Drawing.Size(112, 22);
     this.gpsViewSelection.TabIndex = 145;
     //
     // gpsWidth
     //
     this.gpsWidth.Location = new System.Drawing.Point(168, 55);
     this.gpsWidth.Maximum = new decimal(new int[] {
     20,
     0,
     0,
     0});
     this.gpsWidth.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.gpsWidth.Name = "gpsWidth";
     this.gpsWidth.Size = new System.Drawing.Size(47, 22);
     this.gpsWidth.TabIndex = 142;
     this.gpsWidth.Value = new decimal(new int[] {
     4,
     0,
     0,
     0});
     //
     // lblGpsWidth
     //
     this.lblGpsWidth.Location = new System.Drawing.Point(11, 55);
     this.lblGpsWidth.Name = "lblGpsWidth";
     this.lblGpsWidth.Size = new System.Drawing.Size(164, 20);
     this.lblGpsWidth.Text = "Punktgröße v. Position";
     //
     // lblGpsColor
     //
     this.lblGpsColor.Location = new System.Drawing.Point(11, 30);
     this.lblGpsColor.Name = "lblGpsColor";
     this.lblGpsColor.Size = new System.Drawing.Size(142, 20);
     this.lblGpsColor.Text = "Farbe der GPS-Position";
     //
     // gpsColor
     //
     this.gpsColor.Location = new System.Drawing.Point(200, 30);
     this.gpsColor.Name = "gpsColor";
     this.gpsColor.Size = new System.Drawing.Size(15, 15);
     this.gpsColor.TabIndex = 139;
     this.gpsColor.Click += new System.EventHandler(this.gpsColor_Click);
     //
     // ShowGPSPositionCB
     //
     this.ShowGPSPositionCB.Location = new System.Drawing.Point(7, 7);
     this.ShowGPSPositionCB.Name = "ShowGPSPositionCB";
     this.ShowGPSPositionCB.Size = new System.Drawing.Size(137, 20);
     this.ShowGPSPositionCB.TabIndex = 138;
     this.ShowGPSPositionCB.Text = "Position anzeigen";
     this.ShowGPSPositionCB.CheckStateChanged += new System.EventHandler(this.ShowGPSPositionCB_CheckStateChanged);
     //
     // coordTab
     //
     this.coordTab.Controls.Add(this.coordGKStripe);
     this.coordTab.Controls.Add(this.btnConfigOtherProj);
     this.coordTab.Controls.Add(this.chkCoordOther);
     this.coordTab.Controls.Add(this.chkCoordGK);
     this.coordTab.Controls.Add(this.chkCoordGeo);
     this.coordTab.Location = new System.Drawing.Point(0, 0);
     this.coordTab.Name = "coordTab";
     this.coordTab.Size = new System.Drawing.Size(230, 146);
     this.coordTab.Text = "Koordinaten";
     //
     // coordGKStripe
     //
     this.coordGKStripe.Location = new System.Drawing.Point(149, 34);
     this.coordGKStripe.Maximum = new decimal(new int[] {
     10,
     0,
     0,
     0});
     this.coordGKStripe.Name = "coordGKStripe";
     this.coordGKStripe.Size = new System.Drawing.Size(82, 22);
     this.coordGKStripe.TabIndex = 4;
     this.coordGKStripe.Value = new decimal(new int[] {
     2,
     0,
     0,
     0});
     //
     // btnConfigOtherProj
     //
     this.btnConfigOtherProj.Enabled = false;
     this.btnConfigOtherProj.Location = new System.Drawing.Point(149, 62);
     this.btnConfigOtherProj.Name = "btnConfigOtherProj";
     this.btnConfigOtherProj.Size = new System.Drawing.Size(82, 20);
     this.btnConfigOtherProj.TabIndex = 3;
     this.btnConfigOtherProj.Text = "Bearbeiten";
     //
     // chkCoordOther
     //
     this.chkCoordOther.Enabled = false;
     this.chkCoordOther.Location = new System.Drawing.Point(8, 62);
     this.chkCoordOther.Name = "chkCoordOther";
     this.chkCoordOther.Size = new System.Drawing.Size(135, 20);
     this.chkCoordOther.TabIndex = 2;
     this.chkCoordOther.TabStop = false;
     this.chkCoordOther.Text = "Andere Projektion";
     this.chkCoordOther.CheckedChanged += new System.EventHandler(this.coordCheck_CheckedChanged);
     //
     // chkCoordGK
     //
     this.chkCoordGK.Checked = true;
     this.chkCoordGK.Location = new System.Drawing.Point(8, 35);
     this.chkCoordGK.Name = "chkCoordGK";
     this.chkCoordGK.Size = new System.Drawing.Size(144, 20);
     this.chkCoordGK.TabIndex = 1;
     this.chkCoordGK.Text = "Gauß Krüger - Zone:";
     this.chkCoordGK.CheckedChanged += new System.EventHandler(this.coordCheck_CheckedChanged);
     //
     // chkCoordGeo
     //
     this.chkCoordGeo.Enabled = false;
     this.chkCoordGeo.Location = new System.Drawing.Point(8, 8);
     this.chkCoordGeo.Name = "chkCoordGeo";
     this.chkCoordGeo.Size = new System.Drawing.Size(183, 20);
     this.chkCoordGeo.TabIndex = 0;
     this.chkCoordGeo.TabStop = false;
     this.chkCoordGeo.Text = "Geographische Koordinaten";
     //
     // datumTab
     //
     this.datumTab.AutoScroll = true;
     this.datumTab.AutoScrollMargin = new System.Drawing.Size(0, 10);
     this.datumTab.Controls.Add(this.bElSave);
     this.datumTab.Controls.Add(this.tbElS);
     this.datumTab.Controls.Add(this.label25);
     this.datumTab.Controls.Add(this.label24);
     this.datumTab.Controls.Add(this.tbElAprev);
     this.datumTab.Controls.Add(this.label13);
     this.datumTab.Controls.Add(this.tbElRz);
     this.datumTab.Controls.Add(this.label14);
     this.datumTab.Controls.Add(this.tbElDz);
     this.datumTab.Controls.Add(this.label7);
     this.datumTab.Controls.Add(this.tbElRy);
     this.datumTab.Controls.Add(this.label8);
     this.datumTab.Controls.Add(this.tbElDy);
     this.datumTab.Controls.Add(this.label4);
     this.datumTab.Controls.Add(this.tbElRx);
     this.datumTab.Controls.Add(this.label5);
     this.datumTab.Controls.Add(this.tbElDx);
     this.datumTab.Controls.Add(this.label1);
     this.datumTab.Controls.Add(this.tbElB);
     this.datumTab.Controls.Add(this.lblA);
     this.datumTab.Controls.Add(this.tbElA);
     this.datumTab.Controls.Add(this.tBElName);
     this.datumTab.Controls.Add(this.txtName);
     this.datumTab.Controls.Add(this.comboDatums);
     this.datumTab.Location = new System.Drawing.Point(0, 0);
     this.datumTab.Name = "datumTab";
     this.datumTab.Size = new System.Drawing.Size(230, 146);
     this.datumTab.Text = "Bezugssystem";
     //
     // bElSave
     //
     this.bElSave.Location = new System.Drawing.Point(121, 209);
     this.bElSave.Name = "bElSave";
     this.bElSave.Size = new System.Drawing.Size(95, 20);
     this.bElSave.TabIndex = 55;
     this.bElSave.Text = "Speichern";
     this.bElSave.Click += new System.EventHandler(this.bElSave_Click);
     //
     // tbElS
     //
     this.tbElS.Location = new System.Drawing.Point(56, 177);
     this.tbElS.Name = "tbElS";
     this.tbElS.Size = new System.Drawing.Size(53, 21);
     this.tbElS.TabIndex = 49;
     //
     // label25
     //
     this.label25.Location = new System.Drawing.Point(8, 178);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(54, 20);
     this.label25.Text = "s [ppm]";
     //
     // label24
     //
     this.label24.Location = new System.Drawing.Point(121, 179);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(42, 19);
     this.label24.Text = "Code";
     //
     // tbElAprev
     //
     this.tbElAprev.Enabled = false;
     this.tbElAprev.Location = new System.Drawing.Point(163, 177);
     this.tbElAprev.Name = "tbElAprev";
     this.tbElAprev.Size = new System.Drawing.Size(53, 21);
     this.tbElAprev.TabIndex = 50;
     //
     // label13
     //
     this.label13.Location = new System.Drawing.Point(121, 152);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(42, 19);
     this.label13.Text = "RZ [\"]";
     //
     // tbElRz
     //
     this.tbElRz.Location = new System.Drawing.Point(163, 150);
     this.tbElRz.Name = "tbElRz";
     this.tbElRz.Size = new System.Drawing.Size(53, 21);
     this.tbElRz.TabIndex = 38;
     //
     // label14
     //
     this.label14.Location = new System.Drawing.Point(8, 151);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(42, 20);
     this.label14.Text = "dZ [m]";
     //
     // tbElDz
     //
     this.tbElDz.Location = new System.Drawing.Point(56, 150);
     this.tbElDz.Name = "tbElDz";
     this.tbElDz.Size = new System.Drawing.Size(53, 21);
     this.tbElDz.TabIndex = 37;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(121, 125);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(42, 19);
     this.label7.Text = "RY [\"]";
     //
     // tbElRy
     //
     this.tbElRy.Location = new System.Drawing.Point(163, 122);
     this.tbElRy.Name = "tbElRy";
     this.tbElRy.Size = new System.Drawing.Size(53, 21);
     this.tbElRy.TabIndex = 20;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(8, 123);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(42, 20);
     this.label8.Text = "dY [m]";
     //
     // tbElDy
     //
     this.tbElDy.Location = new System.Drawing.Point(56, 123);
     this.tbElDy.Name = "tbElDy";
     this.tbElDy.Size = new System.Drawing.Size(53, 21);
     this.tbElDy.TabIndex = 19;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(121, 98);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(42, 19);
     this.label4.Text = "RX [\"]";
     //
     // tbElRx
     //
     this.tbElRx.Location = new System.Drawing.Point(163, 95);
     this.tbElRx.Name = "tbElRx";
     this.tbElRx.Size = new System.Drawing.Size(53, 21);
     this.tbElRx.TabIndex = 14;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 96);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(42, 20);
     this.label5.Text = "dX [m]";
     //
     // tbElDx
     //
     this.tbElDx.Location = new System.Drawing.Point(56, 96);
     this.tbElDx.Name = "tbElDx";
     this.tbElDx.Size = new System.Drawing.Size(53, 21);
     this.tbElDx.TabIndex = 13;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(121, 71);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(42, 19);
     this.label1.Text = "b [m]";
     //
     // tbElB
     //
     this.tbElB.Location = new System.Drawing.Point(163, 68);
     this.tbElB.Name = "tbElB";
     this.tbElB.Size = new System.Drawing.Size(53, 21);
     this.tbElB.TabIndex = 8;
     //
     // lblA
     //
     this.lblA.Location = new System.Drawing.Point(8, 69);
     this.lblA.Name = "lblA";
     this.lblA.Size = new System.Drawing.Size(42, 20);
     this.lblA.Text = "a [m]";
     //
     // tbElA
     //
     this.tbElA.Location = new System.Drawing.Point(56, 69);
     this.tbElA.Name = "tbElA";
     this.tbElA.Size = new System.Drawing.Size(53, 21);
     this.tbElA.TabIndex = 4;
     //
     // tBElName
     //
     this.tBElName.Location = new System.Drawing.Point(56, 42);
     this.tBElName.Name = "tBElName";
     this.tBElName.Size = new System.Drawing.Size(160, 21);
     this.tBElName.TabIndex = 2;
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(8, 43);
     this.txtName.Name = "txtName";
     this.txtName.Size = new System.Drawing.Size(42, 20);
     this.txtName.Text = "Name:";
     //
     // comboDatums
     //
     this.comboDatums.Location = new System.Drawing.Point(8, 8);
     this.comboDatums.Name = "comboDatums";
     this.comboDatums.Size = new System.Drawing.Size(208, 22);
     this.comboDatums.TabIndex = 0;
     //
     // miscTab
     //
     this.miscTab.AutoScroll = true;
     this.miscTab.AutoScrollMargin = new System.Drawing.Size(0, 10);
     this.miscTab.Controls.Add(this.cbKeyMappingsDown);
     this.miscTab.Controls.Add(lKeyMappingsDown);
     this.miscTab.Controls.Add(this.cbKeyMappingsUp);
     this.miscTab.Controls.Add(this.lKeyMappingsUp);
     this.miscTab.Controls.Add(this.cbKeyMappingsEnter);
     this.miscTab.Controls.Add(lKeyMappingsEnter);
     this.miscTab.Controls.Add(this.cbKeyMappingsRight);
     this.miscTab.Controls.Add(lKeyMappingsRight);
     this.miscTab.Controls.Add(this.cbKeyMappingsLeft);
     this.miscTab.Controls.Add(this.label28);
     this.miscTab.Controls.Add(this.lKeyMappings);
     this.miscTab.Controls.Add(this.cbShowNorthArrow);
     this.miscTab.Controls.Add(this.ciNewLayerColor);
     this.miscTab.Controls.Add(this.newLayerSpecificColor);
     this.miscTab.Controls.Add(this.newLayerRandomColor);
     this.miscTab.Controls.Add(this.label26);
     this.miscTab.Controls.Add(this.cbShowScaleOnMap);
     this.miscTab.Controls.Add(this.sesstingsSpecialLayers);
     this.miscTab.Location = new System.Drawing.Point(0, 0);
     this.miscTab.Name = "miscTab";
     this.miscTab.Size = new System.Drawing.Size(230, 146);
     this.miscTab.Text = "Verschiedenes";
     //
     // cbKeyMappingsDown
     //
     this.cbKeyMappingsDown.Location = new System.Drawing.Point(89, 205);
     this.cbKeyMappingsDown.Name = "cbKeyMappingsDown";
     this.cbKeyMappingsDown.Size = new System.Drawing.Size(133, 22);
     this.cbKeyMappingsDown.TabIndex = 23;
     //
     // cbKeyMappingsUp
     //
     this.cbKeyMappingsUp.Location = new System.Drawing.Point(89, 177);
     this.cbKeyMappingsUp.Name = "cbKeyMappingsUp";
     this.cbKeyMappingsUp.Size = new System.Drawing.Size(133, 22);
     this.cbKeyMappingsUp.TabIndex = 22;
     //
     // lKeyMappingsUp
     //
     this.lKeyMappingsUp.Location = new System.Drawing.Point(22, 179);
     this.lKeyMappingsUp.Name = "lKeyMappingsUp";
     this.lKeyMappingsUp.Size = new System.Drawing.Size(39, 20);
     this.lKeyMappingsUp.Text = "Hoch";
     //
     // cbKeyMappingsEnter
     //
     this.cbKeyMappingsEnter.Location = new System.Drawing.Point(89, 288);
     this.cbKeyMappingsEnter.Name = "cbKeyMappingsEnter";
     this.cbKeyMappingsEnter.Size = new System.Drawing.Size(133, 22);
     this.cbKeyMappingsEnter.TabIndex = 18;
     //
     // cbKeyMappingsRight
     //
     this.cbKeyMappingsRight.Location = new System.Drawing.Point(89, 260);
     this.cbKeyMappingsRight.Name = "cbKeyMappingsRight";
     this.cbKeyMappingsRight.Size = new System.Drawing.Size(133, 22);
     this.cbKeyMappingsRight.TabIndex = 15;
     //
     // cbKeyMappingsLeft
     //
     this.cbKeyMappingsLeft.Location = new System.Drawing.Point(89, 232);
     this.cbKeyMappingsLeft.Name = "cbKeyMappingsLeft";
     this.cbKeyMappingsLeft.Size = new System.Drawing.Size(133, 22);
     this.cbKeyMappingsLeft.TabIndex = 13;
     //
     // label28
     //
     this.label28.Location = new System.Drawing.Point(22, 234);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(39, 20);
     this.label28.Text = "Links";
     //
     // lKeyMappings
     //
     this.lKeyMappings.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.lKeyMappings.Location = new System.Drawing.Point(7, 151);
     this.lKeyMappings.Name = "lKeyMappings";
     this.lKeyMappings.Size = new System.Drawing.Size(115, 16);
     this.lKeyMappings.Text = "Tastenbelegung";
     //
     // cbShowNorthArrow
     //
     this.cbShowNorthArrow.Location = new System.Drawing.Point(7, 53);
     this.cbShowNorthArrow.Name = "cbShowNorthArrow";
     this.cbShowNorthArrow.Size = new System.Drawing.Size(187, 20);
     this.cbShowNorthArrow.TabIndex = 9;
     this.cbShowNorthArrow.Text = "Nordpfeil anzeigen";
     //
     // ciNewLayerColor
     //
     this.ciNewLayerColor.BackColor = System.Drawing.SystemColors.InactiveBorder;
     this.ciNewLayerColor.Location = new System.Drawing.Point(174, 121);
     this.ciNewLayerColor.Name = "ciNewLayerColor";
     this.ciNewLayerColor.Size = new System.Drawing.Size(15, 15);
     this.ciNewLayerColor.TabIndex = 7;
     this.ciNewLayerColor.Text = "newLayerColor";
     this.ciNewLayerColor.Click += new System.EventHandler(this.colorIcon1_Click);
     //
     // newLayerSpecificColor
     //
     this.newLayerSpecificColor.Location = new System.Drawing.Point(22, 119);
     this.newLayerSpecificColor.Name = "newLayerSpecificColor";
     this.newLayerSpecificColor.Size = new System.Drawing.Size(146, 20);
     this.newLayerSpecificColor.TabIndex = 6;
     this.newLayerSpecificColor.Text = "Voreingestellte Farbe:";
     //
     // newLayerRandomColor
     //
     this.newLayerRandomColor.Location = new System.Drawing.Point(22, 96);
     this.newLayerRandomColor.Name = "newLayerRandomColor";
     this.newLayerRandomColor.Size = new System.Drawing.Size(100, 20);
     this.newLayerRandomColor.TabIndex = 5;
     this.newLayerRandomColor.Text = "Zufallsfarbe";
     //
     // label26
     //
     this.label26.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.label26.Location = new System.Drawing.Point(7, 76);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(145, 20);
     this.label26.Text = "Farbe für neue Layer";
     //
     // cbShowScaleOnMap
     //
     this.cbShowScaleOnMap.Location = new System.Drawing.Point(7, 30);
     this.cbShowScaleOnMap.Name = "cbShowScaleOnMap";
     this.cbShowScaleOnMap.Size = new System.Drawing.Size(187, 20);
     this.cbShowScaleOnMap.TabIndex = 3;
     this.cbShowScaleOnMap.Text = "Maßstab auf Karte anzeigen";
     //
     // sesstingsSpecialLayers
     //
     this.sesstingsSpecialLayers.Checked = true;
     this.sesstingsSpecialLayers.CheckState = System.Windows.Forms.CheckState.Checked;
     this.sesstingsSpecialLayers.Location = new System.Drawing.Point(7, 7);
     this.sesstingsSpecialLayers.Name = "sesstingsSpecialLayers";
     this.sesstingsSpecialLayers.Size = new System.Drawing.Size(197, 21);
     this.sesstingsSpecialLayers.TabIndex = 2;
     this.sesstingsSpecialLayers.Text = "Mandelbrot-Testlayer nutzbar";
     //
     // scaleTab
     //
     this.scaleTab.Location = new System.Drawing.Point(0, 0);
     this.scaleTab.Name = "scaleTab";
     this.scaleTab.Size = new System.Drawing.Size(230, 146);
     this.scaleTab.Text = "Maßstab";
     //
     // Caption
     //
     this.Caption.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular);
     this.Caption.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.Caption.Location = new System.Drawing.Point(4, 3);
     this.Caption.Name = "Caption";
     this.Caption.Size = new System.Drawing.Size(172, 18);
     this.Caption.Text = "Einstellungen bearbeiten";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(121, 146);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(42, 19);
     this.label15.Text = "RZ [\"]";
     //
     // textBox10
     //
     this.textBox10.Location = new System.Drawing.Point(163, 144);
     this.textBox10.Name = "textBox10";
     this.textBox10.Size = new System.Drawing.Size(53, 21);
     this.textBox10.TabIndex = 38;
     //
     // label16
     //
     this.label16.Location = new System.Drawing.Point(8, 145);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(42, 20);
     this.label16.Text = "dZ [m]";
     //
     // textBox11
     //
     this.textBox11.Location = new System.Drawing.Point(56, 144);
     this.textBox11.Name = "textBox11";
     this.textBox11.Size = new System.Drawing.Size(53, 21);
     this.textBox11.TabIndex = 37;
     //
     // label17
     //
     this.label17.Location = new System.Drawing.Point(121, 119);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(42, 19);
     this.label17.Text = "RY [\"]";
     //
     // textBox12
     //
     this.textBox12.Location = new System.Drawing.Point(163, 116);
     this.textBox12.Name = "textBox12";
     this.textBox12.Size = new System.Drawing.Size(53, 21);
     this.textBox12.TabIndex = 20;
     //
     // label18
     //
     this.label18.Location = new System.Drawing.Point(8, 117);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(42, 20);
     this.label18.Text = "dY [m]";
     //
     // textBox13
     //
     this.textBox13.Location = new System.Drawing.Point(56, 117);
     this.textBox13.Name = "textBox13";
     this.textBox13.Size = new System.Drawing.Size(53, 21);
     this.textBox13.TabIndex = 19;
     //
     // label19
     //
     this.label19.Location = new System.Drawing.Point(121, 92);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(42, 19);
     this.label19.Text = "RX [\"]";
     //
     // textBox14
     //
     this.textBox14.Location = new System.Drawing.Point(163, 89);
     this.textBox14.Name = "textBox14";
     this.textBox14.Size = new System.Drawing.Size(53, 21);
     this.textBox14.TabIndex = 14;
     //
     // label20
     //
     this.label20.Location = new System.Drawing.Point(8, 90);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(42, 20);
     this.label20.Text = "dX [m]";
     //
     // textBox15
     //
     this.textBox15.Location = new System.Drawing.Point(56, 90);
     this.textBox15.Name = "textBox15";
     this.textBox15.Size = new System.Drawing.Size(53, 21);
     this.textBox15.TabIndex = 13;
     //
     // label21
     //
     this.label21.Location = new System.Drawing.Point(121, 65);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(42, 19);
     this.label21.Text = "b [m]";
     //
     // textBox16
     //
     this.textBox16.Location = new System.Drawing.Point(163, 62);
     this.textBox16.Name = "textBox16";
     this.textBox16.Size = new System.Drawing.Size(53, 21);
     this.textBox16.TabIndex = 8;
     //
     // label22
     //
     this.label22.Location = new System.Drawing.Point(8, 63);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(42, 20);
     this.label22.Text = "a [m]";
     //
     // textBox17
     //
     this.textBox17.Location = new System.Drawing.Point(56, 63);
     this.textBox17.Name = "textBox17";
     this.textBox17.Size = new System.Drawing.Size(53, 21);
     this.textBox17.TabIndex = 4;
     //
     // textBox18
     //
     this.textBox18.Location = new System.Drawing.Point(56, 36);
     this.textBox18.Name = "textBox18";
     this.textBox18.Size = new System.Drawing.Size(160, 21);
     this.textBox18.TabIndex = 2;
     //
     // label23
     //
     this.label23.Location = new System.Drawing.Point(8, 37);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(42, 20);
     this.label23.Text = "Name:";
     //
     // comboBox2
     //
     this.comboBox2.Location = new System.Drawing.Point(8, 8);
     this.comboBox2.Name = "comboBox2";
     this.comboBox2.Size = new System.Drawing.Size(208, 22);
     this.comboBox2.TabIndex = 0;
     //
     // SettingDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.BackColor = System.Drawing.SystemColors.ActiveCaption;
     this.ClientSize = new System.Drawing.Size(240, 294);
     this.ControlBox = false;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.Caption);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.KeyPreview = true;
     this.Location = new System.Drawing.Point(0, 0);
     this.MinimizeBox = false;
     this.Name = "SettingDialog";
     this.TopMost = true;
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Form2_MouseDown);
     this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Form2_MouseUp);
     this.panel1.ResumeLayout(false);
     this.layerTabControl.ResumeLayout(false);
     this.generalTab.ResumeLayout(false);
     this.behaviourTab.ResumeLayout(false);
     this.exchangeTab.ResumeLayout(false);
     this.gpsTab.ResumeLayout(false);
     this.coordTab.ResumeLayout(false);
     this.datumTab.ResumeLayout(false);
     this.miscTab.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 35
0
        public ComboBoxTree()
        {
            this.InitializeComponent();
            this.FontChanged += ComboBoxTree_FontChanged;
            // Initializing Controls
            this.pnlBack = new Panel();
            this.pnlBack.BorderStyle = BorderStyle.Fixed3D;
            this.pnlBack.BackColor = Color.White;
            this.pnlBack.AutoScroll = false;

            this.tbSelectedValue = new TextBox();
            this.tbSelectedValue.BorderStyle = System.Windows.Forms.BorderStyle.None;


            this.btnSelect = new ButtonEx();
            this.btnSelect.Click += new EventHandler(ToggleTreeView);
            this.btnSelect.FlatStyle = FlatStyle.Flat;


            this.lblSizingGrip = new LabelEx();
            this.lblSizingGrip.Size = new Size(9, 9);
            this.lblSizingGrip.BackColor = Color.Transparent;
            this.lblSizingGrip.Cursor = Cursors.SizeNWSE;
            this.lblSizingGrip.MouseMove += new MouseEventHandler(SizingGripMouseMove);
            this.lblSizingGrip.MouseDown += new MouseEventHandler(SizingGripMouseDown);

            this.tvTreeView = new TreeView();
            this.tvTreeView.BorderStyle = BorderStyle.None;
            this.tvTreeView.DoubleClick += new EventHandler(TreeViewNodeSelect);
            this.tvTreeView.Location = new Point(0, 0);
            this.tvTreeView.LostFocus += new EventHandler(TreeViewLostFocus);


            //this.tvTreeView.Scrollable = false;

            this.frmTreeView = new Form();
            this.frmTreeView.FormBorderStyle = FormBorderStyle.None;
            this.frmTreeView.StartPosition = FormStartPosition.Manual;
            this.frmTreeView.ShowInTaskbar = false;
            this.frmTreeView.BackColor = System.Drawing.SystemColors.Control;

            this.pnlTree = new Panel();
            this.pnlTree.BorderStyle = BorderStyle.FixedSingle;
            this.pnlTree.BackColor = Color.White;

            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, true);

            // Adding Controls to UserControl
            this.pnlTree.Controls.Add(this.lblSizingGrip);
            this.pnlTree.Controls.Add(this.tvTreeView);
            this.frmTreeView.Controls.Add(this.pnlTree);
            this.pnlBack.Controls.AddRange(new Control[] { btnSelect, tbSelectedValue });
            this.Controls.Add(this.pnlBack);


        }