예제 #1
0
        public void FillChart(string country, int year, System.Windows.Forms.DataVisualization.Charting.Chart chartName)
        {
            //At first we show all the data we currently have.
            string yearForDb  = "y" + year;
            string sqlCommand = "SELECT * FROM Co_modaal_inkomen, Co_online_kopen_percentage";

            if (year != 0 && country.Length != 0)
            {
                sqlCommand =
                    "SELECT mi.land_naam as Country_Name, mi." + yearForDb + " as Modaal_Inkomen, okp." + yearForDb + " as Online_Kopen " +
                    "FROM Co_modaal_inkomen as mi, Co_online_kopen_percentage as okp " +
                    "WHERE mi.land_naam = '" + country + "' AND mi.land_naam = okp.land_naam";
            }

            var dataFromDb = dbHelp.SelectFromDb(sqlCommand);

            foreach (DataRow dr in dataFromDb.Rows)
            {
                try
                {
                    var properValue = Convert.ToInt32(dr["Online_Kopen"]) * Convert.ToInt32(dr["Modaal_Inkomen"]) / 100;
                    chartName.Series["Online Purchases"].Points.AddXY(0, properValue);
                    chartName.Series["Online Purchases"].Label = properValue.ToString();
                    chartName.Series["Median Income"].Points.AddXY(0, dr["Modaal_Inkomen"]);
                    chartName.Series["Median Income"].Label = dr["Modaal_Inkomen"].ToString();
                }
                catch (ArgumentException e)
                {
                    Console.WriteLine("!!!ERROR: " + e.ToString());
                    throw;
                }
            }
        }
예제 #2
0
        private void SetChartData(System.Windows.Forms.DataVisualization.Charting.Chart chart, ColorEnum color, int[] data)
        {
            // グラフの系列を追加
            var series = chart.Series.Add("Histogram");

            // グラフの種類を折れ線に設定する
            series.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;

            series.BorderWidth = 2;

            // 輪郭線の色
            if (color == ColorEnum.Red)
            {
                series.BorderColor = Color.Red;
            }
            else if (color == ColorEnum.Green)
            {
                series.BorderColor = Color.Green;
            }
            else if (color == ColorEnum.Blue)
            {
                series.BorderColor = Color.Blue;
            }

            // データ挿入
            for (int i = 0; i < data.Length; i++)
            {
                series.Points.AddXY(i, data[i]);
            }
        }
예제 #3
0
        //显示光谱图形
        private void ShowSpectrumGraphic(Border rootBorder, string graphicBorderName, string graphicFile, double graphicWidth, double graphicHeight = double.MaxValue, double DPI = double.MaxValue)
        {
            Border graphicBorder = rootBorder.FindName(graphicBorderName) as Border;

            if (graphicBorder != null)
            {
                System.Windows.Forms.DataVisualization.Charting.Chart     graphicChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
                System.Windows.Forms.DataVisualization.Charting.ChartArea ca           = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
                graphicChart.ChartAreas.Add(ca);
                Common.CommonMethod.DrawSpectrumGraphic(graphicChart, ca, graphicFile, System.Drawing.Color.Black);

                DPI           = (DPI == double.MaxValue) ? 96: DPI;
                graphicHeight = (graphicHeight == double.MaxValue) ? graphicBorder.Height * DPI / 96 : graphicHeight * DPI / 2.54;

                graphicChart.Width  = (int)(graphicWidth * DPI / 2.54);     //1cm = 2.54inch = 96dpi
                graphicChart.Height = (int)(graphicHeight);

                System.IO.MemoryStream stream = new MemoryStream();
                graphicChart.SaveImage(stream, System.Drawing.Imaging.ImageFormat.Png);

                var bitmapImage = new BitmapImage();
                bitmapImage.BeginInit();
                bitmapImage.StreamSource = stream;
                bitmapImage.EndInit();

                Image img = new Image();
                graphicBorder.Child = img;
                img.Source          = bitmapImage;
                img.Stretch         = Stretch.Uniform;
            }
        }
예제 #4
0
        private void UpdateCursor_Dist(System.Windows.Forms.DataVisualization.Charting.Chart chart, Label label, double position)
        {
            System.Windows.Forms.DataVisualization.Charting.DataPoint pPrev;
            System.Windows.Forms.DataVisualization.Charting.DataPoint pNext;
            try
            {
                label.Visible = !Double.IsNaN(position) && (chart.Series[0].Points.Count > 0);

                pPrev = chart.Series[0].Points.Select(x => x)
                        .Where(x => x.XValue >= position)
                        .DefaultIfEmpty(chart.Series[0].Points.Last())
                        .Last();

                pNext = chart.Series[0].Points.Select(x => x)
                        .Where(x => x.XValue <= position)
                        .DefaultIfEmpty(chart.Series[0].Points.First())
                        .First();

                pNext = (position - pPrev.XValue > pNext.XValue - position) ? pPrev : pNext;

                label.Text     = String.Format("{0:f2}% {1:f2}км.\n{2}", pNext.YValues[0], position, pNext.Tag.ToString());
                label.Location = new Point((int)chart.ChartAreas[0].AxisX.ValueToPixelPosition(position) - (chart.ChartAreas[0].AxisX.ValueToPosition(position) < 50 ? 0 : label.Size.Width), chart1.Height - label.Size.Height);
            }
            catch (Exception ex)
            {
            }
            label.Refresh();

            System.Threading.Thread.Sleep(1);
        }
예제 #5
0
        private string GeneratePlot(List <double[]> data, string title)
        {
            string file = "";

            chart = new System.Windows.Forms.DataVisualization.Charting.Chart();

            chart.ChartAreas.Add(new System.Windows.Forms.DataVisualization.Charting.ChartArea());
            foreach (var items in data)
            {
                int i = 1;
                foreach (var item in items)
                {
                    SetChart(title, i, item);
                    i++;
                }
            }

            DateTime d             = DateTime.Now;
            var      xxx           = String.Format("{0}_{1}_{2}_{3}_{4}_{5}_{6}", d.Year, d.Month, d.Day, d.Hour, d.Minute, d.Second, d.Millisecond);
            String   chartFilename = ApplicationFolder + "\\" + xxx + ".bmp";

            chart.Update();
            chart.SaveImage(chartFilename, System.Drawing.Imaging.ImageFormat.Bmp);
            file = chartFilename;


            return(file);
        }
예제 #6
0
        private void Label_Show(System.Windows.Forms.DataVisualization.Charting.Chart c)
        {
            c.Series.SuspendUpdates();

            for (int k = 0; k < c.Series.Count; k++)
            {
                if (c.Series[k].ChartType == System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line)
                {
                    for (int i = 0; i < c.Series[1].Points.Count; i++)
                    {
                        c.Series[k].Points[i].LabelBackColor   = ColorOrange;
                        c.Series[k].Points[i].LabelForeColor   = Color.WhiteSmoke;
                        c.Series[k].Points[i].LabelBorderColor = ColorOrange;
                    }
                }
                else
                {
                    for (int i = 0; i < c.Series[0].Points.Count; i++)
                    {
                        c.Series[k].Points[i].LabelBackColor   = Color.WhiteSmoke;
                        c.Series[k].Points[i].LabelForeColor   = Color.FromArgb(64, 64, 64);
                        c.Series[k].Points[i].LabelBorderColor = Color.FromArgb(64, 64, 64);
                    }
                }
            }
            c.Series.ResumeUpdates();
        }
예제 #7
0
 public static void ClearAllSeries(System.Windows.Forms.DataVisualization.Charting.Chart chart)
 {
     while (chart.Series.Count > 0)
     {
         chart.Series.RemoveAt(0);
     }
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     PlotChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
     ((System.ComponentModel.ISupportInitialize)(PlotChart)).BeginInit();
     SuspendLayout();
     //
     // PlotChart
     //
     PlotChart.Dock     = System.Windows.Forms.DockStyle.Fill;
     PlotChart.Location = new System.Drawing.Point(0, 0);
     PlotChart.Margin   = new System.Windows.Forms.Padding(2);
     PlotChart.Name     = "PlotChart";
     PlotChart.Size     = new System.Drawing.Size(658, 412);
     PlotChart.TabIndex = 0;
     PlotChart.Text     = "chart1";
     //
     // PlotForm
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize          = new System.Drawing.Size(658, 412);
     Controls.Add(PlotChart);
     Margin = new System.Windows.Forms.Padding(2);
     Name   = "PlotForm";
     Text   = "Plot of Trade Data";
     ((System.ComponentModel.ISupportInitialize)(PlotChart)).EndInit();
     ResumeLayout(false);
 }
        private void InitializeChart()
        {
            serviceTemplate.Name = nameService;
            List <Models.RequestReceived> requestRequest   = requestsReceived.FindAll(Request => Request.requestStatus == 1);
            List <Models.RequestReceived> requestAccepted  = requestsReceived.FindAll(Request => Request.requestStatus == 2);
            List <Models.RequestReceived> requestRejected  = requestsReceived.FindAll(Request => Request.requestStatus == 3);
            List <Models.RequestReceived> requestCancelled = requestsReceived.FindAll(Request => Request.requestStatus == 4);
            List <Models.RequestReceived> requestFinished  = requestsReceived.FindAll(Request => Request.requestStatus == 5);

            serviceTemplate.NumRequest   = requestRequest.Count;
            serviceTemplate.NumAccepted  = requestAccepted.Count;
            serviceTemplate.NumRejected  = requestRejected.Count;
            serviceTemplate.NumCancelled = requestCancelled.Count;
            serviceTemplate.NumFinished  = requestFinished.Count;
            System.Windows.Forms.DataVisualization.Charting.Chart chart = this.FindName("ChartService") as System.Windows.Forms.DataVisualization.Charting.Chart;

            Dictionary <string, int> value = new Dictionary <string, int>();

            value.Add("Solicitadas", serviceTemplate.NumRequest);
            value.Add("Aceptadas", serviceTemplate.NumAccepted);
            value.Add("Rechazadas", serviceTemplate.NumRejected);
            value.Add("Canceladas", serviceTemplate.NumCancelled);
            value.Add("Finalizadas", serviceTemplate.NumFinished);
            chart.DataSource = value;
            chart.Series["series"].XValueMember  = "Key";
            chart.Series["series"].YValueMembers = "Value";
            host.Child = chart;
            ChartService.Refresh();
        }
예제 #10
0
 private void InitComp()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.SuspendLayout();
     //
     // chart1
     //
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.Dock = System.Windows.Forms.DockStyle.Fill;
     legend1.Name     = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(0, 50);
     this.chart1.Name     = "chart1";
     // this.chart1.Size = new System.Drawing.Size(284, 212);
     this.chart1.TabIndex = 0;
     this.chart1.Text     = "chart1";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.chart1);
     this.Name = "Form1";
     this.Text = "FakeChart";
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     this.pieChartPanel = new System.Windows.Forms.DataVisualization.Charting.Chart();
     ((System.ComponentModel.ISupportInitialize)(this.pieChartPanel)).BeginInit();
     this.SuspendLayout();
     //
     // pieChartPanel
     //
     chartArea1.Name = "ChartAreaMain";
     this.pieChartPanel.ChartAreas.Add(chartArea1);
     legend1.Name = "Legend1";
     this.pieChartPanel.Legends.Add(legend1);
     this.pieChartPanel.Location = new System.Drawing.Point(10, 10);
     this.pieChartPanel.Name     = "pieChartPanel";
     this.pieChartPanel.Palette  = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.SeaGreen;
     this.pieChartPanel.Size     = new System.Drawing.Size(250, 150);
     this.pieChartPanel.TabIndex = 1;
     this.pieChartPanel.Text     = "chart1";
     //
     // MacroscopePieChart
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.pieChartPanel);
     this.Name = "MacroscopePieChart";
     this.Size = new System.Drawing.Size(300, 200);
     ((System.ComponentModel.ISupportInitialize)(this.pieChartPanel)).EndInit();
     this.ResumeLayout(false);
 }
예제 #12
0
        public Marker_Setting_Form(string[] ItemList, int index, System.Windows.Forms.DataVisualization.Charting.Chart chart, string Chan, string Tab_Text)
        {
            this.chart    = chart;
            this.Chan     = Chan;
            this.Tab_Text = Tab_Text;
            this.Index    = index;
            this.ItemList = ItemList;
            InitializeComponent();

            listView1 = new ListView[ItemList.Length];

            for (i = 0; i < ItemList.Length; i++)
            {
                TabPage myTabPage = new TabPage(ItemList[i].ToString());
                tabControl1.TabPages.Add(myTabPage);

                listView1[i] = new ListView();

                listView1[i].Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                             | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
                listView1[i].Location = new System.Drawing.Point(3, 6);
                listView1[i].Name     = "listView1";
                listView1[i].Size     = new System.Drawing.Size(535, 448);
                listView1[i].TabIndex = 1;
                listView1[i].UseCompatibleStateImageBehavior = false;

                listView1[i].GridLines     = true;
                listView1[i].FullRowSelect = true;

                tabControl1.TabPages[i].Controls.Add(listView1[i]);
            }
            //  Run();
        }
예제 #13
0
 private void clearChart(System.Windows.Forms.DataVisualization.Charting.Chart chart)
 {
     foreach (var series in chart.Series)
     {
         series.Points.Clear();
     }
 }
예제 #14
0
        private void RegressionDataGridView_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
            {
                System.Windows.Forms.DataVisualization.Charting.Chart     TabPageChart = (System.Windows.Forms.DataVisualization.Charting.Chart) this.tabControl1.TabPages[this.tabControl1.SelectedIndex].Controls.Find("chart1", true)[0];
                System.Windows.Forms.DataVisualization.Charting.StripLine sl1          = new System.Windows.Forms.DataVisualization.Charting.StripLine();
                System.Windows.Forms.DataGridView RegressionDataGridView = (System.Windows.Forms.DataGridView) this.tabControl1.TabPages[this.tabControl1.SelectedIndex].Controls.Find("RegressionDataGridView", true)[0];


                sl1.BackColor  = System.Drawing.Color.Red;
                sl1.StripWidth = 0.0005;
                int No = (int)RegressionDataGridView.Rows[e.RowIndex].Cells[0].Value;
                for (int i = 0; i < RegressionIndex.Count; i++)
                {
                    if (RegressionIndex[i] == No)
                    {
                        sl1.IntervalOffset = GroupDataBox[this.tabControl1.SelectedIndex - 1].VisionPixel[i];
                        break;
                    }
                }

                TabPageChart.ChartAreas[0].AxisX.StripLines.Clear();
                TabPageChart.ChartAreas[0].AxisX.StripLines.Add(sl1);
            }
        }
예제 #15
0
        public static void AddSeries(
            System.Windows.Forms.DataVisualization.Charting.Chart chart,
            string seriesName,
            IEnumerable <IChartSeriesPointCollection> dataCollection,
            int optimizeLevel = 0,
            System.Windows.Forms.DataVisualization.Charting.ChartValueType chartXValueType  = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Auto,
            System.Windows.Forms.DataVisualization.Charting.SeriesChartType seriesChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine
            )
        {
            const int optimizeMinSize = 10;
            IEnumerable <IChartSeriesPointCollection> optimizedDataList;

            if (dataCollection.Count() > optimizeMinSize)
            {
                int optimizeThresold = (int)(getDeltaMedian(dataCollection) * ((double)optimizeLevel));
                Console.WriteLine("optimizeThresold {0}", optimizeThresold);

                optimizedDataList = optimizeSeriesData(dataCollection, optimizeThresold);
                Console.WriteLine("OptimizedDataList Count: {0}", optimizedDataList.Count());
            }
            else
            {
                optimizedDataList = dataCollection;
            }

            chart.Series.Add(seriesName);
            chart.Series[seriesName].XValueType = chartXValueType;
            chart.Series[seriesName].ChartType  = seriesChartType;
            chart.Series[seriesName].Points.DataBind(optimizedDataList, "Xvalue", "Yvalue", null);
        }
예제 #16
0
        public void PrintGraphicAndOblTrap(System.Windows.Forms.DataVisualization.Charting.Chart chart, int numberGraphic)
        {
            double promezZnach;
            double h = (B - A) / n;

            chart.Series[numberGraphic].Points.Clear();
            chart.Series[numberGraphic + 2].Points.Clear();
            chart.Series[numberGraphic + 4].Points.Clear();
            chart.Series[6].Points.Clear();

            double x = A;

            while (x < B)
            {
                promezZnach = Func(x);
                chart.Series[numberGraphic].Points.AddXY(x, promezZnach);
                chart.Series[numberGraphic + 2].Points.AddXY(x, promezZnach);
                chart.Series[numberGraphic + 4].Points.AddXY(x, promezZnach);
                x += h;
            }

            x = AMax;
            double znachValue;

            values.Clear();

            while (x < bMin)
            {
                znachValue = Func(x);
                values.Add(znachValue);
                x += 0.05;
            }
        }
예제 #17
0
        public void PrintSmezObl(System.Windows.Forms.DataVisualization.Charting.Chart chart, List <double> dopValues1, List <double> dopValues2)
        {
            double x = AMax;

            chart.Series[6].Points.Clear();

            int kol1 = dopValues1.Count();
            int kol2 = dopValues2.Count();

            int minKol;

            double h = 0.05;

            if (kol1 < kol2)
            {
                minKol = kol1;
            }
            else
            {
                minKol = kol2;
            }

            for (int i = 0; i < minKol && x <= BMin; i++)
            {
                if (dopValues1[i] <= dopValues2[i])
                {
                    chart.Series[6].Points.AddXY(x, dopValues1[i]);
                }
                else
                {
                    chart.Series[6].Points.AddXY(x, dopValues2[i]);
                }
                x += 0.05;
            }
        }
예제 #18
0
        private void Chart_Click(object sender, EventArgs e)
        {
            System.Windows.Forms.DataVisualization.Charting.Chart chart = sender as System.Windows.Forms.DataVisualization.Charting.Chart;
            if (chart == null)
            {
                return;
            }

            chart.Series[0].Enabled = false;
            chart.Series[1].Enabled = false;
            chart.Series[2].Enabled = false;

            int tag = Int16.Parse(chart.Tag.ToString());

            if (tag == 3)
            {
                chart.Series[0].Enabled = true;
                chart.Series[1].Enabled = true;
                chart.Series[2].Enabled = true;
                tag = 0;
            }
            else
            {
                chart.Series[tag].Enabled = true;
                tag++;
            }
            chart.Tag = tag;
        }
예제 #19
0
 void cargarchar(System.Windows.Forms.DataVisualization.Charting.Chart cha, string x, string y, string serie, System.Windows.Forms.DataVisualization.Charting.SeriesChartType at = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar)
 {
     cha.Series.Add(serie);
     cha.Series[serie].ChartType = at;
     cha.Series[serie].Points.AddXY(x, y);
     cha.Series[serie].MarkerStep = 1;
 }
예제 #20
0
 /// <summary>
 /// This extension method of the class Chart ease the drawing of frequency distribution charts.
 /// </summary>
 /// <param name="chart"></param>
 /// <param name="series">The name of the data series that will used to store the frequency data.</param>
 /// <param name="elements">List of all the elements that will be inclued in the chart.</param>
 /// <param name="columns">Number of columns in the chart.</param>
 /// <returns>The total number of elements.</returns>
 public static int FDupdate(this System.Windows.Forms.DataVisualization.Charting.Chart chart, String series, List <int> elements, int columns)
 {
     chart.Series[series].Points.Clear();
     if (elements.Any <int>())
     {
         int min, max;                    //Maximum and minimum values on the X axis
         int boundaryLeft, boundaryRight; //Boundaries of a given interval.
         int rp;                          //Number of elements that exists in a given interval.
         min = elements.Min();
         max = elements.Max() + columns - (elements.Max() - min) % columns;
         int intervallo = (max - min) / columns;
         for (int i = 0; i < columns; i++)
         {
             rp            = 0;
             boundaryLeft  = min + intervallo * i;
             boundaryRight = boundaryLeft + intervallo;
             elements.ForEach(delegate(int elemento)
             {
                 if (elemento >= boundaryLeft && elemento < boundaryRight)
                 {
                     rp++;
                 }
             });
             chart.Series[series].Points.AddXY(boundaryLeft.ToString(), rp);
         }
     }
     chart.Update();
     return(elements.Count());
 }
예제 #21
0
 private void setupBarChart(System.Windows.Forms.DataVisualization.Charting.Chart chart, int id)
 {
     setupChart(chart, id);
     chart.ChartAreas[0].AxisX.IsLabelAutoFit     = true;
     chart.ChartAreas[0].AxisX.LabelAutoFitStyle  = System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30;
     chart.ChartAreas[0].AxisX.LabelStyle.Enabled = true;
 }
예제 #22
0
 void Make_Scroll(System.Windows.Forms.DataVisualization.Charting.Chart chart)
 {
     chart.ChartAreas[0].CursorX.IsUserEnabled              = true;
     chart.ChartAreas[0].CursorX.IsUserSelectionEnabled     = true;
     chart.ChartAreas[0].AxisX.ScaleView.Zoomable           = true;
     chart.ChartAreas[0].AxisX.ScrollBar.IsPositionedInside = true;
 }
예제 #23
0
 public LineChart(System.Windows.Forms.DataVisualization.Charting.Chart chart_in, PerformanceCounter perfCounter_in, String dataType_in, String title)
 {
     chart       = chart_in;
     perfCounter = perfCounter_in;
     dataType    = dataType_in;
     if (dataType == "Percentage")
     {
         chart.ChartAreas[0].AxisY.ScaleView.Zoom(0, 100);
         chart.ChartAreas[0].AxisY.LabelStyle.Format = "{0}%";
         chart.Titles.Add(title);
     }
     else if (dataType == "KiB/s")
     {
         chart.Titles.Add(title + " [KiB/s]");
         chart.ChartAreas[0].AxisY.LabelStyle.Format = "{0.0}";
     }
     else if (dataType == "MiB/s")
     {
         chart.Titles.Add(title + " [MiB/s]");
         chart.ChartAreas[0].AxisY.LabelStyle.Format = "{0.0}";
     }
     else if (dataType == "GiB")
     {
         chart.Titles.Add(title + " [GiB]");
         chart.ChartAreas[0].AxisY.LabelStyle.Format = "{0.0}";
     }
     chart.ChartAreas[0].AxisX.LabelStyle.Enabled = false;
     chart.ChartAreas[0].AxisX.MajorGrid.Enabled  = false;
 }
예제 #24
0
        private void setupChart(System.Windows.Forms.DataVisualization.Charting.Chart chart, int id)
        {
            System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
            System.Windows.Forms.DataVisualization.Charting.Legend    legend    = new System.Windows.Forms.DataVisualization.Charting.Legend();
            System.Windows.Forms.DataVisualization.Charting.Title     title     = new System.Windows.Forms.DataVisualization.Charting.Title();

            string chartName     = "Chart" + id.ToString();
            string chartAreaName = "ChartArea";
            string legendName    = "Legend";
            string titleName     = "Title";

            chartArea.Name = chartAreaName;
            chart.ChartAreas.Add(chartArea);
            chart.Dock  = System.Windows.Forms.DockStyle.Fill;
            legend.Name = legendName;
            legend.Font = new System.Drawing.Font("Trebuchet MS", legendsize);
            chart.Legends.Add(legend);
            chart.Location = new System.Drawing.Point(3, 3);
            chart.Name     = chartName;
            chart.Size     = new System.Drawing.Size(590, 266);
            chart.TabIndex = 0;
            chart.Text     = chartName;
            title.Name     = titleName;
            title.Font     = new System.Drawing.Font("Trebuchet MS", titlefontsize);
            chart.Titles.Add(title);
        }
예제 #25
0
        //Função que renderiza os gráficos de pizza de acordo com as informações vindas do banco de dados
        protected internal void renderIncomeChart(System.Windows.Forms.DataVisualization.Charting.Chart chart, string query, DataRow accountDataRow)
        {
            chart.Palette             = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None;
            chart.PaletteCustomColors = Globals.myPalette;
            DataTable dataTable = Database.query(query);

            if (dataTable.Rows.Count > 0)
            {
                chart.Show();
                foreach (DataRow dataRow in dataTable.Rows)
                {
                    string category = accountDataRow.ItemArray[1].ToString().Trim();
                    if ((!string.IsNullOrEmpty(dataRow.ItemArray[0].ToString().Trim())) && ((Convert.ToInt32(dataRow.ItemArray[0])) != 0))
                    {
                        string graph = dataRow.ItemArray[0].ToString().Trim();
                        string sum   = String.Format("{0:C}", dataRow.ItemArray[0]);
                        string label = category + "\n" + sum;
                        chart.Series[0].Points.AddXY(label, graph);
                    }
                }
            }
            else
            {
                chart.Hide();
            }
        }
예제 #26
0
 /// <summary>
 /// Метод получает рыночные данные по инструменту
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void ClearSeriesMethod(System.Windows.Forms.DataVisualization.Charting.Chart chart)
 {
     for (int i = 3; chart.Series.Count > i;)
     {
         chart.Series.RemoveAt(i);
     }
 }
        public static void SaveGraph(System.Windows.Forms.DataVisualization.Charting.Chart ChartControl)
        {
            SaveFileDialog saveDialog = new SaveFileDialog();

            saveDialog.Filter      = "JPEG Image FIle (*.jpeg)|*.jpeg|PNG Image FIle (*.png)|*.png|GIF Image FIle (*.gif)|*.gif";
            saveDialog.FilterIndex = 1;

            if (saveDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                if (saveDialog.FilterIndex == 1)
                {
                    ChartControl.SaveImage(saveDialog.FileName, System.Windows.Forms.DataVisualization.Charting.ChartImageFormat.Jpeg);
                }

                if (saveDialog.FilterIndex == 2)
                {
                    ChartControl.SaveImage(saveDialog.FileName, System.Windows.Forms.DataVisualization.Charting.ChartImageFormat.Png);
                }

                if (saveDialog.FilterIndex == 3)
                {
                    ChartControl.SaveImage(saveDialog.FileName, System.Windows.Forms.DataVisualization.Charting.ChartImageFormat.Gif);
                }
            }
        }
예제 #28
0
        public static void ChartToPNG(System.Windows.Forms.DataVisualization.Charting.Chart chart)
        {
            string filename;

            SaveFileDialog saveDialog = new SaveFileDialog();

            saveDialog.Filter = "Portable Network Graphic (*.png)|*.png";
            try
            {
                saveDialog.InitialDirectory = Properties.Settings.Default.lastFolder;
            }
            catch
            {
                saveDialog.InitialDirectory = Environment.SpecialFolder.MyDocuments.ToString();
            }
            if (saveDialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            filename = saveDialog.FileName;
            try
            {
                chart.SaveImage(filename, System.Windows.Forms.DataVisualization.Charting.ChartImageFormat.Png);
            }
            catch (Exception e)
            {
                Log.Error("Could not save image file: " + e.ToString());
                MessageBox.Show("An error occoured while trying to export chart.");
            }
        }
예제 #29
0
        private static void AdjustChart(System.Windows.Forms.DataVisualization.Charting.Chart chart, Serie[] data, System.Windows.Forms.DataVisualization.Charting.SeriesChartType chartType)
        {
            chart.SuspendLayout();

            chart.Series.Clear();

            foreach (var item in chart.ChartAreas)
            {
                item.AxisX.IsStartedFromZero = false;
                item.AxisY.IsStartedFromZero = false;
            }

            foreach (var item in data)
            {
                var ns = chart.Series.Add(item.Name.ToString());
                ns.ChartType = chartType;

                foreach (var point in item.Points)
                {
                  if (point.Y is ENG.NR2003.Types.RaceGap)
                    ns.Points.AddXY(point.X, (point.Y as ENG.NR2003.Types.RaceGap).Time.TotalMiliseconds);
                  else
                    ns.Points.AddXY(point.X, point.Y);
                }
            }

            chart.ResumeLayout();
        }
예제 #30
0
        private void PrintChartToFile(List <Tuple <int, long> > executions)
        {
            var chart =
                new System.Windows.Forms.DataVisualization.Charting.Chart {
                Size = new System.Drawing.Size(640, 320)
            };

            chart.ChartAreas.Add("ChartArea");
            chart.Legends.Add("legend");

            chart.Series.Add("executions");
            chart.Series.Add("compare");
            chart.Series["executions"].LegendText = "Clock cycles";
            chart.Series["executions"].ChartType  = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
            chart.Series["compare"].ChartType     = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
            chart.Series["compare"].BorderWidth   = 3;
            chart.Series["compare"].LegendText    = "n^2 log(n)";
            foreach (var execution in executions)
            {
                chart.Series["executions"].Points.AddXY(execution.Item1, execution.Item2);
                chart.Series["compare"].Points.AddXY(execution.Item1, _compareFunction(execution.Item1));
            }

            chart.SaveImage(@"..\..\TestFiles\ExecutionTimeChart.png", System.Drawing.Imaging.ImageFormat.Png);
        }
예제 #31
0
        private void UserControl_Initialized(object sender, EventArgs e)
        {
            HRChartControl.SetChartDisplayMode(3);     //show all 3 leads
            ChartHost.Child = HRChartControl;

            chart1 = HRChartControl.HRChart;
            resetChart();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.SuspendLayout();
     //
     // chart1
     //
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.Name = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(12, 12);
     this.chart1.Name = "chart1";
     series1.BorderWidth = 2;
     series1.ChartArea = "ChartArea1";
     series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series1.Legend = "Legend1";
     series1.Name = "Series1";
     series2.BorderWidth = 2;
     series2.ChartArea = "ChartArea1";
     series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series2.Legend = "Legend1";
     series2.Name = "Series2";
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Size = new System.Drawing.Size(674, 418);
     this.chart1.TabIndex = 0;
     this.chart1.Text = "chart1";
     this.chart1.Visible = false;
     //
     // Graphics
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize = true;
     this.ClientSize = new System.Drawing.Size(696, 444);
     this.Controls.Add(this.chart1);
     this.Name = "Graphics";
     this.Text = "Graphics";
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #33
0
파일: MainForm.cs 프로젝트: boehla/TradeIt
        public MainForm()
        {
            df = new FastDebugForm();
            InitializeComponent();
            Logging.log("Application started...", LogPrior.Info);
            chartcont = chartControl;
            chartcont.ChartAreas[0].AxisX.LabelStyle.Format = "dd.MM HH:mm";
            chartcont.ChartAreas[0].AxisY.IsStartedFromZero = false;
            chartcont.ChartAreas[0].Name = "0";
            chartControl.Series.Clear();

            Settings.load();
            tbTraderDllFilename.Text = Settings.getString(SettKeys.TRADER_DLL_FILE);

            lHelpCompileDate.Text = RetrieveLinkerTimestamp().ToString(Lib.Const.DATE_TIME_FORMAT);
            lHelpVersion.Text = MAINVERSION;

            typeof(DataGridView).InvokeMember("DoubleBuffered", BindingFlags.NonPublic |BindingFlags.Instance | BindingFlags.SetProperty, null,dgvTradeHistory, new object[] { true });
        }
예제 #34
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 80);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 85);
     System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 65);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 60);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 75);
     System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 50);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 55);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 40);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 70);
     System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.ChartBackColor = new System.Windows.Forms.ComboBox();
     this.SkinStyle = new System.Windows.Forms.ComboBox();
     this.ChartForeColor = new System.Windows.Forms.ComboBox();
     this.HatchStyle = new System.Windows.Forms.ComboBox();
     this.Gradient = new System.Windows.Forms.ComboBox();
     this.BorderColor = new System.Windows.Forms.ComboBox();
     this.BorderDashStyle = new System.Windows.Forms.ComboBox();
     this.BorderSize = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.Chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // ChartBackColor
     //
     this.ChartBackColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ChartBackColor.Location = new System.Drawing.Point(168, 80);
     this.ChartBackColor.Name = "ChartBackColor";
     this.ChartBackColor.Size = new System.Drawing.Size(121, 22);
     this.ChartBackColor.TabIndex = 2;
     this.ChartBackColor.SelectedIndexChanged += new System.EventHandler(this.SkinItems_Changed);
     //
     // SkinStyle
     //
     this.SkinStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.SkinStyle.Location = new System.Drawing.Point(168, 8);
     this.SkinStyle.Name = "SkinStyle";
     this.SkinStyle.Size = new System.Drawing.Size(121, 22);
     this.SkinStyle.TabIndex = 0;
     this.SkinStyle.SelectedIndexChanged += new System.EventHandler(this.SkinStyle_SelectedIndexChanged);
     //
     // ChartForeColor
     //
     this.ChartForeColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ChartForeColor.Location = new System.Drawing.Point(168, 48);
     this.ChartForeColor.Name = "ChartForeColor";
     this.ChartForeColor.Size = new System.Drawing.Size(121, 22);
     this.ChartForeColor.TabIndex = 1;
     this.ChartForeColor.SelectedIndexChanged += new System.EventHandler(this.SkinItems_Changed);
     //
     // HatchStyle
     //
     this.HatchStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.HatchStyle.Location = new System.Drawing.Point(168, 144);
     this.HatchStyle.Name = "HatchStyle";
     this.HatchStyle.Size = new System.Drawing.Size(121, 22);
     this.HatchStyle.TabIndex = 4;
     this.HatchStyle.SelectedIndexChanged += new System.EventHandler(this.SkinItems_Changed);
     //
     // Gradient
     //
     this.Gradient.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.Gradient.Location = new System.Drawing.Point(168, 112);
     this.Gradient.Name = "Gradient";
     this.Gradient.Size = new System.Drawing.Size(121, 22);
     this.Gradient.TabIndex = 3;
     this.Gradient.SelectedIndexChanged += new System.EventHandler(this.SkinItems_Changed);
     //
     // BorderColor
     //
     this.BorderColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.BorderColor.Location = new System.Drawing.Point(168, 216);
     this.BorderColor.Name = "BorderColor";
     this.BorderColor.Size = new System.Drawing.Size(121, 22);
     this.BorderColor.TabIndex = 6;
     this.BorderColor.SelectedIndexChanged += new System.EventHandler(this.Border_Changed);
     //
     // BorderDashStyle
     //
     this.BorderDashStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.BorderDashStyle.Location = new System.Drawing.Point(168, 184);
     this.BorderDashStyle.Name = "BorderDashStyle";
     this.BorderDashStyle.Size = new System.Drawing.Size(121, 22);
     this.BorderDashStyle.TabIndex = 5;
     this.BorderDashStyle.SelectedIndexChanged += new System.EventHandler(this.Border_Changed);
     //
     // BorderSize
     //
     this.BorderSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.BorderSize.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5"});
     this.BorderSize.Location = new System.Drawing.Point(168, 248);
     this.BorderSize.Name = "BorderSize";
     this.BorderSize.Size = new System.Drawing.Size(121, 22);
     this.BorderSize.TabIndex = 7;
     this.BorderSize.SelectedIndexChanged += new System.EventHandler(this.Border_Changed);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(26, 11);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(136, 16);
     this.label1.TabIndex = 9;
     this.label1.Text = "&Skin Style:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(26, 51);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(136, 16);
     this.label2.TabIndex = 10;
     this.label2.Text = "&Fore Color:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(26, 83);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(136, 16);
     this.label3.TabIndex = 11;
     this.label3.Text = "&Back Color:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(26, 115);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(136, 16);
     this.label4.TabIndex = 12;
     this.label4.Text = "&Gradient:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(26, 147);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(136, 16);
     this.label5.TabIndex = 13;
     this.label5.Text = "&Hatch Style:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(26, 187);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(136, 16);
     this.label6.TabIndex = 14;
     this.label6.Text = "B&order Style:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(26, 219);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(136, 16);
     this.label7.TabIndex = 15;
     this.label7.Text = "Bo&rder Color:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(26, 251);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(136, 16);
     this.label8.TabIndex = 16;
     this.label8.Text = "Bor&der Size:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 14);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(702, 34);
     this.label9.TabIndex = 18;
     this.label9.Text = "This sample demonstrates how to�set the appearance properties of a chart\'s�border" +
         " skin.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.BorderDashStyle);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.Gradient);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.HatchStyle);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.SkinStyle);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.BorderSize);
     this.panel1.Controls.Add(this.ChartBackColor);
     this.panel1.Controls.Add(this.ChartForeColor);
     this.panel1.Controls.Add(this.BorderColor);
     this.panel1.Location = new System.Drawing.Point(432, 68);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 0;
     //
     // Chart1
     //
     this.Chart1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.Chart1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor = System.Drawing.Color.White;
     this.Chart1.BorderlineColor = System.Drawing.Color.Maroon;
     this.Chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderSkin.SkinStyle = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D = true;
     chartArea1.Area3DStyle.Inclination = 14;
     chartArea1.Area3DStyle.IsClustered = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective = 6;
     chartArea1.Area3DStyle.PointGapDepth = 0;
     chartArea1.Area3DStyle.Rotation = 17;
     chartArea1.Area3DStyle.WallWidth = 0;
     chartArea1.AxisX.Interval = 1;
     chartArea1.AxisX.IsLabelAutoFit = false;
     chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F);
     chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsLabelAutoFit = false;
     chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.Transparent;
     chartArea1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor = System.Drawing.Color.Transparent;
     legend1.Enabled = false;
     legend1.LegendStyle = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
     legend1.Name = "Default";
     legend1.Position.Auto = false;
     legend1.Position.Height = 5F;
     legend1.Position.Width = 40F;
     legend1.Position.X = 5F;
     legend1.Position.Y = 85F;
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 60);
     this.Chart1.Name = "Chart1";
     this.Chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Pastel;
     series1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea = "Default";
     series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
     series1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.CustomProperties = "DrawingStyle=Cylinder";
     series1.Legend = "Legend2";
     series1.Name = "Series2";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.ShadowColor = System.Drawing.Color.Transparent;
     series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series2.ChartArea = "Default";
     series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
     series2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(252)))), ((int)(((byte)(180)))), ((int)(((byte)(65)))));
     series2.CustomProperties = "DrawingStyle=Cylinder";
     series2.Legend = "Default";
     series2.Name = "Series3";
     series2.Points.Add(dataPoint5);
     series2.Points.Add(dataPoint6);
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series2.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series3.ChartArea = "Default";
     series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
     series3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(224)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series3.CustomProperties = "DrawingStyle=Cylinder";
     series3.Legend = "Default";
     series3.Name = "Series4";
     series3.Points.Add(dataPoint9);
     series3.Points.Add(dataPoint10);
     series3.Points.Add(dataPoint11);
     series3.Points.Add(dataPoint12);
     series3.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series3.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Series.Add(series3);
     this.Chart1.Size = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     title1.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name = "Title1";
     title1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset = 3;
     title1.Text = "Chart Control for .NET Framework";
     this.Chart1.Titles.Add(title1);
     //
     // Borders
     //
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "Borders";
     this.Size = new System.Drawing.Size(728, 480);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #35
0
        /// Main Code.
        static void Main(string[] args)
        {
            ///Defining variables
            double[] UnderlyingPrice;
            double[] CallPrice;
            Random r = new Random(); ///this is the Class used to generate random variables
            Discretization disc = new Discretization(); ///class that was coded above used to call the Euler function later in the code
            System.Windows.Forms.DataVisualization.Charting.Chart chart = new System.Windows.Forms.DataVisualization.Charting.Chart(); ///class to set up Plot of underlying price
            chart.ChartAreas.Add("ChartArea1"); ///set up the initial plot
            
            ///The following lines ask the user for the inputs needed to price the option and run the simulation
            ///Additionally, the inputs provided by the user are assigned the appropriate variables.
            Console.WriteLine("Please Enter The Initial Asset Price:");
            double X0 = Convert.ToDouble(Console.ReadLine());

            Console.WriteLine("Please Enter The Strike Price of the Option:");
            double K = Convert.ToDouble(Console.ReadLine());

            Console.WriteLine("Please Enter The Time To Expiration:");
            double T = Convert.ToDouble(Console.ReadLine());

            Console.WriteLine("Please Enter mu:");
            double mu = Convert.ToDouble(Console.ReadLine());

            Console.WriteLine("Please Enter sigma:");
            double sigma = Convert.ToDouble(Console.ReadLine());

           /// Console.WriteLine("Please enter The Number of Simulations to Run:");
            ///int N = Convert.ToInt32(Console.ReadLine());
            int N = 5000; ///Number of simulations
            
            int m = 200; ///Number of increments between t = 0 and t = T
            double delta = T / m; ///size of the increment
                                  
            CallPrice = new double[N]; ///now allocating the size of array based on the number of simulations
            UnderlyingPrice = new double[m + 1]; //now allocating the size of the array based on the number of increments
            
            double U1; ///Represents uniform random variable between 0 and 1
            double U2; ///Also represents uniform random variable between 0 and 1
            double Z; ///Will represent the Normal Random Variable with mean 0 and variance 1
            
            double sum1 = 0; //variable used to keep track of the sum in order to find the average of all the Call Prices for each of the simulations
            double sum2 = 0; //variable used to keep track of the sum in order to ultimately find the Standard Error of the simulation

            double OptionPrice; //Final European Call Option Price calculated
            double StandardError; //Standard error of the simulation


            for (int i = 0; i < N; i++) ///Each run through this loop represents 1 simulation
            {
                ///Set up a new series that will be plotted on the graph
                chart.Series.Add(Convert.ToString(i)); 
                ///Set chart type to Line graph
                chart.Series[Convert.ToString(i)].ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;

                ///Initialize the Underlying Price array based on the input given by the user
                UnderlyingPrice[0] = X0;

                ///Plot this initial t = 0 and Underlying price on the graph
                chart.Series[Convert.ToString(i)].Points.AddXY(0, UnderlyingPrice[0]);

                for (int j = 0; j < m; j++) ///Each run through this loop represents the next increment closer to t = T
                {

                    ///Because the Random() Class only allows the creation of uniform random variables between 0 and 1,
                    ///a transform must be done to create a normal random variable with mean 0 and variance 1.
                    ///The transform that was done is called the Box-Muller Transform
                    
                    U1 = r.NextDouble(); ///Get first uniform random variable
                    U2 = r.NextDouble(); ///Get second uniform random variable
                    Z = Math.Sqrt(-2 * Math.Log(U1)) * Math.Cos(2 * Math.PI * U2); ///Box-Muller Transform to generate Z ~ N(0,1)
                    

                    UnderlyingPrice[j + 1] = disc.Euler(UnderlyingPrice[j], mu, sigma, delta, Z); ///Generate the next X value based on the Euler Discretization

                    chart.Series[Convert.ToString(i)].Points.AddXY(delta*(j + 1), UnderlyingPrice[j + 1]); ///Plot the t value as well as X(t) value onto the graph for series i
                    

                }

                CallPrice[i] = Math.Max(0, UnderlyingPrice[m] - K); ///Value of the call option.

            }


            ///Find the sum of all the Call Prices that were simulated (used for the average)
            for (int a = 0; a < N; a++ )
            {
                sum1 = sum1 + CallPrice[a];

            }

            //Calculate the average which represents the option price
            OptionPrice = sum1 / N;

            ///Same procedure, but to calculate the Standard Error
            for (int b = 0; b < N; b++)
            {
                sum2 = sum2 + Math.Pow((CallPrice[b] - OptionPrice), 2);
            }

            ///SE = s / sqrt(N), where s is the sample standard deviation
            StandardError = Math.Sqrt(sum2 / (N - 1)) / Math.Sqrt(N);

            ///Print out the required output: Price of the European Call Option and the Standard Error of the simulation
            Console.WriteLine("The Price of the Option is: " + OptionPrice);
            Console.WriteLine("The Standard Error of the Simulation is: " + StandardError);

            ///Save the graph of the Asset Prices for each simulation in a png file that is saved in the same folder as the location of the .exe
            chart.SaveImage("StockPath.png", System.Drawing.Imaging.ImageFormat.Png);

            ///The console won't close until the user hits any key another time
            Console.ReadKey();
        }
예제 #36
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.Start_BTN = new System.Windows.Forms.Button();
     this.CalculatedData_LBL = new System.Windows.Forms.Label();
     this.CalculatedPrediction_LBL = new System.Windows.Forms.Label();
     this.KalmanCorrection_LBL = new System.Windows.Forms.Label();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.Start_BTN2 = new System.Windows.Forms.Button();
     this.timmer_UPDN = new System.Windows.Forms.NumericUpDown();
     this.label1 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.timmer_UPDN)).BeginInit();
     this.SuspendLayout();
     //
     // Start_BTN
     //
     this.Start_BTN.Location = new System.Drawing.Point(12, 9);
     this.Start_BTN.Name = "Start_BTN";
     this.Start_BTN.Size = new System.Drawing.Size(97, 30);
     this.Start_BTN.TabIndex = 2;
     this.Start_BTN.Text = "Start Sine Wave";
     this.Start_BTN.UseVisualStyleBackColor = true;
     this.Start_BTN.Click += new System.EventHandler(this.Start_BTN_Click);
     //
     // CalculatedData_LBL
     //
     this.CalculatedData_LBL.AutoSize = true;
     this.CalculatedData_LBL.Location = new System.Drawing.Point(241, 9);
     this.CalculatedData_LBL.Name = "CalculatedData_LBL";
     this.CalculatedData_LBL.Size = new System.Drawing.Size(86, 13);
     this.CalculatedData_LBL.TabIndex = 3;
     this.CalculatedData_LBL.Text = "Calculated Data:";
     //
     // CalculatedPrediction_LBL
     //
     this.CalculatedPrediction_LBL.AutoSize = true;
     this.CalculatedPrediction_LBL.Location = new System.Drawing.Point(241, 41);
     this.CalculatedPrediction_LBL.Name = "CalculatedPrediction_LBL";
     this.CalculatedPrediction_LBL.Size = new System.Drawing.Size(110, 13);
     this.CalculatedPrediction_LBL.TabIndex = 4;
     this.CalculatedPrediction_LBL.Text = "Calculated Prediction:";
     //
     // KalmanCorrection_LBL
     //
     this.KalmanCorrection_LBL.AutoSize = true;
     this.KalmanCorrection_LBL.Location = new System.Drawing.Point(444, 9);
     this.KalmanCorrection_LBL.Name = "KalmanCorrection_LBL";
     this.KalmanCorrection_LBL.Size = new System.Drawing.Size(96, 13);
     this.KalmanCorrection_LBL.TabIndex = 5;
     this.KalmanCorrection_LBL.Text = "Kalman Correction:";
     //
     // chart1
     //
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.Name = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(12, 67);
     this.chart1.Name = "chart1";
     series1.ChartArea = "ChartArea1";
     series1.Legend = "Legend1";
     series1.Name = "The Data";
     series2.ChartArea = "ChartArea1";
     series2.Legend = "Legend1";
     series2.Name = "Kalman Prediction";
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Size = new System.Drawing.Size(701, 393);
     this.chart1.TabIndex = 6;
     this.chart1.Text = "chart1";
     //
     // Start_BTN2
     //
     this.Start_BTN2.Location = new System.Drawing.Point(115, 9);
     this.Start_BTN2.Name = "Start_BTN2";
     this.Start_BTN2.Size = new System.Drawing.Size(97, 30);
     this.Start_BTN2.TabIndex = 7;
     this.Start_BTN2.Text = "Start Random";
     this.Start_BTN2.UseVisualStyleBackColor = true;
     this.Start_BTN2.Click += new System.EventHandler(this.Start_BTN2_Click);
     //
     // timmer_UPDN
     //
     this.timmer_UPDN.Location = new System.Drawing.Point(115, 41);
     this.timmer_UPDN.Maximum = new decimal(new int[] {
     5000,
     0,
     0,
     0});
     this.timmer_UPDN.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.timmer_UPDN.Name = "timmer_UPDN";
     this.timmer_UPDN.Size = new System.Drawing.Size(97, 20);
     this.timmer_UPDN.TabIndex = 8;
     this.timmer_UPDN.Value = new decimal(new int[] {
     100,
     0,
     0,
     0});
     this.timmer_UPDN.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(67, 43);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(42, 13);
     this.label1.TabIndex = 9;
     this.label1.Text = "Interval";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(725, 472);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.timmer_UPDN);
     this.Controls.Add(this.Start_BTN2);
     this.Controls.Add(this.chart1);
     this.Controls.Add(this.KalmanCorrection_LBL);
     this.Controls.Add(this.CalculatedPrediction_LBL);
     this.Controls.Add(this.CalculatedData_LBL);
     this.Controls.Add(this.Start_BTN);
     this.Name = "Form1";
     this.Text = "Cosneta KF2";
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.timmer_UPDN)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #37
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserSummary));
     //this.chart2 = new AEIS.chart();
     this.lblHeader = new System.Windows.Forms.Label();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.gridUsers = new System.Windows.Forms.DataGridView();
     this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox();
     this.lblNoteChart = new System.Windows.Forms.Label();
     this.breezeExtendedTheme1 = new Telerik.WinControls.Themes.BreezeExtendedTheme();
     this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox();
     this.label1 = new System.Windows.Forms.Label();
     //((System.ComponentModel.ISupportInitialize)(this.chart2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridUsers)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit();
     this.radGroupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // chart2
     //
     //this.chart2.DataSetName = "chart";
     //this.chart2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // lblHeader
     //
     this.lblHeader.AutoSize = true;
     this.lblHeader.Font = new System.Drawing.Font("Trebuchet MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblHeader.ForeColor = System.Drawing.Color.Orange;
     this.lblHeader.Location = new System.Drawing.Point(8, 4);
     this.lblHeader.Name = "lblHeader";
     this.lblHeader.Size = new System.Drawing.Size(168, 22);
     this.lblHeader.TabIndex = 1;
     this.lblHeader.Text = "Login Tracker  ver 1.0";
     //
     // chart1
     //
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.Name = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(11, 71);
     this.chart1.Name = "chart1";
     this.chart1.Size = new System.Drawing.Size(770, 176);
     this.chart1.TabIndex = 2;
     this.chart1.Text = "chart1";
     //
     // gridUsers
     //
     this.gridUsers.AllowUserToAddRows = false;
     this.gridUsers.AllowUserToDeleteRows = false;
     this.gridUsers.AllowUserToResizeRows = false;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.ControlLight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.gridUsers.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.gridUsers.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
     this.gridUsers.BackgroundColor = System.Drawing.Color.White;
     this.gridUsers.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.gridUsers.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SunkenHorizontal;
     this.gridUsers.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.ButtonHighlight;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.ControlLight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.gridUsers.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.gridUsers.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.ControlLight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.gridUsers.DefaultCellStyle = dataGridViewCellStyle3;
     this.gridUsers.GridColor = System.Drawing.SystemColors.ButtonHighlight;
     this.gridUsers.Location = new System.Drawing.Point(14, 54);
     this.gridUsers.Name = "gridUsers";
     this.gridUsers.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
     dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.ControlLight;
     dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.gridUsers.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
     this.gridUsers.RowHeadersVisible = false;
     this.gridUsers.RowHeadersWidth = 20;
     dataGridViewCellStyle5.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.ControlLight;
     dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.gridUsers.RowsDefaultCellStyle = dataGridViewCellStyle5;
     this.gridUsers.RowTemplate.Height = 24;
     this.gridUsers.Size = new System.Drawing.Size(766, 196);
     this.gridUsers.TabIndex = 3;
     this.gridUsers.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
     //
     // radGroupBox1
     //
     this.radGroupBox1.Controls.Add(this.lblNoteChart);
     this.radGroupBox1.Controls.Add(this.chart1);
     this.radGroupBox1.FooterImageIndex = -1;
     this.radGroupBox1.FooterImageKey = "";
     this.radGroupBox1.HeaderImageIndex = -1;
     this.radGroupBox1.HeaderImageKey = "";
     this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0);
     this.radGroupBox1.HeaderText = "User Login Histogram";
     this.radGroupBox1.Location = new System.Drawing.Point(8, 29);
     this.radGroupBox1.Name = "radGroupBox1";
     this.radGroupBox1.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10);
     //
     //
     //
     this.radGroupBox1.RootElement.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10);
     this.radGroupBox1.Size = new System.Drawing.Size(792, 256);
     this.radGroupBox1.TabIndex = 4;
     this.radGroupBox1.Text = "User Login Histogram";
     this.radGroupBox1.ThemeName = "BreezeExtended";
     //
     // lblNoteChart
     //
     this.lblNoteChart.AutoSize = true;
     this.lblNoteChart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.lblNoteChart.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNoteChart.ForeColor = System.Drawing.SystemColors.InfoText;
     this.lblNoteChart.Location = new System.Drawing.Point(11, 19);
     this.lblNoteChart.Name = "lblNoteChart";
     this.lblNoteChart.Size = new System.Drawing.Size(778, 48);
     this.lblNoteChart.TabIndex = 3;
     this.lblNoteChart.Text = resources.GetString("lblNoteChart.Text");
     //
     // radGroupBox2
     //
     this.radGroupBox2.Controls.Add(this.label1);
     this.radGroupBox2.Controls.Add(this.gridUsers);
     this.radGroupBox2.FooterImageIndex = -1;
     this.radGroupBox2.FooterImageKey = "";
     this.radGroupBox2.HeaderImageIndex = -1;
     this.radGroupBox2.HeaderImageKey = "";
     this.radGroupBox2.HeaderMargin = new System.Windows.Forms.Padding(0);
     this.radGroupBox2.HeaderText = "User Details";
     this.radGroupBox2.Location = new System.Drawing.Point(8, 292);
     this.radGroupBox2.Name = "radGroupBox2";
     this.radGroupBox2.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10);
     //
     //
     //
     this.radGroupBox2.RootElement.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10);
     this.radGroupBox2.Size = new System.Drawing.Size(792, 263);
     this.radGroupBox2.TabIndex = 5;
     this.radGroupBox2.Text = "User Details";
     this.radGroupBox2.ThemeName = "BreezeExtended";
     this.radGroupBox2.Click += new System.EventHandler(this.radGroupBox2_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.label1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.SystemColors.InfoText;
     this.label1.Location = new System.Drawing.Point(11, 19);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(657, 32);
     this.label1.TabIndex = 3;
     this.label1.Text = "Note : \r\nThe interaction of each user is handled through this section. Mainly the" +
         " administrators can use this section to refer user details. \r\n";
     //
     // UserSummary
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.radGroupBox2);
     this.Controls.Add(this.radGroupBox1);
     this.Controls.Add(this.lblHeader);
     this.Name = "UserSummary";
     this.Size = new System.Drawing.Size(807, 558);
     this.Load += new System.EventHandler(this.UserSummary_Load);
     //((System.ComponentModel.ISupportInitialize)(this.chart2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridUsers)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit();
     this.radGroupBox2.ResumeLayout(false);
     this.radGroupBox2.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend3 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.panel1 = new System.Windows.Forms.Panel();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.txt_log = new System.Windows.Forms.TextBox();
     this.lbl_ip = new System.Windows.Forms.Label();
     this.lbl_log = new System.Windows.Forms.Label();
     this.btn_suspend = new System.Windows.Forms.Button();
     this.btn_resume = new System.Windows.Forms.Button();
     this.btn_exit = new System.Windows.Forms.Button();
     this.panel7 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     this.label15 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel7.SuspendLayout();
     this.panel6.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel1.Controls.Add(this.chart1);
     this.panel1.Location = new System.Drawing.Point(275, 139);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1016, 426);
     this.panel1.TabIndex = 0;
     //
     // chart1
     //
     chartArea3.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea3);
     legend3.Name = "Legend1";
     this.chart1.Legends.Add(legend3);
     this.chart1.Location = new System.Drawing.Point(3, 3);
     this.chart1.Name = "chart1";
     series3.BorderColor = System.Drawing.Color.Gray;
     series3.ChartArea = "ChartArea1";
     series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series3.Color = System.Drawing.Color.Red;
     series3.Legend = "Legend1";
     series3.Name = "Series1";
     series3.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Time;
     this.chart1.Series.Add(series3);
     this.chart1.Size = new System.Drawing.Size(1057, 416);
     this.chart1.TabIndex = 0;
     this.chart1.Text = "chart1";
     //
     // txt_log
     //
     this.txt_log.Location = new System.Drawing.Point(12, 139);
     this.txt_log.Multiline = true;
     this.txt_log.Name = "txt_log";
     this.txt_log.ReadOnly = true;
     this.txt_log.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.txt_log.Size = new System.Drawing.Size(257, 426);
     this.txt_log.TabIndex = 1;
     //
     // lbl_ip
     //
     this.lbl_ip.AutoSize = true;
     this.lbl_ip.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
     this.lbl_ip.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lbl_ip.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbl_ip.Location = new System.Drawing.Point(12, 16);
     this.lbl_ip.Name = "lbl_ip";
     this.lbl_ip.Size = new System.Drawing.Size(22, 19);
     this.lbl_ip.TabIndex = 21;
     this.lbl_ip.Text = "IP";
     //
     // lbl_log
     //
     this.lbl_log.AutoSize = true;
     this.lbl_log.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lbl_log.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.lbl_log.Location = new System.Drawing.Point(12, 121);
     this.lbl_log.Name = "lbl_log";
     this.lbl_log.Size = new System.Drawing.Size(27, 15);
     this.lbl_log.TabIndex = 22;
     this.lbl_log.Text = "Log";
     //
     // btn_suspend
     //
     this.btn_suspend.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btn_suspend.Location = new System.Drawing.Point(194, 13);
     this.btn_suspend.Name = "btn_suspend";
     this.btn_suspend.Size = new System.Drawing.Size(75, 23);
     this.btn_suspend.TabIndex = 23;
     this.btn_suspend.Text = "Suspend";
     this.btn_suspend.UseVisualStyleBackColor = true;
     this.btn_suspend.Click += new System.EventHandler(this.btn_suspend_Click);
     //
     // btn_resume
     //
     this.btn_resume.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btn_resume.Location = new System.Drawing.Point(275, 13);
     this.btn_resume.Name = "btn_resume";
     this.btn_resume.Size = new System.Drawing.Size(75, 23);
     this.btn_resume.TabIndex = 24;
     this.btn_resume.Text = "Resume";
     this.btn_resume.UseVisualStyleBackColor = true;
     this.btn_resume.Click += new System.EventHandler(this.btn_resume_Click);
     //
     // btn_exit
     //
     this.btn_exit.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btn_exit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.btn_exit.Location = new System.Drawing.Point(356, 13);
     this.btn_exit.Name = "btn_exit";
     this.btn_exit.Size = new System.Drawing.Size(75, 23);
     this.btn_exit.TabIndex = 25;
     this.btn_exit.Text = "Exit";
     this.btn_exit.UseVisualStyleBackColor = true;
     this.btn_exit.Click += new System.EventHandler(this.btn_exit_Click);
     //
     // panel7
     //
     this.panel7.BackColor = System.Drawing.SystemColors.Control;
     this.panel7.Controls.Add(this.panel6);
     this.panel7.Location = new System.Drawing.Point(1, 653);
     this.panel7.Name = "panel7";
     this.panel7.Size = new System.Drawing.Size(1230, 49);
     this.panel7.TabIndex = 35;
     //
     // panel6
     //
     this.panel6.BackColor = System.Drawing.Color.White;
     this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel6.Controls.Add(this.label15);
     this.panel6.Controls.Add(this.label2);
     this.panel6.Location = new System.Drawing.Point(10, 13);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(119, 26);
     this.panel6.TabIndex = 7;
     //
     // label15
     //
     this.label15.BackColor = System.Drawing.Color.Red;
     this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.ForeColor = System.Drawing.Color.White;
     this.label15.Location = new System.Drawing.Point(38, 1);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(75, 19);
     this.label15.TabIndex = 31;
     this.label15.Text = "INSIGHT";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Red;
     this.label2.Location = new System.Drawing.Point(3, 1);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(38, 18);
     this.label2.TabIndex = 30;
     this.label2.Text = " Net";
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.label3.Font = new System.Drawing.Font("Garamond", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.White;
     this.label3.Location = new System.Drawing.Point(1042, 644);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(180, 49);
     this.label3.TabIndex = 41;
     this.label3.Text = "Developed by: \r\n      Ravjot Singh\r\n      ([email protected])";
     //
     // Form4
     //
     this.AcceptButton = this.btn_suspend;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.Control;
     this.ClientSize = new System.Drawing.Size(1233, 703);
     this.ControlBox = false;
     this.Controls.Add(this.label3);
     this.Controls.Add(this.panel7);
     this.Controls.Add(this.btn_exit);
     this.Controls.Add(this.btn_resume);
     this.Controls.Add(this.btn_suspend);
     this.Controls.Add(this.lbl_log);
     this.Controls.Add(this.lbl_ip);
     this.Controls.Add(this.txt_log);
     this.Controls.Add(this.panel1);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MinimizeBox = false;
     this.Name = "Form4";
     this.ShowIcon = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds;
     this.Text = "SNMP";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.Form4_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel7.ResumeLayout(false);
     this.panel6.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #39
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.cmbField = new System.Windows.Forms.ComboBox();
     this.comboBoxLayers = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.btuCount = new System.Windows.Forms.Button();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label5 = new System.Windows.Forms.Label();
     this.dtgCount = new System.Windows.Forms.DataGridView();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtgCount)).BeginInit();
     this.SuspendLayout();
     //
     // cmbField
     //
     this.cmbField.FormattingEnabled = true;
     this.cmbField.Location = new System.Drawing.Point(295, 21);
     this.cmbField.Name = "cmbField";
     this.cmbField.Size = new System.Drawing.Size(121, 20);
     this.cmbField.TabIndex = 1;
     //
     // comboBoxLayers
     //
     this.comboBoxLayers.FormattingEnabled = true;
     this.comboBoxLayers.Location = new System.Drawing.Point(73, 20);
     this.comboBoxLayers.Name = "comboBoxLayers";
     this.comboBoxLayers.Size = new System.Drawing.Size(121, 20);
     this.comboBoxLayers.TabIndex = 0;
     this.comboBoxLayers.SelectedIndexChanged += new System.EventHandler(this.comboBoxLayers_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(9, 25);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(65, 12);
     this.label1.TabIndex = 4;
     this.label1.Text = "图层名称:";
     //
     // btuCount
     //
     this.btuCount.Location = new System.Drawing.Point(422, 19);
     this.btuCount.Name = "btuCount";
     this.btuCount.Size = new System.Drawing.Size(66, 23);
     this.btuCount.TabIndex = 1;
     this.btuCount.Text = "统 计";
     this.btuCount.UseVisualStyleBackColor = true;
     this.btuCount.Click += new System.EventHandler(this.btuCount_Click);
     //
     // chart1
     //
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.Location = new System.Drawing.Point(208, 85);
     this.chart1.Name = "chart1";
     series1.ChartArea = "ChartArea1";
     series1.Name = "Series1";
     this.chart1.Series.Add(series1);
     this.chart1.Size = new System.Drawing.Size(294, 236);
     this.chart1.TabIndex = 5;
     this.chart1.Text = "chart1";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.btuCount);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.comboBoxLayers);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.cmbField);
     this.groupBox2.Location = new System.Drawing.Point(8, 8);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(494, 61);
     this.groupBox2.TabIndex = 6;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "统计参数";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(224, 23);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(65, 12);
     this.label5.TabIndex = 5;
     this.label5.Text = "分类字段:";
     //
     // dtgCount
     //
     this.dtgCount.AllowUserToAddRows = false;
     this.dtgCount.AllowUserToDeleteRows = false;
     this.dtgCount.AllowUserToOrderColumns = true;
     this.dtgCount.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
     this.dtgCount.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dtgCount.Location = new System.Drawing.Point(19, 85);
     this.dtgCount.Name = "dtgCount";
     this.dtgCount.ReadOnly = true;
     this.dtgCount.RowTemplate.Height = 23;
     this.dtgCount.Size = new System.Drawing.Size(183, 236);
     this.dtgCount.TabIndex = 4;
     //
     // frmStatistic
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(521, 335);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.chart1);
     this.Controls.Add(this.dtgCount);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmStatistic";
     this.Padding = new System.Windows.Forms.Padding(5);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "结果统计";
     this.Load += new System.EventHandler(this.FrmCount_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtgCount)).EndInit();
     this.ResumeLayout(false);
 }
예제 #40
0
        private void InitChart()
        {
            ChartHost.Child = myChartControl;
            chart1 = myChartControl.chartDesign;
            chart1.Height = CHART_INIT_HEIGHT;
            chart1.Width = CHART_INIT_WIDTH;

            ResetAllCharts();
        }
예제 #41
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     this.gbSet = new System.Windows.Forms.GroupBox();
     this.cmbParity = new System.Windows.Forms.ComboBox();
     this.label5 = new System.Windows.Forms.Label();
     this.cmbStopBit = new System.Windows.Forms.ComboBox();
     this.label4 = new System.Windows.Forms.Label();
     this.cmbDataBit = new System.Windows.Forms.ComboBox();
     this.label3 = new System.Windows.Forms.Label();
     this.cmbBaundrate = new System.Windows.Forms.ComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.cmbPort = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.btnConnect = new System.Windows.Forms.Button();
     this.tp蓝牙原始数据 = new System.Windows.Forms.TabPage();
     this.gbReceive = new System.Windows.Forms.GroupBox();
     this.gbSend = new System.Windows.Forms.GroupBox();
     this.cmbOrder = new System.Windows.Forms.ComboBox();
     this.label6 = new System.Windows.Forms.Label();
     this.btnSend = new System.Windows.Forms.Button();
     this.txtSend = new System.Windows.Forms.TextBox();
     this.txtReceive = new System.Windows.Forms.TextBox();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.dgvFineTrajectory = new System.Windows.Forms.DataGridView();
     this.gbSet3 = new System.Windows.Forms.GroupBox();
     this.cmbEncoding = new System.Windows.Forms.ComboBox();
     this.label7 = new System.Windows.Forms.Label();
     this.chkHEXShow = new System.Windows.Forms.CheckBox();
     this.chkHEXSend = new System.Windows.Forms.CheckBox();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnSendReceive = new System.Windows.Forms.Button();
     this.btnClearSend = new System.Windows.Forms.Button();
     this.btnRefreshPort = new System.Windows.Forms.Button();
     this.tpBLE数据 = new System.Windows.Forms.TabPage();
     this.btn滤波保存 = new System.Windows.Forms.Button();
     this.btn保存 = new System.Windows.Forms.Button();
     this.btn原始数据解析 = new System.Windows.Forms.Button();
     this.btn滤波解析 = new System.Windows.Forms.Button();
     this.txtBleText = new System.Windows.Forms.RichTextBox();
     this.btnBle解析 = new System.Windows.Forms.Button();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tb心电图 = new System.Windows.Forms.TabPage();
     this.ChartHeart = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.chkFilter = new System.Windows.Forms.CheckBox();
     this.label8 = new System.Windows.Forms.Label();
     this.lblRate = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.rbFeedPaper = new System.Windows.Forms.RadioButton();
     this.rbRedraw = new System.Windows.Forms.RadioButton();
     this.gbSet.SuspendLayout();
     this.tp蓝牙原始数据.SuspendLayout();
     this.gbReceive.SuspendLayout();
     this.gbSend.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvFineTrajectory)).BeginInit();
     this.gbSet3.SuspendLayout();
     this.tpBLE数据.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tb心电图.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ChartHeart)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // gbSet
     //
     this.gbSet.Controls.Add(this.cmbParity);
     this.gbSet.Controls.Add(this.label5);
     this.gbSet.Controls.Add(this.cmbStopBit);
     this.gbSet.Controls.Add(this.label4);
     this.gbSet.Controls.Add(this.cmbDataBit);
     this.gbSet.Controls.Add(this.label3);
     this.gbSet.Controls.Add(this.cmbBaundrate);
     this.gbSet.Controls.Add(this.label2);
     this.gbSet.Controls.Add(this.cmbPort);
     this.gbSet.Controls.Add(this.label1);
     this.gbSet.Location = new System.Drawing.Point(12, 12);
     this.gbSet.Name = "gbSet";
     this.gbSet.Size = new System.Drawing.Size(157, 156);
     this.gbSet.TabIndex = 1;
     this.gbSet.TabStop = false;
     this.gbSet.Text = "串口配置";
     //
     // cmbParity
     //
     this.cmbParity.FormattingEnabled = true;
     this.cmbParity.Location = new System.Drawing.Point(71, 127);
     this.cmbParity.Name = "cmbParity";
     this.cmbParity.Size = new System.Drawing.Size(80, 20);
     this.cmbParity.TabIndex = 9;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(24, 131);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(41, 12);
     this.label5.TabIndex = 8;
     this.label5.Text = "校验:";
     //
     // cmbStopBit
     //
     this.cmbStopBit.FormattingEnabled = true;
     this.cmbStopBit.Location = new System.Drawing.Point(71, 101);
     this.cmbStopBit.Name = "cmbStopBit";
     this.cmbStopBit.Size = new System.Drawing.Size(80, 20);
     this.cmbStopBit.TabIndex = 7;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(12, 105);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(53, 12);
     this.label4.TabIndex = 6;
     this.label4.Text = "停止位:";
     //
     // cmbDataBit
     //
     this.cmbDataBit.FormattingEnabled = true;
     this.cmbDataBit.Location = new System.Drawing.Point(71, 75);
     this.cmbDataBit.Name = "cmbDataBit";
     this.cmbDataBit.Size = new System.Drawing.Size(80, 20);
     this.cmbDataBit.TabIndex = 5;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(12, 79);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(53, 12);
     this.label3.TabIndex = 4;
     this.label3.Text = "数据位:";
     //
     // cmbBaundrate
     //
     this.cmbBaundrate.FormattingEnabled = true;
     this.cmbBaundrate.Location = new System.Drawing.Point(71, 49);
     this.cmbBaundrate.Name = "cmbBaundrate";
     this.cmbBaundrate.Size = new System.Drawing.Size(80, 20);
     this.cmbBaundrate.TabIndex = 3;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(12, 53);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(53, 12);
     this.label2.TabIndex = 2;
     this.label2.Text = "波特率:";
     //
     // cmbPort
     //
     this.cmbPort.FormattingEnabled = true;
     this.cmbPort.Location = new System.Drawing.Point(71, 23);
     this.cmbPort.Name = "cmbPort";
     this.cmbPort.Size = new System.Drawing.Size(80, 20);
     this.cmbPort.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(24, 27);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(41, 12);
     this.label1.TabIndex = 0;
     this.label1.Text = "端口:";
     //
     // btnConnect
     //
     this.btnConnect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnConnect.Location = new System.Drawing.Point(12, 268);
     this.btnConnect.Name = "btnConnect";
     this.btnConnect.Size = new System.Drawing.Size(157, 29);
     this.btnConnect.TabIndex = 4;
     this.btnConnect.Text = "打开串口";
     this.btnConnect.UseVisualStyleBackColor = true;
     this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
     //
     // tp蓝牙原始数据
     //
     this.tp蓝牙原始数据.Controls.Add(this.gbReceive);
     this.tp蓝牙原始数据.Location = new System.Drawing.Point(4, 22);
     this.tp蓝牙原始数据.Name = "tp蓝牙原始数据";
     this.tp蓝牙原始数据.Padding = new System.Windows.Forms.Padding(3);
     this.tp蓝牙原始数据.Size = new System.Drawing.Size(825, 639);
     this.tp蓝牙原始数据.TabIndex = 0;
     this.tp蓝牙原始数据.Text = "蓝牙原始数据";
     this.tp蓝牙原始数据.UseVisualStyleBackColor = true;
     //
     // gbReceive
     //
     this.gbReceive.Controls.Add(this.gbSend);
     this.gbReceive.Controls.Add(this.txtReceive);
     this.gbReceive.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gbReceive.Location = new System.Drawing.Point(3, 3);
     this.gbReceive.Name = "gbReceive";
     this.gbReceive.Size = new System.Drawing.Size(819, 633);
     this.gbReceive.TabIndex = 5;
     this.gbReceive.TabStop = false;
     this.gbReceive.Text = "接收区:已接收0字节";
     //
     // gbSend
     //
     this.gbSend.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gbSend.Controls.Add(this.cmbOrder);
     this.gbSend.Controls.Add(this.label6);
     this.gbSend.Controls.Add(this.btnSend);
     this.gbSend.Controls.Add(this.txtSend);
     this.gbSend.Location = new System.Drawing.Point(3, 487);
     this.gbSend.Name = "gbSend";
     this.gbSend.Size = new System.Drawing.Size(810, 140);
     this.gbSend.TabIndex = 7;
     this.gbSend.TabStop = false;
     this.gbSend.Text = "发送区:已发送0字节";
     //
     // cmbOrder
     //
     this.cmbOrder.FormattingEnabled = true;
     this.cmbOrder.Location = new System.Drawing.Point(55, 108);
     this.cmbOrder.Name = "cmbOrder";
     this.cmbOrder.Size = new System.Drawing.Size(186, 20);
     this.cmbOrder.TabIndex = 10;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(8, 111);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(41, 12);
     this.label6.TabIndex = 9;
     this.label6.Text = "指令:";
     //
     // btnSend
     //
     this.btnSend.Location = new System.Drawing.Point(247, 103);
     this.btnSend.Name = "btnSend";
     this.btnSend.Size = new System.Drawing.Size(87, 29);
     this.btnSend.TabIndex = 1;
     this.btnSend.Text = "发送";
     this.btnSend.UseVisualStyleBackColor = true;
     this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
     //
     // txtSend
     //
     this.txtSend.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSend.BackColor = System.Drawing.Color.White;
     this.txtSend.Location = new System.Drawing.Point(0, 20);
     this.txtSend.Multiline = true;
     this.txtSend.Name = "txtSend";
     this.txtSend.Size = new System.Drawing.Size(797, 77);
     this.txtSend.TabIndex = 0;
     //
     // txtReceive
     //
     this.txtReceive.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtReceive.BackColor = System.Drawing.Color.White;
     this.txtReceive.Location = new System.Drawing.Point(3, 17);
     this.txtReceive.Multiline = true;
     this.txtReceive.Name = "txtReceive";
     this.txtReceive.ReadOnly = true;
     this.txtReceive.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.txtReceive.Size = new System.Drawing.Size(808, 464);
     this.txtReceive.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.dgvFineTrajectory);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(825, 639);
     this.tabPage1.TabIndex = 4;
     this.tabPage1.Text = "精确空间轨迹";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // dgvFineTrajectory
     //
     this.dgvFineTrajectory.AllowDrop = true;
     this.dgvFineTrajectory.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvFineTrajectory.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dgvFineTrajectory.Location = new System.Drawing.Point(3, 3);
     this.dgvFineTrajectory.Name = "dgvFineTrajectory";
     this.dgvFineTrajectory.RowTemplate.Height = 23;
     this.dgvFineTrajectory.Size = new System.Drawing.Size(819, 633);
     this.dgvFineTrajectory.TabIndex = 2;
     //
     // gbSet3
     //
     this.gbSet3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.gbSet3.Controls.Add(this.cmbEncoding);
     this.gbSet3.Controls.Add(this.label7);
     this.gbSet3.Controls.Add(this.chkHEXShow);
     this.gbSet3.Controls.Add(this.chkHEXSend);
     this.gbSet3.Location = new System.Drawing.Point(12, 174);
     this.gbSet3.Name = "gbSet3";
     this.gbSet3.Size = new System.Drawing.Size(157, 88);
     this.gbSet3.TabIndex = 7;
     this.gbSet3.TabStop = false;
     this.gbSet3.Text = "辅助";
     //
     // cmbEncoding
     //
     this.cmbEncoding.FormattingEnabled = true;
     this.cmbEncoding.Location = new System.Drawing.Point(71, 15);
     this.cmbEncoding.Name = "cmbEncoding";
     this.cmbEncoding.Size = new System.Drawing.Size(80, 20);
     this.cmbEncoding.TabIndex = 16;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(24, 18);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(41, 12);
     this.label7.TabIndex = 15;
     this.label7.Text = "编码:";
     //
     // chkHEXShow
     //
     this.chkHEXShow.AutoSize = true;
     this.chkHEXShow.Location = new System.Drawing.Point(26, 63);
     this.chkHEXShow.Name = "chkHEXShow";
     this.chkHEXShow.Size = new System.Drawing.Size(66, 16);
     this.chkHEXShow.TabIndex = 2;
     this.chkHEXShow.Text = "HEX显示";
     this.chkHEXShow.UseVisualStyleBackColor = true;
     //
     // chkHEXSend
     //
     this.chkHEXSend.AutoSize = true;
     this.chkHEXSend.Location = new System.Drawing.Point(26, 41);
     this.chkHEXSend.Name = "chkHEXSend";
     this.chkHEXSend.Size = new System.Drawing.Size(66, 16);
     this.chkHEXSend.TabIndex = 1;
     this.chkHEXSend.Text = "HEX发送";
     this.chkHEXSend.UseVisualStyleBackColor = true;
     //
     // btnClear
     //
     this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnClear.Location = new System.Drawing.Point(12, 408);
     this.btnClear.Name = "btnClear";
     this.btnClear.Size = new System.Drawing.Size(157, 29);
     this.btnClear.TabIndex = 11;
     this.btnClear.Text = "重新计数";
     this.btnClear.UseVisualStyleBackColor = true;
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // btnSendReceive
     //
     this.btnSendReceive.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnSendReceive.Location = new System.Drawing.Point(12, 373);
     this.btnSendReceive.Name = "btnSendReceive";
     this.btnSendReceive.Size = new System.Drawing.Size(157, 29);
     this.btnSendReceive.TabIndex = 9;
     this.btnSendReceive.Text = "清接收区";
     this.btnSendReceive.UseVisualStyleBackColor = true;
     this.btnSendReceive.Click += new System.EventHandler(this.btnSendReceive_Click);
     //
     // btnClearSend
     //
     this.btnClearSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnClearSend.Location = new System.Drawing.Point(12, 338);
     this.btnClearSend.Name = "btnClearSend";
     this.btnClearSend.Size = new System.Drawing.Size(157, 29);
     this.btnClearSend.TabIndex = 7;
     this.btnClearSend.Text = "清发送区";
     this.btnClearSend.UseVisualStyleBackColor = true;
     this.btnClearSend.Click += new System.EventHandler(this.btnClearSend_Click);
     //
     // btnRefreshPort
     //
     this.btnRefreshPort.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnRefreshPort.Location = new System.Drawing.Point(12, 303);
     this.btnRefreshPort.Name = "btnRefreshPort";
     this.btnRefreshPort.Size = new System.Drawing.Size(157, 29);
     this.btnRefreshPort.TabIndex = 12;
     this.btnRefreshPort.Text = "刷新串口";
     this.btnRefreshPort.UseVisualStyleBackColor = true;
     this.btnRefreshPort.Click += new System.EventHandler(this.btnRefreshPort_Click);
     //
     // tpBLE数据
     //
     this.tpBLE数据.Controls.Add(this.btn滤波保存);
     this.tpBLE数据.Controls.Add(this.btn保存);
     this.tpBLE数据.Controls.Add(this.btn原始数据解析);
     this.tpBLE数据.Controls.Add(this.btn滤波解析);
     this.tpBLE数据.Controls.Add(this.txtBleText);
     this.tpBLE数据.Controls.Add(this.btnBle解析);
     this.tpBLE数据.Location = new System.Drawing.Point(4, 22);
     this.tpBLE数据.Name = "tpBLE数据";
     this.tpBLE数据.Padding = new System.Windows.Forms.Padding(3);
     this.tpBLE数据.Size = new System.Drawing.Size(825, 639);
     this.tpBLE数据.TabIndex = 2;
     this.tpBLE数据.Text = "串口数据";
     this.tpBLE数据.UseVisualStyleBackColor = true;
     //
     // btn滤波保存
     //
     this.btn滤波保存.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btn滤波保存.Location = new System.Drawing.Point(536, 604);
     this.btn滤波保存.Name = "btn滤波保存";
     this.btn滤波保存.Size = new System.Drawing.Size(97, 29);
     this.btn滤波保存.TabIndex = 7;
     this.btn滤波保存.Text = "滤波数据保存";
     this.btn滤波保存.UseVisualStyleBackColor = true;
     this.btn滤波保存.Click += new System.EventHandler(this.btn滤波保存_Click);
     //
     // btn保存
     //
     this.btn保存.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btn保存.Location = new System.Drawing.Point(433, 604);
     this.btn保存.Name = "btn保存";
     this.btn保存.Size = new System.Drawing.Size(84, 29);
     this.btn保存.TabIndex = 6;
     this.btn保存.Text = "数据保存";
     this.btn保存.UseVisualStyleBackColor = true;
     this.btn保存.Click += new System.EventHandler(this.btn保存_Click);
     //
     // btn原始数据解析
     //
     this.btn原始数据解析.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btn原始数据解析.Location = new System.Drawing.Point(43, 604);
     this.btn原始数据解析.Name = "btn原始数据解析";
     this.btn原始数据解析.Size = new System.Drawing.Size(87, 29);
     this.btn原始数据解析.TabIndex = 5;
     this.btn原始数据解析.Text = "原始数据解析";
     this.btn原始数据解析.UseVisualStyleBackColor = true;
     this.btn原始数据解析.Click += new System.EventHandler(this.btn原始数据解析_Click);
     //
     // btn滤波解析
     //
     this.btn滤波解析.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btn滤波解析.Location = new System.Drawing.Point(285, 604);
     this.btn滤波解析.Name = "btn滤波解析";
     this.btn滤波解析.Size = new System.Drawing.Size(116, 29);
     this.btn滤波解析.TabIndex = 4;
     this.btn滤波解析.Text = "开源滤波数据解析";
     this.btn滤波解析.UseVisualStyleBackColor = true;
     this.btn滤波解析.Click += new System.EventHandler(this.btn滤波解析_Click);
     //
     // txtBleText
     //
     this.txtBleText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBleText.Location = new System.Drawing.Point(6, 6);
     this.txtBleText.Name = "txtBleText";
     this.txtBleText.Size = new System.Drawing.Size(811, 592);
     this.txtBleText.TabIndex = 3;
     this.txtBleText.Text = "";
     //
     // btnBle解析
     //
     this.btnBle解析.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnBle解析.Location = new System.Drawing.Point(166, 604);
     this.btnBle解析.Name = "btnBle解析";
     this.btnBle解析.Size = new System.Drawing.Size(87, 29);
     this.btnBle解析.TabIndex = 2;
     this.btnBle解析.Text = "滤波解析";
     this.btnBle解析.UseVisualStyleBackColor = true;
     this.btnBle解析.Click += new System.EventHandler(this.btnBle解析_Click);
     //
     // tabControl1
     //
     this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabControl1.Controls.Add(this.tpBLE数据);
     this.tabControl1.Controls.Add(this.tb心电图);
     this.tabControl1.Location = new System.Drawing.Point(175, 12);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(833, 665);
     this.tabControl1.TabIndex = 5;
     //
     // tb心电图
     //
     this.tb心电图.Controls.Add(this.ChartHeart);
     this.tb心电图.Location = new System.Drawing.Point(4, 22);
     this.tb心电图.Name = "tb心电图";
     this.tb心电图.Padding = new System.Windows.Forms.Padding(3);
     this.tb心电图.Size = new System.Drawing.Size(825, 639);
     this.tb心电图.TabIndex = 3;
     this.tb心电图.Text = "心电图";
     this.tb心电图.UseVisualStyleBackColor = true;
     //
     // ChartHeart
     //
     chartArea1.Name = "ChartArea1";
     this.ChartHeart.ChartAreas.Add(chartArea1);
     this.ChartHeart.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ChartHeart.Location = new System.Drawing.Point(3, 3);
     this.ChartHeart.Name = "ChartHeart";
     this.ChartHeart.Size = new System.Drawing.Size(819, 633);
     this.ChartHeart.TabIndex = 1;
     //
     // chkFilter
     //
     this.chkFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkFilter.AutoSize = true;
     this.chkFilter.Location = new System.Drawing.Point(12, 537);
     this.chkFilter.Name = "chkFilter";
     this.chkFilter.Size = new System.Drawing.Size(48, 16);
     this.chkFilter.TabIndex = 1;
     this.chkFilter.Text = "滤波";
     this.chkFilter.UseVisualStyleBackColor = true;
     this.chkFilter.CheckedChanged += new System.EventHandler(this.chbMean_CheckedChanged);
     //
     // label8
     //
     this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label8.AutoSize = true;
     this.label8.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label8.Location = new System.Drawing.Point(9, 575);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(66, 19);
     this.label8.TabIndex = 13;
     this.label8.Text = "心率:";
     //
     // lblRate
     //
     this.lblRate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lblRate.AutoSize = true;
     this.lblRate.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lblRate.Location = new System.Drawing.Point(71, 575);
     this.lblRate.Name = "lblRate";
     this.lblRate.Size = new System.Drawing.Size(39, 19);
     this.lblRate.TabIndex = 14;
     this.lblRate.Text = "...";
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.groupBox1.Controls.Add(this.rbFeedPaper);
     this.groupBox1.Controls.Add(this.rbRedraw);
     this.groupBox1.Location = new System.Drawing.Point(12, 443);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(157, 78);
     this.groupBox1.TabIndex = 15;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "走纸方式";
     //
     // rbFeedPaper
     //
     this.rbFeedPaper.AutoSize = true;
     this.rbFeedPaper.Location = new System.Drawing.Point(26, 43);
     this.rbFeedPaper.Name = "rbFeedPaper";
     this.rbFeedPaper.Size = new System.Drawing.Size(47, 16);
     this.rbFeedPaper.TabIndex = 1;
     this.rbFeedPaper.TabStop = true;
     this.rbFeedPaper.Text = "走纸";
     this.rbFeedPaper.UseVisualStyleBackColor = true;
     this.rbFeedPaper.CheckedChanged += new System.EventHandler(this.rbRedraw_CheckedChanged);
     //
     // rbRedraw
     //
     this.rbRedraw.AutoSize = true;
     this.rbRedraw.Location = new System.Drawing.Point(26, 21);
     this.rbRedraw.Name = "rbRedraw";
     this.rbRedraw.Size = new System.Drawing.Size(47, 16);
     this.rbRedraw.TabIndex = 0;
     this.rbRedraw.TabStop = true;
     this.rbRedraw.Text = "重绘";
     this.rbRedraw.UseVisualStyleBackColor = true;
     this.rbRedraw.CheckedChanged += new System.EventHandler(this.rbRedraw_CheckedChanged);
     //
     // Main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1008, 681);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.lblRate);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.btnRefreshPort);
     this.Controls.Add(this.chkFilter);
     this.Controls.Add(this.gbSet3);
     this.Controls.Add(this.btnSendReceive);
     this.Controls.Add(this.btnClear);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.btnConnect);
     this.Controls.Add(this.btnClearSend);
     this.Controls.Add(this.gbSet);
     this.Name = "Main";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "移动心电调试工具";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Main_FormClosed);
     this.Load += new System.EventHandler(this.Main_Load);
     this.gbSet.ResumeLayout(false);
     this.gbSet.PerformLayout();
     this.tp蓝牙原始数据.ResumeLayout(false);
     this.gbReceive.ResumeLayout(false);
     this.gbReceive.PerformLayout();
     this.gbSend.ResumeLayout(false);
     this.gbSend.PerformLayout();
     this.tabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvFineTrajectory)).EndInit();
     this.gbSet3.ResumeLayout(false);
     this.gbSet3.PerformLayout();
     this.tpBLE数据.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tb心电图.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ChartHeart)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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.DataVisualization.Charting.ChartArea chartArea10 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend10 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series37 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series38 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series39 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series40 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title title10 = new System.Windows.Forms.DataVisualization.Charting.Title();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
     this.LogTextBox = new System.Windows.Forms.TextBox();
     this.fileSystemWatcher2 = new System.IO.FileSystemWatcher();
     this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
     this.fileSystemWatcher3 = new System.IO.FileSystemWatcher();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.textBox20 = new System.Windows.Forms.TextBox();
     this.textBox18 = new System.Windows.Forms.TextBox();
     this.button16 = new System.Windows.Forms.Button();
     this.button18 = new System.Windows.Forms.Button();
     this.label37 = new System.Windows.Forms.Label();
     this.checkBox10 = new System.Windows.Forms.CheckBox();
     this.textBox19 = new System.Windows.Forms.TextBox();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.button10 = new System.Windows.Forms.Button();
     this.label8 = new System.Windows.Forms.Label();
     this.numericUpDown9 = new System.Windows.Forms.NumericUpDown();
     this.button14 = new System.Windows.Forms.Button();
     this.Button2000 = new System.Windows.Forms.Button();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.textBox22 = new System.Windows.Forms.TextBox();
     this.radioButton3 = new System.Windows.Forms.RadioButton();
     this.radioButton2 = new System.Windows.Forms.RadioButton();
     this.textBox14 = new System.Windows.Forms.TextBox();
     this.textBox16 = new System.Windows.Forms.TextBox();
     this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
     this.checkBox19 = new System.Windows.Forms.CheckBox();
     this.numericUpDown21 = new System.Windows.Forms.NumericUpDown();
     this.label87 = new System.Windows.Forms.Label();
     this.numericUpDown39 = new System.Windows.Forms.NumericUpDown();
     this.checkBox13 = new System.Windows.Forms.CheckBox();
     this.checkBox26 = new System.Windows.Forms.CheckBox();
     this.toolTip2 = new System.Windows.Forms.ToolTip(this.components);
     this.toolTip3 = new System.Windows.Forms.ToolTip(this.components);
     this.button3 = new System.Windows.Forms.Button();
     this.button9 = new System.Windows.Forms.Button();
     this.ButtonDisable = new System.Windows.Forms.Button();
     this.button8 = new System.Windows.Forms.Button();
     this.button5 = new System.Windows.Forms.Button();
     this.textBox11 = new System.Windows.Forms.TextBox();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.menuStrip1 = new System.Windows.Forms.MenuStrip();
     this.fileSystemWatcher1 = new System.IO.FileSystemWatcher();
     this.dataSet1 = new System.Data.DataSet();
     this.dataTable1 = new System.Data.DataTable();
     this.dataColumn1 = new System.Data.DataColumn();
     this.dataColumn4 = new System.Data.DataColumn();
     this.dataColumn5 = new System.Data.DataColumn();
     this.dataColumn2 = new System.Data.DataColumn();
     this.dataColumn3 = new System.Data.DataColumn();
     this.dataColumn6 = new System.Data.DataColumn();
     this.dataColumn7 = new System.Data.DataColumn();
     this.dataColumn8 = new System.Data.DataColumn();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.FocusPos = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.button13 = new System.Windows.Forms.Button();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.checkBox29 = new System.Windows.Forms.CheckBox();
     this.checkBox28 = new System.Windows.Forms.CheckBox();
     this.button59 = new System.Windows.Forms.Button();
     this.textBox8 = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.textBox9 = new System.Windows.Forms.TextBox();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.button12 = new System.Windows.Forms.Button();
     this.buttonFilterConnect = new System.Windows.Forms.Button();
     this.label18 = new System.Windows.Forms.Label();
     this.textBox35 = new System.Windows.Forms.TextBox();
     this.label44 = new System.Windows.Forms.Label();
     this.label17 = new System.Windows.Forms.Label();
     this.button49 = new System.Windows.Forms.Button();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.checkBox31 = new System.Windows.Forms.CheckBox();
     this.groupBox20 = new System.Windows.Forms.GroupBox();
     this.radioButton9 = new System.Windows.Forms.RadioButton();
     this.radioButton10 = new System.Windows.Forms.RadioButton();
     this.radioButton4 = new System.Windows.Forms.RadioButton();
     this.label88 = new System.Windows.Forms.Label();
     this.numericUpDown40 = new System.Windows.Forms.NumericUpDown();
     this.label58 = new System.Windows.Forms.Label();
     this.label57 = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.button41 = new System.Windows.Forms.Button();
     this.button23 = new System.Windows.Forms.Button();
     this.radioButton8 = new System.Windows.Forms.RadioButton();
     this.label3 = new System.Windows.Forms.Label();
     this.label50 = new System.Windows.Forms.Label();
     this.comboBox7 = new System.Windows.Forms.ComboBox();
     this.label40 = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.button42 = new System.Windows.Forms.Button();
     this.textBox34 = new System.Windows.Forms.TextBox();
     this.button29 = new System.Windows.Forms.Button();
     this.label41 = new System.Windows.Forms.Label();
     this.label42 = new System.Windows.Forms.Label();
     this.textBox33 = new System.Windows.Forms.TextBox();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.groupBox11 = new System.Windows.Forms.GroupBox();
     this.label84 = new System.Windows.Forms.Label();
     this.button27 = new System.Windows.Forms.Button();
     this.checkBox22 = new System.Windows.Forms.CheckBox();
     this.label65 = new System.Windows.Forms.Label();
     this.textBox43 = new System.Windows.Forms.TextBox();
     this.label64 = new System.Windows.Forms.Label();
     this.button25 = new System.Windows.Forms.Button();
     this.textBox25 = new System.Windows.Forms.TextBox();
     this.groupBox10 = new System.Windows.Forms.GroupBox();
     this.textBox7 = new System.Windows.Forms.TextBox();
     this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
     this.label7 = new System.Windows.Forms.Label();
     this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
     this.button4 = new System.Windows.Forms.Button();
     this.label14 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.button6 = new System.Windows.Forms.Button();
     this.label22 = new System.Windows.Forms.Label();
     this.textBox6 = new System.Windows.Forms.TextBox();
     this.textBox17 = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label21 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.numericUpDown10 = new System.Windows.Forms.NumericUpDown();
     this.progressBar1 = new System.Windows.Forms.ProgressBar();
     this.numericUpDown8 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown7 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
     this.groupBox9 = new System.Windows.Forms.GroupBox();
     this.button61 = new System.Windows.Forms.Button();
     this.label9 = new System.Windows.Forms.Label();
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.textBox4 = new System.Windows.Forms.TextBox();
     this.button7 = new System.Windows.Forms.Button();
     this.numericUpDown6 = new System.Windows.Forms.NumericUpDown();
     this.progressBar2 = new System.Windows.Forms.ProgressBar();
     this.button11 = new System.Windows.Forms.Button();
     this.groupBox8 = new System.Windows.Forms.GroupBox();
     this.textBox12 = new System.Windows.Forms.TextBox();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.textBox10 = new System.Windows.Forms.TextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.radioButton1 = new System.Windows.Forms.RadioButton();
     this.label20 = new System.Windows.Forms.Label();
     this.label27 = new System.Windows.Forms.Label();
     this.textBox15 = new System.Windows.Forms.TextBox();
     this.label26 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.tabPage4 = new System.Windows.Forms.TabPage();
     this.button15 = new System.Windows.Forms.Button();
     this.button19 = new System.Windows.Forms.Button();
     this.button24 = new System.Windows.Forms.Button();
     this.button62 = new System.Windows.Forms.Button();
     this.groupBox15 = new System.Windows.Forms.GroupBox();
     this.label61 = new System.Windows.Forms.Label();
     this.label56 = new System.Windows.Forms.Label();
     this.comboBox6 = new System.Windows.Forms.ComboBox();
     this.button20 = new System.Windows.Forms.Button();
     this.textBox21 = new System.Windows.Forms.TextBox();
     this.label24 = new System.Windows.Forms.Label();
     this.groupBox14 = new System.Windows.Forms.GroupBox();
     this.textBox44 = new System.Windows.Forms.TextBox();
     this.label92 = new System.Windows.Forms.Label();
     this.trackBar1 = new System.Windows.Forms.TrackBar();
     this.checkBox18 = new System.Windows.Forms.CheckBox();
     this.label51 = new System.Windows.Forms.Label();
     this.button21 = new System.Windows.Forms.Button();
     this.textBox38 = new System.Windows.Forms.TextBox();
     this.checkBox15 = new System.Windows.Forms.CheckBox();
     this.label54 = new System.Windows.Forms.Label();
     this.textBox39 = new System.Windows.Forms.TextBox();
     this.label55 = new System.Windows.Forms.Label();
     this.groupBox13 = new System.Windows.Forms.GroupBox();
     this.comboBox8 = new System.Windows.Forms.ComboBox();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.comboBox5 = new System.Windows.Forms.ComboBox();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.checkBox2 = new System.Windows.Forms.CheckBox();
     this.checkBox3 = new System.Windows.Forms.CheckBox();
     this.checkBox4 = new System.Windows.Forms.CheckBox();
     this.comboBox2 = new System.Windows.Forms.ComboBox();
     this.comboBox3 = new System.Windows.Forms.ComboBox();
     this.comboBox4 = new System.Windows.Forms.ComboBox();
     this.label6 = new System.Windows.Forms.Label();
     this.label36 = new System.Windows.Forms.Label();
     this.numericUpDown36 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown12 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown13 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown34 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown14 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown15 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown32 = new System.Windows.Forms.NumericUpDown();
     this.label33 = new System.Windows.Forms.Label();
     this.checkBox5 = new System.Windows.Forms.CheckBox();
     this.numericUpDown11 = new System.Windows.Forms.NumericUpDown();
     this.label45 = new System.Windows.Forms.Label();
     this.label31 = new System.Windows.Forms.Label();
     this.numericUpDown31 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown16 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown30 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown17 = new System.Windows.Forms.NumericUpDown();
     this.checkBox9 = new System.Windows.Forms.CheckBox();
     this.numericUpDown18 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown29 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown19 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown28 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown20 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown27 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown24 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown26 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown25 = new System.Windows.Forms.NumericUpDown();
     this.label32 = new System.Windows.Forms.Label();
     this.groupBox12 = new System.Windows.Forms.GroupBox();
     this.checkBox6 = new System.Windows.Forms.CheckBox();
     this.checkBox7 = new System.Windows.Forms.CheckBox();
     this.textBox23 = new System.Windows.Forms.TextBox();
     this.tabPage5 = new System.Windows.Forms.TabPage();
     this.groupBox16 = new System.Windows.Forms.GroupBox();
     this.label30 = new System.Windows.Forms.Label();
     this.button30 = new System.Windows.Forms.Button();
     this.button22 = new System.Windows.Forms.Button();
     this.button26 = new System.Windows.Forms.Button();
     this.groupBox7 = new System.Windows.Forms.GroupBox();
     this.textBox63 = new System.Windows.Forms.TextBox();
     this.label85 = new System.Windows.Forms.Label();
     this.numericUpDown23 = new System.Windows.Forms.NumericUpDown();
     this.checkBox27 = new System.Windows.Forms.CheckBox();
     this.checkBox17 = new System.Windows.Forms.CheckBox();
     this.numericUpDown38 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown22 = new System.Windows.Forms.NumericUpDown();
     this.label23 = new System.Windows.Forms.Label();
     this.textBox29 = new System.Windows.Forms.TextBox();
     this.label28 = new System.Windows.Forms.Label();
     this.textBox30 = new System.Windows.Forms.TextBox();
     this.label43 = new System.Windows.Forms.Label();
     this.checkBox8 = new System.Windows.Forms.CheckBox();
     this.groupBox6 = new System.Windows.Forms.GroupBox();
     this.checkBox16 = new System.Windows.Forms.CheckBox();
     this.groupBox5 = new System.Windows.Forms.GroupBox();
     this.label38 = new System.Windows.Forms.Label();
     this.label34 = new System.Windows.Forms.Label();
     this.checkBox23 = new System.Windows.Forms.CheckBox();
     this.label53 = new System.Windows.Forms.Label();
     this.button37 = new System.Windows.Forms.Button();
     this.label52 = new System.Windows.Forms.Label();
     this.button32 = new System.Windows.Forms.Button();
     this.button33 = new System.Windows.Forms.Button();
     this.button34 = new System.Windows.Forms.Button();
     this.button35 = new System.Windows.Forms.Button();
     this.checkBox11 = new System.Windows.Forms.CheckBox();
     this.tabPage6 = new System.Windows.Forms.TabPage();
     this.button40 = new System.Windows.Forms.Button();
     this.checkBox20 = new System.Windows.Forms.CheckBox();
     this.checkBox14 = new System.Windows.Forms.CheckBox();
     this.groupBox18 = new System.Windows.Forms.GroupBox();
     this.textBox42 = new System.Windows.Forms.TextBox();
     this.checkBox21 = new System.Windows.Forms.CheckBox();
     this.button39 = new System.Windows.Forms.Button();
     this.label63 = new System.Windows.Forms.Label();
     this.textBox41 = new System.Windows.Forms.TextBox();
     this.label62 = new System.Windows.Forms.Label();
     this.label39 = new System.Windows.Forms.Label();
     this.label29 = new System.Windows.Forms.Label();
     this.numericUpDown35 = new System.Windows.Forms.NumericUpDown();
     this.textBox40 = new System.Windows.Forms.TextBox();
     this.numericUpDown37 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown33 = new System.Windows.Forms.NumericUpDown();
     this.textBox37 = new System.Windows.Forms.TextBox();
     this.button47 = new System.Windows.Forms.Button();
     this.button46 = new System.Windows.Forms.Button();
     this.button45 = new System.Windows.Forms.Button();
     this.groupBox17 = new System.Windows.Forms.GroupBox();
     this.checkBox30 = new System.Windows.Forms.CheckBox();
     this.label89 = new System.Windows.Forms.Label();
     this.numericUpDown41 = new System.Windows.Forms.NumericUpDown();
     this.checkBox12 = new System.Windows.Forms.CheckBox();
     this.label46 = new System.Windows.Forms.Label();
     this.label47 = new System.Windows.Forms.Label();
     this.label48 = new System.Windows.Forms.Label();
     this.button38 = new System.Windows.Forms.Button();
     this.label49 = new System.Windows.Forms.Label();
     this.textBox36 = new System.Windows.Forms.TextBox();
     this.textBox13 = new System.Windows.Forms.TextBox();
     this.textBox28 = new System.Windows.Forms.TextBox();
     this.textBox27 = new System.Windows.Forms.TextBox();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.button48 = new System.Windows.Forms.Button();
     this.textBox24 = new System.Windows.Forms.TextBox();
     this.label25 = new System.Windows.Forms.Label();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.tabPage7 = new System.Windows.Forms.TabPage();
     this.groupBox24 = new System.Windows.Forms.GroupBox();
     this.button36 = new System.Windows.Forms.Button();
     this.button28 = new System.Windows.Forms.Button();
     this.button31 = new System.Windows.Forms.Button();
     this.label60 = new System.Windows.Forms.Label();
     this.textBox64 = new System.Windows.Forms.TextBox();
     this.groupBox23 = new System.Windows.Forms.GroupBox();
     this.button43 = new System.Windows.Forms.Button();
     this.textBox31 = new System.Windows.Forms.TextBox();
     this.textBox32 = new System.Windows.Forms.TextBox();
     this.button44 = new System.Windows.Forms.Button();
     this.label91 = new System.Windows.Forms.Label();
     this.label90 = new System.Windows.Forms.Label();
     this.groupBox22 = new System.Windows.Forms.GroupBox();
     this.label35 = new System.Windows.Forms.Label();
     this.textBox45 = new System.Windows.Forms.TextBox();
     this.label86 = new System.Windows.Forms.Label();
     this.textBox5 = new System.Windows.Forms.TextBox();
     this.label70 = new System.Windows.Forms.Label();
     this.label59 = new System.Windows.Forms.Label();
     this.textBox53 = new System.Windows.Forms.TextBox();
     this.textBox56 = new System.Windows.Forms.TextBox();
     this.label74 = new System.Windows.Forms.Label();
     this.label69 = new System.Windows.Forms.Label();
     this.textBox55 = new System.Windows.Forms.TextBox();
     this.label71 = new System.Windows.Forms.Label();
     this.textBox54 = new System.Windows.Forms.TextBox();
     this.label72 = new System.Windows.Forms.Label();
     this.textBox57 = new System.Windows.Forms.TextBox();
     this.textBox52 = new System.Windows.Forms.TextBox();
     this.textBox48 = new System.Windows.Forms.TextBox();
     this.label68 = new System.Windows.Forms.Label();
     this.groupBox21 = new System.Windows.Forms.GroupBox();
     this.textBox46 = new System.Windows.Forms.TextBox();
     this.button57 = new System.Windows.Forms.Button();
     this.button58 = new System.Windows.Forms.Button();
     this.label66 = new System.Windows.Forms.Label();
     this.textBox47 = new System.Windows.Forms.TextBox();
     this.label67 = new System.Windows.Forms.Label();
     this.label78 = new System.Windows.Forms.Label();
     this.label77 = new System.Windows.Forms.Label();
     this.groupBox19 = new System.Windows.Forms.GroupBox();
     this.label93 = new System.Windows.Forms.Label();
     this.radioButton5_astrometry = new System.Windows.Forms.RadioButton();
     this.radioButton_local = new System.Windows.Forms.RadioButton();
     this.label83 = new System.Windows.Forms.Label();
     this.label82 = new System.Windows.Forms.Label();
     this.textBox62 = new System.Windows.Forms.TextBox();
     this.textBox61 = new System.Windows.Forms.TextBox();
     this.textBox60 = new System.Windows.Forms.TextBox();
     this.label81 = new System.Windows.Forms.Label();
     this.label80 = new System.Windows.Forms.Label();
     this.label79 = new System.Windows.Forms.Label();
     this.button55 = new System.Windows.Forms.Button();
     this.button60 = new System.Windows.Forms.Button();
     this.checkBox25 = new System.Windows.Forms.CheckBox();
     this.textBox59 = new System.Windows.Forms.TextBox();
     this.label76 = new System.Windows.Forms.Label();
     this.textBox58 = new System.Windows.Forms.TextBox();
     this.label75 = new System.Windows.Forms.Label();
     this.label73 = new System.Windows.Forms.Label();
     this.button17 = new System.Windows.Forms.Button();
     this.fileSystemWatcher4 = new System.IO.FileSystemWatcher();
     this.textBox26 = new System.Windows.Forms.TextBox();
     this.fileSystemWatcher5 = new System.IO.FileSystemWatcher();
     this.statusStrip1 = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
     this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel4 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel5 = new System.Windows.Forms.ToolStripStatusLabel();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.folderBrowserDialog2 = new System.Windows.Forms.FolderBrowserDialog();
     this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
     this.backgroundWorker2 = new System.ComponentModel.BackgroundWorker();
     this.timer2 = new System.Windows.Forms.Timer(this.components);
     this.openFileDialog2 = new System.Windows.Forms.OpenFileDialog();
     this.fileSystemWatcher7 = new System.IO.FileSystemWatcher();
     this.textBox49 = new System.Windows.Forms.TextBox();
     this.label94 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown21)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown39)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox20.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown40)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.groupBox11.SuspendLayout();
     this.groupBox10.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
     this.groupBox9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
     this.groupBox8.SuspendLayout();
     this.tabPage4.SuspendLayout();
     this.groupBox15.SuspendLayout();
     this.groupBox14.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
     this.groupBox13.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown36)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown34)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown14)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown15)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown32)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown31)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown16)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown30)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown17)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown18)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown29)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown19)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown28)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown20)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown27)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown24)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown26)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown25)).BeginInit();
     this.groupBox12.SuspendLayout();
     this.tabPage5.SuspendLayout();
     this.groupBox16.SuspendLayout();
     this.groupBox7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown23)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown38)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown22)).BeginInit();
     this.groupBox6.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.tabPage6.SuspendLayout();
     this.groupBox18.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown35)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown37)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown33)).BeginInit();
     this.groupBox17.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown41)).BeginInit();
     this.tabPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.tabPage7.SuspendLayout();
     this.groupBox24.SuspendLayout();
     this.groupBox23.SuspendLayout();
     this.groupBox22.SuspendLayout();
     this.groupBox21.SuspendLayout();
     this.groupBox19.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher5)).BeginInit();
     this.statusStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher7)).BeginInit();
     this.SuspendLayout();
     //
     // LogTextBox
     //
     this.LogTextBox.BackColor = System.Drawing.SystemColors.MenuBar;
     this.LogTextBox.Location = new System.Drawing.Point(4, 251);
     this.LogTextBox.Multiline = true;
     this.LogTextBox.Name = "LogTextBox";
     this.LogTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.LogTextBox.Size = new System.Drawing.Size(742, 97);
     this.LogTextBox.TabIndex = 16;
     this.LogTextBox.Text = "Log";
     this.LogTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.LogTextBox_KeyPress);
     //
     // fileSystemWatcher2
     //
     this.fileSystemWatcher2.EnableRaisingEvents = true;
     this.fileSystemWatcher2.Filter = "*.bmp";
     this.fileSystemWatcher2.NotifyFilter = System.IO.NotifyFilters.LastWrite;
     this.fileSystemWatcher2.Path = this.folderBrowserDialog1.SelectedPath;
     this.fileSystemWatcher2.SynchronizingObject = this;
     this.fileSystemWatcher2.Changed += new System.IO.FileSystemEventHandler(this.fileSystemWatcher2_Changed);
     //
     // folderBrowserDialog1
     //
     this.folderBrowserDialog1.Description = "Select Same Path as Nebulosity \"Directory\"";
     this.folderBrowserDialog1.RootFolder = System.Environment.SpecialFolder.MyComputer;
     //
     // fileSystemWatcher3
     //
     this.fileSystemWatcher3.EnableRaisingEvents = true;
     this.fileSystemWatcher3.Filter = "*.bmp";
     this.fileSystemWatcher3.NotifyFilter = System.IO.NotifyFilters.LastWrite;
     this.fileSystemWatcher3.Path = this.folderBrowserDialog1.SelectedPath;
     this.fileSystemWatcher3.SynchronizingObject = this;
     this.fileSystemWatcher3.Changed += new System.IO.FileSystemEventHandler(this.fileSystemWatcher3_Changed);
     //
     // textBox20
     //
     this.textBox20.Location = new System.Drawing.Point(210, 16);
     this.textBox20.Name = "textBox20";
     this.textBox20.Size = new System.Drawing.Size(55, 20);
     this.textBox20.TabIndex = 174;
     this.toolTip1.SetToolTip(this.textBox20, "Enter Min and Max HFR for slope calculation  - linear part of V-curve");
     this.textBox20.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox20_KeyPress);
     this.textBox20.Leave += new System.EventHandler(this.textBox20_Leave);
     //
     // textBox18
     //
     this.textBox18.Location = new System.Drawing.Point(72, 16);
     this.textBox18.Name = "textBox18";
     this.textBox18.Size = new System.Drawing.Size(55, 20);
     this.textBox18.TabIndex = 173;
     this.toolTip1.SetToolTip(this.textBox18, "Enter Min and Max HFR values for slope calculation - Linear part or V-curve");
     this.textBox18.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox18_KeyPress);
     this.textBox18.Leave += new System.EventHandler(this.textBox18_Leave);
     //
     // button16
     //
     this.button16.Location = new System.Drawing.Point(639, 653);
     this.button16.Name = "button16";
     this.button16.Size = new System.Drawing.Size(75, 23);
     this.button16.TabIndex = 107;
     this.button16.Text = "Delete All";
     this.toolTip1.SetToolTip(this.button16, "Delete all data for current equipment selection");
     this.button16.UseVisualStyleBackColor = true;
     this.button16.Click += new System.EventHandler(this.button16_Click);
     //
     // button18
     //
     this.button18.Location = new System.Drawing.Point(628, 624);
     this.button18.Name = "button18";
     this.button18.Size = new System.Drawing.Size(100, 23);
     this.button18.TabIndex = 109;
     this.button18.Text = "Delete Selected";
     this.toolTip1.SetToolTip(this.button18, "Delete selected rows");
     this.button18.UseVisualStyleBackColor = true;
     this.button18.Click += new System.EventHandler(this.button18_Click);
     //
     // label37
     //
     this.label37.AutoSize = true;
     this.label37.Location = new System.Drawing.Point(16, 31);
     this.label37.Name = "label37";
     this.label37.Size = new System.Drawing.Size(101, 13);
     this.label37.TabIndex = 13;
     this.label37.Text = "Focus Star Position:";
     this.toolTip1.SetToolTip(this.label37, "Enter Focus star postion while in Neb Frame and Focus - default is center");
     //
     // checkBox10
     //
     this.checkBox10.AutoSize = true;
     this.checkBox10.Checked = true;
     this.checkBox10.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox10.Location = new System.Drawing.Point(28, 54);
     this.checkBox10.Name = "checkBox10";
     this.checkBox10.Size = new System.Drawing.Size(154, 17);
     this.checkBox10.TabIndex = 26;
     this.checkBox10.Text = "Focus Star in Target Frame";
     this.toolTip1.SetToolTip(this.checkBox10, "Check if no need to slew to a diffent loaction for focus star");
     this.checkBox10.UseVisualStyleBackColor = true;
     //
     // textBox19
     //
     this.textBox19.Location = new System.Drawing.Point(92, 59);
     this.textBox19.Name = "textBox19";
     this.textBox19.Size = new System.Drawing.Size(100, 20);
     this.textBox19.TabIndex = 234;
     this.toolTip1.SetToolTip(this.textBox19, "Enter Prefix for filename (e.g. M31_300s)");
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(399, 13);
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(50, 20);
     this.textBox2.TabIndex = 147;
     this.toolTip1.SetToolTip(this.textBox2, "Enter Maximum Travel");
     this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
     this.textBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox2_KeyPress);
     //
     // button10
     //
     this.button10.Location = new System.Drawing.Point(11, 16);
     this.button10.Name = "button10";
     this.button10.Size = new System.Drawing.Size(70, 23);
     this.button10.TabIndex = 156;
     this.button10.Text = "Backlash";
     this.toolTip1.SetToolTip(this.button10, "Multiple repeated fine V-curves with alternating In/Out directions.\r\nThe differen" +
     "ce in focus point equals backlash");
     this.button10.UseVisualStyleBackColor = true;
     this.button10.Click += new System.EventHandler(this.button10_Click);
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(338, 37);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(60, 26);
     this.label8.TabIndex = 159;
     this.label8.Text = "Movement \r\nDelay (ms):";
     this.toolTip1.SetToolTip(this.label8, "Increase if movment during capture -- Usually about 500 ms");
     //
     // numericUpDown9
     //
     this.numericUpDown9.Location = new System.Drawing.Point(398, 42);
     this.numericUpDown9.Maximum = new decimal(new int[] {
     10000,
     0,
     0,
     0});
     this.numericUpDown9.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown9.Name = "numericUpDown9";
     this.numericUpDown9.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown9.TabIndex = 160;
     this.toolTip1.SetToolTip(this.numericUpDown9, "Increase if movment occurs during capture -- Usually about 500 ms");
     this.numericUpDown9.Value = new decimal(new int[] {
     500,
     0,
     0,
     0});
     //
     // button14
     //
     this.button14.Location = new System.Drawing.Point(351, 93);
     this.button14.Name = "button14";
     this.button14.Size = new System.Drawing.Size(97, 23);
     this.button14.TabIndex = 163;
     this.button14.Text = "Reset Defaults";
     this.toolTip1.SetToolTip(this.button14, "Reset all stored values to default/installation values");
     this.button14.UseVisualStyleBackColor = true;
     this.button14.Click += new System.EventHandler(this.button14_Click);
     //
     // Button2000
     //
     this.Button2000.Location = new System.Drawing.Point(251, 17);
     this.Button2000.Name = "Button2000";
     this.Button2000.Size = new System.Drawing.Size(58, 23);
     this.Button2000.TabIndex = 166;
     this.Button2000.Text = "Std Dev";
     this.toolTip1.SetToolTip(this.Button2000, "Calculates Standard Deviation of 10 exposures");
     this.Button2000.UseVisualStyleBackColor = true;
     this.Button2000.Click += new System.EventHandler(this.Button2000_Click);
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location = new System.Drawing.Point(315, 52);
     this.numericUpDown1.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown1.Name = "numericUpDown1";
     this.numericUpDown1.Size = new System.Drawing.Size(38, 20);
     this.numericUpDown1.TabIndex = 169;
     this.numericUpDown1.Tag = "";
     this.toolTip1.SetToolTip(this.numericUpDown1, "Rounds HFR * 100 to nearest value");
     this.numericUpDown1.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // textBox22
     //
     this.textBox22.Location = new System.Drawing.Point(62, 62);
     this.textBox22.Name = "textBox22";
     this.textBox22.Size = new System.Drawing.Size(121, 20);
     this.textBox22.TabIndex = 174;
     this.toolTip1.SetToolTip(this.textBox22, "Enter camera name as it a appears on neb advnace setup window");
     this.textBox22.Click += new System.EventHandler(this.textBox22_Click);
     this.textBox22.TextChanged += new System.EventHandler(this.textBox22_TextChanged);
     //
     // radioButton3
     //
     this.radioButton3.AutoCheck = false;
     this.radioButton3.AutoSize = true;
     this.radioButton3.Checked = true;
     this.radioButton3.Location = new System.Drawing.Point(271, 72);
     this.radioButton3.Name = "radioButton3";
     this.radioButton3.Size = new System.Drawing.Size(14, 13);
     this.radioButton3.TabIndex = 180;
     this.radioButton3.TabStop = true;
     this.toolTip1.SetToolTip(this.radioButton3, "Use if in from focus point");
     this.radioButton3.UseVisualStyleBackColor = true;
     this.radioButton3.Click += new System.EventHandler(this.radioButton3_Click);
     //
     // radioButton2
     //
     this.radioButton2.AutoCheck = false;
     this.radioButton2.AutoSize = true;
     this.radioButton2.Location = new System.Drawing.Point(269, 47);
     this.radioButton2.Name = "radioButton2";
     this.radioButton2.Size = new System.Drawing.Size(14, 13);
     this.radioButton2.TabIndex = 179;
     this.radioButton2.TabStop = true;
     this.toolTip1.SetToolTip(this.radioButton2, "Use if out from focus point");
     this.radioButton2.UseVisualStyleBackColor = true;
     this.radioButton2.Click += new System.EventHandler(this.radioButton2_Click);
     //
     // textBox14
     //
     this.textBox14.Location = new System.Drawing.Point(210, 70);
     this.textBox14.Name = "textBox14";
     this.textBox14.Size = new System.Drawing.Size(55, 20);
     this.textBox14.TabIndex = 161;
     this.toolTip1.SetToolTip(this.textBox14, "Use if IN from focus point");
     //
     // textBox16
     //
     this.textBox16.Location = new System.Drawing.Point(210, 44);
     this.textBox16.Name = "textBox16";
     this.textBox16.Size = new System.Drawing.Size(55, 20);
     this.textBox16.TabIndex = 168;
     this.toolTip1.SetToolTip(this.textBox16, "Use if out from focus point");
     //
     // numericUpDown5
     //
     this.numericUpDown5.Location = new System.Drawing.Point(85, 48);
     this.numericUpDown5.Minimum = new decimal(new int[] {
     6,
     0,
     0,
     0});
     this.numericUpDown5.Name = "numericUpDown5";
     this.numericUpDown5.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown5.TabIndex = 123;
     this.toolTip1.SetToolTip(this.numericUpDown5, "Select number of exposures for course V-curve AND GotoFocus");
     this.numericUpDown5.Value = new decimal(new int[] {
     10,
     0,
     0,
     0});
     //
     // checkBox19
     //
     this.checkBox19.AutoSize = true;
     this.checkBox19.Location = new System.Drawing.Point(12, 49);
     this.checkBox19.Name = "checkBox19";
     this.checkBox19.Size = new System.Drawing.Size(112, 17);
     this.checkBox19.TabIndex = 262;
     this.checkBox19.Text = "OAG - Guiding off ";
     this.toolTip1.SetToolTip(this.checkBox19, "\"Stops PHD for Flats and for focus that requires slew\"");
     this.checkBox19.UseVisualStyleBackColor = true;
     //
     // numericUpDown21
     //
     this.numericUpDown21.Location = new System.Drawing.Point(93, 43);
     this.numericUpDown21.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown21.Name = "numericUpDown21";
     this.numericUpDown21.Size = new System.Drawing.Size(47, 20);
     this.numericUpDown21.TabIndex = 205;
     this.toolTip1.SetToolTip(this.numericUpDown21, "Select number of exposures for course V-curve AND GotoFocus");
     this.numericUpDown21.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // label87
     //
     this.label87.AutoSize = true;
     this.label87.Location = new System.Drawing.Point(141, 122);
     this.label87.Name = "label87";
     this.label87.Size = new System.Drawing.Size(63, 13);
     this.label87.TabIndex = 182;
     this.label87.Text = "Sample Pos";
     this.toolTip1.SetToolTip(this.label87, "Sample position on V-curve for GotoFocus in steps from focus point (max 50)");
     //
     // numericUpDown39
     //
     this.numericUpDown39.Increment = new decimal(new int[] {
     5,
     0,
     0,
     0});
     this.numericUpDown39.Location = new System.Drawing.Point(210, 120);
     this.numericUpDown39.Maximum = new decimal(new int[] {
     999999,
     0,
     0,
     0});
     this.numericUpDown39.Name = "numericUpDown39";
     this.numericUpDown39.Size = new System.Drawing.Size(55, 20);
     this.numericUpDown39.TabIndex = 181;
     this.toolTip1.SetToolTip(this.numericUpDown39, "Ideally about mid portion of one side of V-curve");
     this.numericUpDown39.Value = new decimal(new int[] {
     20,
     0,
     0,
     0});
     //
     // checkBox13
     //
     this.checkBox13.AutoSize = true;
     this.checkBox13.Location = new System.Drawing.Point(12, 188);
     this.checkBox13.Name = "checkBox13";
     this.checkBox13.Size = new System.Drawing.Size(134, 17);
     this.checkBox13.TabIndex = 241;
     this.checkBox13.Text = "7     Flat(Time in mSec)";
     this.toolTip1.SetToolTip(this.checkBox13, "Single flat with filter position 1 unless \"Flat Every Filter\" checked");
     this.checkBox13.UseVisualStyleBackColor = true;
     this.checkBox13.CheckedChanged += new System.EventHandler(this.checkBox13_CheckedChanged);
     //
     // checkBox26
     //
     this.checkBox26.AutoSize = true;
     this.checkBox26.Location = new System.Drawing.Point(41, 146);
     this.checkBox26.Name = "checkBox26";
     this.checkBox26.Size = new System.Drawing.Size(129, 17);
     this.checkBox26.TabIndex = 39;
     this.checkBox26.Text = "Use Nebulosity Image";
     this.toolTip1.SetToolTip(this.checkBox26, "Get from Caputre if checked, selelct file if unchecked");
     this.checkBox26.UseVisualStyleBackColor = true;
     //
     // toolTip3
     //
     this.toolTip3.AutoPopDelay = 8000;
     this.toolTip3.InitialDelay = 500;
     this.toolTip3.ReshowDelay = 100;
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(154, 20);
     this.button3.Name = "button3";
     this.button3.Size = new System.Drawing.Size(50, 23);
     this.button3.TabIndex = 149;
     this.button3.Text = "Fine";
     this.toolTip3.SetToolTip(this.button3, "Moves to N/2 times step size and generates V-curve\r\nMust first determine focus po" +
     "sition with std(course) V-curve");
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.button3_Click_1);
     //
     // button9
     //
     this.button9.Location = new System.Drawing.Point(97, 152);
     this.button9.Name = "button9";
     this.button9.Size = new System.Drawing.Size(75, 23);
     this.button9.TabIndex = 145;
     this.button9.Text = "&Snyc Pos";
     this.toolTip3.SetToolTip(this.button9, "Push to sync after any manual position changes");
     this.button9.UseVisualStyleBackColor = true;
     this.button9.Click += new System.EventHandler(this.button9_Click_1);
     //
     // ButtonDisable
     //
     this.ButtonDisable.Location = new System.Drawing.Point(10, 181);
     this.ButtonDisable.Name = "ButtonDisable";
     this.ButtonDisable.Size = new System.Drawing.Size(75, 23);
     this.ButtonDisable.TabIndex = 106;
     this.ButtonDisable.Text = "&Close";
     this.toolTip3.SetToolTip(this.ButtonDisable, "Moves to zero and closes application");
     this.ButtonDisable.UseVisualStyleBackColor = true;
     this.ButtonDisable.Click += new System.EventHandler(this.ButtonDisable_Click_1);
     //
     // button8
     //
     this.button8.BackColor = System.Drawing.Color.Transparent;
     this.button8.Location = new System.Drawing.Point(7, 93);
     this.button8.Name = "button8";
     this.button8.Size = new System.Drawing.Size(55, 23);
     this.button8.TabIndex = 153;
     this.button8.Text = "Focus";
     this.toolTip3.SetToolTip(this.button8, "Connect to Arduino after port selection.\r\nSends Stepper Delay and Max Travel to a" +
     "pplication.\r\nWill autoconnect if single port detected");
     this.button8.UseVisualStyleBackColor = false;
     this.button8.Click += new System.EventHandler(this.button8_Click_2);
     //
     // button5
     //
     this.button5.Location = new System.Drawing.Point(6, 51);
     this.button5.Name = "button5";
     this.button5.Size = new System.Drawing.Size(75, 23);
     this.button5.TabIndex = 158;
     this.button5.Text = "Temp Cal";
     this.toolTip3.SetToolTip(this.button5, "Repeat Fine V-curves to determine focus point with temp changes.\r\nPress Abort to " +
     "stop");
     this.button5.UseVisualStyleBackColor = true;
     this.button5.Click += new System.EventHandler(this.button5_Click);
     //
     // textBox11
     //
     this.textBox11.Location = new System.Drawing.Point(67, 43);
     this.textBox11.Name = "textBox11";
     this.textBox11.Size = new System.Drawing.Size(180, 20);
     this.textBox11.TabIndex = 162;
     this.toolTip3.SetToolTip(this.textBox11, "Full path of Directory setting in Nebulosity");
     this.textBox11.Click += new System.EventHandler(this.textBox11_Click);
     this.textBox11.TextChanged += new System.EventHandler(this.textBox11_TextChanged);
     //
     // chart1
     //
     chartArea10.AxisX.Title = "Position";
     chartArea10.AxisY.Crossing = -1.7976931348623157E+308D;
     chartArea10.AxisY.IsStartedFromZero = false;
     chartArea10.AxisY.Title = "HFR";
     chartArea10.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea10);
     legend10.Name = "Legend1";
     this.chart1.Legends.Add(legend10);
     this.chart1.Location = new System.Drawing.Point(26, 350);
     this.chart1.Name = "chart1";
     this.chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Bright;
     series37.ChartArea = "ChartArea1";
     series37.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine;
     series37.Legend = "Legend1";
     series37.MarkerBorderWidth = 2;
     series37.Name = "Rough V";
     series37.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series37.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series38.ChartArea = "ChartArea1";
     series38.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastPoint;
     series38.Legend = "Legend1";
     series38.MarkerBorderColor = System.Drawing.Color.Blue;
     series38.MarkerColor = System.Drawing.Color.White;
     series38.MarkerSize = 8;
     series38.MarkerStyle = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
     series38.Name = "Fine V- Data Used";
     series38.YValuesPerPoint = 2;
     series39.ChartArea = "ChartArea1";
     series39.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastPoint;
     series39.Legend = "Legend1";
     series39.MarkerBorderColor = System.Drawing.Color.Red;
     series39.MarkerColor = System.Drawing.Color.White;
     series39.MarkerSize = 8;
     series39.MarkerStyle = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
     series39.Name = "Fine V";
     series40.ChartArea = "ChartArea1";
     series40.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     series40.Legend = "Legend1";
     series40.MarkerBorderColor = System.Drawing.Color.Purple;
     series40.MarkerColor = System.Drawing.Color.Purple;
     series40.MarkerSize = 8;
     series40.MarkerStyle = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Diamond;
     series40.Name = "Temp Cal";
     this.chart1.Series.Add(series37);
     this.chart1.Series.Add(series38);
     this.chart1.Series.Add(series39);
     this.chart1.Series.Add(series40);
     this.chart1.Size = new System.Drawing.Size(688, 157);
     this.chart1.TabIndex = 51;
     this.chart1.Text = "chart1";
     title10.Name = "Title 1";
     this.chart1.Titles.Add(title10);
     //
     // menuStrip1
     //
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name = "menuStrip1";
     this.menuStrip1.Size = new System.Drawing.Size(749, 24);
     this.menuStrip1.TabIndex = 0;
     this.menuStrip1.Text = "menuStrip1";
     //
     // fileSystemWatcher1
     //
     this.fileSystemWatcher1.EnableRaisingEvents = true;
     this.fileSystemWatcher1.Filter = "*.bmp";
     this.fileSystemWatcher1.NotifyFilter = System.IO.NotifyFilters.LastWrite;
     this.fileSystemWatcher1.SynchronizingObject = this;
     this.fileSystemWatcher1.Changed += new System.IO.FileSystemEventHandler(this.fileSystemWatcher1_Changed);
     //
     // dataSet1
     //
     this.dataSet1.DataSetName = "NewDataSet";
     this.dataSet1.Tables.AddRange(new System.Data.DataTable[] {
     this.dataTable1});
     //
     // dataTable1
     //
     this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] {
     this.dataColumn1,
     this.dataColumn4,
     this.dataColumn5,
     this.dataColumn2,
     this.dataColumn3,
     this.dataColumn6,
     this.dataColumn7,
     this.dataColumn8});
     this.dataTable1.TableName = "Table1";
     //
     // dataColumn1
     //
     this.dataColumn1.ColumnName = "Date";
     //
     // dataColumn4
     //
     this.dataColumn4.ColumnName = "PID";
     this.dataColumn4.DataType = typeof(int);
     //
     // dataColumn5
     //
     this.dataColumn5.ColumnName = "SlopeDWN";
     this.dataColumn5.DataType = typeof(double);
     //
     // dataColumn2
     //
     this.dataColumn2.Caption = "SlopeUP";
     this.dataColumn2.ColumnName = "SlopeUP";
     this.dataColumn2.DataType = typeof(double);
     //
     // dataColumn3
     //
     this.dataColumn3.Caption = "Number";
     this.dataColumn3.ColumnName = "Number";
     this.dataColumn3.DataType = typeof(int);
     //
     // dataColumn6
     //
     this.dataColumn6.Caption = "Equip";
     this.dataColumn6.ColumnName = "Equip";
     //
     // dataColumn7
     //
     this.dataColumn7.Caption = "BestHFR";
     this.dataColumn7.ColumnName = "BestHFR";
     this.dataColumn7.DataType = typeof(int);
     //
     // dataColumn8
     //
     this.dataColumn8.Caption = "FocusPos";
     this.dataColumn8.ColumnName = "FocusPos";
     this.dataColumn8.DataType = typeof(int);
     //
     // dataGridView1
     //
     this.dataGridView1.AutoGenerateColumns = false;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.Column5,
     this.Column1,
     this.Column2,
     this.Column3,
     this.Column4,
     this.Column6,
     this.Column7,
     this.FocusPos});
     this.dataGridView1.DataSource = this.dataSet1;
     this.dataGridView1.Location = new System.Drawing.Point(12, 515);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.Size = new System.Drawing.Size(613, 176);
     this.dataGridView1.TabIndex = 89;
     this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
     this.dataGridView1.SelectionChanged += new System.EventHandler(this.dataGridView1_SelectionChanged);
     //
     // Column5
     //
     this.Column5.DataPropertyName = "Number";
     this.Column5.HeaderText = "#";
     this.Column5.Name = "Column5";
     this.Column5.Width = 40;
     //
     // Column1
     //
     this.Column1.DataPropertyName = "Date";
     dataGridViewCellStyle10.Format = "G";
     dataGridViewCellStyle10.NullValue = null;
     this.Column1.DefaultCellStyle = dataGridViewCellStyle10;
     this.Column1.HeaderText = "Date";
     this.Column1.Name = "Column1";
     this.Column1.Width = 150;
     //
     // Column2
     //
     this.Column2.DataPropertyName = "PID";
     this.Column2.HeaderText = "PID";
     this.Column2.Name = "Column2";
     this.Column2.Width = 40;
     //
     // Column3
     //
     this.Column3.DataPropertyName = "SlopeDWN";
     this.Column3.HeaderText = "SlpDwn";
     this.Column3.Name = "Column3";
     this.Column3.Width = 50;
     //
     // Column4
     //
     this.Column4.DataPropertyName = "SlopeUP";
     this.Column4.HeaderText = "SlpUp";
     this.Column4.Name = "Column4";
     this.Column4.Width = 50;
     //
     // Column6
     //
     this.Column6.DataPropertyName = "Equip";
     this.Column6.HeaderText = "Equip";
     this.Column6.Name = "Column6";
     this.Column6.Width = 150;
     //
     // Column7
     //
     this.Column7.DataPropertyName = "BestHFR";
     this.Column7.HeaderText = "HFR";
     this.Column7.Name = "Column7";
     this.Column7.Width = 40;
     //
     // FocusPos
     //
     this.FocusPos.DataPropertyName = "FocusPos";
     this.FocusPos.HeaderText = "Focus";
     this.FocusPos.Name = "FocusPos";
     this.FocusPos.Width = 60;
     //
     // button13
     //
     this.button13.Location = new System.Drawing.Point(639, 577);
     this.button13.Name = "button13";
     this.button13.Size = new System.Drawing.Size(75, 23);
     this.button13.TabIndex = 98;
     this.button13.Text = "Update";
     this.button13.UseVisualStyleBackColor = true;
     this.button13.Click += new System.EventHandler(this.button13_Click);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage4);
     this.tabControl1.Controls.Add(this.tabPage5);
     this.tabControl1.Controls.Add(this.tabPage6);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Controls.Add(this.tabPage7);
     this.tabControl1.ItemSize = new System.Drawing.Size(75, 18);
     this.tabControl1.Location = new System.Drawing.Point(0, 0);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(746, 248);
     this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight;
     this.tabControl1.TabIndex = 106;
     this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
     this.tabControl1.Click += new System.EventHandler(this.tabControl1_Click);
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.WhiteSmoke;
     this.tabPage2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tabPage2.Controls.Add(this.groupBox4);
     this.tabPage2.Controls.Add(this.groupBox3);
     this.tabPage2.Controls.Add(this.groupBox2);
     this.tabPage2.Controls.Add(this.groupBox1);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(738, 222);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Setup";
     this.tabPage2.Click += new System.EventHandler(this.tabPage2_Click);
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.checkBox29);
     this.groupBox4.Controls.Add(this.checkBox28);
     this.groupBox4.Controls.Add(this.button59);
     this.groupBox4.Controls.Add(this.Button2000);
     this.groupBox4.Controls.Add(this.button10);
     this.groupBox4.Controls.Add(this.textBox8);
     this.groupBox4.Controls.Add(this.numericUpDown1);
     this.groupBox4.Controls.Add(this.button5);
     this.groupBox4.Controls.Add(this.label1);
     this.groupBox4.Controls.Add(this.textBox9);
     this.groupBox4.Location = new System.Drawing.Point(361, 129);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(369, 87);
     this.groupBox4.TabIndex = 188;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Misc";
     //
     // checkBox29
     //
     this.checkBox29.AutoSize = true;
     this.checkBox29.Enabled = false;
     this.checkBox29.Location = new System.Drawing.Point(146, 19);
     this.checkBox29.Name = "checkBox29";
     this.checkBox29.Size = new System.Drawing.Size(99, 17);
     this.checkBox29.TabIndex = 173;
     this.checkBox29.Text = "Bklsh Comp On";
     this.checkBox29.UseVisualStyleBackColor = true;
     //
     // checkBox28
     //
     this.checkBox28.AutoSize = true;
     this.checkBox28.Location = new System.Drawing.Point(179, 55);
     this.checkBox28.Name = "checkBox28";
     this.checkBox28.Size = new System.Drawing.Size(66, 17);
     this.checkBox28.TabIndex = 172;
     this.checkBox28.Text = "Reverse";
     this.checkBox28.UseVisualStyleBackColor = true;
     this.checkBox28.CheckedChanged += new System.EventHandler(this.checkBox28_CheckedChanged);
     //
     // button59
     //
     this.button59.Location = new System.Drawing.Point(90, 51);
     this.button59.Name = "button59";
     this.button59.Size = new System.Drawing.Size(75, 23);
     this.button59.TabIndex = 170;
     this.button59.Text = "Cont Hold";
     this.button59.UseVisualStyleBackColor = true;
     this.button59.Click += new System.EventHandler(this.button59_Click);
     //
     // textBox8
     //
     this.textBox8.Location = new System.Drawing.Point(88, 17);
     this.textBox8.Name = "textBox8";
     this.textBox8.Size = new System.Drawing.Size(50, 20);
     this.textBox8.TabIndex = 157;
     this.textBox8.TextChanged += new System.EventHandler(this.textBox8_TextChanged);
     this.textBox8.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox8_KeyDown);
     this.textBox8.Leave += new System.EventHandler(this.textBox8_Leave);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(251, 56);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(58, 13);
     this.label1.TabIndex = 168;
     this.label1.Text = "Round To:";
     //
     // textBox9
     //
     this.textBox9.Location = new System.Drawing.Point(315, 19);
     this.textBox9.Name = "textBox9";
     this.textBox9.Size = new System.Drawing.Size(45, 20);
     this.textBox9.TabIndex = 167;
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.button12);
     this.groupBox3.Controls.Add(this.buttonFilterConnect);
     this.groupBox3.Controls.Add(this.label18);
     this.groupBox3.Controls.Add(this.textBox35);
     this.groupBox3.Controls.Add(this.button8);
     this.groupBox3.Controls.Add(this.label44);
     this.groupBox3.Controls.Add(this.label17);
     this.groupBox3.Controls.Add(this.textBox11);
     this.groupBox3.Controls.Add(this.button49);
     this.groupBox3.Location = new System.Drawing.Point(9, 2);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(257, 125);
     this.groupBox3.TabIndex = 188;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Connections";
     //
     // button12
     //
     this.button12.Location = new System.Drawing.Point(192, 93);
     this.button12.Name = "button12";
     this.button12.Size = new System.Drawing.Size(55, 23);
     this.button12.TabIndex = 185;
     this.button12.Text = "Switch";
     this.button12.UseVisualStyleBackColor = true;
     this.button12.Click += new System.EventHandler(this.button12_Click);
     //
     // buttonFilterConnect
     //
     this.buttonFilterConnect.Location = new System.Drawing.Point(130, 93);
     this.buttonFilterConnect.Name = "buttonFilterConnect";
     this.buttonFilterConnect.Size = new System.Drawing.Size(55, 23);
     this.buttonFilterConnect.TabIndex = 184;
     this.buttonFilterConnect.Text = "Filter";
     this.buttonFilterConnect.UseVisualStyleBackColor = true;
     this.buttonFilterConnect.Click += new System.EventHandler(this.buttonFilterConnect_Click);
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Location = new System.Drawing.Point(10, 73);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(91, 13);
     this.label18.TabIndex = 152;
     this.label18.Text = "ASCOM Connect:";
     this.label18.Click += new System.EventHandler(this.label18_Click);
     //
     // textBox35
     //
     this.textBox35.Location = new System.Drawing.Point(67, 17);
     this.textBox35.Name = "textBox35";
     this.textBox35.Size = new System.Drawing.Size(180, 20);
     this.textBox35.TabIndex = 182;
     this.textBox35.Click += new System.EventHandler(this.textBox35_Click);
     //
     // label44
     //
     this.label44.AutoSize = true;
     this.label44.Location = new System.Drawing.Point(3, 20);
     this.label44.Name = "label44";
     this.label44.Size = new System.Drawing.Size(58, 13);
     this.label44.TabIndex = 181;
     this.label44.Text = "Neb Path: ";
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Location = new System.Drawing.Point(10, 46);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(51, 13);
     this.label17.TabIndex = 161;
     this.label17.Text = "File Path:";
     //
     // button49
     //
     this.button49.Location = new System.Drawing.Point(68, 93);
     this.button49.Name = "button49";
     this.button49.Size = new System.Drawing.Size(55, 23);
     this.button49.TabIndex = 19;
     this.button49.Text = "Mount";
     this.button49.UseVisualStyleBackColor = true;
     this.button49.Click += new System.EventHandler(this.button49_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.checkBox31);
     this.groupBox2.Controls.Add(this.groupBox20);
     this.groupBox2.Controls.Add(this.radioButton4);
     this.groupBox2.Controls.Add(this.label88);
     this.groupBox2.Controls.Add(this.numericUpDown40);
     this.groupBox2.Controls.Add(this.label58);
     this.groupBox2.Controls.Add(this.textBox2);
     this.groupBox2.Controls.Add(this.label57);
     this.groupBox2.Controls.Add(this.label16);
     this.groupBox2.Controls.Add(this.label8);
     this.groupBox2.Controls.Add(this.numericUpDown9);
     this.groupBox2.Controls.Add(this.button41);
     this.groupBox2.Controls.Add(this.button14);
     this.groupBox2.Controls.Add(this.button23);
     this.groupBox2.Controls.Add(this.radioButton8);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.label50);
     this.groupBox2.Controls.Add(this.textBox22);
     this.groupBox2.Controls.Add(this.comboBox7);
     this.groupBox2.Controls.Add(this.label40);
     this.groupBox2.Location = new System.Drawing.Point(272, 2);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(458, 124);
     this.groupBox2.TabIndex = 194;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Equipment";
     //
     // checkBox31
     //
     this.checkBox31.AutoSize = true;
     this.checkBox31.Location = new System.Drawing.Point(62, 95);
     this.checkBox31.Name = "checkBox31";
     this.checkBox31.Size = new System.Drawing.Size(120, 17);
     this.checkBox31.TabIndex = 197;
     this.checkBox31.Text = "Internal Filter Wheel";
     this.checkBox31.UseVisualStyleBackColor = true;
     this.checkBox31.CheckedChanged += new System.EventHandler(this.checkBox31_CheckedChanged);
     //
     // groupBox20
     //
     this.groupBox20.Controls.Add(this.radioButton9);
     this.groupBox20.Controls.Add(this.radioButton10);
     this.groupBox20.Location = new System.Drawing.Point(244, 46);
     this.groupBox20.Name = "groupBox20";
     this.groupBox20.Size = new System.Drawing.Size(89, 54);
     this.groupBox20.TabIndex = 196;
     this.groupBox20.TabStop = false;
     //
     // radioButton9
     //
     this.radioButton9.AutoSize = true;
     this.radioButton9.Location = new System.Drawing.Point(9, 10);
     this.radioButton9.Name = "radioButton9";
     this.radioButton9.Size = new System.Drawing.Size(67, 17);
     this.radioButton9.TabIndex = 171;
     this.radioButton9.Text = "Extender";
     this.radioButton9.UseVisualStyleBackColor = true;
     this.radioButton9.CheckedChanged += new System.EventHandler(this.radioButton9_CheckedChanged);
     //
     // radioButton10
     //
     this.radioButton10.AutoSize = true;
     this.radioButton10.Location = new System.Drawing.Point(9, 29);
     this.radioButton10.Name = "radioButton10";
     this.radioButton10.Size = new System.Drawing.Size(66, 17);
     this.radioButton10.TabIndex = 172;
     this.radioButton10.Text = "Reducer";
     this.radioButton10.UseVisualStyleBackColor = true;
     this.radioButton10.CheckedChanged += new System.EventHandler(this.radioButton10_CheckedChanged);
     //
     // radioButton4
     //
     this.radioButton4.AutoSize = true;
     this.radioButton4.Location = new System.Drawing.Point(253, 100);
     this.radioButton4.Name = "radioButton4";
     this.radioButton4.Size = new System.Drawing.Size(40, 17);
     this.radioButton4.TabIndex = 195;
     this.radioButton4.Text = "AO";
     this.radioButton4.UseVisualStyleBackColor = true;
     this.radioButton4.CheckedChanged += new System.EventHandler(this.radioButton4_CheckedChanged);
     //
     // label88
     //
     this.label88.AutoSize = true;
     this.label88.Location = new System.Drawing.Point(337, 70);
     this.label88.Name = "label88";
     this.label88.Size = new System.Drawing.Size(55, 13);
     this.label88.TabIndex = 194;
     this.label88.Text = "Step Size:";
     //
     // numericUpDown40
     //
     this.numericUpDown40.Increment = new decimal(new int[] {
     10,
     0,
     0,
     0});
     this.numericUpDown40.Location = new System.Drawing.Point(398, 68);
     this.numericUpDown40.Maximum = new decimal(new int[] {
     10000,
     0,
     0,
     0});
     this.numericUpDown40.Name = "numericUpDown40";
     this.numericUpDown40.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown40.TabIndex = 193;
     this.numericUpDown40.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown40.ValueChanged += new System.EventHandler(this.numericUpDown40_ValueChanged);
     //
     // label58
     //
     this.label58.AutoSize = true;
     this.label58.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label58.Location = new System.Drawing.Point(214, 16);
     this.label58.Name = "label58";
     this.label58.Size = new System.Drawing.Size(23, 13);
     this.label58.TabIndex = 192;
     this.label58.Text = "Del";
     //
     // label57
     //
     this.label57.AutoSize = true;
     this.label57.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label57.Location = new System.Drawing.Point(186, 16);
     this.label57.Name = "label57";
     this.label57.Size = new System.Drawing.Size(26, 13);
     this.label57.TabIndex = 191;
     this.label57.Text = "Add";
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Location = new System.Drawing.Point(330, 16);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(63, 13);
     this.label16.TabIndex = 148;
     this.label16.Text = "Max Travel:";
     //
     // button41
     //
     this.button41.Location = new System.Drawing.Point(215, 31);
     this.button41.Name = "button41";
     this.button41.Size = new System.Drawing.Size(19, 23);
     this.button41.TabIndex = 188;
     this.button41.Text = "-";
     this.button41.UseVisualStyleBackColor = true;
     this.button41.Click += new System.EventHandler(this.button41_Click);
     //
     // button23
     //
     this.button23.Location = new System.Drawing.Point(189, 30);
     this.button23.Name = "button23";
     this.button23.Size = new System.Drawing.Size(19, 23);
     this.button23.TabIndex = 187;
     this.button23.Text = "+";
     this.button23.UseVisualStyleBackColor = true;
     this.button23.Click += new System.EventHandler(this.button23_Click_1);
     //
     // radioButton8
     //
     this.radioButton8.AutoSize = true;
     this.radioButton8.Checked = true;
     this.radioButton8.Location = new System.Drawing.Point(253, 31);
     this.radioButton8.Name = "radioButton8";
     this.radioButton8.Size = new System.Drawing.Size(51, 17);
     this.radioButton8.TabIndex = 170;
     this.radioButton8.TabStop = true;
     this.radioButton8.Text = "None";
     this.radioButton8.UseVisualStyleBackColor = true;
     this.radioButton8.CheckedChanged += new System.EventHandler(this.radioButton8_CheckedChanged);
     this.radioButton8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.radioButton8_MouseDown);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(250, 12);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(62, 13);
     this.label3.TabIndex = 173;
     this.label3.Text = "Addt Equip:";
     //
     // label50
     //
     this.label50.AutoSize = true;
     this.label50.Location = new System.Drawing.Point(15, 34);
     this.label50.Name = "label50";
     this.label50.Size = new System.Drawing.Size(41, 13);
     this.label50.TabIndex = 184;
     this.label50.Text = "Scope:";
     //
     // comboBox7
     //
     this.comboBox7.FormattingEnabled = true;
     this.comboBox7.Location = new System.Drawing.Point(62, 31);
     this.comboBox7.Name = "comboBox7";
     this.comboBox7.Size = new System.Drawing.Size(121, 21);
     this.comboBox7.TabIndex = 183;
     this.comboBox7.SelectedIndexChanged += new System.EventHandler(this.comboBox7_SelectedIndexChanged);
     //
     // label40
     //
     this.label40.AutoSize = true;
     this.label40.Location = new System.Drawing.Point(10, 65);
     this.label40.Name = "label40";
     this.label40.Size = new System.Drawing.Size(46, 13);
     this.label40.TabIndex = 175;
     this.label40.Text = "Camera:";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.button42);
     this.groupBox1.Controls.Add(this.textBox34);
     this.groupBox1.Controls.Add(this.button29);
     this.groupBox1.Controls.Add(this.label41);
     this.groupBox1.Controls.Add(this.label42);
     this.groupBox1.Controls.Add(this.textBox33);
     this.groupBox1.Location = new System.Drawing.Point(7, 129);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(348, 87);
     this.groupBox1.TabIndex = 193;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "V-Curve Data";
     //
     // button42
     //
     this.button42.Location = new System.Drawing.Point(258, 49);
     this.button42.Name = "button42";
     this.button42.Size = new System.Drawing.Size(69, 23);
     this.button42.TabIndex = 189;
     this.button42.Text = "Export";
     this.button42.UseVisualStyleBackColor = true;
     this.button42.Click += new System.EventHandler(this.button42_Click_1);
     //
     // textBox34
     //
     this.textBox34.Location = new System.Drawing.Point(69, 21);
     this.textBox34.Name = "textBox34";
     this.textBox34.Size = new System.Drawing.Size(177, 20);
     this.textBox34.TabIndex = 179;
     this.textBox34.Click += new System.EventHandler(this.textBox34_Click);
     //
     // button29
     //
     this.button29.Location = new System.Drawing.Point(258, 19);
     this.button29.Name = "button29";
     this.button29.Size = new System.Drawing.Size(69, 23);
     this.button29.TabIndex = 188;
     this.button29.Text = "Import";
     this.button29.UseVisualStyleBackColor = true;
     this.button29.Click += new System.EventHandler(this.button29_Click);
     //
     // label41
     //
     this.label41.AutoSize = true;
     this.label41.Location = new System.Drawing.Point(23, 54);
     this.label41.Name = "label41";
     this.label41.Size = new System.Drawing.Size(40, 13);
     this.label41.TabIndex = 176;
     this.label41.Text = "Export:";
     //
     // label42
     //
     this.label42.AutoSize = true;
     this.label42.Location = new System.Drawing.Point(24, 25);
     this.label42.Name = "label42";
     this.label42.Size = new System.Drawing.Size(39, 13);
     this.label42.TabIndex = 178;
     this.label42.Text = "Import:";
     //
     // textBox33
     //
     this.textBox33.Location = new System.Drawing.Point(69, 51);
     this.textBox33.Name = "textBox33";
     this.textBox33.Size = new System.Drawing.Size(177, 20);
     this.textBox33.TabIndex = 177;
     this.textBox33.Click += new System.EventHandler(this.textBox33_Click);
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.tabPage1.Controls.Add(this.groupBox11);
     this.tabPage1.Controls.Add(this.groupBox10);
     this.tabPage1.Controls.Add(this.groupBox9);
     this.tabPage1.Controls.Add(this.groupBox8);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(738, 222);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Control";
     //
     // groupBox11
     //
     this.groupBox11.Controls.Add(this.label84);
     this.groupBox11.Controls.Add(this.numericUpDown21);
     this.groupBox11.Controls.Add(this.button27);
     this.groupBox11.Controls.Add(this.checkBox22);
     this.groupBox11.Controls.Add(this.label65);
     this.groupBox11.Controls.Add(this.textBox43);
     this.groupBox11.Controls.Add(this.label64);
     this.groupBox11.Controls.Add(this.button25);
     this.groupBox11.Controls.Add(this.textBox25);
     this.groupBox11.Location = new System.Drawing.Point(10, 153);
     this.groupBox11.Name = "groupBox11";
     this.groupBox11.Size = new System.Drawing.Size(289, 66);
     this.groupBox11.TabIndex = 188;
     this.groupBox11.TabStop = false;
     this.groupBox11.Text = "Full Frame Metric";
     //
     // label84
     //
     this.label84.AutoSize = true;
     this.label84.Location = new System.Drawing.Point(69, 47);
     this.label84.Name = "label84";
     this.label84.Size = new System.Drawing.Size(21, 13);
     this.label84.TabIndex = 206;
     this.label84.Text = "N=";
     //
     // button27
     //
     this.button27.Location = new System.Drawing.Point(93, 15);
     this.button27.Name = "button27";
     this.button27.Size = new System.Drawing.Size(51, 23);
     this.button27.TabIndex = 204;
     this.button27.Text = "Sample";
     this.button27.UseVisualStyleBackColor = true;
     this.button27.Click += new System.EventHandler(this.button27_Click);
     //
     // checkBox22
     //
     this.checkBox22.AutoSize = true;
     this.checkBox22.Location = new System.Drawing.Point(21, 45);
     this.checkBox22.Name = "checkBox22";
     this.checkBox22.Size = new System.Drawing.Size(40, 17);
     this.checkBox22.TabIndex = 203;
     this.checkBox22.Text = "On";
     this.checkBox22.UseVisualStyleBackColor = true;
     this.checkBox22.CheckedChanged += new System.EventHandler(this.checkBox22_CheckedChanged_1);
     //
     // label65
     //
     this.label65.AutoSize = true;
     this.label65.Location = new System.Drawing.Point(157, 20);
     this.label65.Name = "label65";
     this.label65.Size = new System.Drawing.Size(73, 13);
     this.label65.TabIndex = 202;
     this.label65.Text = "Exp time(sec):";
     //
     // textBox43
     //
     this.textBox43.Location = new System.Drawing.Point(236, 17);
     this.textBox43.Name = "textBox43";
     this.textBox43.Size = new System.Drawing.Size(47, 20);
     this.textBox43.TabIndex = 200;
     this.textBox43.Text = "1";
     //
     // label64
     //
     this.label64.AutoSize = true;
     this.label64.Location = new System.Drawing.Point(146, 46);
     this.label64.Name = "label64";
     this.label64.Size = new System.Drawing.Size(83, 13);
     this.label64.TabIndex = 199;
     this.label64.Text = "Full Frame HFR:";
     //
     // button25
     //
     this.button25.Location = new System.Drawing.Point(12, 15);
     this.button25.Name = "button25";
     this.button25.Size = new System.Drawing.Size(64, 23);
     this.button25.TabIndex = 195;
     this.button25.Text = "Metric V";
     this.button25.UseVisualStyleBackColor = true;
     this.button25.Click += new System.EventHandler(this.button25_Click);
     //
     // textBox25
     //
     this.textBox25.Location = new System.Drawing.Point(236, 43);
     this.textBox25.Name = "textBox25";
     this.textBox25.Size = new System.Drawing.Size(47, 20);
     this.textBox25.TabIndex = 192;
     //
     // groupBox10
     //
     this.groupBox10.Controls.Add(this.textBox7);
     this.groupBox10.Controls.Add(this.numericUpDown2);
     this.groupBox10.Controls.Add(this.label7);
     this.groupBox10.Controls.Add(this.numericUpDown4);
     this.groupBox10.Controls.Add(this.button4);
     this.groupBox10.Controls.Add(this.label14);
     this.groupBox10.Controls.Add(this.numericUpDown5);
     this.groupBox10.Controls.Add(this.label15);
     this.groupBox10.Controls.Add(this.button6);
     this.groupBox10.Controls.Add(this.label22);
     this.groupBox10.Controls.Add(this.textBox6);
     this.groupBox10.Controls.Add(this.textBox17);
     this.groupBox10.Controls.Add(this.label5);
     this.groupBox10.Controls.Add(this.label21);
     this.groupBox10.Controls.Add(this.label10);
     this.groupBox10.Controls.Add(this.numericUpDown10);
     this.groupBox10.Controls.Add(this.progressBar1);
     this.groupBox10.Controls.Add(this.numericUpDown8);
     this.groupBox10.Controls.Add(this.button3);
     this.groupBox10.Controls.Add(this.numericUpDown7);
     this.groupBox10.Controls.Add(this.numericUpDown3);
     this.groupBox10.Location = new System.Drawing.Point(494, 6);
     this.groupBox10.Name = "groupBox10";
     this.groupBox10.Size = new System.Drawing.Size(233, 213);
     this.groupBox10.TabIndex = 188;
     this.groupBox10.TabStop = false;
     this.groupBox10.Text = "V-Curve";
     //
     // textBox7
     //
     this.textBox7.Location = new System.Drawing.Point(85, 152);
     this.textBox7.Name = "textBox7";
     this.textBox7.Size = new System.Drawing.Size(50, 20);
     this.textBox7.TabIndex = 132;
     //
     // numericUpDown2
     //
     this.numericUpDown2.Location = new System.Drawing.Point(85, 100);
     this.numericUpDown2.Maximum = new decimal(new int[] {
     999999,
     0,
     0,
     0});
     this.numericUpDown2.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown2.Name = "numericUpDown2";
     this.numericUpDown2.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown2.TabIndex = 118;
     this.numericUpDown2.Value = new decimal(new int[] {
     10,
     0,
     0,
     0});
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(24, 102);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(55, 13);
     this.label7.TabIndex = 119;
     this.label7.Text = "Step Size:";
     //
     // numericUpDown4
     //
     this.numericUpDown4.Location = new System.Drawing.Point(85, 74);
     this.numericUpDown4.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown4.Name = "numericUpDown4";
     this.numericUpDown4.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown4.TabIndex = 121;
     this.numericUpDown4.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(23, 177);
     this.button4.Name = "button4";
     this.button4.Size = new System.Drawing.Size(46, 23);
     this.button4.TabIndex = 141;
     this.button4.Text = "&Abort";
     this.button4.UseVisualStyleBackColor = true;
     this.button4.Click += new System.EventHandler(this.button4_Click_2);
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(20, 74);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(59, 13);
     this.label14.TabIndex = 122;
     this.label14.Text = "Exposures:";
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(42, 48);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(37, 13);
     this.label15.TabIndex = 124;
     this.label15.Text = "Set N:";
     //
     // button6
     //
     this.button6.Location = new System.Drawing.Point(83, 20);
     this.button6.Name = "button6";
     this.button6.Size = new System.Drawing.Size(50, 23);
     this.button6.TabIndex = 125;
     this.button6.Text = "Coarse";
     this.button6.UseVisualStyleBackColor = true;
     this.button6.Click += new System.EventHandler(this.button6_Click_1);
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Location = new System.Drawing.Point(137, 128);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(19, 13);
     this.label22.TabIndex = 172;
     this.label22.Text = "of:";
     //
     // textBox6
     //
     this.textBox6.Location = new System.Drawing.Point(154, 152);
     this.textBox6.Name = "textBox6";
     this.textBox6.Size = new System.Drawing.Size(50, 20);
     this.textBox6.TabIndex = 130;
     //
     // textBox17
     //
     this.textBox17.Location = new System.Drawing.Point(85, 126);
     this.textBox17.Name = "textBox17";
     this.textBox17.Size = new System.Drawing.Size(50, 20);
     this.textBox17.TabIndex = 171;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(8, 154);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(71, 13);
     this.label5.TabIndex = 131;
     this.label5.Text = "Progress    N:";
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Location = new System.Drawing.Point(1, 129);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(78, 13);
     this.label21.TabIndex = 170;
     this.label21.Text = "Fine V Repeat:";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(137, 154);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(19, 13);
     this.label10.TabIndex = 133;
     this.label10.Text = "of:";
     //
     // numericUpDown10
     //
     this.numericUpDown10.Location = new System.Drawing.Point(154, 126);
     this.numericUpDown10.Name = "numericUpDown10";
     this.numericUpDown10.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown10.TabIndex = 169;
     this.numericUpDown10.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // progressBar1
     //
     this.progressBar1.Location = new System.Drawing.Point(85, 177);
     this.progressBar1.Name = "progressBar1";
     this.progressBar1.Size = new System.Drawing.Size(119, 23);
     this.progressBar1.TabIndex = 136;
     //
     // numericUpDown8
     //
     this.numericUpDown8.Location = new System.Drawing.Point(154, 100);
     this.numericUpDown8.Maximum = new decimal(new int[] {
     999999,
     0,
     0,
     0});
     this.numericUpDown8.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown8.Name = "numericUpDown8";
     this.numericUpDown8.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown8.TabIndex = 152;
     this.numericUpDown8.Value = new decimal(new int[] {
     5,
     0,
     0,
     0});
     //
     // numericUpDown7
     //
     this.numericUpDown7.Location = new System.Drawing.Point(154, 74);
     this.numericUpDown7.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown7.Name = "numericUpDown7";
     this.numericUpDown7.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown7.TabIndex = 151;
     this.numericUpDown7.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // numericUpDown3
     //
     this.numericUpDown3.Location = new System.Drawing.Point(154, 48);
     this.numericUpDown3.Minimum = new decimal(new int[] {
     10,
     0,
     0,
     0});
     this.numericUpDown3.Name = "numericUpDown3";
     this.numericUpDown3.Size = new System.Drawing.Size(50, 20);
     this.numericUpDown3.TabIndex = 150;
     this.numericUpDown3.Value = new decimal(new int[] {
     20,
     0,
     0,
     0});
     //
     // groupBox9
     //
     this.groupBox9.Controls.Add(this.button61);
     this.groupBox9.Controls.Add(this.label9);
     this.groupBox9.Controls.Add(this.button1);
     this.groupBox9.Controls.Add(this.button2);
     this.groupBox9.Controls.Add(this.textBox1);
     this.groupBox9.Controls.Add(this.label2);
     this.groupBox9.Controls.Add(this.ButtonDisable);
     this.groupBox9.Controls.Add(this.textBox4);
     this.groupBox9.Controls.Add(this.button7);
     this.groupBox9.Controls.Add(this.numericUpDown6);
     this.groupBox9.Controls.Add(this.progressBar2);
     this.groupBox9.Controls.Add(this.button9);
     this.groupBox9.Controls.Add(this.button11);
     this.groupBox9.Location = new System.Drawing.Point(305, 6);
     this.groupBox9.Name = "groupBox9";
     this.groupBox9.Size = new System.Drawing.Size(182, 213);
     this.groupBox9.TabIndex = 188;
     this.groupBox9.TabStop = false;
     this.groupBox9.Text = "Control";
     //
     // button61
     //
     this.button61.Location = new System.Drawing.Point(97, 181);
     this.button61.Name = "button61";
     this.button61.Size = new System.Drawing.Size(75, 23);
     this.button61.TabIndex = 173;
     this.button61.Text = "Halt";
     this.button61.UseVisualStyleBackColor = true;
     this.button61.Click += new System.EventHandler(this.button61_Click);
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(12, 129);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(79, 13);
     this.label9.TabIndex = 129;
     this.label9.Text = "Focus Position:";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(97, 20);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 110;
     this.button1.Text = "Fwd/In";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click_1);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(10, 20);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(75, 23);
     this.button2.TabIndex = 111;
     this.button2.Text = "Rev/Out";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click_1);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(97, 74);
     this.textBox1.Name = "textBox1";
     this.textBox1.ReadOnly = true;
     this.textBox1.Size = new System.Drawing.Size(75, 20);
     this.textBox1.TabIndex = 112;
     this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
     this.textBox1.Leave += new System.EventHandler(this.textBox1_Leave);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(7, 77);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(84, 13);
     this.label2.TabIndex = 113;
     this.label2.Text = "Current Position:";
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(97, 126);
     this.textBox4.Name = "textBox4";
     this.textBox4.Size = new System.Drawing.Size(75, 20);
     this.textBox4.TabIndex = 116;
     this.textBox4.Text = "300";
     this.textBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox4_KeyPress);
     this.textBox4.Leave += new System.EventHandler(this.textBox4_Leave);
     //
     // button7
     //
     this.button7.Location = new System.Drawing.Point(10, 48);
     this.button7.Name = "button7";
     this.button7.Size = new System.Drawing.Size(75, 23);
     this.button7.TabIndex = 127;
     this.button7.Text = "Goto:";
     this.button7.UseVisualStyleBackColor = true;
     this.button7.Click += new System.EventHandler(this.button7_Click_1);
     //
     // numericUpDown6
     //
     this.numericUpDown6.Location = new System.Drawing.Point(97, 48);
     this.numericUpDown6.Maximum = new decimal(new int[] {
     9999999,
     0,
     0,
     0});
     this.numericUpDown6.Name = "numericUpDown6";
     this.numericUpDown6.Size = new System.Drawing.Size(75, 20);
     this.numericUpDown6.TabIndex = 128;
     this.numericUpDown6.ValueChanged += new System.EventHandler(this.numericUpDown6_ValueChanged);
     this.numericUpDown6.KeyDown += new System.Windows.Forms.KeyEventHandler(this.numericUpDown6_KeyDown);
     //
     // progressBar2
     //
     this.progressBar2.ForeColor = System.Drawing.Color.Red;
     this.progressBar2.Location = new System.Drawing.Point(10, 98);
     this.progressBar2.Name = "progressBar2";
     this.progressBar2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.progressBar2.RightToLeftLayout = true;
     this.progressBar2.Size = new System.Drawing.Size(162, 23);
     this.progressBar2.TabIndex = 137;
     //
     // button11
     //
     this.button11.Location = new System.Drawing.Point(10, 152);
     this.button11.Name = "button11";
     this.button11.Size = new System.Drawing.Size(75, 23);
     this.button11.TabIndex = 164;
     this.button11.Text = "&GotoFocus";
     this.button11.UseVisualStyleBackColor = true;
     this.button11.Click += new System.EventHandler(this.button11_Click_1);
     //
     // groupBox8
     //
     this.groupBox8.Controls.Add(this.label87);
     this.groupBox8.Controls.Add(this.numericUpDown39);
     this.groupBox8.Controls.Add(this.textBox12);
     this.groupBox8.Controls.Add(this.textBox3);
     this.groupBox8.Controls.Add(this.label4);
     this.groupBox8.Controls.Add(this.textBox10);
     this.groupBox8.Controls.Add(this.label13);
     this.groupBox8.Controls.Add(this.label11);
     this.groupBox8.Controls.Add(this.radioButton3);
     this.groupBox8.Controls.Add(this.label19);
     this.groupBox8.Controls.Add(this.radioButton2);
     this.groupBox8.Controls.Add(this.textBox14);
     this.groupBox8.Controls.Add(this.radioButton1);
     this.groupBox8.Controls.Add(this.label20);
     this.groupBox8.Controls.Add(this.label27);
     this.groupBox8.Controls.Add(this.textBox15);
     this.groupBox8.Controls.Add(this.label26);
     this.groupBox8.Controls.Add(this.label12);
     this.groupBox8.Controls.Add(this.textBox20);
     this.groupBox8.Controls.Add(this.textBox16);
     this.groupBox8.Controls.Add(this.textBox18);
     this.groupBox8.Location = new System.Drawing.Point(10, 5);
     this.groupBox8.Name = "groupBox8";
     this.groupBox8.Size = new System.Drawing.Size(289, 146);
     this.groupBox8.TabIndex = 188;
     this.groupBox8.TabStop = false;
     this.groupBox8.Text = "Calculations";
     //
     // textBox12
     //
     this.textBox12.Location = new System.Drawing.Point(72, 96);
     this.textBox12.Name = "textBox12";
     this.textBox12.Size = new System.Drawing.Size(55, 20);
     this.textBox12.TabIndex = 158;
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(72, 70);
     this.textBox3.Name = "textBox3";
     this.textBox3.Size = new System.Drawing.Size(55, 20);
     this.textBox3.TabIndex = 114;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(6, 72);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(61, 13);
     this.label4.TabIndex = 115;
     this.label4.Text = "SlopeDWN";
     //
     // textBox10
     //
     this.textBox10.Location = new System.Drawing.Point(72, 44);
     this.textBox10.Name = "textBox10";
     this.textBox10.Size = new System.Drawing.Size(55, 20);
     this.textBox10.TabIndex = 134;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(17, 45);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(49, 13);
     this.label13.TabIndex = 135;
     this.label13.Text = "SlopeUP";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(41, 97);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(25, 13);
     this.label11.TabIndex = 157;
     this.label11.Text = "PID";
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Location = new System.Drawing.Point(134, 72);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(70, 13);
     this.label19.TabIndex = 160;
     this.label19.Text = "StdDevDWN";
     //
     // radioButton1
     //
     this.radioButton1.AutoCheck = false;
     this.radioButton1.AutoSize = true;
     this.radioButton1.Location = new System.Drawing.Point(12, 123);
     this.radioButton1.Name = "radioButton1";
     this.radioButton1.Size = new System.Drawing.Size(117, 17);
     this.radioButton1.TabIndex = 177;
     this.radioButton1.TabStop = true;
     this.radioButton1.Text = "Save V-Curve Data";
     this.radioButton1.UseVisualStyleBackColor = true;
     this.radioButton1.Click += new System.EventHandler(this.radioButton1_Click);
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Location = new System.Drawing.Point(154, 97);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(50, 13);
     this.label20.TabIndex = 162;
     this.label20.Text = "BestHFR";
     //
     // label27
     //
     this.label27.AutoSize = true;
     this.label27.Location = new System.Drawing.Point(152, 22);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(52, 13);
     this.label27.TabIndex = 176;
     this.label27.Text = "HFR Max";
     //
     // textBox15
     //
     this.textBox15.Location = new System.Drawing.Point(210, 96);
     this.textBox15.Name = "textBox15";
     this.textBox15.Size = new System.Drawing.Size(55, 20);
     this.textBox15.TabIndex = 163;
     //
     // label26
     //
     this.label26.AutoSize = true;
     this.label26.Location = new System.Drawing.Point(17, 19);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(49, 13);
     this.label26.TabIndex = 175;
     this.label26.Text = "HFR Min";
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(146, 45);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(58, 13);
     this.label12.TabIndex = 167;
     this.label12.Text = "StdDevUP";
     //
     // tabPage4
     //
     this.tabPage4.BackColor = System.Drawing.Color.WhiteSmoke;
     this.tabPage4.Controls.Add(this.button15);
     this.tabPage4.Controls.Add(this.button19);
     this.tabPage4.Controls.Add(this.button24);
     this.tabPage4.Controls.Add(this.button62);
     this.tabPage4.Controls.Add(this.groupBox15);
     this.tabPage4.Controls.Add(this.groupBox14);
     this.tabPage4.Controls.Add(this.groupBox13);
     this.tabPage4.Controls.Add(this.label32);
     this.tabPage4.Controls.Add(this.groupBox12);
     this.tabPage4.Controls.Add(this.textBox23);
     this.tabPage4.Location = new System.Drawing.Point(4, 22);
     this.tabPage4.Name = "tabPage4";
     this.tabPage4.Size = new System.Drawing.Size(738, 222);
     this.tabPage4.TabIndex = 3;
     this.tabPage4.Text = "Filter/Flat";
     //
     // button15
     //
     this.button15.Enabled = false;
     this.button15.Location = new System.Drawing.Point(138, 189);
     this.button15.Name = "button15";
     this.button15.Size = new System.Drawing.Size(55, 23);
     this.button15.TabIndex = 265;
     this.button15.Text = "Stop";
     this.button15.UseVisualStyleBackColor = true;
     this.button15.Click += new System.EventHandler(this.button15_Click);
     //
     // button19
     //
     this.button19.Enabled = false;
     this.button19.Location = new System.Drawing.Point(74, 189);
     this.button19.Name = "button19";
     this.button19.Size = new System.Drawing.Size(55, 23);
     this.button19.TabIndex = 264;
     this.button19.Text = "Pause";
     this.button19.UseVisualStyleBackColor = true;
     this.button19.Click += new System.EventHandler(this.button19_Click_2);
     //
     // button24
     //
     this.button24.BackColor = System.Drawing.Color.WhiteSmoke;
     this.button24.Enabled = false;
     this.button24.Location = new System.Drawing.Point(11, 189);
     this.button24.Name = "button24";
     this.button24.Size = new System.Drawing.Size(55, 23);
     this.button24.TabIndex = 263;
     this.button24.Text = "Start";
     this.button24.UseVisualStyleBackColor = true;
     this.button24.Click += new System.EventHandler(this.button24_Click);
     //
     // button62
     //
     this.button62.Location = new System.Drawing.Point(146, 157);
     this.button62.Name = "button62";
     this.button62.Size = new System.Drawing.Size(60, 23);
     this.button62.TabIndex = 262;
     this.button62.Text = "phd stat";
     this.button62.UseVisualStyleBackColor = true;
     this.button62.Click += new System.EventHandler(this.button62_Click);
     //
     // groupBox15
     //
     this.groupBox15.Controls.Add(this.label61);
     this.groupBox15.Controls.Add(this.label56);
     this.groupBox15.Controls.Add(this.comboBox6);
     this.groupBox15.Controls.Add(this.button20);
     this.groupBox15.Controls.Add(this.textBox21);
     this.groupBox15.Controls.Add(this.label24);
     this.groupBox15.Location = new System.Drawing.Point(9, 3);
     this.groupBox15.Name = "groupBox15";
     this.groupBox15.Size = new System.Drawing.Size(204, 144);
     this.groupBox15.TabIndex = 188;
     this.groupBox15.TabStop = false;
     this.groupBox15.Text = "Filterwheel";
     //
     // label61
     //
     this.label61.AutoSize = true;
     this.label61.Location = new System.Drawing.Point(43, 107);
     this.label61.Name = "label61";
     this.label61.Size = new System.Drawing.Size(44, 13);
     this.label61.TabIndex = 38;
     this.label61.Text = "Display:";
     //
     // label56
     //
     this.label56.AutoSize = true;
     this.label56.Location = new System.Drawing.Point(47, 82);
     this.label56.Name = "label56";
     this.label56.Size = new System.Drawing.Size(40, 13);
     this.label56.TabIndex = 37;
     this.label56.Text = "Select:";
     //
     // comboBox6
     //
     this.comboBox6.FormattingEnabled = true;
     this.comboBox6.Location = new System.Drawing.Point(93, 77);
     this.comboBox6.Name = "comboBox6";
     this.comboBox6.Size = new System.Drawing.Size(104, 21);
     this.comboBox6.TabIndex = 36;
     this.comboBox6.SelectedIndexChanged += new System.EventHandler(this.comboBox6_SelectedIndexChanged_1);
     //
     // button20
     //
     this.button20.Location = new System.Drawing.Point(49, 25);
     this.button20.Name = "button20";
     this.button20.Size = new System.Drawing.Size(105, 23);
     this.button20.TabIndex = 35;
     this.button20.Text = "Filter Advance";
     this.button20.UseVisualStyleBackColor = true;
     this.button20.Click += new System.EventHandler(this.button20_Click);
     //
     // textBox21
     //
     this.textBox21.Location = new System.Drawing.Point(93, 104);
     this.textBox21.Name = "textBox21";
     this.textBox21.Size = new System.Drawing.Size(104, 20);
     this.textBox21.TabIndex = 29;
     //
     // label24
     //
     this.label24.AutoSize = true;
     this.label24.Location = new System.Drawing.Point(6, 58);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(69, 13);
     this.label24.TabIndex = 30;
     this.label24.Text = "Current Filter:";
     //
     // groupBox14
     //
     this.groupBox14.Controls.Add(this.textBox44);
     this.groupBox14.Controls.Add(this.label92);
     this.groupBox14.Controls.Add(this.trackBar1);
     this.groupBox14.Controls.Add(this.checkBox19);
     this.groupBox14.Controls.Add(this.checkBox18);
     this.groupBox14.Controls.Add(this.label51);
     this.groupBox14.Controls.Add(this.button21);
     this.groupBox14.Controls.Add(this.textBox38);
     this.groupBox14.Controls.Add(this.checkBox15);
     this.groupBox14.Controls.Add(this.label54);
     this.groupBox14.Controls.Add(this.textBox39);
     this.groupBox14.Controls.Add(this.label55);
     this.groupBox14.Location = new System.Drawing.Point(550, 61);
     this.groupBox14.Name = "groupBox14";
     this.groupBox14.Size = new System.Drawing.Size(185, 160);
     this.groupBox14.TabIndex = 188;
     this.groupBox14.TabStop = false;
     this.groupBox14.Text = "Flat Control";
     //
     // textBox44
     //
     this.textBox44.Location = new System.Drawing.Point(132, 28);
     this.textBox44.Name = "textBox44";
     this.textBox44.Size = new System.Drawing.Size(41, 20);
     this.textBox44.TabIndex = 265;
     //
     // label92
     //
     this.label92.AutoSize = true;
     this.label92.Location = new System.Drawing.Point(134, 8);
     this.label92.Name = "label92";
     this.label92.Size = new System.Drawing.Size(33, 13);
     this.label92.TabIndex = 264;
     this.label92.Text = "Level";
     //
     // trackBar1
     //
     this.trackBar1.Location = new System.Drawing.Point(137, 53);
     this.trackBar1.Maximum = 180;
     this.trackBar1.Name = "trackBar1";
     this.trackBar1.Orientation = System.Windows.Forms.Orientation.Vertical;
     this.trackBar1.Size = new System.Drawing.Size(45, 104);
     this.trackBar1.TabIndex = 263;
     this.trackBar1.TickFrequency = 10;
     this.trackBar1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.trackBar1_MouseUp);
     //
     // checkBox18
     //
     this.checkBox18.AutoSize = true;
     this.checkBox18.Location = new System.Drawing.Point(12, 69);
     this.checkBox18.Name = "checkBox18";
     this.checkBox18.Size = new System.Drawing.Size(98, 17);
     this.checkBox18.TabIndex = 259;
     this.checkBox18.Text = "Flat Every Filter";
     this.checkBox18.UseVisualStyleBackColor = true;
     this.checkBox18.CheckedChanged += new System.EventHandler(this.checkBox18_CheckedChanged);
     //
     // label51
     //
     this.label51.AutoSize = true;
     this.label51.Location = new System.Drawing.Point(11, 114);
     this.label51.Name = "label51";
     this.label51.Size = new System.Drawing.Size(71, 13);
     this.label51.TabIndex = 254;
     this.label51.Text = "Goal ADU(K):";
     //
     // button21
     //
     this.button21.BackColor = System.Drawing.Color.Red;
     this.button21.Location = new System.Drawing.Point(21, 19);
     this.button21.Name = "button21";
     this.button21.Size = new System.Drawing.Size(96, 23);
     this.button21.TabIndex = 249;
     this.button21.Text = "Flat Off";
     this.button21.UseVisualStyleBackColor = false;
     this.button21.Click += new System.EventHandler(this.button21_Click);
     //
     // textBox38
     //
     this.textBox38.Location = new System.Drawing.Point(88, 111);
     this.textBox38.Name = "textBox38";
     this.textBox38.Size = new System.Drawing.Size(37, 20);
     this.textBox38.TabIndex = 250;
     this.textBox38.Text = "15";
     //
     // checkBox15
     //
     this.checkBox15.AutoSize = true;
     this.checkBox15.Location = new System.Drawing.Point(12, 89);
     this.checkBox15.Name = "checkBox15";
     this.checkBox15.Size = new System.Drawing.Size(115, 17);
     this.checkBox15.TabIndex = 258;
     this.checkBox15.Text = "Flat Auto Exposure";
     this.checkBox15.UseVisualStyleBackColor = true;
     //
     // label54
     //
     this.label54.AutoSize = true;
     this.label54.Location = new System.Drawing.Point(9, 120);
     this.label54.Name = "label54";
     this.label54.Size = new System.Drawing.Size(0, 13);
     this.label54.TabIndex = 255;
     //
     // textBox39
     //
     this.textBox39.Location = new System.Drawing.Point(88, 134);
     this.textBox39.Name = "textBox39";
     this.textBox39.Size = new System.Drawing.Size(37, 20);
     this.textBox39.TabIndex = 257;
     this.textBox39.Text = "10";
     //
     // label55
     //
     this.label55.AutoSize = true;
     this.label55.Location = new System.Drawing.Point(7, 137);
     this.label55.Name = "label55";
     this.label55.Size = new System.Drawing.Size(75, 13);
     this.label55.TabIndex = 256;
     this.label55.Text = "Tolerance (%):";
     //
     // groupBox13
     //
     this.groupBox13.Controls.Add(this.comboBox8);
     this.groupBox13.Controls.Add(this.comboBox1);
     this.groupBox13.Controls.Add(this.comboBox5);
     this.groupBox13.Controls.Add(this.checkBox1);
     this.groupBox13.Controls.Add(this.checkBox2);
     this.groupBox13.Controls.Add(this.checkBox3);
     this.groupBox13.Controls.Add(this.checkBox4);
     this.groupBox13.Controls.Add(this.comboBox2);
     this.groupBox13.Controls.Add(this.comboBox3);
     this.groupBox13.Controls.Add(this.comboBox4);
     this.groupBox13.Controls.Add(this.label6);
     this.groupBox13.Controls.Add(this.label36);
     this.groupBox13.Controls.Add(this.numericUpDown36);
     this.groupBox13.Controls.Add(this.numericUpDown12);
     this.groupBox13.Controls.Add(this.numericUpDown13);
     this.groupBox13.Controls.Add(this.numericUpDown34);
     this.groupBox13.Controls.Add(this.numericUpDown14);
     this.groupBox13.Controls.Add(this.numericUpDown15);
     this.groupBox13.Controls.Add(this.numericUpDown32);
     this.groupBox13.Controls.Add(this.label33);
     this.groupBox13.Controls.Add(this.checkBox5);
     this.groupBox13.Controls.Add(this.checkBox13);
     this.groupBox13.Controls.Add(this.numericUpDown11);
     this.groupBox13.Controls.Add(this.label45);
     this.groupBox13.Controls.Add(this.label31);
     this.groupBox13.Controls.Add(this.numericUpDown31);
     this.groupBox13.Controls.Add(this.numericUpDown16);
     this.groupBox13.Controls.Add(this.numericUpDown30);
     this.groupBox13.Controls.Add(this.numericUpDown17);
     this.groupBox13.Controls.Add(this.checkBox9);
     this.groupBox13.Controls.Add(this.numericUpDown18);
     this.groupBox13.Controls.Add(this.numericUpDown29);
     this.groupBox13.Controls.Add(this.numericUpDown19);
     this.groupBox13.Controls.Add(this.numericUpDown28);
     this.groupBox13.Controls.Add(this.numericUpDown20);
     this.groupBox13.Controls.Add(this.numericUpDown27);
     this.groupBox13.Controls.Add(this.numericUpDown24);
     this.groupBox13.Controls.Add(this.numericUpDown26);
     this.groupBox13.Controls.Add(this.numericUpDown25);
     this.groupBox13.Location = new System.Drawing.Point(218, 2);
     this.groupBox13.Name = "groupBox13";
     this.groupBox13.Size = new System.Drawing.Size(326, 218);
     this.groupBox13.TabIndex = 188;
     this.groupBox13.TabStop = false;
     this.groupBox13.Text = "Sequence";
     //
     // comboBox8
     //
     this.comboBox8.FormattingEnabled = true;
     this.comboBox8.Items.AddRange(new object[] {
     "Luminosity",
     "Red",
     "Green",
     "Blue",
     "Ha",
     "OIII",
     "SII",
     "No Filter"});
     this.comboBox8.Location = new System.Drawing.Point(50, 161);
     this.comboBox8.Name = "comboBox8";
     this.comboBox8.Size = new System.Drawing.Size(121, 21);
     this.comboBox8.TabIndex = 249;
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Items.AddRange(new object[] {
     "Luminosity",
     "Red",
     "Green",
     "Blue",
     "Ha",
     "OIII",
     "SII",
     "No Filter"});
     this.comboBox1.Location = new System.Drawing.Point(50, 136);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(121, 21);
     this.comboBox1.TabIndex = 248;
     //
     // comboBox5
     //
     this.comboBox5.FormattingEnabled = true;
     this.comboBox5.Items.AddRange(new object[] {
     "Luminosity",
     "Red",
     "Green",
     "Blue",
     "Ha",
     "OIII",
     "SII",
     "No Filter"});
     this.comboBox5.Location = new System.Drawing.Point(50, 111);
     this.comboBox5.Name = "comboBox5";
     this.comboBox5.Size = new System.Drawing.Size(121, 21);
     this.comboBox5.TabIndex = 48;
     //
     // checkBox1
     //
     this.checkBox1.AutoSize = true;
     this.checkBox1.Checked = true;
     this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Location = new System.Drawing.Point(12, 38);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(32, 17);
     this.checkBox1.TabIndex = 41;
     this.checkBox1.Text = "1";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.AutoSize = true;
     this.checkBox2.Location = new System.Drawing.Point(12, 63);
     this.checkBox2.Name = "checkBox2";
     this.checkBox2.Size = new System.Drawing.Size(32, 17);
     this.checkBox2.TabIndex = 42;
     this.checkBox2.Text = "2";
     this.checkBox2.UseVisualStyleBackColor = true;
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // checkBox3
     //
     this.checkBox3.AutoSize = true;
     this.checkBox3.Location = new System.Drawing.Point(13, 88);
     this.checkBox3.Name = "checkBox3";
     this.checkBox3.Size = new System.Drawing.Size(32, 17);
     this.checkBox3.TabIndex = 43;
     this.checkBox3.Text = "3";
     this.checkBox3.UseVisualStyleBackColor = true;
     this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // checkBox4
     //
     this.checkBox4.AutoSize = true;
     this.checkBox4.Location = new System.Drawing.Point(12, 113);
     this.checkBox4.Name = "checkBox4";
     this.checkBox4.Size = new System.Drawing.Size(32, 17);
     this.checkBox4.TabIndex = 44;
     this.checkBox4.Text = "4";
     this.checkBox4.UseVisualStyleBackColor = true;
     this.checkBox4.CheckedChanged += new System.EventHandler(this.checkBox4_CheckedChanged);
     //
     // comboBox2
     //
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Items.AddRange(new object[] {
     "Luminosity",
     "Red",
     "Green",
     "Blue",
     "Ha",
     "OIII",
     "SII",
     "No Filter"});
     this.comboBox2.Location = new System.Drawing.Point(50, 36);
     this.comboBox2.Name = "comboBox2";
     this.comboBox2.Size = new System.Drawing.Size(121, 21);
     this.comboBox2.TabIndex = 45;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // comboBox3
     //
     this.comboBox3.FormattingEnabled = true;
     this.comboBox3.Items.AddRange(new object[] {
     "Luminosity",
     "Red",
     "Green",
     "Blue",
     "Ha",
     "OIII",
     "SII",
     "No Filter"});
     this.comboBox3.Location = new System.Drawing.Point(50, 61);
     this.comboBox3.Name = "comboBox3";
     this.comboBox3.Size = new System.Drawing.Size(121, 21);
     this.comboBox3.TabIndex = 46;
     //
     // comboBox4
     //
     this.comboBox4.FormattingEnabled = true;
     this.comboBox4.Items.AddRange(new object[] {
     "Luminosity",
     "Red",
     "Green",
     "Blue",
     "Ha",
     "OIII",
     "SII",
     "No Filter"});
     this.comboBox4.Location = new System.Drawing.Point(51, 86);
     this.comboBox4.Name = "comboBox4";
     this.comboBox4.Size = new System.Drawing.Size(121, 21);
     this.comboBox4.TabIndex = 47;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(9, 20);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(28, 13);
     this.label6.TabIndex = 49;
     this.label6.Text = "Pos:";
     //
     // label36
     //
     this.label36.AutoSize = true;
     this.label36.Location = new System.Drawing.Point(47, 20);
     this.label36.Name = "label36";
     this.label36.Size = new System.Drawing.Size(32, 13);
     this.label36.TabIndex = 50;
     this.label36.Text = "Filter:";
     //
     // numericUpDown36
     //
     this.numericUpDown36.Location = new System.Drawing.Point(286, 186);
     this.numericUpDown36.Name = "numericUpDown36";
     this.numericUpDown36.Size = new System.Drawing.Size(30, 20);
     this.numericUpDown36.TabIndex = 247;
     //
     // numericUpDown12
     //
     this.numericUpDown12.Location = new System.Drawing.Point(177, 36);
     this.numericUpDown12.Name = "numericUpDown12";
     this.numericUpDown12.Size = new System.Drawing.Size(40, 20);
     this.numericUpDown12.TabIndex = 190;
     this.numericUpDown12.ValueChanged += new System.EventHandler(this.numericUpDown12_ValueChanged);
     //
     // numericUpDown13
     //
     this.numericUpDown13.Location = new System.Drawing.Point(177, 61);
     this.numericUpDown13.Name = "numericUpDown13";
     this.numericUpDown13.Size = new System.Drawing.Size(40, 20);
     this.numericUpDown13.TabIndex = 191;
     this.numericUpDown13.ValueChanged += new System.EventHandler(this.numericUpDown13_ValueChanged);
     //
     // numericUpDown34
     //
     this.numericUpDown34.Increment = new decimal(new int[] {
     1,
     0,
     0,
     65536});
     this.numericUpDown34.Location = new System.Drawing.Point(223, 186);
     this.numericUpDown34.Maximum = new decimal(new int[] {
     200000,
     0,
     0,
     0});
     this.numericUpDown34.Name = "numericUpDown34";
     this.numericUpDown34.Size = new System.Drawing.Size(57, 20);
     this.numericUpDown34.TabIndex = 245;
     //
     // numericUpDown14
     //
     this.numericUpDown14.Location = new System.Drawing.Point(178, 86);
     this.numericUpDown14.Name = "numericUpDown14";
     this.numericUpDown14.Size = new System.Drawing.Size(40, 20);
     this.numericUpDown14.TabIndex = 192;
     this.numericUpDown14.ValueChanged += new System.EventHandler(this.numericUpDown14_ValueChanged);
     //
     // numericUpDown15
     //
     this.numericUpDown15.Location = new System.Drawing.Point(177, 111);
     this.numericUpDown15.Name = "numericUpDown15";
     this.numericUpDown15.Size = new System.Drawing.Size(40, 20);
     this.numericUpDown15.TabIndex = 193;
     this.numericUpDown15.ValueChanged += new System.EventHandler(this.numericUpDown15_ValueChanged);
     //
     // numericUpDown32
     //
     this.numericUpDown32.Location = new System.Drawing.Point(177, 186);
     this.numericUpDown32.Name = "numericUpDown32";
     this.numericUpDown32.Size = new System.Drawing.Size(40, 20);
     this.numericUpDown32.TabIndex = 243;
     this.numericUpDown32.ValueChanged += new System.EventHandler(this.numericUpDown32_ValueChanged);
     //
     // label33
     //
     this.label33.AutoSize = true;
     this.label33.Location = new System.Drawing.Point(174, 20);
     this.label33.Name = "label33";
     this.label33.Size = new System.Drawing.Size(34, 13);
     this.label33.TabIndex = 194;
     this.label33.Text = "Subs:";
     //
     // checkBox5
     //
     this.checkBox5.AutoSize = true;
     this.checkBox5.Location = new System.Drawing.Point(12, 138);
     this.checkBox5.Name = "checkBox5";
     this.checkBox5.Size = new System.Drawing.Size(32, 17);
     this.checkBox5.TabIndex = 199;
     this.checkBox5.Text = "5";
     this.checkBox5.UseVisualStyleBackColor = true;
     this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBox5_CheckedChanged);
     //
     // numericUpDown11
     //
     this.numericUpDown11.Location = new System.Drawing.Point(223, 36);
     this.numericUpDown11.Maximum = new decimal(new int[] {
     2000,
     0,
     0,
     0});
     this.numericUpDown11.Name = "numericUpDown11";
     this.numericUpDown11.Size = new System.Drawing.Size(57, 20);
     this.numericUpDown11.TabIndex = 202;
     this.numericUpDown11.ValueChanged += new System.EventHandler(this.numericUpDown11_ValueChanged);
     //
     // label45
     //
     this.label45.AutoSize = true;
     this.label45.Location = new System.Drawing.Point(283, 20);
     this.label45.Name = "label45";
     this.label45.Size = new System.Drawing.Size(25, 13);
     this.label45.TabIndex = 240;
     this.label45.Text = "Bin:";
     //
     // label31
     //
     this.label31.AutoSize = true;
     this.label31.Location = new System.Drawing.Point(220, 20);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(33, 13);
     this.label31.TabIndex = 203;
     this.label31.Text = "Time:";
     //
     // numericUpDown31
     //
     this.numericUpDown31.Location = new System.Drawing.Point(286, 161);
     this.numericUpDown31.Name = "numericUpDown31";
     this.numericUpDown31.Size = new System.Drawing.Size(30, 20);
     this.numericUpDown31.TabIndex = 239;
     //
     // numericUpDown16
     //
     this.numericUpDown16.Location = new System.Drawing.Point(223, 61);
     this.numericUpDown16.Maximum = new decimal(new int[] {
     2000,
     0,
     0,
     0});
     this.numericUpDown16.Name = "numericUpDown16";
     this.numericUpDown16.Size = new System.Drawing.Size(57, 20);
     this.numericUpDown16.TabIndex = 204;
     this.numericUpDown16.ValueChanged += new System.EventHandler(this.numericUpDown16_ValueChanged);
     //
     // numericUpDown30
     //
     this.numericUpDown30.Location = new System.Drawing.Point(223, 161);
     this.numericUpDown30.Maximum = new decimal(new int[] {
     2000,
     0,
     0,
     0});
     this.numericUpDown30.Name = "numericUpDown30";
     this.numericUpDown30.Size = new System.Drawing.Size(57, 20);
     this.numericUpDown30.TabIndex = 238;
     //
     // numericUpDown17
     //
     this.numericUpDown17.Location = new System.Drawing.Point(224, 86);
     this.numericUpDown17.Maximum = new decimal(new int[] {
     2000,
     0,
     0,
     0});
     this.numericUpDown17.Name = "numericUpDown17";
     this.numericUpDown17.Size = new System.Drawing.Size(57, 20);
     this.numericUpDown17.TabIndex = 205;
     this.numericUpDown17.ValueChanged += new System.EventHandler(this.numericUpDown17_ValueChanged);
     //
     // checkBox9
     //
     this.checkBox9.AutoSize = true;
     this.checkBox9.Location = new System.Drawing.Point(12, 163);
     this.checkBox9.Name = "checkBox9";
     this.checkBox9.Size = new System.Drawing.Size(32, 17);
     this.checkBox9.TabIndex = 237;
     this.checkBox9.Text = "6";
     this.checkBox9.UseVisualStyleBackColor = true;
     this.checkBox9.CheckedChanged += new System.EventHandler(this.checkBox9_CheckedChanged);
     //
     // numericUpDown18
     //
     this.numericUpDown18.Location = new System.Drawing.Point(223, 111);
     this.numericUpDown18.Maximum = new decimal(new int[] {
     2000,
     0,
     0,
     0});
     this.numericUpDown18.Name = "numericUpDown18";
     this.numericUpDown18.Size = new System.Drawing.Size(57, 20);
     this.numericUpDown18.TabIndex = 206;
     this.numericUpDown18.ValueChanged += new System.EventHandler(this.numericUpDown18_ValueChanged);
     //
     // numericUpDown29
     //
     this.numericUpDown29.Location = new System.Drawing.Point(177, 161);
     this.numericUpDown29.Name = "numericUpDown29";
     this.numericUpDown29.Size = new System.Drawing.Size(40, 20);
     this.numericUpDown29.TabIndex = 236;
     this.numericUpDown29.ValueChanged += new System.EventHandler(this.numericUpDown29_ValueChanged);
     //
     // numericUpDown19
     //
     this.numericUpDown19.Location = new System.Drawing.Point(223, 136);
     this.numericUpDown19.Maximum = new decimal(new int[] {
     2000,
     0,
     0,
     0});
     this.numericUpDown19.Name = "numericUpDown19";
     this.numericUpDown19.Size = new System.Drawing.Size(57, 20);
     this.numericUpDown19.TabIndex = 207;
     this.numericUpDown19.ValueChanged += new System.EventHandler(this.numericUpDown19_ValueChanged);
     //
     // numericUpDown28
     //
     this.numericUpDown28.Location = new System.Drawing.Point(286, 136);
     this.numericUpDown28.Name = "numericUpDown28";
     this.numericUpDown28.Size = new System.Drawing.Size(30, 20);
     this.numericUpDown28.TabIndex = 235;
     //
     // numericUpDown20
     //
     this.numericUpDown20.Location = new System.Drawing.Point(177, 136);
     this.numericUpDown20.Name = "numericUpDown20";
     this.numericUpDown20.Size = new System.Drawing.Size(40, 20);
     this.numericUpDown20.TabIndex = 208;
     this.numericUpDown20.ValueChanged += new System.EventHandler(this.numericUpDown20_ValueChanged);
     //
     // numericUpDown27
     //
     this.numericUpDown27.Location = new System.Drawing.Point(286, 111);
     this.numericUpDown27.Name = "numericUpDown27";
     this.numericUpDown27.Size = new System.Drawing.Size(30, 20);
     this.numericUpDown27.TabIndex = 234;
     //
     // numericUpDown24
     //
     this.numericUpDown24.Location = new System.Drawing.Point(286, 36);
     this.numericUpDown24.Name = "numericUpDown24";
     this.numericUpDown24.Size = new System.Drawing.Size(30, 20);
     this.numericUpDown24.TabIndex = 231;
     //
     // numericUpDown26
     //
     this.numericUpDown26.Location = new System.Drawing.Point(287, 86);
     this.numericUpDown26.Name = "numericUpDown26";
     this.numericUpDown26.Size = new System.Drawing.Size(30, 20);
     this.numericUpDown26.TabIndex = 233;
     //
     // numericUpDown25
     //
     this.numericUpDown25.Location = new System.Drawing.Point(286, 61);
     this.numericUpDown25.Name = "numericUpDown25";
     this.numericUpDown25.Size = new System.Drawing.Size(30, 20);
     this.numericUpDown25.TabIndex = 232;
     //
     // label32
     //
     this.label32.AutoSize = true;
     this.label32.Location = new System.Drawing.Point(8, 161);
     this.label32.Name = "label32";
     this.label32.Size = new System.Drawing.Size(83, 13);
     this.label32.TabIndex = 34;
     this.label32.Text = "SequenceTotal:";
     //
     // groupBox12
     //
     this.groupBox12.Controls.Add(this.checkBox6);
     this.groupBox12.Controls.Add(this.checkBox7);
     this.groupBox12.Location = new System.Drawing.Point(549, 3);
     this.groupBox12.Name = "groupBox12";
     this.groupBox12.Size = new System.Drawing.Size(155, 58);
     this.groupBox12.TabIndex = 260;
     this.groupBox12.TabStop = false;
     this.groupBox12.Text = "Preset";
     //
     // checkBox6
     //
     this.checkBox6.AutoSize = true;
     this.checkBox6.Checked = true;
     this.checkBox6.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox6.Location = new System.Drawing.Point(17, 36);
     this.checkBox6.Name = "checkBox6";
     this.checkBox6.Size = new System.Drawing.Size(120, 17);
     this.checkBox6.TabIndex = 200;
     this.checkBox6.Text = "Equal Number Subs";
     this.checkBox6.UseVisualStyleBackColor = true;
     //
     // checkBox7
     //
     this.checkBox7.AutoSize = true;
     this.checkBox7.Checked = true;
     this.checkBox7.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox7.Location = new System.Drawing.Point(17, 16);
     this.checkBox7.Name = "checkBox7";
     this.checkBox7.Size = new System.Drawing.Size(79, 17);
     this.checkBox7.TabIndex = 201;
     this.checkBox7.Text = "Equal Time";
     this.checkBox7.UseVisualStyleBackColor = true;
     //
     // textBox23
     //
     this.textBox23.Location = new System.Drawing.Point(95, 158);
     this.textBox23.Name = "textBox23";
     this.textBox23.Size = new System.Drawing.Size(37, 20);
     this.textBox23.TabIndex = 33;
     //
     // tabPage5
     //
     this.tabPage5.BackColor = System.Drawing.Color.WhiteSmoke;
     this.tabPage5.Controls.Add(this.groupBox16);
     this.tabPage5.Controls.Add(this.groupBox7);
     this.tabPage5.Controls.Add(this.groupBox6);
     this.tabPage5.Controls.Add(this.groupBox5);
     this.tabPage5.Location = new System.Drawing.Point(4, 22);
     this.tabPage5.Name = "tabPage5";
     this.tabPage5.Size = new System.Drawing.Size(738, 222);
     this.tabPage5.TabIndex = 4;
     this.tabPage5.Text = "Automation";
     //
     // groupBox16
     //
     this.groupBox16.Controls.Add(this.label30);
     this.groupBox16.Controls.Add(this.button30);
     this.groupBox16.Controls.Add(this.button22);
     this.groupBox16.Controls.Add(this.button26);
     this.groupBox16.Controls.Add(this.textBox19);
     this.groupBox16.Location = new System.Drawing.Point(8, 68);
     this.groupBox16.Name = "groupBox16";
     this.groupBox16.Size = new System.Drawing.Size(216, 91);
     this.groupBox16.TabIndex = 188;
     this.groupBox16.TabStop = false;
     this.groupBox16.Text = "Automation Control";
     //
     // label30
     //
     this.label30.AutoSize = true;
     this.label30.Location = new System.Drawing.Point(4, 62);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(80, 13);
     this.label30.TabIndex = 233;
     this.label30.Text = "Filename prefix:";
     //
     // button30
     //
     this.button30.Location = new System.Drawing.Point(146, 22);
     this.button30.Name = "button30";
     this.button30.Size = new System.Drawing.Size(55, 23);
     this.button30.TabIndex = 261;
     this.button30.Text = "Stop";
     this.button30.UseVisualStyleBackColor = true;
     this.button30.Click += new System.EventHandler(this.button30_Click_1);
     //
     // button22
     //
     this.button22.Enabled = false;
     this.button22.Location = new System.Drawing.Point(76, 22);
     this.button22.Name = "button22";
     this.button22.Size = new System.Drawing.Size(55, 23);
     this.button22.TabIndex = 260;
     this.button22.Text = "Pause";
     this.button22.UseVisualStyleBackColor = true;
     this.button22.Click += new System.EventHandler(this.button22_Click_2);
     //
     // button26
     //
     this.button26.BackColor = System.Drawing.Color.WhiteSmoke;
     this.button26.Location = new System.Drawing.Point(6, 22);
     this.button26.Name = "button26";
     this.button26.Size = new System.Drawing.Size(55, 23);
     this.button26.TabIndex = 185;
     this.button26.Text = "Start";
     this.button26.UseVisualStyleBackColor = true;
     this.button26.Click += new System.EventHandler(this.button26_Click);
     //
     // groupBox7
     //
     this.groupBox7.Controls.Add(this.textBox63);
     this.groupBox7.Controls.Add(this.label85);
     this.groupBox7.Controls.Add(this.numericUpDown23);
     this.groupBox7.Controls.Add(this.checkBox27);
     this.groupBox7.Controls.Add(this.checkBox17);
     this.groupBox7.Controls.Add(this.numericUpDown38);
     this.groupBox7.Controls.Add(this.numericUpDown22);
     this.groupBox7.Controls.Add(this.label23);
     this.groupBox7.Controls.Add(this.textBox29);
     this.groupBox7.Controls.Add(this.label28);
     this.groupBox7.Controls.Add(this.textBox30);
     this.groupBox7.Controls.Add(this.label37);
     this.groupBox7.Controls.Add(this.checkBox10);
     this.groupBox7.Controls.Add(this.label43);
     this.groupBox7.Controls.Add(this.checkBox8);
     this.groupBox7.Location = new System.Drawing.Point(489, 5);
     this.groupBox7.Name = "groupBox7";
     this.groupBox7.Size = new System.Drawing.Size(235, 206);
     this.groupBox7.TabIndex = 232;
     this.groupBox7.TabStop = false;
     this.groupBox7.Text = "Autofocus Control";
     //
     // textBox63
     //
     this.textBox63.Enabled = false;
     this.textBox63.Location = new System.Drawing.Point(162, 180);
     this.textBox63.Name = "textBox63";
     this.textBox63.Size = new System.Drawing.Size(47, 20);
     this.textBox63.TabIndex = 238;
     this.textBox63.Text = "10";
     //
     // label85
     //
     this.label85.AutoSize = true;
     this.label85.Enabled = false;
     this.label85.Location = new System.Drawing.Point(52, 183);
     this.label85.Name = "label85";
     this.label85.Size = new System.Drawing.Size(104, 13);
     this.label85.TabIndex = 237;
     this.label85.Text = "Refocus if off by (%) ";
     //
     // numericUpDown23
     //
     this.numericUpDown23.Enabled = false;
     this.numericUpDown23.Location = new System.Drawing.Point(162, 153);
     this.numericUpDown23.Name = "numericUpDown23";
     this.numericUpDown23.Size = new System.Drawing.Size(47, 20);
     this.numericUpDown23.TabIndex = 236;
     this.numericUpDown23.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     //
     // checkBox27
     //
     this.checkBox27.AutoSize = true;
     this.checkBox27.Enabled = false;
     this.checkBox27.Location = new System.Drawing.Point(9, 154);
     this.checkBox27.Name = "checkBox27";
     this.checkBox27.Size = new System.Drawing.Size(147, 17);
     this.checkBox27.TabIndex = 235;
     this.checkBox27.Text = "Monitor Metric HFR every";
     this.checkBox27.UseVisualStyleBackColor = true;
     this.checkBox27.CheckedChanged += new System.EventHandler(this.checkBox27_CheckedChanged);
     //
     // checkBox17
     //
     this.checkBox17.AutoSize = true;
     this.checkBox17.Location = new System.Drawing.Point(27, 100);
     this.checkBox17.Name = "checkBox17";
     this.checkBox17.Size = new System.Drawing.Size(129, 17);
     this.checkBox17.TabIndex = 234;
     this.checkBox17.Text = "Refocus after N subs:";
     this.checkBox17.UseVisualStyleBackColor = true;
     this.checkBox17.CheckedChanged += new System.EventHandler(this.checkBox17_CheckedChanged);
     //
     // numericUpDown38
     //
     this.numericUpDown38.Location = new System.Drawing.Point(162, 99);
     this.numericUpDown38.Name = "numericUpDown38";
     this.numericUpDown38.Size = new System.Drawing.Size(46, 20);
     this.numericUpDown38.TabIndex = 233;
     this.numericUpDown38.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.numericUpDown38.Leave += new System.EventHandler(this.numericUpDown38_Leave);
     //
     // numericUpDown22
     //
     this.numericUpDown22.DecimalPlaces = 1;
     this.numericUpDown22.Increment = new decimal(new int[] {
     1,
     0,
     0,
     65536});
     this.numericUpDown22.Location = new System.Drawing.Point(162, 125);
     this.numericUpDown22.Maximum = new decimal(new int[] {
     10,
     0,
     0,
     0});
     this.numericUpDown22.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     65536});
     this.numericUpDown22.Name = "numericUpDown22";
     this.numericUpDown22.Size = new System.Drawing.Size(46, 20);
     this.numericUpDown22.TabIndex = 36;
     this.numericUpDown22.Value = new decimal(new int[] {
     2,
     0,
     0,
     65536});
     this.numericUpDown22.ValueChanged += new System.EventHandler(this.numericUpDown22_ValueChanged);
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.Location = new System.Drawing.Point(132, 12);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(14, 13);
     this.label23.TabIndex = 9;
     this.label23.Text = "X";
     //
     // textBox29
     //
     this.textBox29.Location = new System.Drawing.Point(123, 28);
     this.textBox29.Name = "textBox29";
     this.textBox29.Size = new System.Drawing.Size(34, 20);
     this.textBox29.TabIndex = 10;
     this.textBox29.Text = "90";
     //
     // label28
     //
     this.label28.AutoSize = true;
     this.label28.Location = new System.Drawing.Point(182, 12);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(14, 13);
     this.label28.TabIndex = 11;
     this.label28.Text = "Y";
     //
     // textBox30
     //
     this.textBox30.Location = new System.Drawing.Point(175, 28);
     this.textBox30.Name = "textBox30";
     this.textBox30.Size = new System.Drawing.Size(34, 20);
     this.textBox30.TabIndex = 12;
     this.textBox30.Text = "65";
     this.textBox30.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox30_KeyPress);
     //
     // label43
     //
     this.label43.AutoSize = true;
     this.label43.Location = new System.Drawing.Point(19, 129);
     this.label43.Name = "label43";
     this.label43.Size = new System.Drawing.Size(138, 13);
     this.label43.TabIndex = 35;
     this.label43.Text = "Focus Exposure Time (sec):";
     //
     // checkBox8
     //
     this.checkBox8.AutoSize = true;
     this.checkBox8.Checked = true;
     this.checkBox8.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox8.Location = new System.Drawing.Point(27, 77);
     this.checkBox8.Name = "checkBox8";
     this.checkBox8.Size = new System.Drawing.Size(155, 17);
     this.checkBox8.TabIndex = 33;
     this.checkBox8.Text = "Refocus after Filter Change";
     this.checkBox8.UseVisualStyleBackColor = true;
     this.checkBox8.CheckedChanged += new System.EventHandler(this.checkBox8_CheckedChanged);
     //
     // groupBox6
     //
     this.groupBox6.Controls.Add(this.checkBox16);
     this.groupBox6.Location = new System.Drawing.Point(8, 3);
     this.groupBox6.Name = "groupBox6";
     this.groupBox6.Size = new System.Drawing.Size(216, 62);
     this.groupBox6.TabIndex = 237;
     this.groupBox6.TabStop = false;
     this.groupBox6.Text = "Guiding Control";
     //
     // checkBox16
     //
     this.checkBox16.AutoSize = true;
     this.checkBox16.Checked = true;
     this.checkBox16.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox16.Location = new System.Drawing.Point(23, 26);
     this.checkBox16.Name = "checkBox16";
     this.checkBox16.Size = new System.Drawing.Size(134, 17);
     this.checkBox16.TabIndex = 36;
     this.checkBox16.Text = "Guide at focus position";
     this.checkBox16.UseVisualStyleBackColor = true;
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.label38);
     this.groupBox5.Controls.Add(this.label34);
     this.groupBox5.Controls.Add(this.checkBox23);
     this.groupBox5.Controls.Add(this.label53);
     this.groupBox5.Controls.Add(this.button37);
     this.groupBox5.Controls.Add(this.label52);
     this.groupBox5.Controls.Add(this.button32);
     this.groupBox5.Controls.Add(this.button33);
     this.groupBox5.Controls.Add(this.button34);
     this.groupBox5.Controls.Add(this.button35);
     this.groupBox5.Controls.Add(this.checkBox11);
     this.groupBox5.Location = new System.Drawing.Point(230, 8);
     this.groupBox5.Name = "groupBox5";
     this.groupBox5.Size = new System.Drawing.Size(250, 203);
     this.groupBox5.TabIndex = 188;
     this.groupBox5.TabStop = false;
     this.groupBox5.Text = "Mount Control";
     //
     // label38
     //
     this.label38.AutoSize = true;
     this.label38.Location = new System.Drawing.Point(171, 21);
     this.label38.Name = "label38";
     this.label38.Size = new System.Drawing.Size(33, 13);
     this.label38.TabIndex = 252;
     this.label38.Text = "Goto:";
     //
     // label34
     //
     this.label34.AutoSize = true;
     this.label34.Location = new System.Drawing.Point(113, 21);
     this.label34.Name = "label34";
     this.label34.Size = new System.Drawing.Size(26, 13);
     this.label34.TabIndex = 251;
     this.label34.Text = "Set:";
     //
     // checkBox23
     //
     this.checkBox23.AutoSize = true;
     this.checkBox23.Checked = true;
     this.checkBox23.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox23.Location = new System.Drawing.Point(18, 150);
     this.checkBox23.Name = "checkBox23";
     this.checkBox23.Size = new System.Drawing.Size(121, 17);
     this.checkBox23.TabIndex = 250;
     this.checkBox23.Text = "Meridian Flip Enable";
     this.checkBox23.UseVisualStyleBackColor = true;
     this.checkBox23.CheckedChanged += new System.EventHandler(this.checkBox23_CheckedChanged);
     //
     // label53
     //
     this.label53.AutoSize = true;
     this.label53.Location = new System.Drawing.Point(13, 73);
     this.label53.Name = "label53";
     this.label53.Size = new System.Drawing.Size(81, 13);
     this.label53.TabIndex = 248;
     this.label53.Text = "Target Position:";
     //
     // button37
     //
     this.button37.BackColor = System.Drawing.Color.Red;
     this.button37.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button37.Location = new System.Drawing.Point(111, 98);
     this.button37.Name = "button37";
     this.button37.Size = new System.Drawing.Size(88, 29);
     this.button37.TabIndex = 8;
     this.button37.Text = "Stop Slew";
     this.button37.UseVisualStyleBackColor = false;
     this.button37.Click += new System.EventHandler(this.button37_Click);
     //
     // label52
     //
     this.label52.AutoSize = true;
     this.label52.Location = new System.Drawing.Point(15, 42);
     this.label52.Name = "label52";
     this.label52.Size = new System.Drawing.Size(79, 13);
     this.label52.TabIndex = 247;
     this.label52.Text = "Focus Position:";
     //
     // button32
     //
     this.button32.Location = new System.Drawing.Point(100, 37);
     this.button32.Name = "button32";
     this.button32.Size = new System.Drawing.Size(55, 23);
     this.button32.TabIndex = 0;
     this.button32.Text = "Set";
     this.button32.UseVisualStyleBackColor = true;
     this.button32.Click += new System.EventHandler(this.button32_Click);
     //
     // button33
     //
     this.button33.Location = new System.Drawing.Point(161, 37);
     this.button33.Name = "button33";
     this.button33.Size = new System.Drawing.Size(55, 23);
     this.button33.TabIndex = 2;
     this.button33.Text = "Goto";
     this.button33.UseVisualStyleBackColor = true;
     this.button33.Click += new System.EventHandler(this.button33_Click);
     //
     // button34
     //
     this.button34.Location = new System.Drawing.Point(100, 69);
     this.button34.Name = "button34";
     this.button34.Size = new System.Drawing.Size(55, 23);
     this.button34.TabIndex = 3;
     this.button34.Text = "Set";
     this.button34.UseVisualStyleBackColor = true;
     this.button34.Click += new System.EventHandler(this.button34_Click);
     //
     // button35
     //
     this.button35.Location = new System.Drawing.Point(161, 69);
     this.button35.Name = "button35";
     this.button35.Size = new System.Drawing.Size(55, 23);
     this.button35.TabIndex = 4;
     this.button35.Text = "Goto";
     this.button35.UseVisualStyleBackColor = true;
     this.button35.Click += new System.EventHandler(this.button35_Click);
     //
     // checkBox11
     //
     this.checkBox11.AutoSize = true;
     this.checkBox11.Location = new System.Drawing.Point(18, 174);
     this.checkBox11.Name = "checkBox11";
     this.checkBox11.Size = new System.Drawing.Size(149, 17);
     this.checkBox11.TabIndex = 237;
     this.checkBox11.Text = "Stop Tracking when done";
     this.checkBox11.UseVisualStyleBackColor = true;
     //
     // tabPage6
     //
     this.tabPage6.BackColor = System.Drawing.Color.WhiteSmoke;
     this.tabPage6.Controls.Add(this.button40);
     this.tabPage6.Controls.Add(this.checkBox20);
     this.tabPage6.Controls.Add(this.checkBox14);
     this.tabPage6.Controls.Add(this.groupBox18);
     this.tabPage6.Controls.Add(this.groupBox17);
     this.tabPage6.Location = new System.Drawing.Point(4, 22);
     this.tabPage6.Name = "tabPage6";
     this.tabPage6.Size = new System.Drawing.Size(738, 222);
     this.tabPage6.TabIndex = 5;
     this.tabPage6.Text = "Notification/Slave";
     //
     // button40
     //
     this.button40.Location = new System.Drawing.Point(381, 187);
     this.button40.Name = "button40";
     this.button40.Size = new System.Drawing.Size(75, 23);
     this.button40.TabIndex = 192;
     this.button40.Text = "Go";
     this.button40.UseVisualStyleBackColor = true;
     this.button40.Click += new System.EventHandler(this.button40_Click_1);
     //
     // checkBox20
     //
     this.checkBox20.AutoSize = true;
     this.checkBox20.Location = new System.Drawing.Point(489, 191);
     this.checkBox20.Name = "checkBox20";
     this.checkBox20.Size = new System.Drawing.Size(93, 17);
     this.checkBox20.TabIndex = 191;
     this.checkBox20.Text = "Enable Server";
     this.checkBox20.UseVisualStyleBackColor = true;
     this.checkBox20.CheckedChanged += new System.EventHandler(this.checkBox20_CheckedChanged_1);
     //
     // checkBox14
     //
     this.checkBox14.AutoSize = true;
     this.checkBox14.Location = new System.Drawing.Point(605, 191);
     this.checkBox14.Name = "checkBox14";
     this.checkBox14.Size = new System.Drawing.Size(119, 17);
     this.checkBox14.TabIndex = 190;
     this.checkBox14.Text = "Enable Slave Mode";
     this.checkBox14.UseVisualStyleBackColor = true;
     this.checkBox14.CheckedChanged += new System.EventHandler(this.checkBox14_CheckedChanged_1);
     //
     // groupBox18
     //
     this.groupBox18.Controls.Add(this.textBox42);
     this.groupBox18.Controls.Add(this.checkBox21);
     this.groupBox18.Controls.Add(this.button39);
     this.groupBox18.Controls.Add(this.label63);
     this.groupBox18.Controls.Add(this.textBox41);
     this.groupBox18.Controls.Add(this.label62);
     this.groupBox18.Controls.Add(this.label39);
     this.groupBox18.Controls.Add(this.label29);
     this.groupBox18.Controls.Add(this.numericUpDown35);
     this.groupBox18.Controls.Add(this.textBox40);
     this.groupBox18.Controls.Add(this.numericUpDown37);
     this.groupBox18.Controls.Add(this.numericUpDown33);
     this.groupBox18.Controls.Add(this.textBox37);
     this.groupBox18.Controls.Add(this.button47);
     this.groupBox18.Controls.Add(this.button46);
     this.groupBox18.Controls.Add(this.button45);
     this.groupBox18.Location = new System.Drawing.Point(358, 15);
     this.groupBox18.Name = "groupBox18";
     this.groupBox18.Size = new System.Drawing.Size(366, 170);
     this.groupBox18.TabIndex = 189;
     this.groupBox18.TabStop = false;
     this.groupBox18.Text = "Dual Camera Slave";
     //
     // textBox42
     //
     this.textBox42.Location = new System.Drawing.Point(123, 43);
     this.textBox42.Name = "textBox42";
     this.textBox42.Size = new System.Drawing.Size(46, 20);
     this.textBox42.TabIndex = 23;
     this.textBox42.Text = "Calc\'d";
     this.textBox42.Click += new System.EventHandler(this.textBox42_Click);
     //
     // checkBox21
     //
     this.checkBox21.AutoSize = true;
     this.checkBox21.Checked = true;
     this.checkBox21.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox21.Location = new System.Drawing.Point(307, 71);
     this.checkBox21.Name = "checkBox21";
     this.checkBox21.Size = new System.Drawing.Size(48, 17);
     this.checkBox21.TabIndex = 21;
     this.checkBox21.Text = "Auto";
     this.checkBox21.UseVisualStyleBackColor = true;
     //
     // button39
     //
     this.button39.Location = new System.Drawing.Point(123, 98);
     this.button39.Name = "button39";
     this.button39.Size = new System.Drawing.Size(75, 23);
     this.button39.TabIndex = 19;
     this.button39.Text = "GotoFocus";
     this.button39.UseVisualStyleBackColor = true;
     this.button39.Click += new System.EventHandler(this.button39_Click);
     //
     // label63
     //
     this.label63.AutoSize = true;
     this.label63.Location = new System.Drawing.Point(80, 135);
     this.label63.Name = "label63";
     this.label63.Size = new System.Drawing.Size(37, 13);
     this.label63.TabIndex = 18;
     this.label63.Text = "Status";
     //
     // textBox41
     //
     this.textBox41.Location = new System.Drawing.Point(123, 132);
     this.textBox41.Name = "textBox41";
     this.textBox41.Size = new System.Drawing.Size(177, 20);
     this.textBox41.TabIndex = 17;
     this.textBox41.Text = "Not Connected";
     this.textBox41.TextChanged += new System.EventHandler(this.textBox41_TextChanged);
     //
     // label62
     //
     this.label62.AutoSize = true;
     this.label62.Location = new System.Drawing.Point(263, 27);
     this.label62.Name = "label62";
     this.label62.Size = new System.Drawing.Size(22, 13);
     this.label62.TabIndex = 16;
     this.label62.Text = "Bin";
     //
     // label39
     //
     this.label39.AutoSize = true;
     this.label39.Location = new System.Drawing.Point(195, 27);
     this.label39.Name = "label39";
     this.label39.Size = new System.Drawing.Size(30, 13);
     this.label39.TabIndex = 15;
     this.label39.Text = "Time";
     //
     // label29
     //
     this.label29.AutoSize = true;
     this.label29.Location = new System.Drawing.Point(128, 27);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(31, 13);
     this.label29.TabIndex = 14;
     this.label29.Text = "Subs";
     //
     // numericUpDown35
     //
     this.numericUpDown35.Location = new System.Drawing.Point(255, 69);
     this.numericUpDown35.Name = "numericUpDown35";
     this.numericUpDown35.Size = new System.Drawing.Size(45, 20);
     this.numericUpDown35.TabIndex = 13;
     //
     // textBox40
     //
     this.textBox40.Location = new System.Drawing.Point(188, 69);
     this.textBox40.Name = "textBox40";
     this.textBox40.Size = new System.Drawing.Size(51, 20);
     this.textBox40.TabIndex = 12;
     this.textBox40.Text = "1000";
     //
     // numericUpDown37
     //
     this.numericUpDown37.Location = new System.Drawing.Point(123, 69);
     this.numericUpDown37.Name = "numericUpDown37";
     this.numericUpDown37.Size = new System.Drawing.Size(46, 20);
     this.numericUpDown37.TabIndex = 11;
     this.numericUpDown37.Value = new decimal(new int[] {
     5,
     0,
     0,
     0});
     //
     // numericUpDown33
     //
     this.numericUpDown33.Location = new System.Drawing.Point(255, 43);
     this.numericUpDown33.Name = "numericUpDown33";
     this.numericUpDown33.Size = new System.Drawing.Size(45, 20);
     this.numericUpDown33.TabIndex = 10;
     //
     // textBox37
     //
     this.textBox37.Location = new System.Drawing.Point(188, 43);
     this.textBox37.Name = "textBox37";
     this.textBox37.Size = new System.Drawing.Size(51, 20);
     this.textBox37.TabIndex = 9;
     this.textBox37.Text = "5";
     //
     // button47
     //
     this.button47.Location = new System.Drawing.Point(23, 69);
     this.button47.Name = "button47";
     this.button47.Size = new System.Drawing.Size(75, 23);
     this.button47.TabIndex = 7;
     this.button47.Text = "Flat";
     this.button47.UseVisualStyleBackColor = true;
     this.button47.Click += new System.EventHandler(this.button47_Click);
     //
     // button46
     //
     this.button46.Location = new System.Drawing.Point(23, 98);
     this.button46.Name = "button46";
     this.button46.Size = new System.Drawing.Size(75, 23);
     this.button46.TabIndex = 6;
     this.button46.Text = "Pause";
     this.button46.UseVisualStyleBackColor = true;
     this.button46.Click += new System.EventHandler(this.button46_Click);
     //
     // button45
     //
     this.button45.Location = new System.Drawing.Point(23, 40);
     this.button45.Name = "button45";
     this.button45.Size = new System.Drawing.Size(75, 23);
     this.button45.TabIndex = 5;
     this.button45.Text = "Capture";
     this.button45.UseVisualStyleBackColor = true;
     this.button45.Click += new System.EventHandler(this.button45_Click);
     //
     // groupBox17
     //
     this.groupBox17.Controls.Add(this.checkBox30);
     this.groupBox17.Controls.Add(this.label89);
     this.groupBox17.Controls.Add(this.numericUpDown41);
     this.groupBox17.Controls.Add(this.checkBox12);
     this.groupBox17.Controls.Add(this.label46);
     this.groupBox17.Controls.Add(this.label47);
     this.groupBox17.Controls.Add(this.label48);
     this.groupBox17.Controls.Add(this.button38);
     this.groupBox17.Controls.Add(this.label49);
     this.groupBox17.Controls.Add(this.textBox36);
     this.groupBox17.Controls.Add(this.textBox13);
     this.groupBox17.Controls.Add(this.textBox28);
     this.groupBox17.Controls.Add(this.textBox27);
     this.groupBox17.Location = new System.Drawing.Point(22, 15);
     this.groupBox17.Name = "groupBox17";
     this.groupBox17.Size = new System.Drawing.Size(307, 196);
     this.groupBox17.TabIndex = 188;
     this.groupBox17.TabStop = false;
     this.groupBox17.Text = "Messaging";
     //
     // checkBox30
     //
     this.checkBox30.AutoSize = true;
     this.checkBox30.Location = new System.Drawing.Point(66, 138);
     this.checkBox30.Name = "checkBox30";
     this.checkBox30.Size = new System.Drawing.Size(15, 14);
     this.checkBox30.TabIndex = 12;
     this.checkBox30.UseVisualStyleBackColor = true;
     this.checkBox30.CheckedChanged += new System.EventHandler(this.checkBox30_CheckedChanged);
     //
     // label89
     //
     this.label89.AutoSize = true;
     this.label89.Location = new System.Drawing.Point(87, 138);
     this.label89.Name = "label89";
     this.label89.Size = new System.Drawing.Size(120, 13);
     this.label89.TabIndex = 11;
     this.label89.Text = "Lost star number to alert";
     //
     // numericUpDown41
     //
     this.numericUpDown41.Location = new System.Drawing.Point(213, 136);
     this.numericUpDown41.Name = "numericUpDown41";
     this.numericUpDown41.Size = new System.Drawing.Size(39, 20);
     this.numericUpDown41.TabIndex = 10;
     this.numericUpDown41.Value = new decimal(new int[] {
     6,
     0,
     0,
     0});
     //
     // checkBox12
     //
     this.checkBox12.AutoSize = true;
     this.checkBox12.Location = new System.Drawing.Point(22, 164);
     this.checkBox12.Name = "checkBox12";
     this.checkBox12.Size = new System.Drawing.Size(138, 17);
     this.checkBox12.TabIndex = 9;
     this.checkBox12.Text = "Enable Error Messaging";
     this.checkBox12.UseVisualStyleBackColor = true;
     this.checkBox12.CheckedChanged += new System.EventHandler(this.checkBox12_CheckedChanged);
     //
     // label46
     //
     this.label46.AutoSize = true;
     this.label46.Location = new System.Drawing.Point(14, 26);
     this.label46.Name = "label46";
     this.label46.Size = new System.Drawing.Size(41, 13);
     this.label46.TabIndex = 0;
     this.label46.Text = "Server:";
     //
     // label47
     //
     this.label47.AutoSize = true;
     this.label47.Location = new System.Drawing.Point(23, 54);
     this.label47.Name = "label47";
     this.label47.Size = new System.Drawing.Size(32, 13);
     this.label47.TabIndex = 1;
     this.label47.Text = "User:"******"label48";
     this.label48.Size = new System.Drawing.Size(36, 13);
     this.label48.TabIndex = 2;
     this.label48.Text = "Pswd:";
     //
     // button38
     //
     this.button38.Location = new System.Drawing.Point(222, 167);
     this.button38.Name = "button38";
     this.button38.Size = new System.Drawing.Size(66, 23);
     this.button38.TabIndex = 8;
     this.button38.Text = "Test Send";
     this.button38.UseVisualStyleBackColor = true;
     this.button38.Click += new System.EventHandler(this.button38_Click_1);
     //
     // label49
     //
     this.label49.AutoSize = true;
     this.label49.Location = new System.Drawing.Point(32, 107);
     this.label49.Name = "label49";
     this.label49.Size = new System.Drawing.Size(23, 13);
     this.label49.TabIndex = 3;
     this.label49.Text = "To:";
     //
     // textBox36
     //
     this.textBox36.Location = new System.Drawing.Point(61, 107);
     this.textBox36.Name = "textBox36";
     this.textBox36.Size = new System.Drawing.Size(205, 20);
     this.textBox36.TabIndex = 7;
     this.textBox36.TextChanged += new System.EventHandler(this.textBox36_TextChanged);
     //
     // textBox13
     //
     this.textBox13.Location = new System.Drawing.Point(61, 23);
     this.textBox13.Name = "textBox13";
     this.textBox13.Size = new System.Drawing.Size(205, 20);
     this.textBox13.TabIndex = 4;
     this.textBox13.TextChanged += new System.EventHandler(this.textBox13_TextChanged);
     //
     // textBox28
     //
     this.textBox28.Location = new System.Drawing.Point(61, 80);
     this.textBox28.Name = "textBox28";
     this.textBox28.PasswordChar = '*';
     this.textBox28.Size = new System.Drawing.Size(205, 20);
     this.textBox28.TabIndex = 6;
     this.textBox28.UseSystemPasswordChar = true;
     this.textBox28.TextChanged += new System.EventHandler(this.textBox28_TextChanged);
     //
     // textBox27
     //
     this.textBox27.Location = new System.Drawing.Point(61, 51);
     this.textBox27.Name = "textBox27";
     this.textBox27.Size = new System.Drawing.Size(205, 20);
     this.textBox27.TabIndex = 5;
     this.textBox27.TextChanged += new System.EventHandler(this.textBox27_TextChanged);
     //
     // tabPage3
     //
     this.tabPage3.BackColor = System.Drawing.Color.WhiteSmoke;
     this.tabPage3.Controls.Add(this.button48);
     this.tabPage3.Controls.Add(this.textBox24);
     this.tabPage3.Controls.Add(this.label25);
     this.tabPage3.Controls.Add(this.pictureBox1);
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(738, 222);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "About";
     //
     // button48
     //
     this.button48.Location = new System.Drawing.Point(299, 170);
     this.button48.Name = "button48";
     this.button48.Size = new System.Drawing.Size(116, 23);
     this.button48.TabIndex = 3;
     this.button48.Text = "Check for Updates";
     this.button48.UseVisualStyleBackColor = true;
     this.button48.Click += new System.EventHandler(this.button48_Click);
     //
     // textBox24
     //
     this.textBox24.BackColor = System.Drawing.Color.WhiteSmoke;
     this.textBox24.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox24.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox24.Location = new System.Drawing.Point(388, 48);
     this.textBox24.Name = "textBox24";
     this.textBox24.Size = new System.Drawing.Size(100, 19);
     this.textBox24.TabIndex = 2;
     //
     // label25
     //
     this.label25.AutoSize = true;
     this.label25.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label25.Location = new System.Drawing.Point(269, 30);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(153, 54);
     this.label25.TabIndex = 1;
     this.label25.Text = "         scopefocus\r\nArduino Version \r\n     Kevin Sipprell MD\r\n";
     //
     // pictureBox1
     //
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(306, 97);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(103, 56);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
     this.pictureBox1.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover);
     //
     // tabPage7
     //
     this.tabPage7.BackColor = System.Drawing.Color.WhiteSmoke;
     this.tabPage7.Controls.Add(this.groupBox24);
     this.tabPage7.Controls.Add(this.groupBox23);
     this.tabPage7.Controls.Add(this.groupBox22);
     this.tabPage7.Controls.Add(this.groupBox21);
     this.tabPage7.Controls.Add(this.groupBox19);
     this.tabPage7.Controls.Add(this.label73);
     this.tabPage7.Location = new System.Drawing.Point(4, 22);
     this.tabPage7.Name = "tabPage7";
     this.tabPage7.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage7.Size = new System.Drawing.Size(738, 222);
     this.tabPage7.TabIndex = 6;
     this.tabPage7.Text = "MeridFlip";
     //
     // groupBox24
     //
     this.groupBox24.Controls.Add(this.button36);
     this.groupBox24.Controls.Add(this.button28);
     this.groupBox24.Controls.Add(this.button31);
     this.groupBox24.Controls.Add(this.label60);
     this.groupBox24.Controls.Add(this.textBox64);
     this.groupBox24.Location = new System.Drawing.Point(6, 96);
     this.groupBox24.Name = "groupBox24";
     this.groupBox24.Size = new System.Drawing.Size(187, 72);
     this.groupBox24.TabIndex = 186;
     this.groupBox24.TabStop = false;
     this.groupBox24.Text = "PHD Status";
     //
     // button36
     //
     this.button36.Location = new System.Drawing.Point(123, 19);
     this.button36.Name = "button36";
     this.button36.Size = new System.Drawing.Size(54, 23);
     this.button36.TabIndex = 54;
     this.button36.Text = "status";
     this.button36.UseVisualStyleBackColor = true;
     this.button36.Click += new System.EventHandler(this.button36_Click_1);
     //
     // button28
     //
     this.button28.Location = new System.Drawing.Point(18, 19);
     this.button28.Name = "button28";
     this.button28.Size = new System.Drawing.Size(50, 23);
     this.button28.TabIndex = 52;
     this.button28.Text = "phd ||";
     this.button28.UseVisualStyleBackColor = true;
     this.button28.Click += new System.EventHandler(this.button28_Click);
     //
     // button31
     //
     this.button31.Location = new System.Drawing.Point(74, 19);
     this.button31.Name = "button31";
     this.button31.Size = new System.Drawing.Size(43, 23);
     this.button31.TabIndex = 53;
     this.button31.Text = "phd >";
     this.button31.UseVisualStyleBackColor = true;
     this.button31.Click += new System.EventHandler(this.button31_Click);
     //
     // label60
     //
     this.label60.AutoSize = true;
     this.label60.Location = new System.Drawing.Point(33, 51);
     this.label60.Name = "label60";
     this.label60.Size = new System.Drawing.Size(35, 13);
     this.label60.TabIndex = 58;
     this.label60.Text = "status";
     //
     // textBox64
     //
     this.textBox64.Location = new System.Drawing.Point(74, 48);
     this.textBox64.Name = "textBox64";
     this.textBox64.Size = new System.Drawing.Size(100, 20);
     this.textBox64.TabIndex = 55;
     //
     // groupBox23
     //
     this.groupBox23.Controls.Add(this.button43);
     this.groupBox23.Controls.Add(this.textBox31);
     this.groupBox23.Controls.Add(this.textBox32);
     this.groupBox23.Controls.Add(this.button44);
     this.groupBox23.Controls.Add(this.label91);
     this.groupBox23.Controls.Add(this.label90);
     this.groupBox23.Location = new System.Drawing.Point(8, 169);
     this.groupBox23.Name = "groupBox23";
     this.groupBox23.Size = new System.Drawing.Size(482, 48);
     this.groupBox23.TabIndex = 186;
     this.groupBox23.TabStop = false;
     this.groupBox23.Text = "Center Here";
     //
     // button43
     //
     this.button43.Location = new System.Drawing.Point(115, 17);
     this.button43.Name = "button43";
     this.button43.Size = new System.Drawing.Size(84, 23);
     this.button43.TabIndex = 69;
     this.button43.Text = "Slew to Offset";
     this.button43.UseVisualStyleBackColor = true;
     this.button43.Click += new System.EventHandler(this.button43_Click);
     //
     // textBox31
     //
     this.textBox31.Location = new System.Drawing.Point(364, 19);
     this.textBox31.Name = "textBox31";
     this.textBox31.Size = new System.Drawing.Size(45, 20);
     this.textBox31.TabIndex = 66;
     //
     // textBox32
     //
     this.textBox32.Location = new System.Drawing.Point(434, 19);
     this.textBox32.Name = "textBox32";
     this.textBox32.Size = new System.Drawing.Size(45, 20);
     this.textBox32.TabIndex = 68;
     //
     // button44
     //
     this.button44.Location = new System.Drawing.Point(14, 17);
     this.button44.Name = "button44";
     this.button44.Size = new System.Drawing.Size(93, 23);
     this.button44.TabIndex = 63;
     this.button44.Text = "Calculate Offset";
     this.button44.UseVisualStyleBackColor = true;
     this.button44.Click += new System.EventHandler(this.button44_Click);
     //
     // label91
     //
     this.label91.AutoSize = true;
     this.label91.Location = new System.Drawing.Point(415, 22);
     this.label91.Name = "label91";
     this.label91.Size = new System.Drawing.Size(14, 13);
     this.label91.TabIndex = 67;
     this.label91.Text = "Y";
     //
     // label90
     //
     this.label90.AutoSize = true;
     this.label90.Location = new System.Drawing.Point(218, 22);
     this.label90.Name = "label90";
     this.label90.Size = new System.Drawing.Size(140, 13);
     this.label90.TabIndex = 65;
     this.label90.Text = "Enter offset pixel position:  X";
     //
     // groupBox22
     //
     this.groupBox22.Controls.Add(this.label35);
     this.groupBox22.Controls.Add(this.textBox45);
     this.groupBox22.Controls.Add(this.label86);
     this.groupBox22.Controls.Add(this.textBox5);
     this.groupBox22.Controls.Add(this.label70);
     this.groupBox22.Controls.Add(this.label59);
     this.groupBox22.Controls.Add(this.textBox53);
     this.groupBox22.Controls.Add(this.textBox56);
     this.groupBox22.Controls.Add(this.label74);
     this.groupBox22.Controls.Add(this.label69);
     this.groupBox22.Controls.Add(this.textBox55);
     this.groupBox22.Controls.Add(this.label71);
     this.groupBox22.Controls.Add(this.textBox54);
     this.groupBox22.Controls.Add(this.label72);
     this.groupBox22.Controls.Add(this.textBox57);
     this.groupBox22.Controls.Add(this.textBox52);
     this.groupBox22.Controls.Add(this.textBox48);
     this.groupBox22.Controls.Add(this.label68);
     this.groupBox22.Location = new System.Drawing.Point(6, 4);
     this.groupBox22.Name = "groupBox22";
     this.groupBox22.Size = new System.Drawing.Size(482, 94);
     this.groupBox22.TabIndex = 61;
     this.groupBox22.TabStop = false;
     this.groupBox22.Text = "Mount Status";
     //
     // label35
     //
     this.label35.AutoSize = true;
     this.label35.Location = new System.Drawing.Point(316, 17);
     this.label35.Name = "label35";
     this.label35.Size = new System.Drawing.Size(54, 13);
     this.label35.TabIndex = 3;
     this.label35.Text = "Dest SOP";
     //
     // textBox45
     //
     this.textBox45.Location = new System.Drawing.Point(383, 13);
     this.textBox45.Name = "textBox45";
     this.textBox45.Size = new System.Drawing.Size(67, 20);
     this.textBox45.TabIndex = 2;
     //
     // label86
     //
     this.label86.AutoSize = true;
     this.label86.Location = new System.Drawing.Point(43, 17);
     this.label86.Name = "label86";
     this.label86.Size = new System.Drawing.Size(27, 13);
     this.label86.TabIndex = 59;
     this.label86.Text = "LST";
     //
     // textBox5
     //
     this.textBox5.Location = new System.Drawing.Point(383, 39);
     this.textBox5.Name = "textBox5";
     this.textBox5.Size = new System.Drawing.Size(67, 20);
     this.textBox5.TabIndex = 57;
     //
     // label70
     //
     this.label70.AutoSize = true;
     this.label70.Location = new System.Drawing.Point(170, 17);
     this.label70.Name = "label70";
     this.label70.Size = new System.Drawing.Size(46, 13);
     this.label70.TabIndex = 12;
     this.label70.Text = "FlipTime";
     //
     // label59
     //
     this.label59.AutoSize = true;
     this.label59.Location = new System.Drawing.Point(316, 42);
     this.label59.Name = "label59";
     this.label59.Size = new System.Drawing.Size(61, 13);
     this.label59.TabIndex = 56;
     this.label59.Text = "Side of Pier";
     //
     // textBox53
     //
     this.textBox53.Location = new System.Drawing.Point(76, 13);
     this.textBox53.Name = "textBox53";
     this.textBox53.Size = new System.Drawing.Size(61, 20);
     this.textBox53.TabIndex = 26;
     //
     // textBox56
     //
     this.textBox56.Location = new System.Drawing.Point(222, 13);
     this.textBox56.Name = "textBox56";
     this.textBox56.Size = new System.Drawing.Size(61, 20);
     this.textBox56.TabIndex = 30;
     //
     // label74
     //
     this.label74.AutoSize = true;
     this.label74.Location = new System.Drawing.Point(4, 69);
     this.label74.Name = "label74";
     this.label74.Size = new System.Drawing.Size(66, 13);
     this.label74.TabIndex = 29;
     this.label74.Text = "Current DEC";
     //
     // label69
     //
     this.label69.AutoSize = true;
     this.label69.Location = new System.Drawing.Point(13, 42);
     this.label69.Name = "label69";
     this.label69.Size = new System.Drawing.Size(59, 13);
     this.label69.TabIndex = 10;
     this.label69.Text = "Current RA";
     //
     // textBox55
     //
     this.textBox55.Location = new System.Drawing.Point(76, 65);
     this.textBox55.Name = "textBox55";
     this.textBox55.Size = new System.Drawing.Size(61, 20);
     this.textBox55.TabIndex = 28;
     //
     // label71
     //
     this.label71.AutoSize = true;
     this.label71.Location = new System.Drawing.Point(143, 42);
     this.label71.Name = "label71";
     this.label71.Size = new System.Drawing.Size(73, 13);
     this.label71.TabIndex = 16;
     this.label71.Text = "Meridian Time";
     //
     // textBox54
     //
     this.textBox54.Location = new System.Drawing.Point(76, 39);
     this.textBox54.Name = "textBox54";
     this.textBox54.Size = new System.Drawing.Size(61, 20);
     this.textBox54.TabIndex = 27;
     //
     // label72
     //
     this.label72.AutoSize = true;
     this.label72.Location = new System.Drawing.Point(323, 69);
     this.label72.Name = "label72";
     this.label72.Size = new System.Drawing.Size(54, 13);
     this.label72.TabIndex = 17;
     this.label72.Text = "Longitude";
     //
     // textBox57
     //
     this.textBox57.Location = new System.Drawing.Point(222, 39);
     this.textBox57.Name = "textBox57";
     this.textBox57.Size = new System.Drawing.Size(61, 20);
     this.textBox57.TabIndex = 31;
     //
     // textBox52
     //
     this.textBox52.Location = new System.Drawing.Point(383, 65);
     this.textBox52.Name = "textBox52";
     this.textBox52.Size = new System.Drawing.Size(67, 20);
     this.textBox52.TabIndex = 15;
     //
     // textBox48
     //
     this.textBox48.Location = new System.Drawing.Point(222, 65);
     this.textBox48.Name = "textBox48";
     this.textBox48.Size = new System.Drawing.Size(61, 20);
     this.textBox48.TabIndex = 9;
     //
     // label68
     //
     this.label68.AutoSize = true;
     this.label68.Location = new System.Drawing.Point(151, 69);
     this.label68.Name = "label68";
     this.label68.Size = new System.Drawing.Size(65, 13);
     this.label68.TabIndex = 8;
     this.label68.Text = "Flip Pending";
     //
     // groupBox21
     //
     this.groupBox21.Controls.Add(this.textBox46);
     this.groupBox21.Controls.Add(this.button57);
     this.groupBox21.Controls.Add(this.button58);
     this.groupBox21.Controls.Add(this.label66);
     this.groupBox21.Controls.Add(this.textBox47);
     this.groupBox21.Controls.Add(this.label67);
     this.groupBox21.Controls.Add(this.label78);
     this.groupBox21.Controls.Add(this.label77);
     this.groupBox21.Location = new System.Drawing.Point(199, 98);
     this.groupBox21.Name = "groupBox21";
     this.groupBox21.Size = new System.Drawing.Size(289, 71);
     this.groupBox21.TabIndex = 60;
     this.groupBox21.TabStop = false;
     this.groupBox21.Text = "Polar Alingment";
     //
     // textBox46
     //
     this.textBox46.Location = new System.Drawing.Point(165, 22);
     this.textBox46.Name = "textBox46";
     this.textBox46.Size = new System.Drawing.Size(67, 20);
     this.textBox46.TabIndex = 45;
     //
     // button57
     //
     this.button57.Location = new System.Drawing.Point(15, 17);
     this.button57.Name = "button57";
     this.button57.Size = new System.Drawing.Size(75, 23);
     this.button57.TabIndex = 40;
     this.button57.Text = "PA-Slew";
     this.button57.UseVisualStyleBackColor = true;
     this.button57.Click += new System.EventHandler(this.button57_Click);
     //
     // button58
     //
     this.button58.Location = new System.Drawing.Point(15, 45);
     this.button58.Name = "button58";
     this.button58.Size = new System.Drawing.Size(75, 23);
     this.button58.TabIndex = 41;
     this.button58.Text = "PA-Sync";
     this.button58.UseVisualStyleBackColor = true;
     this.button58.Click += new System.EventHandler(this.button58_Click);
     //
     // label66
     //
     this.label66.AutoSize = true;
     this.label66.Location = new System.Drawing.Point(113, 48);
     this.label66.Name = "label66";
     this.label66.Size = new System.Drawing.Size(41, 13);
     this.label66.TabIndex = 44;
     this.label66.Text = "AltError";
     //
     // textBox47
     //
     this.textBox47.Location = new System.Drawing.Point(165, 45);
     this.textBox47.Name = "textBox47";
     this.textBox47.Size = new System.Drawing.Size(67, 20);
     this.textBox47.TabIndex = 46;
     //
     // label67
     //
     this.label67.AutoSize = true;
     this.label67.Location = new System.Drawing.Point(105, 25);
     this.label67.Name = "label67";
     this.label67.Size = new System.Drawing.Size(49, 13);
     this.label67.TabIndex = 47;
     this.label67.Text = "AzmError";
     //
     // label78
     //
     this.label78.AutoSize = true;
     this.label78.Location = new System.Drawing.Point(238, 48);
     this.label78.Name = "label78";
     this.label78.Size = new System.Drawing.Size(38, 13);
     this.label78.TabIndex = 49;
     this.label78.Text = "arcmin";
     //
     // label77
     //
     this.label77.AutoSize = true;
     this.label77.Location = new System.Drawing.Point(238, 25);
     this.label77.Name = "label77";
     this.label77.Size = new System.Drawing.Size(38, 13);
     this.label77.TabIndex = 48;
     this.label77.Text = "arcmin";
     //
     // groupBox19
     //
     this.groupBox19.Controls.Add(this.label94);
     this.groupBox19.Controls.Add(this.textBox49);
     this.groupBox19.Controls.Add(this.label93);
     this.groupBox19.Controls.Add(this.radioButton5_astrometry);
     this.groupBox19.Controls.Add(this.radioButton_local);
     this.groupBox19.Controls.Add(this.label83);
     this.groupBox19.Controls.Add(this.label82);
     this.groupBox19.Controls.Add(this.textBox62);
     this.groupBox19.Controls.Add(this.textBox61);
     this.groupBox19.Controls.Add(this.textBox60);
     this.groupBox19.Controls.Add(this.label81);
     this.groupBox19.Controls.Add(this.label80);
     this.groupBox19.Controls.Add(this.label79);
     this.groupBox19.Controls.Add(this.button55);
     this.groupBox19.Controls.Add(this.button60);
     this.groupBox19.Controls.Add(this.checkBox25);
     this.groupBox19.Controls.Add(this.textBox59);
     this.groupBox19.Controls.Add(this.label76);
     this.groupBox19.Controls.Add(this.checkBox26);
     this.groupBox19.Controls.Add(this.textBox58);
     this.groupBox19.Controls.Add(this.label75);
     this.groupBox19.Location = new System.Drawing.Point(494, 5);
     this.groupBox19.Name = "groupBox19";
     this.groupBox19.Size = new System.Drawing.Size(241, 214);
     this.groupBox19.TabIndex = 50;
     this.groupBox19.TabStop = false;
     this.groupBox19.Text = "Plate Solve Settings";
     //
     // label93
     //
     this.label93.AutoSize = true;
     this.label93.Location = new System.Drawing.Point(23, 193);
     this.label93.Name = "label93";
     this.label93.Size = new System.Drawing.Size(32, 13);
     this.label93.TabIndex = 54;
     this.label93.Text = "Use: ";
     //
     // radioButton5_astrometry
     //
     this.radioButton5_astrometry.AutoSize = true;
     this.radioButton5_astrometry.Location = new System.Drawing.Point(61, 191);
     this.radioButton5_astrometry.Name = "radioButton5_astrometry";
     this.radioButton5_astrometry.Size = new System.Drawing.Size(92, 17);
     this.radioButton5_astrometry.TabIndex = 53;
     this.radioButton5_astrometry.TabStop = true;
     this.radioButton5_astrometry.Text = "Astrometry.net";
     this.radioButton5_astrometry.UseVisualStyleBackColor = true;
     this.radioButton5_astrometry.CheckedChanged += new System.EventHandler(this.radioButton5_astrometry_CheckedChanged);
     //
     // radioButton_local
     //
     this.radioButton_local.AutoSize = true;
     this.radioButton_local.Checked = true;
     this.radioButton_local.Location = new System.Drawing.Point(159, 191);
     this.radioButton_local.Name = "radioButton_local";
     this.radioButton_local.Size = new System.Drawing.Size(51, 17);
     this.radioButton_local.TabIndex = 52;
     this.radioButton_local.TabStop = true;
     this.radioButton_local.Text = "Local";
     this.radioButton_local.UseVisualStyleBackColor = true;
     this.radioButton_local.CheckedChanged += new System.EventHandler(this.radioButton_local_CheckedChanged);
     //
     // label83
     //
     this.label83.AutoSize = true;
     this.label83.Location = new System.Drawing.Point(209, 68);
     this.label83.Name = "label83";
     this.label83.Size = new System.Drawing.Size(25, 13);
     this.label83.TabIndex = 7;
     this.label83.Text = "deg";
     //
     // label82
     //
     this.label82.AutoSize = true;
     this.label82.Location = new System.Drawing.Point(209, 42);
     this.label82.Name = "label82";
     this.label82.Size = new System.Drawing.Size(25, 13);
     this.label82.TabIndex = 6;
     this.label82.Text = "deg";
     //
     // textBox62
     //
     this.textBox62.Location = new System.Drawing.Point(159, 65);
     this.textBox62.Name = "textBox62";
     this.textBox62.Size = new System.Drawing.Size(44, 20);
     this.textBox62.TabIndex = 5;
     //
     // textBox61
     //
     this.textBox61.Location = new System.Drawing.Point(159, 39);
     this.textBox61.Name = "textBox61";
     this.textBox61.Size = new System.Drawing.Size(45, 20);
     this.textBox61.TabIndex = 4;
     //
     // textBox60
     //
     this.textBox60.Location = new System.Drawing.Point(159, 13);
     this.textBox60.Name = "textBox60";
     this.textBox60.Size = new System.Drawing.Size(45, 20);
     this.textBox60.TabIndex = 3;
     //
     // label81
     //
     this.label81.AutoSize = true;
     this.label81.Location = new System.Drawing.Point(119, 68);
     this.label81.Name = "label81";
     this.label81.Size = new System.Drawing.Size(29, 13);
     this.label81.TabIndex = 2;
     this.label81.Text = "High";
     //
     // label80
     //
     this.label80.AutoSize = true;
     this.label80.Location = new System.Drawing.Point(118, 42);
     this.label80.Name = "label80";
     this.label80.Size = new System.Drawing.Size(27, 13);
     this.label80.TabIndex = 1;
     this.label80.Text = "Low";
     //
     // label79
     //
     this.label79.AutoSize = true;
     this.label79.Location = new System.Drawing.Point(119, 16);
     this.label79.Name = "label79";
     this.label79.Size = new System.Drawing.Size(36, 13);
     this.label79.TabIndex = 0;
     this.label79.Text = "Sigma";
     //
     // button55
     //
     this.button55.Location = new System.Drawing.Point(14, 16);
     this.button55.Name = "button55";
     this.button55.Size = new System.Drawing.Size(75, 43);
     this.button55.TabIndex = 25;
     this.button55.Text = "Plate Solve  Go";
     this.button55.UseVisualStyleBackColor = true;
     this.button55.Click += new System.EventHandler(this.button55_Click);
     //
     // button60
     //
     this.button60.Enabled = false;
     this.button60.Location = new System.Drawing.Point(14, 67);
     this.button60.Name = "button60";
     this.button60.Size = new System.Drawing.Size(75, 23);
     this.button60.TabIndex = 51;
     this.button60.Text = "Abort";
     this.button60.UseVisualStyleBackColor = true;
     this.button60.Click += new System.EventHandler(this.button60_Click);
     //
     // checkBox25
     //
     this.checkBox25.AutoSize = true;
     this.checkBox25.Location = new System.Drawing.Point(41, 123);
     this.checkBox25.Name = "checkBox25";
     this.checkBox25.Size = new System.Drawing.Size(113, 17);
     this.checkBox25.TabIndex = 36;
     this.checkBox25.Text = "Repeat until within";
     this.checkBox25.UseVisualStyleBackColor = true;
     //
     // textBox59
     //
     this.textBox59.Location = new System.Drawing.Point(155, 122);
     this.textBox59.Name = "textBox59";
     this.textBox59.Size = new System.Drawing.Size(29, 20);
     this.textBox59.TabIndex = 37;
     this.textBox59.Text = "1";
     this.textBox59.TextChanged += new System.EventHandler(this.textBox59_TextChanged);
     //
     // label76
     //
     this.label76.AutoSize = true;
     this.label76.Location = new System.Drawing.Point(190, 125);
     this.label76.Name = "label76";
     this.label76.Size = new System.Drawing.Size(38, 13);
     this.label76.TabIndex = 38;
     this.label76.Text = "arcmin";
     //
     // textBox58
     //
     this.textBox58.Location = new System.Drawing.Point(86, 167);
     this.textBox58.Name = "textBox58";
     this.textBox58.Size = new System.Drawing.Size(144, 20);
     this.textBox58.TabIndex = 33;
     this.textBox58.Click += new System.EventHandler(this.textBox58_Click);
     //
     // label75
     //
     this.label75.AutoSize = true;
     this.label75.Location = new System.Drawing.Point(11, 170);
     this.label75.Name = "label75";
     this.label75.Size = new System.Drawing.Size(69, 13);
     this.label75.TabIndex = 34;
     this.label75.Text = "Select Image";
     //
     // label73
     //
     this.label73.AutoSize = true;
     this.label73.Location = new System.Drawing.Point(402, 124);
     this.label73.Name = "label73";
     this.label73.Size = new System.Drawing.Size(59, 13);
     this.label73.TabIndex = 18;
     this.label73.Text = "(-) for West";
     //
     // button17
     //
     this.button17.Location = new System.Drawing.Point(639, 548);
     this.button17.Name = "button17";
     this.button17.Size = new System.Drawing.Size(75, 23);
     this.button17.TabIndex = 108;
     this.button17.Text = "View All";
     this.button17.UseVisualStyleBackColor = true;
     this.button17.Click += new System.EventHandler(this.button17_Click);
     //
     // fileSystemWatcher4
     //
     this.fileSystemWatcher4.EnableRaisingEvents = true;
     this.fileSystemWatcher4.Filter = "*.fit";
     this.fileSystemWatcher4.NotifyFilter = System.IO.NotifyFilters.LastWrite;
     this.fileSystemWatcher4.SynchronizingObject = this;
     this.fileSystemWatcher4.Changed += new System.IO.FileSystemEventHandler(this.fileSystemWatcher4_Changed);
     //
     // textBox26
     //
     this.textBox26.Location = new System.Drawing.Point(431, 213);
     this.textBox26.Name = "textBox26";
     this.textBox26.Size = new System.Drawing.Size(61, 20);
     this.textBox26.TabIndex = 184;
     //
     // fileSystemWatcher5
     //
     this.fileSystemWatcher5.EnableRaisingEvents = true;
     this.fileSystemWatcher5.Filter = "*.fit";
     this.fileSystemWatcher5.SynchronizingObject = this;
     this.fileSystemWatcher5.Changed += new System.IO.FileSystemEventHandler(this.fileSystemWatcher5_Changed);
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripStatusLabel1,
     this.toolStripStatusLabel2,
     this.toolStripProgressBar1,
     this.toolStripStatusLabel3,
     this.toolStripStatusLabel4,
     this.toolStripStatusLabel5});
     this.statusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
     this.statusStrip1.Location = new System.Drawing.Point(0, 694);
     this.statusStrip1.Name = "statusStrip1";
     this.statusStrip1.Size = new System.Drawing.Size(749, 24);
     this.statusStrip1.SizingGrip = false;
     this.statusStrip1.TabIndex = 185;
     this.statusStrip1.Text = "statusStrip1";
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.AutoSize = false;
     this.toolStripStatusLabel1.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new System.Drawing.Size(160, 19);
     this.toolStripStatusLabel1.Text = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStripStatusLabel2
     //
     this.toolStripStatusLabel2.AutoSize = false;
     this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
     this.toolStripStatusLabel2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.toolStripStatusLabel2.Size = new System.Drawing.Size(70, 19);
     this.toolStripStatusLabel2.Text = "toolStripStatusLabel2";
     this.toolStripStatusLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStripProgressBar1
     //
     this.toolStripProgressBar1.Name = "toolStripProgressBar1";
     this.toolStripProgressBar1.Size = new System.Drawing.Size(100, 18);
     this.toolStripProgressBar1.Step = 1;
     //
     // toolStripStatusLabel3
     //
     this.toolStripStatusLabel3.AutoSize = false;
     this.toolStripStatusLabel3.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left;
     this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
     this.toolStripStatusLabel3.Size = new System.Drawing.Size(150, 19);
     this.toolStripStatusLabel3.Text = "toolStripStatusLabel3";
     this.toolStripStatusLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStripStatusLabel4
     //
     this.toolStripStatusLabel4.AutoSize = false;
     this.toolStripStatusLabel4.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left;
     this.toolStripStatusLabel4.Name = "toolStripStatusLabel4";
     this.toolStripStatusLabel4.Size = new System.Drawing.Size(80, 19);
     this.toolStripStatusLabel4.Text = "toolStripStatusLabel4";
     this.toolStripStatusLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStripStatusLabel5
     //
     this.toolStripStatusLabel5.AutoSize = false;
     this.toolStripStatusLabel5.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left;
     this.toolStripStatusLabel5.Name = "toolStripStatusLabel5";
     this.toolStripStatusLabel5.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.toolStripStatusLabel5.Size = new System.Drawing.Size(220, 19);
     this.toolStripStatusLabel5.Spring = true;
     this.toolStripStatusLabel5.Text = "toolStripStatusLabel5";
     this.toolStripStatusLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // openFileDialog1
     //
     this.openFileDialog1.Filter = "Excel Files(*.xls)|*.xls|Text files (*.txt)|*.txt";
     this.openFileDialog1.FilterIndex = 2;
     this.openFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.openFileDialog1_FileOk);
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.Filter = "Text files (*.txt)|*.txt|Excel files(*.xls;*.xlsx)|*.xls;*.xlsx";
     this.saveFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFileDialog1_FileOk);
     //
     // folderBrowserDialog2
     //
     this.folderBrowserDialog2.HelpRequest += new System.EventHandler(this.folderBrowserDialog2_HelpRequest);
     //
     // backgroundWorker1
     //
     this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
     //
     // backgroundWorker2
     //
     this.backgroundWorker2.WorkerReportsProgress = true;
     this.backgroundWorker2.WorkerSupportsCancellation = true;
     this.backgroundWorker2.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker2_DoWork);
     //
     // timer2
     //
     this.timer2.Interval = 1000;
     this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
     //
     // openFileDialog2
     //
     this.openFileDialog2.FileName = "openFileDialog2";
     this.openFileDialog2.Filter = "Image Files|*.fit";
     //
     // fileSystemWatcher7
     //
     this.fileSystemWatcher7.EnableRaisingEvents = true;
     this.fileSystemWatcher7.Filter = "*.fit";
     this.fileSystemWatcher7.SynchronizingObject = this;
     this.fileSystemWatcher7.Created += new System.IO.FileSystemEventHandler(this.fileSystemWatcher7_Created);
     //
     // textBox49
     //
     this.textBox49.Location = new System.Drawing.Point(159, 91);
     this.textBox49.Name = "textBox49";
     this.textBox49.Size = new System.Drawing.Size(44, 20);
     this.textBox49.TabIndex = 55;
     this.toolTip1.SetToolTip(this.textBox49, "Enter Downsize facotr for long exposure images");
     //
     // label94
     //
     this.label94.AutoSize = true;
     this.label94.Location = new System.Drawing.Point(112, 94);
     this.label94.Name = "label94";
     this.label94.Size = new System.Drawing.Size(41, 13);
     this.label94.TabIndex = 56;
     this.label94.Text = "DwnSz";
     //
     // MainWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(749, 718);
     this.Controls.Add(this.button18);
     this.Controls.Add(this.button17);
     this.Controls.Add(this.button16);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.textBox26);
     this.Controls.Add(this.button13);
     this.Controls.Add(this.dataGridView1);
     this.Controls.Add(this.chart1);
     this.Controls.Add(this.LogTextBox);
     this.Controls.Add(this.menuStrip1);
     this.Controls.Add(this.statusStrip1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Location = new System.Drawing.Point(100, 20);
     this.MainMenuStrip = this.menuStrip1;
     this.Name = "MainWindow";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "scopefocus - Main";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWindow_FormClosing);
     this.Load += new System.EventHandler(this.MainWindow_Load_1);
     this.Shown += new System.EventHandler(this.MainWindow_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown21)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown39)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox20.ResumeLayout(false);
     this.groupBox20.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown40)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.tabPage1.ResumeLayout(false);
     this.groupBox11.ResumeLayout(false);
     this.groupBox11.PerformLayout();
     this.groupBox10.ResumeLayout(false);
     this.groupBox10.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
     this.groupBox9.ResumeLayout(false);
     this.groupBox9.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
     this.groupBox8.ResumeLayout(false);
     this.groupBox8.PerformLayout();
     this.tabPage4.ResumeLayout(false);
     this.tabPage4.PerformLayout();
     this.groupBox15.ResumeLayout(false);
     this.groupBox15.PerformLayout();
     this.groupBox14.ResumeLayout(false);
     this.groupBox14.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
     this.groupBox13.ResumeLayout(false);
     this.groupBox13.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown36)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown34)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown14)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown15)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown32)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown31)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown16)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown30)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown17)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown18)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown29)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown19)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown28)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown20)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown27)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown24)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown26)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown25)).EndInit();
     this.groupBox12.ResumeLayout(false);
     this.groupBox12.PerformLayout();
     this.tabPage5.ResumeLayout(false);
     this.groupBox16.ResumeLayout(false);
     this.groupBox16.PerformLayout();
     this.groupBox7.ResumeLayout(false);
     this.groupBox7.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown23)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown38)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown22)).EndInit();
     this.groupBox6.ResumeLayout(false);
     this.groupBox6.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     this.groupBox5.PerformLayout();
     this.tabPage6.ResumeLayout(false);
     this.tabPage6.PerformLayout();
     this.groupBox18.ResumeLayout(false);
     this.groupBox18.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown35)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown37)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown33)).EndInit();
     this.groupBox17.ResumeLayout(false);
     this.groupBox17.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown41)).EndInit();
     this.tabPage3.ResumeLayout(false);
     this.tabPage3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.tabPage7.ResumeLayout(false);
     this.tabPage7.PerformLayout();
     this.groupBox24.ResumeLayout(false);
     this.groupBox24.PerformLayout();
     this.groupBox23.ResumeLayout(false);
     this.groupBox23.PerformLayout();
     this.groupBox22.ResumeLayout(false);
     this.groupBox22.PerformLayout();
     this.groupBox21.ResumeLayout(false);
     this.groupBox21.PerformLayout();
     this.groupBox19.ResumeLayout(false);
     this.groupBox19.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher5)).EndInit();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher7)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #43
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series5 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series7 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.label1 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.pulse = new System.Windows.Forms.TextBox();
     this.rpm = new System.Windows.Forms.TextBox();
     this.speed = new System.Windows.Forms.TextBox();
     this.distance = new System.Windows.Forms.TextBox();
     this.power = new System.Windows.Forms.TextBox();
     this.energy = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.Chatbox = new System.Windows.Forms.TextBox();
     this.Grafiek = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.Sendbox = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.time = new System.Windows.Forms.TextBox();
     this.actualpower = new System.Windows.Forms.TextBox();
     this.sessions_button = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.Grafiek)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.BackColor = System.Drawing.Color.Gainsboro;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location = new System.Drawing.Point(12, 9);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(84, 31);
     this.label1.TabIndex = 0;
     this.label1.Text = "Client";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.label3.Location = new System.Drawing.Point(10, 102);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(38, 17);
     this.label3.TabIndex = 1;
     this.label3.Text = "RPM";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.label2.Location = new System.Drawing.Point(10, 286);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(39, 17);
     this.label2.TabIndex = 2;
     this.label2.Text = "Time";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.label4.Location = new System.Drawing.Point(10, 215);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(47, 17);
     this.label4.TabIndex = 3;
     this.label4.Text = "Power";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.label5.Location = new System.Drawing.Point(10, 254);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(53, 17);
     this.label5.TabIndex = 4;
     this.label5.Text = "Energy";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.label6.Location = new System.Drawing.Point(10, 323);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(90, 17);
     this.label6.TabIndex = 5;
     this.label6.Text = "Actual Power";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.label7.Location = new System.Drawing.Point(10, 63);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(43, 17);
     this.label7.TabIndex = 6;
     this.label7.Text = "Pulse";
     //
     // pulse
     //
     this.pulse.Location = new System.Drawing.Point(102, 62);
     this.pulse.Name = "pulse";
     this.pulse.ReadOnly = true;
     this.pulse.Size = new System.Drawing.Size(100, 20);
     this.pulse.TabIndex = 7;
     //
     // rpm
     //
     this.rpm.Location = new System.Drawing.Point(102, 101);
     this.rpm.Name = "rpm";
     this.rpm.ReadOnly = true;
     this.rpm.Size = new System.Drawing.Size(100, 20);
     this.rpm.TabIndex = 8;
     //
     // speed
     //
     this.speed.Location = new System.Drawing.Point(102, 139);
     this.speed.Name = "speed";
     this.speed.ReadOnly = true;
     this.speed.Size = new System.Drawing.Size(100, 20);
     this.speed.TabIndex = 9;
     //
     // distance
     //
     this.distance.Location = new System.Drawing.Point(102, 176);
     this.distance.Name = "distance";
     this.distance.ReadOnly = true;
     this.distance.Size = new System.Drawing.Size(100, 20);
     this.distance.TabIndex = 10;
     //
     // power
     //
     this.power.Location = new System.Drawing.Point(102, 214);
     this.power.Name = "power";
     this.power.ReadOnly = true;
     this.power.Size = new System.Drawing.Size(100, 20);
     this.power.TabIndex = 11;
     //
     // energy
     //
     this.energy.Location = new System.Drawing.Point(102, 253);
     this.energy.Name = "energy";
     this.energy.ReadOnly = true;
     this.energy.Size = new System.Drawing.Size(100, 20);
     this.energy.TabIndex = 12;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(133, 357);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(352, 25);
     this.label8.TabIndex = 14;
     this.label8.Text = "Comments from Medical Supervisor";
     //
     // Chatbox
     //
     this.Chatbox.Location = new System.Drawing.Point(102, 384);
     this.Chatbox.Multiline = true;
     this.Chatbox.Name = "Chatbox";
     this.Chatbox.ReadOnly = true;
     this.Chatbox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.Chatbox.Size = new System.Drawing.Size(394, 81);
     this.Chatbox.TabIndex = 15;
     //
     // Grafiek
     //
     chartArea1.Name = "ChartArea1";
     this.Grafiek.ChartAreas.Add(chartArea1);
     legend1.Name = "Legend1";
     this.Grafiek.Legends.Add(legend1);
     this.Grafiek.Location = new System.Drawing.Point(232, 54);
     this.Grafiek.Name = "Grafiek";
     series1.ChartArea = "ChartArea1";
     series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series1.Legend = "Legend1";
     series1.Name = "Pulse";
     series2.ChartArea = "ChartArea1";
     series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series2.Legend = "Legend1";
     series2.Name = "Rpm";
     series3.ChartArea = "ChartArea1";
     series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series3.Legend = "Legend1";
     series3.Name = "Speed";
     series4.ChartArea = "ChartArea1";
     series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series4.Legend = "Legend1";
     series4.Name = "Distance";
     series5.ChartArea = "ChartArea1";
     series5.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series5.Legend = "Legend1";
     series5.Name = "Power";
     series6.ChartArea = "ChartArea1";
     series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series6.Legend = "Legend1";
     series6.Name = "Energy";
     series7.ChartArea = "ChartArea1";
     series7.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series7.Legend = "Legend1";
     series7.Name = "ActualPower";
     this.Grafiek.Series.Add(series1);
     this.Grafiek.Series.Add(series2);
     this.Grafiek.Series.Add(series3);
     this.Grafiek.Series.Add(series4);
     this.Grafiek.Series.Add(series5);
     this.Grafiek.Series.Add(series6);
     this.Grafiek.Series.Add(series7);
     this.Grafiek.Size = new System.Drawing.Size(363, 300);
     this.Grafiek.TabIndex = 17;
     this.Grafiek.Text = "Grafiek";
     //
     // Sendbox
     //
     this.Sendbox.Location = new System.Drawing.Point(102, 471);
     this.Sendbox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.Sendbox.Name = "Sendbox";
     this.Sendbox.Size = new System.Drawing.Size(394, 20);
     this.Sendbox.TabIndex = 18;
     this.Sendbox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox8_KeyDown);
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.label9.Location = new System.Drawing.Point(9, 180);
     this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(63, 17);
     this.label9.TabIndex = 19;
     this.label9.Text = "Distance";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.label10.Location = new System.Drawing.Point(9, 141);
     this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(49, 17);
     this.label10.TabIndex = 20;
     this.label10.Text = "Speed";
     //
     // time
     //
     this.time.Location = new System.Drawing.Point(102, 287);
     this.time.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.time.Name = "time";
     this.time.ReadOnly = true;
     this.time.Size = new System.Drawing.Size(100, 20);
     this.time.TabIndex = 21;
     //
     // actualpower
     //
     this.actualpower.Location = new System.Drawing.Point(102, 323);
     this.actualpower.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.actualpower.Name = "actualpower";
     this.actualpower.ReadOnly = true;
     this.actualpower.Size = new System.Drawing.Size(100, 20);
     this.actualpower.TabIndex = 22;
     //
     // sessions_button
     //
     this.sessions_button.Location = new System.Drawing.Point(505, 14);
     this.sessions_button.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.sessions_button.Name = "sessions_button";
     this.sessions_button.Size = new System.Drawing.Size(90, 32);
     this.sessions_button.TabIndex = 23;
     this.sessions_button.Text = "Session History";
     this.sessions_button.UseVisualStyleBackColor = true;
     this.sessions_button.Click += new System.EventHandler(this.sessions_button_Click);
     //
     // Client
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.Gainsboro;
     this.ClientSize = new System.Drawing.Size(603, 498);
     this.Controls.Add(this.sessions_button);
     this.Controls.Add(this.actualpower);
     this.Controls.Add(this.time);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.Sendbox);
     this.Controls.Add(this.Grafiek);
     this.Controls.Add(this.Chatbox);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.energy);
     this.Controls.Add(this.power);
     this.Controls.Add(this.distance);
     this.Controls.Add(this.speed);
     this.Controls.Add(this.rpm);
     this.Controls.Add(this.pulse);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label1);
     this.Name = "Client";
     this.Text = "Client";
     this.Load += new System.EventHandler(this.Client_Load);
     ((System.ComponentModel.ISupportInitialize)(this.Grafiek)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #44
0
파일: NBN.cs 프로젝트: DrZeil/nbn-csharp
        private string GeneratePlot(List<double[]> data, string title)
        {
            string file = "";
            chart = new System.Windows.Forms.DataVisualization.Charting.Chart();

            chart.ChartAreas.Add(new System.Windows.Forms.DataVisualization.Charting.ChartArea());
            foreach (var items in data)
            {
                int i = 1;
                foreach (var item in items)
                {
                    SetChart(title, i, item);
                    i++;
                }
            }

            DateTime d = DateTime.Now;
            var xxx = String.Format("{0}_{1}_{2}_{3}_{4}_{5}_{6}", d.Year, d.Month, d.Day, d.Hour, d.Minute, d.Second, d.Millisecond);
            String chartFilename = ApplicationFolder + "\\" + xxx + ".bmp";
            chart.Update();
            chart.SaveImage(chartFilename, System.Drawing.Imaging.ImageFormat.Bmp);
            file = chartFilename;

            return file;
        }
예제 #45
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.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
       System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Report));
       this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
       this.comboBox1 = new System.Windows.Forms.ComboBox();
       this.dataSet1 = new System.Data.DataSet();
       this.groupBox1 = new System.Windows.Forms.GroupBox();
       this.button3 = new System.Windows.Forms.Button();
       this.button2 = new System.Windows.Forms.Button();
       this.button1 = new System.Windows.Forms.Button();
       this.groupBox2 = new System.Windows.Forms.GroupBox();
       this.radioButton3 = new System.Windows.Forms.RadioButton();
       this.radioButton2 = new System.Windows.Forms.RadioButton();
       this.radioButton1 = new System.Windows.Forms.RadioButton();
       this.label2 = new System.Windows.Forms.Label();
       this.label1 = new System.Windows.Forms.Label();
       this.button4 = new System.Windows.Forms.Button();
       this.label5 = new System.Windows.Forms.Label();
       this.label4 = new System.Windows.Forms.Label();
       this.label3 = new System.Windows.Forms.Label();
       this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
       this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
       this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
       this.label6 = new System.Windows.Forms.Label();
       this.label7 = new System.Windows.Forms.Label();
       this.label8 = new System.Windows.Forms.Label();
       this.label9 = new System.Windows.Forms.Label();
       this.label10 = new System.Windows.Forms.Label();
       this.textBoxDiameter = new System.Windows.Forms.TextBox();
       this.textBoxPressure = new System.Windows.Forms.TextBox();
       this.textBoxFlow = new System.Windows.Forms.TextBox();
       this.labelPermeability = new System.Windows.Forms.Label();
       this.buttonCalculate = new System.Windows.Forms.Button();
       this.textBoxThickness = new System.Windows.Forms.TextBox();
       this.label11 = new System.Windows.Forms.Label();
       this.label12 = new System.Windows.Forms.Label();
       this.label13 = new System.Windows.Forms.Label();
       this.labelk1 = new System.Windows.Forms.Label();
       ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
       ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
       this.groupBox1.SuspendLayout();
       this.groupBox2.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
       this.SuspendLayout();
       //
       // chart1
       //
       this.chart1.BorderlineColor = System.Drawing.Color.Black;
       this.chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
       chartArea1.Name = "ChartArea1";
       this.chart1.ChartAreas.Add(chartArea1);
       this.chart1.Location = new System.Drawing.Point(4, 13);
       this.chart1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
       this.chart1.Name = "chart1";
       this.chart1.Size = new System.Drawing.Size(722, 381);
       this.chart1.TabIndex = 0;
       this.chart1.Text = "chart1";
       title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       title1.Name = "Title1";
       title1.Text = "Flow VS Time";
       this.chart1.Titles.Add(title1);
       //
       // comboBox1
       //
       this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.comboBox1.FormattingEnabled = true;
       this.comboBox1.Location = new System.Drawing.Point(6, 21);
       this.comboBox1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
       this.comboBox1.Name = "comboBox1";
       this.comboBox1.Size = new System.Drawing.Size(202, 32);
       this.comboBox1.TabIndex = 1;
       this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
       //
       // dataSet1
       //
       this.dataSet1.DataSetName = "NewDataSet";
       //
       // groupBox1
       //
       this.groupBox1.Controls.Add(this.button3);
       this.groupBox1.Controls.Add(this.button2);
       this.groupBox1.Controls.Add(this.button1);
       this.groupBox1.Controls.Add(this.comboBox1);
       this.groupBox1.Location = new System.Drawing.Point(732, 12);
       this.groupBox1.Name = "groupBox1";
       this.groupBox1.Size = new System.Drawing.Size(214, 106);
       this.groupBox1.TabIndex = 6;
       this.groupBox1.TabStop = false;
       this.groupBox1.Text = "Select data set";
       //
       // button3
       //
       this.button3.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.button3.Image = global::LukMachine.Properties.Resources._1385_Disable_24x24_72;
       this.button3.Location = new System.Drawing.Point(146, 50);
       this.button3.Name = "button3";
       this.button3.Size = new System.Drawing.Size(62, 49);
       this.button3.TabIndex = 5;
       this.button3.Text = "Clear All";
       this.button3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
       this.button3.UseVisualStyleBackColor = true;
       this.button3.Click += new System.EventHandler(this.button3_Click);
       //
       // button2
       //
       this.button2.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.button2.Image = global::LukMachine.Properties.Resources._112_Minus_Orange_24x24_72;
       this.button2.Location = new System.Drawing.Point(74, 50);
       this.button2.Name = "button2";
       this.button2.Size = new System.Drawing.Size(62, 49);
       this.button2.TabIndex = 4;
       this.button2.Text = "Remove";
       this.button2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
       this.button2.UseVisualStyleBackColor = true;
       this.button2.Click += new System.EventHandler(this.button2_Click);
       //
       // button1
       //
       this.button1.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.button1.Image = global::LukMachine.Properties.Resources._112_Plus_Green_24x24_72;
       this.button1.Location = new System.Drawing.Point(6, 50);
       this.button1.Name = "button1";
       this.button1.Size = new System.Drawing.Size(62, 49);
       this.button1.TabIndex = 3;
       this.button1.Text = "Add";
       this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
       this.button1.UseVisualStyleBackColor = true;
       this.button1.Click += new System.EventHandler(this.button1_Click);
       //
       // groupBox2
       //
       this.groupBox2.Controls.Add(this.radioButton3);
       this.groupBox2.Controls.Add(this.radioButton2);
       this.groupBox2.Controls.Add(this.radioButton1);
       this.groupBox2.Controls.Add(this.label2);
       this.groupBox2.Controls.Add(this.label1);
       this.groupBox2.Controls.Add(this.button4);
       this.groupBox2.Location = new System.Drawing.Point(732, 117);
       this.groupBox2.Name = "groupBox2";
       this.groupBox2.Size = new System.Drawing.Size(214, 277);
       this.groupBox2.TabIndex = 7;
       this.groupBox2.TabStop = false;
       this.groupBox2.Text = "Details";
       //
       // radioButton3
       //
       this.radioButton3.AutoSize = true;
       this.radioButton3.Location = new System.Drawing.Point(15, 154);
       this.radioButton3.Name = "radioButton3";
       this.radioButton3.Size = new System.Drawing.Size(161, 28);
       this.radioButton3.TabIndex = 5;
       this.radioButton3.TabStop = true;
       this.radioButton3.Text = "Flow vs Pressure";
       this.radioButton3.UseVisualStyleBackColor = true;
       this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
       //
       // radioButton2
       //
       this.radioButton2.AutoSize = true;
       this.radioButton2.Location = new System.Drawing.Point(15, 120);
       this.radioButton2.Name = "radioButton2";
       this.radioButton2.Size = new System.Drawing.Size(191, 28);
       this.radioButton2.TabIndex = 4;
       this.radioButton2.TabStop = true;
       this.radioButton2.Text = "Flow vs Temperature";
       this.radioButton2.UseVisualStyleBackColor = true;
       this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
       //
       // radioButton1
       //
       this.radioButton1.AutoSize = true;
       this.radioButton1.Checked = true;
       this.radioButton1.Location = new System.Drawing.Point(15, 86);
       this.radioButton1.Name = "radioButton1";
       this.radioButton1.Size = new System.Drawing.Size(134, 28);
       this.radioButton1.TabIndex = 3;
       this.radioButton1.TabStop = true;
       this.radioButton1.Text = "Flow vs Time";
       this.radioButton1.UseVisualStyleBackColor = true;
       this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
       //
       // label2
       //
       this.label2.AutoSize = true;
       this.label2.Location = new System.Drawing.Point(11, 32);
       this.label2.Name = "label2";
       this.label2.Size = new System.Drawing.Size(40, 24);
       this.label2.TabIndex = 2;
       this.label2.Text = "File:";
       //
       // label1
       //
       this.label1.AutoSize = true;
       this.label1.Location = new System.Drawing.Point(11, 58);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(93, 24);
       this.label1.TabIndex = 1;
       this.label1.Text = "Sample ID:";
       //
       // button4
       //
       this.button4.Image = global::LukMachine.Properties.Resources._112_RightArrowShort_Green_32x32_72;
       this.button4.Location = new System.Drawing.Point(15, 200);
       this.button4.Name = "button4";
       this.button4.Size = new System.Drawing.Size(141, 60);
       this.button4.TabIndex = 0;
       this.button4.Text = "Export";
       this.button4.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
       this.button4.UseVisualStyleBackColor = true;
       this.button4.Click += new System.EventHandler(this.button4_Click_1);
       //
       // label5
       //
       this.label5.AutoSize = true;
       this.label5.Location = new System.Drawing.Point(569, 329);
       this.label5.Name = "label5";
       this.label5.Size = new System.Drawing.Size(96, 24);
       this.label5.TabIndex = 5;
       this.label5.Text = "Burst Ratio:";
       this.label5.Visible = false;
       //
       // label4
       //
       this.label4.AutoSize = true;
       this.label4.Location = new System.Drawing.Point(569, 301);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(114, 24);
       this.label4.TabIndex = 4;
       this.label4.Text = "Burst Volume:";
       this.label4.Visible = false;
       //
       // label3
       //
       this.label3.AutoSize = true;
       this.label3.Location = new System.Drawing.Point(569, 271);
       this.label3.Name = "label3";
       this.label3.Size = new System.Drawing.Size(122, 24);
       this.label3.TabIndex = 3;
       this.label3.Text = "Burst Pressure:";
       this.label3.Visible = false;
       //
       // openFileDialog1
       //
       this.openFileDialog1.Filter = "PMI Data Files|*.pmi";
       this.openFileDialog1.Multiselect = true;
       this.openFileDialog1.Title = "Select PMI data file for processing.";
       //
       // saveFileDialog1
       //
       this.saveFileDialog1.DefaultExt = "xlsx";
       this.saveFileDialog1.Filter = "Excel Files|*xlsx";
       //
       // label6
       //
       this.label6.AutoSize = true;
       this.label6.Location = new System.Drawing.Point(424, 416);
       this.label6.Name = "label6";
       this.label6.Size = new System.Drawing.Size(105, 24);
       this.label6.TabIndex = 8;
       this.label6.Text = "Permeability:";
       this.label6.Visible = false;
       //
       // label7
       //
       this.label7.AutoSize = true;
       this.label7.Location = new System.Drawing.Point(23, 419);
       this.label7.Name = "label7";
       this.label7.Size = new System.Drawing.Size(181, 24);
       this.label7.TabIndex = 9;
       this.label7.Text = "Sample Diameter (cm):";
       this.label7.Visible = false;
       //
       // label8
       //
       this.label8.AutoSize = true;
       this.label8.Location = new System.Drawing.Point(23, 491);
       this.label8.Name = "label8";
       this.label8.Size = new System.Drawing.Size(203, 24);
       this.label8.TabIndex = 10;
       this.label8.Text = "Differential Pressure (PSI):";
       this.label8.Visible = false;
       //
       // label9
       //
       this.label9.AutoSize = true;
       this.label9.Location = new System.Drawing.Point(23, 527);
       this.label9.Name = "label9";
       this.label9.Size = new System.Drawing.Size(119, 24);
       this.label9.TabIndex = 11;
       this.label9.Text = "Flow (mL/sec):";
       this.label9.Visible = false;
       //
       // label10
       //
       this.label10.AutoSize = true;
       this.label10.Location = new System.Drawing.Point(535, 416);
       this.label10.Name = "label10";
       this.label10.Size = new System.Drawing.Size(240, 24);
       this.label10.TabIndex = 12;
       this.label10.Text = "k = 14.7 * Flow/(Area*Pressure)";
       this.label10.Visible = false;
       //
       // textBoxDiameter
       //
       this.textBoxDiameter.Location = new System.Drawing.Point(239, 416);
       this.textBoxDiameter.Name = "textBoxDiameter";
       this.textBoxDiameter.Size = new System.Drawing.Size(92, 30);
       this.textBoxDiameter.TabIndex = 13;
       this.textBoxDiameter.Text = "2.4";
       this.textBoxDiameter.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
       this.textBoxDiameter.Visible = false;
       //
       // textBoxPressure
       //
       this.textBoxPressure.Location = new System.Drawing.Point(239, 488);
       this.textBoxPressure.Name = "textBoxPressure";
       this.textBoxPressure.Size = new System.Drawing.Size(92, 30);
       this.textBoxPressure.TabIndex = 14;
       this.textBoxPressure.Text = "19.78833";
       this.textBoxPressure.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
       this.textBoxPressure.Visible = false;
       //
       // textBoxFlow
       //
       this.textBoxFlow.Location = new System.Drawing.Point(239, 524);
       this.textBoxFlow.Name = "textBoxFlow";
       this.textBoxFlow.Size = new System.Drawing.Size(92, 30);
       this.textBoxFlow.TabIndex = 15;
       this.textBoxFlow.Text = "0.095704";
       this.textBoxFlow.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
       this.textBoxFlow.Visible = false;
       //
       // labelPermeability
       //
       this.labelPermeability.AutoSize = true;
       this.labelPermeability.Font = new System.Drawing.Font("Arial Narrow", 17F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelPermeability.Location = new System.Drawing.Point(576, 477);
       this.labelPermeability.Name = "labelPermeability";
       this.labelPermeability.Size = new System.Drawing.Size(26, 40);
       this.labelPermeability.TabIndex = 16;
       this.labelPermeability.Text = "-";
       this.labelPermeability.Visible = false;
       //
       // buttonCalculate
       //
       this.buttonCalculate.Location = new System.Drawing.Point(354, 443);
       this.buttonCalculate.Name = "buttonCalculate";
       this.buttonCalculate.Size = new System.Drawing.Size(101, 69);
       this.buttonCalculate.TabIndex = 17;
       this.buttonCalculate.Text = "Calculate";
       this.buttonCalculate.UseVisualStyleBackColor = true;
       this.buttonCalculate.Visible = false;
       this.buttonCalculate.Click += new System.EventHandler(this.buttonCalculate_Click);
       //
       // textBoxThickness
       //
       this.textBoxThickness.Location = new System.Drawing.Point(239, 452);
       this.textBoxThickness.Name = "textBoxThickness";
       this.textBoxThickness.Size = new System.Drawing.Size(92, 30);
       this.textBoxThickness.TabIndex = 19;
       this.textBoxThickness.Text = "0.16";
       this.textBoxThickness.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
       this.textBoxThickness.Visible = false;
       //
       // label11
       //
       this.label11.AutoSize = true;
       this.label11.Location = new System.Drawing.Point(23, 455);
       this.label11.Name = "label11";
       this.label11.Size = new System.Drawing.Size(186, 24);
       this.label11.TabIndex = 18;
       this.label11.Text = "Sample Thickness (cm):";
       this.label11.Visible = false;
       //
       // label12
       //
       this.label12.AutoSize = true;
       this.label12.Font = new System.Drawing.Font("Arial Narrow", 17F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.label12.Location = new System.Drawing.Point(478, 477);
       this.label12.Name = "label12";
       this.label12.Size = new System.Drawing.Size(71, 40);
       this.label12.TabIndex = 20;
       this.label12.Text = "k   =";
       this.label12.Visible = false;
       //
       // label13
       //
       this.label13.AutoSize = true;
       this.label13.Font = new System.Drawing.Font("Arial Narrow", 17F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.label13.Location = new System.Drawing.Point(478, 444);
       this.label13.Name = "label13";
       this.label13.Size = new System.Drawing.Size(71, 40);
       this.label13.TabIndex = 21;
       this.label13.Text = "k1 =";
       this.label13.Visible = false;
       //
       // labelk1
       //
       this.labelk1.AutoSize = true;
       this.labelk1.Font = new System.Drawing.Font("Arial Narrow", 17F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelk1.Location = new System.Drawing.Point(576, 441);
       this.labelk1.Name = "labelk1";
       this.labelk1.Size = new System.Drawing.Size(26, 40);
       this.labelk1.TabIndex = 22;
       this.labelk1.Text = "-";
       this.labelk1.Visible = false;
       //
       // Report
       //
       this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 24F);
       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
       this.ClientSize = new System.Drawing.Size(958, 425);
       this.Controls.Add(this.labelk1);
       this.Controls.Add(this.label13);
       this.Controls.Add(this.label12);
       this.Controls.Add(this.textBoxThickness);
       this.Controls.Add(this.label11);
       this.Controls.Add(this.buttonCalculate);
       this.Controls.Add(this.labelPermeability);
       this.Controls.Add(this.textBoxFlow);
       this.Controls.Add(this.textBoxPressure);
       this.Controls.Add(this.textBoxDiameter);
       this.Controls.Add(this.label10);
       this.Controls.Add(this.label9);
       this.Controls.Add(this.label8);
       this.Controls.Add(this.label7);
       this.Controls.Add(this.label6);
       this.Controls.Add(this.label5);
       this.Controls.Add(this.groupBox2);
       this.Controls.Add(this.label4);
       this.Controls.Add(this.groupBox1);
       this.Controls.Add(this.label3);
       this.Controls.Add(this.chart1);
       this.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
       this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
       this.MinimumSize = new System.Drawing.Size(600, 444);
       this.Name = "Report";
       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
       this.Text = " ";
       this.Load += new System.EventHandler(this.Report_Load);
       this.Resize += new System.EventHandler(this.Report_Resize);
       ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
       ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
       this.groupBox1.ResumeLayout(false);
       this.groupBox2.ResumeLayout(false);
       this.groupBox2.PerformLayout();
       ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
예제 #46
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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
     this.splitContainerControl = new DevExpress.XtraEditors.SplitContainerControl();
     this.treeList1 = new System.Windows.Forms.TreeView();
     this.xtraTabDatabase = new DevExpress.XtraTab.XtraTabControl();
     this.tabScheme = new DevExpress.XtraTab.XtraTabPage();
     this.BindingNavigatorDesign = new System.Windows.Forms.ToolStrip();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton7 = new System.Windows.Forms.ToolStripButton();
     this.GridViewDesign = new System.Windows.Forms.DataGridView();
     this.PrimaryKey = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColumnType = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColumnValueType = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColumnDescription = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabRelation = new DevExpress.XtraTab.XtraTabPage();
     this.BindingNavigatorData = new System.Windows.Forms.ToolStrip();
     this.btn_Data_Home = new System.Windows.Forms.ToolStripButton();
     this.btn_Data_Pre = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
     this.lblDataRowNumberIndicator = new System.Windows.Forms.ToolStripLabel();
     this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
     this.btn_Data_Next = new System.Windows.Forms.ToolStripButton();
     this.btn_Data_End = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
     this.Btn_Data_DeleteRow = new System.Windows.Forms.ToolStripButton();
     this.Btn_Data_ClearData = new System.Windows.Forms.ToolStripButton();
     this.Btn_Data_UpdateData = new System.Windows.Forms.ToolStripButton();
     this.GridViewData = new System.Windows.Forms.DataGridView();
     this.tabQuery = new DevExpress.XtraTab.XtraTabPage();
     this.txtQuery = new FRDB_SQLite.SyntaxRichTextBox();
     this.xtraTabQueryResult = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabResult = new DevExpress.XtraTab.XtraTabPage();
     this.GridViewResult = new System.Windows.Forms.DataGridView();
     this.xtraTabMessage = new DevExpress.XtraTab.XtraTabPage();
     this.txtMessage = new System.Windows.Forms.TextBox();
     this.tabFuzzy = new DevExpress.XtraTab.XtraTabPage();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.appMenu = new DevExpress.XtraBars.Ribbon.ApplicationMenu(this.components);
     this.popupControlContainer2 = new DevExpress.XtraBars.PopupControlContainer(this.components);
     this.buttonEdit = new DevExpress.XtraEditors.ButtonEdit();
     this.iNewDatabase = new DevExpress.XtraBars.BarButtonItem();
     this.iSaveAs = new DevExpress.XtraBars.BarButtonItem();
     this.iSave = new DevExpress.XtraBars.BarButtonItem();
     this.iExit = new DevExpress.XtraBars.BarButtonItem();
     this.popupControlContainer1 = new DevExpress.XtraBars.PopupControlContainer(this.components);
     this.someLabelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.someLabelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.ribbonImageCollection = new DevExpress.Utils.ImageCollection(this.components);
     this.iHelp = new DevExpress.XtraBars.BarButtonItem();
     this.siStatus = new DevExpress.XtraBars.BarStaticItem();
     this.siInfo = new DevExpress.XtraBars.BarStaticItem();
     this.iBoldFontStyle = new DevExpress.XtraBars.BarButtonItem();
     this.iItalicFontStyle = new DevExpress.XtraBars.BarButtonItem();
     this.iUnderlinedFontStyle = new DevExpress.XtraBars.BarButtonItem();
     this.iLeftTextAlign = new DevExpress.XtraBars.BarButtonItem();
     this.iCenterTextAlign = new DevExpress.XtraBars.BarButtonItem();
     this.iRightTextAlign = new DevExpress.XtraBars.BarButtonItem();
     this.rgbiSkins = new DevExpress.XtraBars.RibbonGalleryBarItem();
     this.iOpenExistingDatabase = new DevExpress.XtraBars.BarButtonItem();
     this.iCloseDatabase = new DevExpress.XtraBars.BarButtonItem();
     this.iRefreshDatabase = new DevExpress.XtraBars.BarButtonItem();
     this.iConnectDatabase = new DevExpress.XtraBars.BarButtonItem();
     this.iNewScheme = new DevExpress.XtraBars.BarButtonItem();
     this.iOpenScheme = new DevExpress.XtraBars.BarButtonItem();
     this.iSaveScheme = new DevExpress.XtraBars.BarButtonItem();
     this.iDeleteScheme = new DevExpress.XtraBars.BarButtonItem();
     this.iCloseCurrentScheme = new DevExpress.XtraBars.BarButtonItem();
     this.iNewRelation = new DevExpress.XtraBars.BarButtonItem();
     this.iOpenRelation = new DevExpress.XtraBars.BarButtonItem();
     this.iDeleteRelation = new DevExpress.XtraBars.BarButtonItem();
     this.iSaveRelation = new DevExpress.XtraBars.BarButtonItem();
     this.iCloseCurrentRelation = new DevExpress.XtraBars.BarButtonItem();
     this.iNewQuery = new DevExpress.XtraBars.BarButtonItem();
     this.iOpenQuery = new DevExpress.XtraBars.BarButtonItem();
     this.iSaveQuery = new DevExpress.XtraBars.BarButtonItem();
     this.iCloseCurrentQuery = new DevExpress.XtraBars.BarButtonItem();
     this.iDeleteQuery = new DevExpress.XtraBars.BarButtonItem();
     this.iExecuteQuery = new DevExpress.XtraBars.BarButtonItem();
     this.iStopExecute = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem9 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem10 = new DevExpress.XtraBars.BarButtonItem();
     this.iAddDescrete = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem11 = new DevExpress.XtraBars.BarButtonItem();
     this.barListItem1 = new DevExpress.XtraBars.BarListItem();
     this.barListItem2 = new DevExpress.XtraBars.BarListItem();
     this.iGetList = new DevExpress.XtraBars.BarButtonItem();
     this.iListContinuous = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem13 = new DevExpress.XtraBars.BarButtonItem();
     this.iGetMemberships = new DevExpress.XtraBars.BarButtonItem();
     this.iOperator = new DevExpress.XtraBars.BarButtonItem();
     this.ribbonImageCollectionLarge = new DevExpress.Utils.ImageCollection(this.components);
     this.homeRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.fileRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.connectionRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.skinsRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.exitRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.schemeRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.tableRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.exitPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.relationRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.relationshipRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.queryRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.QueryRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.commandRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.fuzzySetRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.descreteFuzzySetRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.continuousFuzzySetRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroupGetMemberships = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup6 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.helpRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.helpRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageAbout = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.About = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
     this.btn_Design_Home = new System.Windows.Forms.ToolStripButton();
     this.btn_Design_Pre = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
     this.lblDesignRowNumberIndicator = new System.Windows.Forms.ToolStripLabel();
     this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
     this.btn_Design_Next = new System.Windows.Forms.ToolStripButton();
     this.btn_Design_End = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator18 = new System.Windows.Forms.ToolStripSeparator();
     this.Btn_Design_DeleteRow = new System.Windows.Forms.ToolStripButton();
     this.Btn_Design_ClearData = new System.Windows.Forms.ToolStripButton();
     this.Btn_Design_UpdateData = new System.Windows.Forms.ToolStripButton();
     this.navbarImageListLarge = new System.Windows.Forms.ImageList(this.components);
     this.navbarImageList = new System.Windows.Forms.ImageList(this.components);
     this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.treeListImageCollection = new System.Windows.Forms.ImageList(this.components);
     this.ContextMenu_Database = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.CTMenuDB_Rename = new System.Windows.Forms.ToolStripMenuItem();
     this.CTMenuDB_CloseDB = new System.Windows.Forms.ToolStripMenuItem();
     this.ContextMenu_Relation = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.CTMenuRelation_NewRelation = new System.Windows.Forms.ToolStripMenuItem();
     this.CTMenuRelation_DeleteRelations = new System.Windows.Forms.ToolStripMenuItem();
     this.ContextMenu_RelationNode = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.CTMenuRelNode_OpenRelation = new System.Windows.Forms.ToolStripMenuItem();
     this.CTMenuRelNode_DeleteRelation = new System.Windows.Forms.ToolStripMenuItem();
     this.CTMenuRelNode_RenameRelation = new System.Windows.Forms.ToolStripMenuItem();
     this.ContextMenu_Schema = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.CTMenuSchema_NewSchema = new System.Windows.Forms.ToolStripMenuItem();
     this.deleteAllSchemesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.ContextMenu_SchemaNode = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.CTMenuSchNode_OpenSchema = new System.Windows.Forms.ToolStripMenuItem();
     this.CTMenuSchNode_DeleteSchema = new System.Windows.Forms.ToolStripMenuItem();
     this.renameSchemeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.ContextMenu_Query = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.CTMenuQuery_NewQuery = new System.Windows.Forms.ToolStripMenuItem();
     this.CTMenuQuery_DeleteQueries = new System.Windows.Forms.ToolStripMenuItem();
     this.ContextMenu_QueryNode = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.CTMenuQueryNode_OpenQuery = new System.Windows.Forms.ToolStripMenuItem();
     this.CTMenuQuery_DeleteQuery = new System.Windows.Forms.ToolStripMenuItem();
     this.CTMenuQuery_RenameQuery = new System.Windows.Forms.ToolStripMenuItem();
     this.executeQueryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.iAbout = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem12 = new DevExpress.XtraBars.BarButtonItem();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl)).BeginInit();
     this.splitContainerControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabDatabase)).BeginInit();
     this.xtraTabDatabase.SuspendLayout();
     this.tabScheme.SuspendLayout();
     this.BindingNavigatorDesign.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GridViewDesign)).BeginInit();
     this.tabRelation.SuspendLayout();
     this.BindingNavigatorData.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GridViewData)).BeginInit();
     this.tabQuery.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabQueryResult)).BeginInit();
     this.xtraTabQueryResult.SuspendLayout();
     this.xtraTabResult.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GridViewResult)).BeginInit();
     this.xtraTabMessage.SuspendLayout();
     this.tabFuzzy.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.appMenu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer2)).BeginInit();
     this.popupControlContainer2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.buttonEdit.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).BeginInit();
     this.popupControlContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ribbonImageCollection)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ribbonImageCollectionLarge)).BeginInit();
     this.ContextMenu_Database.SuspendLayout();
     this.ContextMenu_Relation.SuspendLayout();
     this.ContextMenu_RelationNode.SuspendLayout();
     this.ContextMenu_Schema.SuspendLayout();
     this.ContextMenu_SchemaNode.SuspendLayout();
     this.ContextMenu_Query.SuspendLayout();
     this.ContextMenu_QueryNode.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainerControl
     //
     this.splitContainerControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl.Location = new System.Drawing.Point(0, 142);
     this.splitContainerControl.Name = "splitContainerControl";
     this.splitContainerControl.Padding = new System.Windows.Forms.Padding(6);
     this.splitContainerControl.Panel1.Controls.Add(this.treeList1);
     this.splitContainerControl.Panel1.Text = "Panel1";
     this.splitContainerControl.Panel2.Controls.Add(this.xtraTabDatabase);
     this.splitContainerControl.Panel2.Text = "Panel2";
     this.splitContainerControl.Size = new System.Drawing.Size(867, 382);
     this.splitContainerControl.SplitterPosition = 229;
     this.splitContainerControl.TabIndex = 0;
     this.splitContainerControl.Text = "splitContainerControl1";
     //
     // treeList1
     //
     this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeList1.Location = new System.Drawing.Point(0, 0);
     this.treeList1.Name = "treeList1";
     this.treeList1.Size = new System.Drawing.Size(229, 370);
     this.treeList1.TabIndex = 0;
     this.treeList1.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.TreeList1_AfterExpand);
     this.treeList1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeList1_NodeMouseClick);
     this.treeList1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeList1_NodeMouseDoubleClick);
     //
     // xtraTabDatabase
     //
     this.xtraTabDatabase.AllowDrop = true;
     this.xtraTabDatabase.Appearance.BackColor = System.Drawing.Color.Gray;
     this.xtraTabDatabase.Appearance.ForeColor = System.Drawing.Color.White;
     this.xtraTabDatabase.Appearance.Options.UseBackColor = true;
     this.xtraTabDatabase.Appearance.Options.UseForeColor = true;
     this.xtraTabDatabase.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.xtraTabDatabase.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabDatabase.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.xtraTabDatabase.Location = new System.Drawing.Point(0, 0);
     this.xtraTabDatabase.Name = "xtraTabDatabase";
     this.xtraTabDatabase.PaintStyleName = "PropertyView";
     this.xtraTabDatabase.SelectedTabPage = this.tabScheme;
     this.xtraTabDatabase.Size = new System.Drawing.Size(621, 370);
     this.xtraTabDatabase.TabIndex = 0;
     this.xtraTabDatabase.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabScheme,
     this.tabRelation,
     this.tabQuery,
     this.tabFuzzy});
     //
     // tabScheme
     //
     this.tabScheme.Controls.Add(this.BindingNavigatorDesign);
     this.tabScheme.Controls.Add(this.GridViewDesign);
     this.tabScheme.Name = "tabScheme";
     this.tabScheme.Size = new System.Drawing.Size(615, 345);
     this.tabScheme.Text = "Scheme";
     //
     // BindingNavigatorDesign
     //
     this.BindingNavigatorDesign.BackColor = System.Drawing.Color.Gainsboro;
     this.BindingNavigatorDesign.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.BindingNavigatorDesign.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.BindingNavigatorDesign.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripButton1,
     this.toolStripButton2,
     this.toolStripSeparator1,
     this.toolStripLabel1,
     this.toolStripSeparator2,
     this.toolStripButton3,
     this.toolStripButton4,
     this.toolStripSeparator3,
     this.toolStripButton5,
     this.toolStripButton6,
     this.toolStripButton7});
     this.BindingNavigatorDesign.Location = new System.Drawing.Point(0, 319);
     this.BindingNavigatorDesign.Name = "BindingNavigatorDesign";
     this.BindingNavigatorDesign.Size = new System.Drawing.Size(615, 26);
     this.BindingNavigatorDesign.TabIndex = 5;
     this.BindingNavigatorDesign.Text = "toolStrip1";
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 23);
     this.toolStripButton1.Text = "toolStripButton1";
     this.toolStripButton1.ToolTipText = "Get Home";
     this.toolStripButton1.Click += new System.EventHandler(this.btn_Design_Home_Click);
     //
     // toolStripButton2
     //
     this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
     this.toolStripButton2.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton2.Name = "toolStripButton2";
     this.toolStripButton2.Size = new System.Drawing.Size(23, 23);
     this.toolStripButton2.Text = "toolStripButton2";
     this.toolStripButton2.ToolTipText = "Previous Row";
     this.toolStripButton2.Click += new System.EventHandler(this.btn_Design_Pre_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 26);
     //
     // toolStripLabel1
     //
     this.toolStripLabel1.Name = "toolStripLabel1";
     this.toolStripLabel1.Size = new System.Drawing.Size(30, 23);
     this.toolStripLabel1.Text = "0 / 0";
     this.toolStripLabel1.ToolTipText = "Row Number";
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 26);
     //
     // toolStripButton3
     //
     this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
     this.toolStripButton3.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton3.Name = "toolStripButton3";
     this.toolStripButton3.Size = new System.Drawing.Size(23, 23);
     this.toolStripButton3.Text = "toolStripButton3";
     this.toolStripButton3.ToolTipText = "Next Row";
     this.toolStripButton3.Click += new System.EventHandler(this.btn_Design_Next_Click);
     //
     // toolStripButton4
     //
     this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
     this.toolStripButton4.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton4.Name = "toolStripButton4";
     this.toolStripButton4.Size = new System.Drawing.Size(23, 23);
     this.toolStripButton4.Text = "toolStripButton4";
     this.toolStripButton4.ToolTipText = "Reach End";
     this.toolStripButton4.Click += new System.EventHandler(this.btn_Design_End_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 26);
     //
     // toolStripButton5
     //
     this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
     this.toolStripButton5.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton5.Name = "toolStripButton5";
     this.toolStripButton5.Size = new System.Drawing.Size(23, 23);
     this.toolStripButton5.Text = "Delete This Row";
     this.toolStripButton5.Click += new System.EventHandler(this.Btn_Design_DeleteRow_Click);
     //
     // toolStripButton6
     //
     this.toolStripButton6.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
     this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton6.Name = "toolStripButton6";
     this.toolStripButton6.Size = new System.Drawing.Size(23, 23);
     this.toolStripButton6.Text = "Reset Scheme";
     this.toolStripButton6.Click += new System.EventHandler(this.Btn_Design_ClearData_Click);
     //
     // toolStripButton7
     //
     this.toolStripButton7.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
     this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton7.Name = "toolStripButton7";
     this.toolStripButton7.Size = new System.Drawing.Size(23, 23);
     this.toolStripButton7.Text = "Save Scheme";
     this.toolStripButton7.ToolTipText = "Save Scheme";
     this.toolStripButton7.Click += new System.EventHandler(this.Btn_Design_UpdateData_Click);
     //
     // GridViewDesign
     //
     this.GridViewDesign.BackgroundColor = System.Drawing.Color.White;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.GridViewDesign.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.GridViewDesign.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.GridViewDesign.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.PrimaryKey,
     this.ColumnName,
     this.ColumnType,
     this.ColumnValueType,
     this.ColumnDescription});
     this.GridViewDesign.Dock = System.Windows.Forms.DockStyle.Fill;
     this.GridViewDesign.GridColor = System.Drawing.SystemColors.ControlDarkDark;
     this.GridViewDesign.Location = new System.Drawing.Point(0, 0);
     this.GridViewDesign.Name = "GridViewDesign";
     this.GridViewDesign.Size = new System.Drawing.Size(615, 345);
     this.GridViewDesign.TabIndex = 1;
     this.GridViewDesign.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.GridViewDesign_CellBeginEdit);
     this.GridViewDesign.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridViewDesign_CellClick);
     this.GridViewDesign.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridViewDesign_CellDoubleClick);
     this.GridViewDesign.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridViewDesign_CellEndEdit);
     this.GridViewDesign.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.GridViewDesign_RowsAdded);
     this.GridViewDesign.SelectionChanged += new System.EventHandler(this.GridViewDesign_SelectionChanged);
     this.GridViewDesign.Click += new System.EventHandler(this.GridViewDesign_Click);
     //
     // PrimaryKey
     //
     this.PrimaryKey.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     this.PrimaryKey.HeaderText = "Primary Key";
     this.PrimaryKey.Name = "PrimaryKey";
     //
     // ColumnName
     //
     this.ColumnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ColumnName.HeaderText = "Attribute Name";
     this.ColumnName.Name = "ColumnName";
     //
     // ColumnType
     //
     this.ColumnType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle2.BackColor = System.Drawing.Color.Silver;
     this.ColumnType.DefaultCellStyle = dataGridViewCellStyle2;
     this.ColumnType.HeaderText = "Data Type";
     this.ColumnType.Name = "ColumnType";
     this.ColumnType.ReadOnly = true;
     this.ColumnType.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.ColumnType.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ColumnValueType
     //
     this.ColumnValueType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ColumnValueType.HeaderText = "Domain";
     this.ColumnValueType.Name = "ColumnValueType";
     this.ColumnValueType.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // ColumnDescription
     //
     this.ColumnDescription.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ColumnDescription.HeaderText = "Description";
     this.ColumnDescription.Name = "ColumnDescription";
     this.ColumnDescription.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // tabRelation
     //
     this.tabRelation.Controls.Add(this.BindingNavigatorData);
     this.tabRelation.Controls.Add(this.GridViewData);
     this.tabRelation.Name = "tabRelation";
     this.tabRelation.Size = new System.Drawing.Size(615, 345);
     this.tabRelation.Text = "Relation";
     //
     // BindingNavigatorData
     //
     this.BindingNavigatorData.BackColor = System.Drawing.Color.Gainsboro;
     this.BindingNavigatorData.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.BindingNavigatorData.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.BindingNavigatorData.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.btn_Data_Home,
     this.btn_Data_Pre,
     this.toolStripSeparator9,
     this.lblDataRowNumberIndicator,
     this.toolStripSeparator10,
     this.btn_Data_Next,
     this.btn_Data_End,
     this.toolStripSeparator11,
     this.Btn_Data_DeleteRow,
     this.Btn_Data_ClearData,
     this.Btn_Data_UpdateData});
     this.BindingNavigatorData.Location = new System.Drawing.Point(0, 319);
     this.BindingNavigatorData.Name = "BindingNavigatorData";
     this.BindingNavigatorData.Size = new System.Drawing.Size(615, 26);
     this.BindingNavigatorData.TabIndex = 5;
     this.BindingNavigatorData.Text = "toolStrip1";
     //
     // btn_Data_Home
     //
     this.btn_Data_Home.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Data_Home.Image = ((System.Drawing.Image)(resources.GetObject("btn_Data_Home.Image")));
     this.btn_Data_Home.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.btn_Data_Home.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Data_Home.Name = "btn_Data_Home";
     this.btn_Data_Home.Size = new System.Drawing.Size(23, 23);
     this.btn_Data_Home.Text = "toolStripButton1";
     this.btn_Data_Home.ToolTipText = "Get Home";
     this.btn_Data_Home.Click += new System.EventHandler(this.btn_Data_Home_Click);
     //
     // btn_Data_Pre
     //
     this.btn_Data_Pre.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Data_Pre.Image = ((System.Drawing.Image)(resources.GetObject("btn_Data_Pre.Image")));
     this.btn_Data_Pre.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.btn_Data_Pre.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Data_Pre.Name = "btn_Data_Pre";
     this.btn_Data_Pre.Size = new System.Drawing.Size(23, 23);
     this.btn_Data_Pre.Text = "toolStripButton2";
     this.btn_Data_Pre.ToolTipText = "Previous Row";
     this.btn_Data_Pre.Click += new System.EventHandler(this.btn_Data_Pre_Click);
     //
     // toolStripSeparator9
     //
     this.toolStripSeparator9.Name = "toolStripSeparator9";
     this.toolStripSeparator9.Size = new System.Drawing.Size(6, 26);
     //
     // lblDataRowNumberIndicator
     //
     this.lblDataRowNumberIndicator.Name = "lblDataRowNumberIndicator";
     this.lblDataRowNumberIndicator.Size = new System.Drawing.Size(30, 23);
     this.lblDataRowNumberIndicator.Text = "0 / 0";
     this.lblDataRowNumberIndicator.ToolTipText = "Row Number";
     //
     // toolStripSeparator10
     //
     this.toolStripSeparator10.Name = "toolStripSeparator10";
     this.toolStripSeparator10.Size = new System.Drawing.Size(6, 26);
     //
     // btn_Data_Next
     //
     this.btn_Data_Next.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Data_Next.Image = ((System.Drawing.Image)(resources.GetObject("btn_Data_Next.Image")));
     this.btn_Data_Next.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.btn_Data_Next.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Data_Next.Name = "btn_Data_Next";
     this.btn_Data_Next.Size = new System.Drawing.Size(23, 23);
     this.btn_Data_Next.Text = "toolStripButton3";
     this.btn_Data_Next.ToolTipText = "Next Row";
     this.btn_Data_Next.Click += new System.EventHandler(this.btn_Data_Next_Click);
     //
     // btn_Data_End
     //
     this.btn_Data_End.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Data_End.Image = ((System.Drawing.Image)(resources.GetObject("btn_Data_End.Image")));
     this.btn_Data_End.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.btn_Data_End.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Data_End.Name = "btn_Data_End";
     this.btn_Data_End.Size = new System.Drawing.Size(23, 23);
     this.btn_Data_End.Text = "toolStripButton4";
     this.btn_Data_End.ToolTipText = "Reach End";
     this.btn_Data_End.Click += new System.EventHandler(this.btn_Data_End_Click);
     //
     // toolStripSeparator11
     //
     this.toolStripSeparator11.Name = "toolStripSeparator11";
     this.toolStripSeparator11.Size = new System.Drawing.Size(6, 26);
     //
     // Btn_Data_DeleteRow
     //
     this.Btn_Data_DeleteRow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.Btn_Data_DeleteRow.Image = ((System.Drawing.Image)(resources.GetObject("Btn_Data_DeleteRow.Image")));
     this.Btn_Data_DeleteRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.Btn_Data_DeleteRow.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.Btn_Data_DeleteRow.Name = "Btn_Data_DeleteRow";
     this.Btn_Data_DeleteRow.Size = new System.Drawing.Size(23, 23);
     this.Btn_Data_DeleteRow.Text = "Delete this row";
     this.Btn_Data_DeleteRow.ToolTipText = "Delete this row";
     this.Btn_Data_DeleteRow.Click += new System.EventHandler(this.Btn_Data_DeleteRow_Click);
     //
     // Btn_Data_ClearData
     //
     this.Btn_Data_ClearData.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.Btn_Data_ClearData.Image = ((System.Drawing.Image)(resources.GetObject("Btn_Data_ClearData.Image")));
     this.Btn_Data_ClearData.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.Btn_Data_ClearData.Name = "Btn_Data_ClearData";
     this.Btn_Data_ClearData.Size = new System.Drawing.Size(23, 23);
     this.Btn_Data_ClearData.Text = "Clear Grid View";
     this.Btn_Data_ClearData.Click += new System.EventHandler(this.Btn_Data_ClearData_Click);
     //
     // Btn_Data_UpdateData
     //
     this.Btn_Data_UpdateData.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.Btn_Data_UpdateData.Image = ((System.Drawing.Image)(resources.GetObject("Btn_Data_UpdateData.Image")));
     this.Btn_Data_UpdateData.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.Btn_Data_UpdateData.Name = "Btn_Data_UpdateData";
     this.Btn_Data_UpdateData.Size = new System.Drawing.Size(23, 23);
     this.Btn_Data_UpdateData.Text = "Save Relation";
     this.Btn_Data_UpdateData.ToolTipText = "Update Relation";
     this.Btn_Data_UpdateData.Click += new System.EventHandler(this.Btn_Data_UpdateData_Click);
     //
     // GridViewData
     //
     this.GridViewData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.GridViewData.BackgroundColor = System.Drawing.Color.White;
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.GridViewData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.GridViewData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.GridViewData.Location = new System.Drawing.Point(0, 0);
     this.GridViewData.Name = "GridViewData";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle4.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.GridViewData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
     this.GridViewData.Size = new System.Drawing.Size(615, 341);
     this.GridViewData.TabIndex = 4;
     this.GridViewData.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridViewData_CellEndEdit);
     this.GridViewData.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.GridViewData_CellValidating);
     this.GridViewData.CurrentCellDirtyStateChanged += new System.EventHandler(this.GridViewData_CurrentCellDirtyStateChanged);
     this.GridViewData.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.GridViewData_RowsAdded);
     this.GridViewData.SelectionChanged += new System.EventHandler(this.GridViewData_SelectionChanged);
     this.GridViewData.Click += new System.EventHandler(this.GridViewData_Click);
     //
     // tabQuery
     //
     this.tabQuery.Controls.Add(this.txtQuery);
     this.tabQuery.Controls.Add(this.xtraTabQueryResult);
     this.tabQuery.Name = "tabQuery";
     this.tabQuery.Size = new System.Drawing.Size(615, 345);
     this.tabQuery.Text = "Query";
     //
     // txtQuery
     //
     this.txtQuery.Dock = System.Windows.Forms.DockStyle.Top;
     this.txtQuery.Font = new System.Drawing.Font("Lucida Sans Unicode", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtQuery.Location = new System.Drawing.Point(0, 0);
     this.txtQuery.Name = "txtQuery";
     this.txtQuery.Size = new System.Drawing.Size(615, 166);
     this.txtQuery.TabIndex = 5;
     this.txtQuery.Text = "";
     this.txtQuery.TextChanged += new System.EventHandler(this.txtQuery_TextChanged);
     //
     // xtraTabQueryResult
     //
     this.xtraTabQueryResult.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.xtraTabQueryResult.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.xtraTabQueryResult.Appearance.Options.UseBackColor = true;
     this.xtraTabQueryResult.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.xtraTabQueryResult.Location = new System.Drawing.Point(3, 172);
     this.xtraTabQueryResult.Name = "xtraTabQueryResult";
     this.xtraTabQueryResult.PaintStyleName = "PropertyView";
     this.xtraTabQueryResult.SelectedTabPage = this.xtraTabResult;
     this.xtraTabQueryResult.Size = new System.Drawing.Size(614, 170);
     this.xtraTabQueryResult.TabIndex = 4;
     this.xtraTabQueryResult.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabResult,
     this.xtraTabMessage});
     //
     // xtraTabResult
     //
     this.xtraTabResult.Controls.Add(this.GridViewResult);
     this.xtraTabResult.Name = "xtraTabResult";
     this.xtraTabResult.Size = new System.Drawing.Size(608, 145);
     this.xtraTabResult.Text = "Query Result";
     //
     // GridViewResult
     //
     this.GridViewResult.AllowUserToAddRows = false;
     this.GridViewResult.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.GridViewResult.BackgroundColor = System.Drawing.Color.White;
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle5.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.GridViewResult.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
     this.GridViewResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.GridViewResult.Location = new System.Drawing.Point(0, 0);
     this.GridViewResult.Name = "GridViewResult";
     this.GridViewResult.ReadOnly = true;
     this.GridViewResult.Size = new System.Drawing.Size(608, 145);
     this.GridViewResult.TabIndex = 2;
     //
     // xtraTabMessage
     //
     this.xtraTabMessage.Controls.Add(this.txtMessage);
     this.xtraTabMessage.Name = "xtraTabMessage";
     this.xtraTabMessage.Size = new System.Drawing.Size(608, 145);
     this.xtraTabMessage.Text = "Message";
     //
     // txtMessage
     //
     this.txtMessage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtMessage.BackColor = System.Drawing.Color.White;
     this.txtMessage.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMessage.Location = new System.Drawing.Point(0, 0);
     this.txtMessage.Multiline = true;
     this.txtMessage.Name = "txtMessage";
     this.txtMessage.ReadOnly = true;
     this.txtMessage.Size = new System.Drawing.Size(608, 145);
     this.txtMessage.TabIndex = 1;
     //
     // tabFuzzy
     //
     this.tabFuzzy.Controls.Add(this.chart1);
     this.tabFuzzy.Name = "tabFuzzy";
     this.tabFuzzy.Size = new System.Drawing.Size(615, 345);
     this.tabFuzzy.Text = "Fuzzy Set";
     //
     // chart1
     //
     this.chart1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chart1.Location = new System.Drawing.Point(0, 0);
     this.chart1.Name = "chart1";
     this.chart1.Size = new System.Drawing.Size(615, 342);
     this.chart1.TabIndex = 0;
     this.chart1.Text = "Fuzzy Sets";
     //
     // ribbonControl
     //
     this.ribbonControl.ApplicationButtonDropDownControl = this.appMenu;
     this.ribbonControl.ApplicationButtonText = null;
     this.ribbonControl.ExpandCollapseItem.Id = 0;
     this.ribbonControl.Images = this.ribbonImageCollection;
     this.ribbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.ribbonControl.ExpandCollapseItem,
     this.iNewDatabase,
     this.iSaveAs,
     this.iSave,
     this.iHelp,
     this.siStatus,
     this.siInfo,
     this.iBoldFontStyle,
     this.iItalicFontStyle,
     this.iUnderlinedFontStyle,
     this.iLeftTextAlign,
     this.iCenterTextAlign,
     this.iRightTextAlign,
     this.rgbiSkins,
     this.iOpenExistingDatabase,
     this.iCloseDatabase,
     this.iRefreshDatabase,
     this.iConnectDatabase,
     this.iExit,
     this.iNewScheme,
     this.iOpenScheme,
     this.iSaveScheme,
     this.iDeleteScheme,
     this.iCloseCurrentScheme,
     this.iNewRelation,
     this.iOpenRelation,
     this.iDeleteRelation,
     this.iSaveRelation,
     this.iCloseCurrentRelation,
     this.iNewQuery,
     this.iOpenQuery,
     this.iSaveQuery,
     this.iCloseCurrentQuery,
     this.iDeleteQuery,
     this.iExecuteQuery,
     this.iStopExecute,
     this.barButtonItem2,
     this.barButtonItem3,
     this.barButtonItem4,
     this.barButtonItem5,
     this.barButtonItem6,
     this.barButtonItem7,
     this.barButtonItem8,
     this.barButtonItem9,
     this.barButtonItem10,
     this.iAddDescrete,
     this.barButtonItem11,
     this.barListItem1,
     this.barListItem2,
     this.iGetList,
     this.iListContinuous,
     this.barButtonItem13,
     this.iGetMemberships,
     this.iOperator});
     this.ribbonControl.LargeImages = this.ribbonImageCollectionLarge;
     this.ribbonControl.Location = new System.Drawing.Point(0, 0);
     this.ribbonControl.MaxItemId = 115;
     this.ribbonControl.Name = "ribbonControl";
     this.ribbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
     this.homeRibbonPage,
     this.schemeRibbonPage,
     this.relationRibbonPage,
     this.queryRibbonPage,
     this.fuzzySetRibbonPage,
     this.helpRibbonPage,
     this.ribbonPageAbout});
     this.ribbonControl.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010;
     this.ribbonControl.Size = new System.Drawing.Size(867, 142);
     this.ribbonControl.StatusBar = this.ribbonStatusBar;
     this.ribbonControl.Toolbar.ItemLinks.Add(this.iNewDatabase);
     this.ribbonControl.Toolbar.ItemLinks.Add(this.iSave);
     this.ribbonControl.Toolbar.ItemLinks.Add(this.iSaveAs);
     this.ribbonControl.Toolbar.ItemLinks.Add(this.iHelp);
     this.ribbonControl.Toolbar.ItemLinks.Add(this.iExit);
     //
     // appMenu
     //
     this.appMenu.BottomPaneControlContainer = this.popupControlContainer2;
     this.appMenu.ItemLinks.Add(this.iNewDatabase);
     this.appMenu.ItemLinks.Add(this.iSaveAs);
     this.appMenu.ItemLinks.Add(this.iSave);
     this.appMenu.ItemLinks.Add(this.iExit);
     this.appMenu.Name = "appMenu";
     this.appMenu.Ribbon = this.ribbonControl;
     this.appMenu.RightPaneControlContainer = this.popupControlContainer1;
     this.appMenu.ShowRightPane = true;
     //
     // popupControlContainer2
     //
     this.popupControlContainer2.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.popupControlContainer2.Appearance.Options.UseBackColor = true;
     this.popupControlContainer2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.popupControlContainer2.Controls.Add(this.buttonEdit);
     this.popupControlContainer2.Location = new System.Drawing.Point(316, 258);
     this.popupControlContainer2.Name = "popupControlContainer2";
     this.popupControlContainer2.Ribbon = this.ribbonControl;
     this.popupControlContainer2.Size = new System.Drawing.Size(118, 28);
     this.popupControlContainer2.TabIndex = 5;
     this.popupControlContainer2.Visible = false;
     //
     // buttonEdit
     //
     this.buttonEdit.EditValue = "Some Text";
     this.buttonEdit.Location = new System.Drawing.Point(3, 3);
     this.buttonEdit.MenuManager = this.ribbonControl;
     this.buttonEdit.Name = "buttonEdit";
     this.buttonEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.buttonEdit.Size = new System.Drawing.Size(100, 20);
     this.buttonEdit.TabIndex = 0;
     //
     // iNewDatabase
     //
     this.iNewDatabase.Caption = "New Database";
     this.iNewDatabase.Description = "Creates a new, blank database.";
     this.iNewDatabase.Hint = "Creates a new, blank database";
     this.iNewDatabase.Id = 1;
     this.iNewDatabase.ImageIndex = 0;
     this.iNewDatabase.LargeGlyph = global::FRDB_SQLite.Properties.Resources.database_add;
     this.iNewDatabase.LargeImageIndex = 5;
     this.iNewDatabase.Name = "iNewDatabase";
     this.iNewDatabase.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iNewDatabase_ItemClick);
     //
     // iSaveAs
     //
     this.iSaveAs.Caption = "&Save Database As";
     this.iSaveAs.Description = "Save the database in a different format";
     this.iSaveAs.Hint = "Save the database in a different format";
     this.iSaveAs.Id = 16;
     this.iSaveAs.ImageIndex = 5;
     this.iSaveAs.LargeImageIndex = 1;
     this.iSaveAs.Name = "iSaveAs";
     this.iSaveAs.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iSaveAs_ItemClick);
     //
     // iSave
     //
     this.iSave.Caption = "&Save Database";
     this.iSave.Description = "Saves the active databse";
     this.iSave.Hint = "Saves the active databse";
     this.iSave.Id = 17;
     this.iSave.ImageIndex = 4;
     this.iSave.LargeImageIndex = 6;
     this.iSave.Name = "iSave";
     this.iSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iSave_ItemClick);
     //
     // iExit
     //
     this.iExit.Caption = "Exit";
     this.iExit.Description = "Closes this program after prompting you to save unsaved data";
     this.iExit.Glyph = global::FRDB_SQLite.Properties.Resources.Ribbon_Exit_16x16;
     this.iExit.Hint = "Closes this program after prompting you to save unsaved data";
     this.iExit.Id = 74;
     this.iExit.ImageIndex = 6;
     this.iExit.LargeGlyph = global::FRDB_SQLite.Properties.Resources.Ribbon_Exit_32x32;
     this.iExit.LargeImageIndex = 2;
     this.iExit.Name = "iExit";
     this.iExit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iExit_ItemClick);
     //
     // popupControlContainer1
     //
     this.popupControlContainer1.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.popupControlContainer1.Appearance.Options.UseBackColor = true;
     this.popupControlContainer1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.popupControlContainer1.Controls.Add(this.someLabelControl2);
     this.popupControlContainer1.Controls.Add(this.someLabelControl1);
     this.popupControlContainer1.Location = new System.Drawing.Point(208, 168);
     this.popupControlContainer1.Name = "popupControlContainer1";
     this.popupControlContainer1.Ribbon = this.ribbonControl;
     this.popupControlContainer1.Size = new System.Drawing.Size(76, 70);
     this.popupControlContainer1.TabIndex = 4;
     this.popupControlContainer1.Visible = false;
     //
     // someLabelControl2
     //
     this.someLabelControl2.Location = new System.Drawing.Point(3, 57);
     this.someLabelControl2.Name = "someLabelControl2";
     this.someLabelControl2.Size = new System.Drawing.Size(49, 13);
     this.someLabelControl2.TabIndex = 0;
     this.someLabelControl2.Text = "Some Info";
     //
     // someLabelControl1
     //
     this.someLabelControl1.Location = new System.Drawing.Point(3, 3);
     this.someLabelControl1.Name = "someLabelControl1";
     this.someLabelControl1.Size = new System.Drawing.Size(49, 13);
     this.someLabelControl1.TabIndex = 0;
     this.someLabelControl1.Text = "Some Info";
     //
     // ribbonImageCollection
     //
     this.ribbonImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("ribbonImageCollection.ImageStream")));
     this.ribbonImageCollection.Images.SetKeyName(0, "Ribbon_New_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(1, "Ribbon_Open_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(2, "Ribbon_Close_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(3, "Ribbon_Find_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(4, "Ribbon_Save_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(5, "Ribbon_SaveAs_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(6, "Ribbon_Exit_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(7, "Ribbon_Content_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(8, "Ribbon_Info_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(9, "Ribbon_Bold_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(10, "Ribbon_Italic_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(11, "Ribbon_Underline_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(12, "Ribbon_AlignLeft_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(13, "Ribbon_AlignCenter_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(14, "Ribbon_AlignRight_16x16.png");
     this.ribbonImageCollection.Images.SetKeyName(15, "open_database1.png");
     this.ribbonImageCollection.Images.SetKeyName(16, "database_save.png");
     this.ribbonImageCollection.Images.SetKeyName(17, "back-alt-16.png");
     //
     // iHelp
     //
     this.iHelp.Caption = "Help";
     this.iHelp.Description = "Start the program help system.";
     this.iHelp.Hint = "Start the program help system";
     this.iHelp.Id = 22;
     this.iHelp.ImageIndex = 7;
     this.iHelp.LargeImageIndex = 3;
     this.iHelp.Name = "iHelp";
     this.iHelp.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iHelp_ItemClick);
     //
     // siStatus
     //
     this.siStatus.Caption = "Ready";
     this.siStatus.Id = 31;
     this.siStatus.Name = "siStatus";
     this.siStatus.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // siInfo
     //
     this.siInfo.Caption = "Some Info";
     this.siInfo.Id = 32;
     this.siInfo.Name = "siInfo";
     this.siInfo.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // iBoldFontStyle
     //
     this.iBoldFontStyle.Caption = "Bold";
     this.iBoldFontStyle.Id = 53;
     this.iBoldFontStyle.ImageIndex = 9;
     this.iBoldFontStyle.Name = "iBoldFontStyle";
     //
     // iItalicFontStyle
     //
     this.iItalicFontStyle.Caption = "Italic";
     this.iItalicFontStyle.Id = 54;
     this.iItalicFontStyle.ImageIndex = 10;
     this.iItalicFontStyle.Name = "iItalicFontStyle";
     //
     // iUnderlinedFontStyle
     //
     this.iUnderlinedFontStyle.Caption = "Underlined";
     this.iUnderlinedFontStyle.Id = 55;
     this.iUnderlinedFontStyle.ImageIndex = 11;
     this.iUnderlinedFontStyle.Name = "iUnderlinedFontStyle";
     //
     // iLeftTextAlign
     //
     this.iLeftTextAlign.Caption = "Left";
     this.iLeftTextAlign.Id = 57;
     this.iLeftTextAlign.ImageIndex = 12;
     this.iLeftTextAlign.Name = "iLeftTextAlign";
     //
     // iCenterTextAlign
     //
     this.iCenterTextAlign.Caption = "Center";
     this.iCenterTextAlign.Id = 58;
     this.iCenterTextAlign.ImageIndex = 13;
     this.iCenterTextAlign.Name = "iCenterTextAlign";
     //
     // iRightTextAlign
     //
     this.iRightTextAlign.Caption = "Right";
     this.iRightTextAlign.Id = 59;
     this.iRightTextAlign.ImageIndex = 14;
     this.iRightTextAlign.Name = "iRightTextAlign";
     //
     // rgbiSkins
     //
     this.rgbiSkins.Caption = "Skins";
     //
     //
     //
     this.rgbiSkins.Gallery.AllowHoverImages = true;
     this.rgbiSkins.Gallery.Appearance.ItemCaptionAppearance.Normal.Options.UseFont = true;
     this.rgbiSkins.Gallery.Appearance.ItemCaptionAppearance.Normal.Options.UseTextOptions = true;
     this.rgbiSkins.Gallery.Appearance.ItemCaptionAppearance.Normal.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.rgbiSkins.Gallery.ColumnCount = 4;
     this.rgbiSkins.Gallery.FixedHoverImageSize = false;
     this.rgbiSkins.Gallery.ImageSize = new System.Drawing.Size(32, 17);
     this.rgbiSkins.Gallery.ItemImageLocation = DevExpress.Utils.Locations.Top;
     this.rgbiSkins.Gallery.RowCount = 4;
     this.rgbiSkins.Id = 60;
     this.rgbiSkins.Name = "rgbiSkins";
     //
     // iOpenExistingDatabase
     //
     this.iOpenExistingDatabase.Caption = "&Open Existing Database";
     this.iOpenExistingDatabase.Description = "Opens Existing Database";
     this.iOpenExistingDatabase.Hint = "Opens Existing Database";
     this.iOpenExistingDatabase.Id = 62;
     this.iOpenExistingDatabase.ImageIndex = 5;
     this.iOpenExistingDatabase.LargeImageIndex = 7;
     this.iOpenExistingDatabase.Name = "iOpenExistingDatabase";
     this.iOpenExistingDatabase.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iOpenExistingDatabase_ItemClick);
     //
     // iCloseDatabase
     //
     this.iCloseDatabase.Caption = "&Close Current Database";
     this.iCloseDatabase.Id = 63;
     this.iCloseDatabase.LargeImageIndex = 9;
     this.iCloseDatabase.Name = "iCloseDatabase";
     this.iCloseDatabase.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iCloseDatabase_ItemClick);
     //
     // iRefreshDatabase
     //
     this.iRefreshDatabase.Caption = "&Refresh Databse";
     this.iRefreshDatabase.Description = "Reload current database";
     this.iRefreshDatabase.Hint = "Reload current database";
     this.iRefreshDatabase.Id = 64;
     this.iRefreshDatabase.LargeImageIndex = 11;
     this.iRefreshDatabase.Name = "iRefreshDatabase";
     this.iRefreshDatabase.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iRefreshDatabase_ItemClick);
     //
     // iConnectDatabase
     //
     this.iConnectDatabase.Caption = "&Connect To Database";
     this.iConnectDatabase.Description = "Test to connect to current database";
     this.iConnectDatabase.Hint = "Test to connect to current database";
     this.iConnectDatabase.Id = 65;
     this.iConnectDatabase.LargeImageIndex = 10;
     this.iConnectDatabase.Name = "iConnectDatabase";
     this.iConnectDatabase.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iConnectDatabase_ItemClick);
     //
     // iNewScheme
     //
     this.iNewScheme.Caption = "New Scheme";
     this.iNewScheme.Id = 75;
     this.iNewScheme.LargeImageIndex = 17;
     this.iNewScheme.Name = "iNewScheme";
     this.iNewScheme.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iNewScheme_ItemClick);
     //
     // iOpenScheme
     //
     this.iOpenScheme.Caption = "Open Scheme";
     this.iOpenScheme.Id = 77;
     this.iOpenScheme.LargeImageIndex = 30;
     this.iOpenScheme.Name = "iOpenScheme";
     this.iOpenScheme.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iOpenScheme_ItemClick);
     //
     // iSaveScheme
     //
     this.iSaveScheme.Caption = "Save Scheme";
     this.iSaveScheme.Id = 78;
     this.iSaveScheme.LargeImageIndex = 33;
     this.iSaveScheme.Name = "iSaveScheme";
     this.iSaveScheme.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iSaveScheme_ItemClick);
     //
     // iDeleteScheme
     //
     this.iDeleteScheme.Caption = "Delete Scheme";
     this.iDeleteScheme.Id = 79;
     this.iDeleteScheme.LargeImageIndex = 32;
     this.iDeleteScheme.Name = "iDeleteScheme";
     this.iDeleteScheme.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iDeleteScheme_ItemClick);
     //
     // iCloseCurrentScheme
     //
     this.iCloseCurrentScheme.Caption = "&Close Current Scheme";
     this.iCloseCurrentScheme.Id = 80;
     this.iCloseCurrentScheme.LargeImageIndex = 31;
     this.iCloseCurrentScheme.Name = "iCloseCurrentScheme";
     this.iCloseCurrentScheme.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iCloseCurrentScheme_ItemClick);
     //
     // iNewRelation
     //
     this.iNewRelation.Caption = "New Relation";
     this.iNewRelation.Id = 81;
     this.iNewRelation.LargeImageIndex = 15;
     this.iNewRelation.Name = "iNewRelation";
     this.iNewRelation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iNewRelation_ItemClick);
     //
     // iOpenRelation
     //
     this.iOpenRelation.Caption = "Open Relation";
     this.iOpenRelation.Id = 82;
     this.iOpenRelation.LargeImageIndex = 12;
     this.iOpenRelation.Name = "iOpenRelation";
     this.iOpenRelation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iOpenRelation_ItemClick);
     //
     // iDeleteRelation
     //
     this.iDeleteRelation.Caption = "Delete Relation";
     this.iDeleteRelation.Id = 83;
     this.iDeleteRelation.LargeImageIndex = 14;
     this.iDeleteRelation.Name = "iDeleteRelation";
     this.iDeleteRelation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iDeleteRelation_ItemClick);
     //
     // iSaveRelation
     //
     this.iSaveRelation.Caption = "Save Relation";
     this.iSaveRelation.Id = 84;
     this.iSaveRelation.LargeImageIndex = 13;
     this.iSaveRelation.Name = "iSaveRelation";
     this.iSaveRelation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iSaveRelation_ItemClick);
     //
     // iCloseCurrentRelation
     //
     this.iCloseCurrentRelation.Caption = "&Close Current Relation";
     this.iCloseCurrentRelation.Id = 85;
     this.iCloseCurrentRelation.LargeImageIndex = 16;
     this.iCloseCurrentRelation.Name = "iCloseCurrentRelation";
     this.iCloseCurrentRelation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iCloseCurrentRelation_ItemClick);
     //
     // iNewQuery
     //
     this.iNewQuery.Caption = "New Query";
     this.iNewQuery.Id = 86;
     this.iNewQuery.LargeImageIndex = 19;
     this.iNewQuery.Name = "iNewQuery";
     this.iNewQuery.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iNewQuery_ItemClick);
     //
     // iOpenQuery
     //
     this.iOpenQuery.Caption = "Open Query";
     this.iOpenQuery.Id = 87;
     this.iOpenQuery.LargeImageIndex = 20;
     this.iOpenQuery.Name = "iOpenQuery";
     this.iOpenQuery.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iOpenQuery_ItemClick);
     //
     // iSaveQuery
     //
     this.iSaveQuery.Caption = "Save Query";
     this.iSaveQuery.Id = 88;
     this.iSaveQuery.LargeImageIndex = 22;
     this.iSaveQuery.Name = "iSaveQuery";
     this.iSaveQuery.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iSaveQuery_ItemClick);
     //
     // iCloseCurrentQuery
     //
     this.iCloseCurrentQuery.Caption = "Close Current Query";
     this.iCloseCurrentQuery.Id = 89;
     this.iCloseCurrentQuery.LargeImageIndex = 34;
     this.iCloseCurrentQuery.Name = "iCloseCurrentQuery";
     this.iCloseCurrentQuery.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iCloseCurrentQuery_ItemClick);
     //
     // iDeleteQuery
     //
     this.iDeleteQuery.Caption = "&Delete Query";
     this.iDeleteQuery.Id = 91;
     this.iDeleteQuery.LargeImageIndex = 23;
     this.iDeleteQuery.Name = "iDeleteQuery";
     this.iDeleteQuery.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iDeleteQuery_ItemClick);
     //
     // iExecuteQuery
     //
     this.iExecuteQuery.Caption = "Execute With Result";
     this.iExecuteQuery.Id = 92;
     this.iExecuteQuery.LargeImageIndex = 24;
     this.iExecuteQuery.Name = "iExecuteQuery";
     this.iExecuteQuery.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iExecuteQuery_ItemClick);
     //
     // iStopExecute
     //
     this.iStopExecute.Caption = "&Stop Executing";
     this.iStopExecute.Id = 93;
     this.iStopExecute.LargeImageIndex = 25;
     this.iStopExecute.Name = "iStopExecute";
     this.iStopExecute.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iStopExecute_ItemClick);
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id = 94;
     this.barButtonItem2.Name = "barButtonItem2";
     //
     // barButtonItem3
     //
     this.barButtonItem3.Caption = "barButtonItem3";
     this.barButtonItem3.Id = 95;
     this.barButtonItem3.Name = "barButtonItem3";
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "barButtonItem4";
     this.barButtonItem4.Id = 96;
     this.barButtonItem4.Name = "barButtonItem4";
     //
     // barButtonItem5
     //
     this.barButtonItem5.Caption = "barButtonItem5";
     this.barButtonItem5.Id = 97;
     this.barButtonItem5.Name = "barButtonItem5";
     //
     // barButtonItem6
     //
     this.barButtonItem6.Caption = "barButtonItem6";
     this.barButtonItem6.Id = 98;
     this.barButtonItem6.Name = "barButtonItem6";
     //
     // barButtonItem7
     //
     this.barButtonItem7.Caption = "barButtonItem7";
     this.barButtonItem7.Id = 99;
     this.barButtonItem7.Name = "barButtonItem7";
     //
     // barButtonItem8
     //
     this.barButtonItem8.Caption = "barButtonItem8";
     this.barButtonItem8.Id = 100;
     this.barButtonItem8.Name = "barButtonItem8";
     //
     // barButtonItem9
     //
     this.barButtonItem9.Caption = "barButtonItem9";
     this.barButtonItem9.Id = 101;
     this.barButtonItem9.Name = "barButtonItem9";
     //
     // barButtonItem10
     //
     this.barButtonItem10.Caption = "barButtonItem10";
     this.barButtonItem10.Id = 102;
     this.barButtonItem10.Name = "barButtonItem10";
     //
     // iAddDescrete
     //
     this.iAddDescrete.Caption = "&Add Descrete Fuzzy Set";
     this.iAddDescrete.Id = 103;
     this.iAddDescrete.LargeImageIndex = 26;
     this.iAddDescrete.Name = "iAddDescrete";
     this.iAddDescrete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iDiscreteFuzzySet_ItemClick);
     //
     // barButtonItem11
     //
     this.barButtonItem11.Caption = "Continuous Fuzzy Set";
     this.barButtonItem11.Id = 104;
     this.barButtonItem11.LargeImageIndex = 27;
     this.barButtonItem11.Name = "barButtonItem11";
     this.barButtonItem11.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem11_ItemClick);
     //
     // barListItem1
     //
     this.barListItem1.Caption = "Rename";
     this.barListItem1.Id = 105;
     this.barListItem1.MenuCaption = "rename";
     this.barListItem1.Name = "barListItem1";
     //
     // barListItem2
     //
     this.barListItem2.Caption = "Close current";
     this.barListItem2.Id = 106;
     this.barListItem2.MenuCaption = "closeCurrent";
     this.barListItem2.Name = "barListItem2";
     //
     // iGetList
     //
     this.iGetList.Caption = "Get List Descrete";
     this.iGetList.Id = 107;
     this.iGetList.LargeImageIndex = 28;
     this.iGetList.Name = "iGetList";
     this.iGetList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iListDescrete_ItemClick);
     //
     // iListContinuous
     //
     this.iListContinuous.Caption = "& Get List Continuous";
     this.iListContinuous.Id = 108;
     this.iListContinuous.LargeImageIndex = 29;
     this.iListContinuous.Name = "iListContinuous";
     this.iListContinuous.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iListContinuous_ItemClick);
     //
     // barButtonItem13
     //
     this.barButtonItem13.Caption = "&About The Author And Software";
     this.barButtonItem13.Id = 111;
     this.barButtonItem13.LargeImageIndex = 4;
     this.barButtonItem13.Name = "barButtonItem13";
     this.barButtonItem13.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem13_ItemClick);
     //
     // iGetMemberships
     //
     this.iGetMemberships.Caption = "Get Memberships";
     this.iGetMemberships.Id = 112;
     this.iGetMemberships.LargeImageIndex = 35;
     this.iGetMemberships.Name = "iGetMemberships";
     this.iGetMemberships.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iGetMemberships_ItemClick);
     //
     // iOperator
     //
     this.iOperator.Caption = "Operator";
     this.iOperator.Id = 113;
     this.iOperator.ImageIndex = 17;
     this.iOperator.Name = "iOperator";
     this.iOperator.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText;
     this.iOperator.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iOperator_ItemClick);
     //
     // ribbonImageCollectionLarge
     //
     this.ribbonImageCollectionLarge.ImageSize = new System.Drawing.Size(32, 32);
     this.ribbonImageCollectionLarge.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("ribbonImageCollectionLarge.ImageStream")));
     this.ribbonImageCollectionLarge.Images.SetKeyName(0, "Ribbon_Save_32x32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(1, "Ribbon_SaveAs_32x32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(2, "Ribbon_Exit_32x32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(3, "Ribbon_Content_32x32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(4, "Ribbon_Info_32x32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(5, "database_add.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(6, "database_save.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(7, "open_database1.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(8, "open_database2.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(9, "remove-from-database.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(10, "database_connect.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(11, "database_refresh.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(12, "folder_table.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(13, "table_save.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(14, "table-delete.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(15, "table-star.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(16, "inbox_table.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(17, "new_relation.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(18, "save_relation.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(19, "new_query.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(20, "open1.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(21, "Ribbon_Close_32x32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(22, "script_save.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(23, "delete_query.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(24, "execute result.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(25, "stop execute.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(26, "discrete.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(27, "trapozium.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(28, "list_nested-32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(29, "list-32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(30, "flow_chart-32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(31, "Flow_block.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(32, "flow_chart-32 (1).png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(33, "Save_Data.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(34, "script_record-32.png");
     this.ribbonImageCollectionLarge.Images.SetKeyName(35, "curved_arrow-32.png");
     //
     // homeRibbonPage
     //
     this.homeRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.fileRibbonPageGroup,
     this.connectionRibbonPageGroup,
     this.skinsRibbonPageGroup,
     this.exitRibbonPageGroup});
     this.homeRibbonPage.Name = "homeRibbonPage";
     this.homeRibbonPage.Text = "Home";
     //
     // fileRibbonPageGroup
     //
     this.fileRibbonPageGroup.ItemLinks.Add(this.iNewDatabase);
     this.fileRibbonPageGroup.ItemLinks.Add(this.iOpenExistingDatabase);
     this.fileRibbonPageGroup.ItemLinks.Add(this.iSave);
     this.fileRibbonPageGroup.ItemLinks.Add(this.iSaveAs);
     this.fileRibbonPageGroup.ItemLinks.Add(this.iCloseDatabase);
     this.fileRibbonPageGroup.Name = "fileRibbonPageGroup";
     this.fileRibbonPageGroup.Text = "Database";
     //
     // connectionRibbonPageGroup
     //
     this.connectionRibbonPageGroup.ItemLinks.Add(this.iRefreshDatabase);
     this.connectionRibbonPageGroup.ItemLinks.Add(this.iConnectDatabase);
     this.connectionRibbonPageGroup.Name = "connectionRibbonPageGroup";
     this.connectionRibbonPageGroup.Text = "Connection";
     //
     // skinsRibbonPageGroup
     //
     this.skinsRibbonPageGroup.ItemLinks.Add(this.rgbiSkins);
     this.skinsRibbonPageGroup.Name = "skinsRibbonPageGroup";
     this.skinsRibbonPageGroup.ShowCaptionButton = false;
     this.skinsRibbonPageGroup.Text = "Skins";
     //
     // exitRibbonPageGroup
     //
     this.exitRibbonPageGroup.ItemLinks.Add(this.iExit, true);
     this.exitRibbonPageGroup.Name = "exitRibbonPageGroup";
     this.exitRibbonPageGroup.Text = "Exit";
     //
     // schemeRibbonPage
     //
     this.schemeRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.tableRibbonPageGroup,
     this.exitPageGroup});
     this.schemeRibbonPage.Name = "schemeRibbonPage";
     this.schemeRibbonPage.Text = "Scheme";
     //
     // tableRibbonPageGroup
     //
     this.tableRibbonPageGroup.ItemLinks.Add(this.iNewScheme);
     this.tableRibbonPageGroup.ItemLinks.Add(this.iOpenScheme);
     this.tableRibbonPageGroup.ItemLinks.Add(this.iSaveScheme);
     this.tableRibbonPageGroup.ItemLinks.Add(this.iDeleteScheme);
     this.tableRibbonPageGroup.ItemLinks.Add(this.iCloseCurrentScheme);
     this.tableRibbonPageGroup.Name = "tableRibbonPageGroup";
     this.tableRibbonPageGroup.Text = "Tables of Database";
     //
     // exitPageGroup
     //
     this.exitPageGroup.ItemLinks.Add(this.iExit);
     this.exitPageGroup.Name = "exitPageGroup";
     this.exitPageGroup.Text = "Exit";
     //
     // relationRibbonPage
     //
     this.relationRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.relationshipRibbonPageGroup,
     this.ribbonPageGroup2});
     this.relationRibbonPage.Name = "relationRibbonPage";
     this.relationRibbonPage.Text = "Relation";
     //
     // relationshipRibbonPageGroup
     //
     this.relationshipRibbonPageGroup.ItemLinks.Add(this.iNewRelation);
     this.relationshipRibbonPageGroup.ItemLinks.Add(this.iOpenRelation);
     this.relationshipRibbonPageGroup.ItemLinks.Add(this.iSaveRelation);
     this.relationshipRibbonPageGroup.ItemLinks.Add(this.iDeleteRelation);
     this.relationshipRibbonPageGroup.ItemLinks.Add(this.iCloseCurrentRelation);
     this.relationshipRibbonPageGroup.Name = "relationshipRibbonPageGroup";
     this.relationshipRibbonPageGroup.Text = "ribbonPageGroup2";
     //
     // ribbonPageGroup2
     //
     this.ribbonPageGroup2.ItemLinks.Add(this.iExit);
     this.ribbonPageGroup2.Name = "ribbonPageGroup2";
     this.ribbonPageGroup2.Text = "Exit";
     //
     // queryRibbonPage
     //
     this.queryRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.QueryRibbonPageGroup,
     this.commandRibbonPageGroup,
     this.ribbonPageGroup3});
     this.queryRibbonPage.Name = "queryRibbonPage";
     this.queryRibbonPage.Text = "Query";
     //
     // QueryRibbonPageGroup
     //
     this.QueryRibbonPageGroup.ItemLinks.Add(this.iNewQuery);
     this.QueryRibbonPageGroup.ItemLinks.Add(this.iOpenQuery);
     this.QueryRibbonPageGroup.ItemLinks.Add(this.iSaveQuery);
     this.QueryRibbonPageGroup.ItemLinks.Add(this.iDeleteQuery);
     this.QueryRibbonPageGroup.ItemLinks.Add(this.iCloseCurrentQuery);
     this.QueryRibbonPageGroup.Name = "QueryRibbonPageGroup";
     this.QueryRibbonPageGroup.Text = "Query";
     //
     // commandRibbonPageGroup
     //
     this.commandRibbonPageGroup.ItemLinks.Add(this.iExecuteQuery);
     this.commandRibbonPageGroup.ItemLinks.Add(this.iStopExecute);
     this.commandRibbonPageGroup.ItemLinks.Add(this.iOperator);
     this.commandRibbonPageGroup.Name = "commandRibbonPageGroup";
     this.commandRibbonPageGroup.Text = "Command";
     //
     // ribbonPageGroup3
     //
     this.ribbonPageGroup3.ItemLinks.Add(this.iExit);
     this.ribbonPageGroup3.Name = "ribbonPageGroup3";
     this.ribbonPageGroup3.Text = "Exit";
     //
     // fuzzySetRibbonPage
     //
     this.fuzzySetRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.descreteFuzzySetRibbonPageGroup,
     this.continuousFuzzySetRibbonPageGroup,
     this.ribbonPageGroupGetMemberships,
     this.ribbonPageGroup6});
     this.fuzzySetRibbonPage.Name = "fuzzySetRibbonPage";
     this.fuzzySetRibbonPage.Text = "Fuzzy Set";
     //
     // descreteFuzzySetRibbonPageGroup
     //
     this.descreteFuzzySetRibbonPageGroup.ItemLinks.Add(this.iAddDescrete);
     this.descreteFuzzySetRibbonPageGroup.ItemLinks.Add(this.iGetList);
     this.descreteFuzzySetRibbonPageGroup.Name = "descreteFuzzySetRibbonPageGroup";
     this.descreteFuzzySetRibbonPageGroup.Text = "Descrete Fuzzy Set";
     //
     // continuousFuzzySetRibbonPageGroup
     //
     this.continuousFuzzySetRibbonPageGroup.ItemLinks.Add(this.barButtonItem11);
     this.continuousFuzzySetRibbonPageGroup.ItemLinks.Add(this.iListContinuous);
     this.continuousFuzzySetRibbonPageGroup.Name = "continuousFuzzySetRibbonPageGroup";
     this.continuousFuzzySetRibbonPageGroup.Text = "Continuous Fuzzy Set";
     //
     // ribbonPageGroupGetMemberships
     //
     this.ribbonPageGroupGetMemberships.ItemLinks.Add(this.iGetMemberships);
     this.ribbonPageGroupGetMemberships.Name = "ribbonPageGroupGetMemberships";
     this.ribbonPageGroupGetMemberships.Text = "Get Memberships";
     //
     // ribbonPageGroup6
     //
     this.ribbonPageGroup6.ItemLinks.Add(this.iExit);
     this.ribbonPageGroup6.Name = "ribbonPageGroup6";
     this.ribbonPageGroup6.Text = "Exit";
     //
     // helpRibbonPage
     //
     this.helpRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.helpRibbonPageGroup,
     this.ribbonPageGroup4});
     this.helpRibbonPage.Name = "helpRibbonPage";
     this.helpRibbonPage.Text = "Help";
     //
     // helpRibbonPageGroup
     //
     this.helpRibbonPageGroup.ItemLinks.Add(this.iHelp);
     this.helpRibbonPageGroup.Name = "helpRibbonPageGroup";
     this.helpRibbonPageGroup.Text = "Help";
     //
     // ribbonPageGroup4
     //
     this.ribbonPageGroup4.ItemLinks.Add(this.iExit);
     this.ribbonPageGroup4.Name = "ribbonPageGroup4";
     this.ribbonPageGroup4.Text = "Exit";
     //
     // ribbonPageAbout
     //
     this.ribbonPageAbout.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
     this.About,
     this.ribbonPageGroup5});
     this.ribbonPageAbout.Name = "ribbonPageAbout";
     this.ribbonPageAbout.Text = "About";
     //
     // About
     //
     this.About.ItemLinks.Add(this.barButtonItem13);
     this.About.Name = "About";
     this.About.Text = "About Us";
     //
     // ribbonPageGroup5
     //
     this.ribbonPageGroup5.ItemLinks.Add(this.iExit);
     this.ribbonPageGroup5.Name = "ribbonPageGroup5";
     this.ribbonPageGroup5.Text = "Exit";
     //
     // ribbonStatusBar
     //
     this.ribbonStatusBar.ItemLinks.Add(this.siStatus);
     this.ribbonStatusBar.ItemLinks.Add(this.siInfo);
     this.ribbonStatusBar.Location = new System.Drawing.Point(0, 524);
     this.ribbonStatusBar.Name = "ribbonStatusBar";
     this.ribbonStatusBar.Ribbon = this.ribbonControl;
     this.ribbonStatusBar.Size = new System.Drawing.Size(867, 27);
     //
     // btn_Design_Home
     //
     this.btn_Design_Home.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Design_Home.Image = ((System.Drawing.Image)(resources.GetObject("btn_Design_Home.Image")));
     this.btn_Design_Home.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.btn_Design_Home.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Design_Home.Name = "btn_Design_Home";
     this.btn_Design_Home.Size = new System.Drawing.Size(23, 23);
     this.btn_Design_Home.Text = "toolStripButton1";
     this.btn_Design_Home.ToolTipText = "Get Home";
     this.btn_Design_Home.Click += new System.EventHandler(this.btn_Design_Home_Click);
     //
     // btn_Design_Pre
     //
     this.btn_Design_Pre.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Design_Pre.Image = ((System.Drawing.Image)(resources.GetObject("btn_Design_Pre.Image")));
     this.btn_Design_Pre.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.btn_Design_Pre.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Design_Pre.Name = "btn_Design_Pre";
     this.btn_Design_Pre.Size = new System.Drawing.Size(23, 23);
     this.btn_Design_Pre.Text = "toolStripButton2";
     this.btn_Design_Pre.ToolTipText = "Previous Row";
     this.btn_Design_Pre.Click += new System.EventHandler(this.btn_Design_Pre_Click);
     //
     // toolStripSeparator5
     //
     this.toolStripSeparator5.Name = "toolStripSeparator5";
     this.toolStripSeparator5.Size = new System.Drawing.Size(6, 26);
     //
     // lblDesignRowNumberIndicator
     //
     this.lblDesignRowNumberIndicator.Name = "lblDesignRowNumberIndicator";
     this.lblDesignRowNumberIndicator.Size = new System.Drawing.Size(29, 23);
     this.lblDesignRowNumberIndicator.Text = "0 / 0";
     this.lblDesignRowNumberIndicator.ToolTipText = "Row Number";
     //
     // toolStripSeparator6
     //
     this.toolStripSeparator6.Name = "toolStripSeparator6";
     this.toolStripSeparator6.Size = new System.Drawing.Size(6, 26);
     //
     // btn_Design_Next
     //
     this.btn_Design_Next.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Design_Next.Image = ((System.Drawing.Image)(resources.GetObject("btn_Design_Next.Image")));
     this.btn_Design_Next.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.btn_Design_Next.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Design_Next.Name = "btn_Design_Next";
     this.btn_Design_Next.Size = new System.Drawing.Size(23, 23);
     this.btn_Design_Next.Text = "toolStripButton3";
     this.btn_Design_Next.ToolTipText = "Next Row";
     this.btn_Design_Next.Click += new System.EventHandler(this.btn_Design_Next_Click);
     //
     // btn_Design_End
     //
     this.btn_Design_End.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Design_End.Image = ((System.Drawing.Image)(resources.GetObject("btn_Design_End.Image")));
     this.btn_Design_End.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.btn_Design_End.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Design_End.Name = "btn_Design_End";
     this.btn_Design_End.Size = new System.Drawing.Size(23, 23);
     this.btn_Design_End.Text = "toolStripButton4";
     this.btn_Design_End.ToolTipText = "Reach End";
     this.btn_Design_End.Click += new System.EventHandler(this.btn_Design_End_Click);
     //
     // toolStripSeparator18
     //
     this.toolStripSeparator18.Name = "toolStripSeparator18";
     this.toolStripSeparator18.Size = new System.Drawing.Size(6, 26);
     //
     // Btn_Design_DeleteRow
     //
     this.Btn_Design_DeleteRow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.Btn_Design_DeleteRow.Image = ((System.Drawing.Image)(resources.GetObject("Btn_Design_DeleteRow.Image")));
     this.Btn_Design_DeleteRow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.Btn_Design_DeleteRow.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.Btn_Design_DeleteRow.Name = "Btn_Design_DeleteRow";
     this.Btn_Design_DeleteRow.Size = new System.Drawing.Size(23, 23);
     this.Btn_Design_DeleteRow.Text = "Delete This Row";
     this.Btn_Design_DeleteRow.Click += new System.EventHandler(this.Btn_Design_DeleteRow_Click);
     //
     // Btn_Design_ClearData
     //
     this.Btn_Design_ClearData.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.Btn_Design_ClearData.Image = ((System.Drawing.Image)(resources.GetObject("Btn_Design_ClearData.Image")));
     this.Btn_Design_ClearData.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.Btn_Design_ClearData.Name = "Btn_Design_ClearData";
     this.Btn_Design_ClearData.Size = new System.Drawing.Size(23, 23);
     this.Btn_Design_ClearData.Text = "Reset Scheme";
     this.Btn_Design_ClearData.Click += new System.EventHandler(this.Btn_Design_ClearData_Click);
     //
     // Btn_Design_UpdateData
     //
     this.Btn_Design_UpdateData.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.Btn_Design_UpdateData.Image = ((System.Drawing.Image)(resources.GetObject("Btn_Design_UpdateData.Image")));
     this.Btn_Design_UpdateData.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.Btn_Design_UpdateData.Name = "Btn_Design_UpdateData";
     this.Btn_Design_UpdateData.Size = new System.Drawing.Size(23, 23);
     this.Btn_Design_UpdateData.Text = "Save Scheme";
     this.Btn_Design_UpdateData.ToolTipText = "Save Scheme";
     this.Btn_Design_UpdateData.Click += new System.EventHandler(this.Btn_Design_UpdateData_Click);
     //
     // navbarImageListLarge
     //
     this.navbarImageListLarge.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("navbarImageListLarge.ImageStream")));
     this.navbarImageListLarge.TransparentColor = System.Drawing.Color.Transparent;
     this.navbarImageListLarge.Images.SetKeyName(0, "Mail_16x16.png");
     this.navbarImageListLarge.Images.SetKeyName(1, "Organizer_16x16.png");
     //
     // navbarImageList
     //
     this.navbarImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("navbarImageList.ImageStream")));
     this.navbarImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.navbarImageList.Images.SetKeyName(0, "Inbox_16x16.png");
     this.navbarImageList.Images.SetKeyName(1, "Outbox_16x16.png");
     this.navbarImageList.Images.SetKeyName(2, "Drafts_16x16.png");
     this.navbarImageList.Images.SetKeyName(3, "Trash_16x16.png");
     this.navbarImageList.Images.SetKeyName(4, "Calendar_16x16.png");
     this.navbarImageList.Images.SetKeyName(5, "Tasks_16x16.png");
     //
     // ribbonPageGroup1
     //
     this.ribbonPageGroup1.Name = "ribbonPageGroup1";
     this.ribbonPageGroup1.Text = "Exit";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "Exit";
     this.barButtonItem1.Description = "Closes this program after prompting you to save unsaved data.";
     this.barButtonItem1.Hint = "Closes this program after prompting you to save unsaved data";
     this.barButtonItem1.Id = 20;
     this.barButtonItem1.ImageIndex = 6;
     this.barButtonItem1.LargeImageIndex = 2;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // treeListImageCollection
     //
     this.treeListImageCollection.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("treeListImageCollection.ImageStream")));
     this.treeListImageCollection.TransparentColor = System.Drawing.Color.Transparent;
     this.treeListImageCollection.Images.SetKeyName(0, "small_database.png");
     this.treeListImageCollection.Images.SetKeyName(1, "Ribbon_Open_16x16.png");
     this.treeListImageCollection.Images.SetKeyName(2, "close_folder.png");
     this.treeListImageCollection.Images.SetKeyName(3, "table_small.png");
     this.treeListImageCollection.Images.SetKeyName(4, "small_query.png");
     //
     // ContextMenu_Database
     //
     this.ContextMenu_Database.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.CTMenuDB_Rename,
     this.CTMenuDB_CloseDB});
     this.ContextMenu_Database.Name = "contextMenuStrip";
     this.ContextMenu_Database.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
     this.ContextMenu_Database.Size = new System.Drawing.Size(169, 48);
     this.ContextMenu_Database.Text = "Database Properties";
     //
     // CTMenuDB_Rename
     //
     this.CTMenuDB_Rename.Name = "CTMenuDB_Rename";
     this.CTMenuDB_Rename.Size = new System.Drawing.Size(168, 22);
     this.CTMenuDB_Rename.Text = "Re&name Database";
     this.CTMenuDB_Rename.Click += new System.EventHandler(this.CTMenuDB_Rename_Click);
     //
     // CTMenuDB_CloseDB
     //
     this.CTMenuDB_CloseDB.Name = "CTMenuDB_CloseDB";
     this.CTMenuDB_CloseDB.Size = new System.Drawing.Size(168, 22);
     this.CTMenuDB_CloseDB.Text = "&Close Database";
     this.CTMenuDB_CloseDB.Click += new System.EventHandler(this.CTMenuDB_CloseDB_Click);
     //
     // ContextMenu_Relation
     //
     this.ContextMenu_Relation.Font = new System.Drawing.Font("Lucida Sans Unicode", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ContextMenu_Relation.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.CTMenuRelation_NewRelation,
     this.CTMenuRelation_DeleteRelations});
     this.ContextMenu_Relation.Name = "ContextMenu_Table";
     this.ContextMenu_Relation.Size = new System.Drawing.Size(200, 48);
     //
     // CTMenuRelation_NewRelation
     //
     this.CTMenuRelation_NewRelation.Name = "CTMenuRelation_NewRelation";
     this.CTMenuRelation_NewRelation.Size = new System.Drawing.Size(199, 22);
     this.CTMenuRelation_NewRelation.Text = "&New Relation";
     this.CTMenuRelation_NewRelation.ToolTipText = "Tạo quan hệ mới";
     this.CTMenuRelation_NewRelation.Click += new System.EventHandler(this.CTMenuRelation_NewRelation_Click);
     //
     // CTMenuRelation_DeleteRelations
     //
     this.CTMenuRelation_DeleteRelations.Name = "CTMenuRelation_DeleteRelations";
     this.CTMenuRelation_DeleteRelations.Size = new System.Drawing.Size(199, 22);
     this.CTMenuRelation_DeleteRelations.Text = "&Delete All Relations";
     this.CTMenuRelation_DeleteRelations.ToolTipText = "Xóa toàn bộ các quan hệ";
     this.CTMenuRelation_DeleteRelations.Click += new System.EventHandler(this.CTMenuRelation_DeleteRelations_Click);
     //
     // ContextMenu_RelationNode
     //
     this.ContextMenu_RelationNode.Font = new System.Drawing.Font("Lucida Sans Unicode", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ContextMenu_RelationNode.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.CTMenuRelNode_OpenRelation,
     this.CTMenuRelNode_DeleteRelation,
     this.CTMenuRelNode_RenameRelation});
     this.ContextMenu_RelationNode.Name = "ContextMenu_Table";
     this.ContextMenu_RelationNode.Size = new System.Drawing.Size(181, 70);
     //
     // CTMenuRelNode_OpenRelation
     //
     this.CTMenuRelNode_OpenRelation.Name = "CTMenuRelNode_OpenRelation";
     this.CTMenuRelNode_OpenRelation.Size = new System.Drawing.Size(180, 22);
     this.CTMenuRelNode_OpenRelation.Text = "&Open Relation";
     this.CTMenuRelNode_OpenRelation.ToolTipText = "Tạo quan hệ mới";
     this.CTMenuRelNode_OpenRelation.Click += new System.EventHandler(this.CTMenuRelNode_OpenRelation_Click);
     //
     // CTMenuRelNode_DeleteRelation
     //
     this.CTMenuRelNode_DeleteRelation.Name = "CTMenuRelNode_DeleteRelation";
     this.CTMenuRelNode_DeleteRelation.Size = new System.Drawing.Size(180, 22);
     this.CTMenuRelNode_DeleteRelation.Text = "&Delete Relation";
     this.CTMenuRelNode_DeleteRelation.Click += new System.EventHandler(this.CTMenuRelNode_DeleteRelation_Click);
     //
     // CTMenuRelNode_RenameRelation
     //
     this.CTMenuRelNode_RenameRelation.Name = "CTMenuRelNode_RenameRelation";
     this.CTMenuRelNode_RenameRelation.Size = new System.Drawing.Size(180, 22);
     this.CTMenuRelNode_RenameRelation.Text = "&Rename Relation";
     this.CTMenuRelNode_RenameRelation.Click += new System.EventHandler(this.CTMenuRelNode_RenameRelation_Click);
     //
     // ContextMenu_Schema
     //
     this.ContextMenu_Schema.Font = new System.Drawing.Font("Lucida Sans Unicode", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ContextMenu_Schema.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.CTMenuSchema_NewSchema,
     this.deleteAllSchemesToolStripMenuItem});
     this.ContextMenu_Schema.Name = "ContextMenu_Schema";
     this.ContextMenu_Schema.Size = new System.Drawing.Size(197, 48);
     //
     // CTMenuSchema_NewSchema
     //
     this.CTMenuSchema_NewSchema.Name = "CTMenuSchema_NewSchema";
     this.CTMenuSchema_NewSchema.Size = new System.Drawing.Size(196, 22);
     this.CTMenuSchema_NewSchema.Text = "&New Scheme";
     this.CTMenuSchema_NewSchema.Click += new System.EventHandler(this.CTMenuSchema_NewSchema_Click);
     //
     // deleteAllSchemesToolStripMenuItem
     //
     this.deleteAllSchemesToolStripMenuItem.Name = "deleteAllSchemesToolStripMenuItem";
     this.deleteAllSchemesToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
     this.deleteAllSchemesToolStripMenuItem.Text = "Delete All Schemes";
     this.deleteAllSchemesToolStripMenuItem.Click += new System.EventHandler(this.deleteAllSchemesToolStripMenuItem_Click);
     //
     // ContextMenu_SchemaNode
     //
     this.ContextMenu_SchemaNode.Font = new System.Drawing.Font("Lucida Sans Unicode", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ContextMenu_SchemaNode.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.CTMenuSchNode_OpenSchema,
     this.CTMenuSchNode_DeleteSchema,
     this.renameSchemeToolStripMenuItem});
     this.ContextMenu_SchemaNode.Name = "ContextMenu_Table";
     this.ContextMenu_SchemaNode.Size = new System.Drawing.Size(178, 70);
     //
     // CTMenuSchNode_OpenSchema
     //
     this.CTMenuSchNode_OpenSchema.Name = "CTMenuSchNode_OpenSchema";
     this.CTMenuSchNode_OpenSchema.Size = new System.Drawing.Size(177, 22);
     this.CTMenuSchNode_OpenSchema.Text = "&Open Scheme";
     this.CTMenuSchNode_OpenSchema.ToolTipText = "Tạo quan hệ mới";
     this.CTMenuSchNode_OpenSchema.Click += new System.EventHandler(this.CTMenuSchNode_OpenSchema_Click);
     //
     // CTMenuSchNode_DeleteSchema
     //
     this.CTMenuSchNode_DeleteSchema.Name = "CTMenuSchNode_DeleteSchema";
     this.CTMenuSchNode_DeleteSchema.Size = new System.Drawing.Size(177, 22);
     this.CTMenuSchNode_DeleteSchema.Text = "&Delete Scheme";
     this.CTMenuSchNode_DeleteSchema.Click += new System.EventHandler(this.CTMenuSchNode_DeleteSchema_Click);
     //
     // renameSchemeToolStripMenuItem
     //
     this.renameSchemeToolStripMenuItem.Name = "renameSchemeToolStripMenuItem";
     this.renameSchemeToolStripMenuItem.Size = new System.Drawing.Size(177, 22);
     this.renameSchemeToolStripMenuItem.Text = "Rename Scheme";
     this.renameSchemeToolStripMenuItem.Click += new System.EventHandler(this.renameSchemeToolStripMenuItem_Click);
     //
     // ContextMenu_Query
     //
     this.ContextMenu_Query.Font = new System.Drawing.Font("Lucida Sans Unicode", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ContextMenu_Query.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.CTMenuQuery_NewQuery,
     this.CTMenuQuery_DeleteQueries});
     this.ContextMenu_Query.Name = "ContextMenu_Query";
     this.ContextMenu_Query.Size = new System.Drawing.Size(190, 48);
     //
     // CTMenuQuery_NewQuery
     //
     this.CTMenuQuery_NewQuery.Name = "CTMenuQuery_NewQuery";
     this.CTMenuQuery_NewQuery.Size = new System.Drawing.Size(189, 22);
     this.CTMenuQuery_NewQuery.Text = "&New Query";
     this.CTMenuQuery_NewQuery.Click += new System.EventHandler(this.CTMenuQuery_NewQuery_Click);
     //
     // CTMenuQuery_DeleteQueries
     //
     this.CTMenuQuery_DeleteQueries.Name = "CTMenuQuery_DeleteQueries";
     this.CTMenuQuery_DeleteQueries.Size = new System.Drawing.Size(189, 22);
     this.CTMenuQuery_DeleteQueries.Text = "&Delete All Queries";
     this.CTMenuQuery_DeleteQueries.Click += new System.EventHandler(this.CTMenuQuery_DeleteQueries_Click);
     //
     // ContextMenu_QueryNode
     //
     this.ContextMenu_QueryNode.Font = new System.Drawing.Font("Lucida Sans Unicode", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ContextMenu_QueryNode.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.CTMenuQueryNode_OpenQuery,
     this.CTMenuQuery_DeleteQuery,
     this.CTMenuQuery_RenameQuery,
     this.executeQueryToolStripMenuItem});
     this.ContextMenu_QueryNode.Name = "ContextMenu_Query";
     this.ContextMenu_QueryNode.Size = new System.Drawing.Size(167, 92);
     //
     // CTMenuQueryNode_OpenQuery
     //
     this.CTMenuQueryNode_OpenQuery.Name = "CTMenuQueryNode_OpenQuery";
     this.CTMenuQueryNode_OpenQuery.Size = new System.Drawing.Size(166, 22);
     this.CTMenuQueryNode_OpenQuery.Text = "&Open Query";
     this.CTMenuQueryNode_OpenQuery.Click += new System.EventHandler(this.CTMenuQueryNode_OpenQuery_Click);
     //
     // CTMenuQuery_DeleteQuery
     //
     this.CTMenuQuery_DeleteQuery.Name = "CTMenuQuery_DeleteQuery";
     this.CTMenuQuery_DeleteQuery.Size = new System.Drawing.Size(166, 22);
     this.CTMenuQuery_DeleteQuery.Text = "&Delete Query";
     this.CTMenuQuery_DeleteQuery.Click += new System.EventHandler(this.CTMenuQuery_DeleteQuery_Click);
     //
     // CTMenuQuery_RenameQuery
     //
     this.CTMenuQuery_RenameQuery.Name = "CTMenuQuery_RenameQuery";
     this.CTMenuQuery_RenameQuery.Size = new System.Drawing.Size(166, 22);
     this.CTMenuQuery_RenameQuery.Text = "&Rename Query";
     this.CTMenuQuery_RenameQuery.Click += new System.EventHandler(this.CTMenuQuery_RenameQuery_Click);
     //
     // executeQueryToolStripMenuItem
     //
     this.executeQueryToolStripMenuItem.Name = "executeQueryToolStripMenuItem";
     this.executeQueryToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
     this.executeQueryToolStripMenuItem.Text = "Execute Query";
     this.executeQueryToolStripMenuItem.Click += new System.EventHandler(this.executeQueryToolStripMenuItem_Click);
     //
     // iAbout
     //
     this.iAbout.Caption = "About";
     this.iAbout.Description = "Displays general program information.";
     this.iAbout.Hint = "Displays general program information";
     this.iAbout.Id = 24;
     this.iAbout.ImageIndex = 8;
     this.iAbout.LargeImageIndex = 4;
     this.iAbout.Name = "iAbout";
     //
     // barButtonItem12
     //
     this.barButtonItem12.Caption = "Exit";
     this.barButtonItem12.Description = "Closes this program after prompting you to save unsaved data";
     this.barButtonItem12.Hint = "Closes this program after prompting you to save unsaved data";
     this.barButtonItem12.Id = 74;
     this.barButtonItem12.LargeImageIndex = 2;
     this.barButtonItem12.Name = "barButtonItem12";
     //
     // frmMain
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(867, 551);
     this.Controls.Add(this.splitContainerControl);
     this.Controls.Add(this.ribbonControl);
     this.Controls.Add(this.popupControlContainer1);
     this.Controls.Add(this.popupControlContainer2);
     this.Controls.Add(this.ribbonStatusBar);
     this.Cursor = System.Windows.Forms.Cursors.Default;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name = "frmMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Fuzzy Relational Database System";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMain_FormClosing);
     this.Load += new System.EventHandler(this.frmMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl)).EndInit();
     this.splitContainerControl.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabDatabase)).EndInit();
     this.xtraTabDatabase.ResumeLayout(false);
     this.tabScheme.ResumeLayout(false);
     this.tabScheme.PerformLayout();
     this.BindingNavigatorDesign.ResumeLayout(false);
     this.BindingNavigatorDesign.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GridViewDesign)).EndInit();
     this.tabRelation.ResumeLayout(false);
     this.tabRelation.PerformLayout();
     this.BindingNavigatorData.ResumeLayout(false);
     this.BindingNavigatorData.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GridViewData)).EndInit();
     this.tabQuery.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabQueryResult)).EndInit();
     this.xtraTabQueryResult.ResumeLayout(false);
     this.xtraTabResult.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.GridViewResult)).EndInit();
     this.xtraTabMessage.ResumeLayout(false);
     this.xtraTabMessage.PerformLayout();
     this.tabFuzzy.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.appMenu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer2)).EndInit();
     this.popupControlContainer2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.buttonEdit.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).EndInit();
     this.popupControlContainer1.ResumeLayout(false);
     this.popupControlContainer1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ribbonImageCollection)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ribbonImageCollectionLarge)).EndInit();
     this.ContextMenu_Database.ResumeLayout(false);
     this.ContextMenu_Relation.ResumeLayout(false);
     this.ContextMenu_RelationNode.ResumeLayout(false);
     this.ContextMenu_Schema.ResumeLayout(false);
     this.ContextMenu_SchemaNode.ResumeLayout(false);
     this.ContextMenu_Query.ResumeLayout(false);
     this.ContextMenu_QueryNode.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        static public void Main()
        {

            MotherForm.AddPanel(ClubAdmin.Instance);

            ClubAdmin.Instance.AddView(new ExtracurricularActivitiesView());

            //驗證規則
            FactoryProvider.FieldFactory.Add(new CLUBFieldValidatorFactory());


            #region 匯出學生選課資料

            K12.Presentation.NLDPanels.Student.RibbonBarItems["资料统计"]["汇出"].Size = RibbonBarButton.MenuButtonSize.Large;
            K12.Presentation.NLDPanels.Student.RibbonBarItems["资料统计"]["汇出"].Image = Properties.Resources.Export_Image;
            K12.Presentation.NLDPanels.Student.RibbonBarItems["资料统计"]["汇出"]["拓展性课程"]["汇出学生选课纪录"].Enable = Permissions.匯出社團學生名單權限;
            K12.Presentation.NLDPanels.Student.RibbonBarItems["资料统计"]["汇出"]["拓展性课程"]["汇出学生选课纪录"].Click += delegate
            {
                SmartSchool.API.PlugIn.Export.Exporter exporter = new K12.Club.General.Zizhu.ImportExport.ExportSCJoin();

                ExportStudentV2 wizard = new ExportStudentV2(exporter.Text, exporter.Image);
                exporter.InitializeExport(wizard);
                wizard.ShowDialog();
            };

            #endregion

            #region 產生修課成績報表

            //            K12.Presentation.NLDPanels.Student.RibbonBarItems["资料统计"]["报表"]["拓展性课程"]["打印成绩单"].Enable = false;
            //            K12.Presentation.NLDPanels.Student.RibbonBarItems["资料统计"]["报表"]["拓展性课程"]["打印成绩单"].Click += delegate
            //            {
            //                #region 列印成績單
            //                QueryHelper _Q = new QueryHelper();
            //                List<string> _ids = new List<string>(K12.Presentation.NLDPanels.Student.SelectedSource);
            //                bool fieldMode = false;
            //                Dictionary<Document, string> documents = new Dictionary<Document, string>();

            //                BackgroundWorker bkw = new BackgroundWorker();
            //                bkw.WorkerReportsProgress = true;
            //                bkw.RunWorkerCompleted += delegate
            //                {
            //                    FISCA.Presentation.MotherForm.SetStatusBarMessage("拓展性课程学生成绩单产生完成。", 100);
            //                    List<string> files = new List<string>();
            //                    foreach (var doc in documents.Keys)
            //                    {

            //                        SaveFileDialog save = new SaveFileDialog();
            //                        save.Title = "另存新档";
            //                        save.FileName = documents[doc];
            //                        save.Filter = "Word档案 (*.docx)|*.docx|Word档案 (*.doc)|*.doc|所有档案 (*.*)|*.*";

            //                        if (save.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            //                        {
            //                            try
            //                            {
            //                                doc.Save(save.FileName);
            //                                files.Add(save.FileName);
            //                            }
            //                            catch
            //                            {
            //                                MessageBox.Show("档案储存失败。");
            //                            }
            //                        }
            //                    }
            //                    foreach (var file in files)
            //                    {
            //                        System.Diagnostics.Process.Start(file);
            //                    }
            //                };
            //                bkw.ProgressChanged += delegate(object sender, ProgressChangedEventArgs e)
            //                {
            //                    FISCA.Presentation.MotherForm.SetStatusBarMessage("拓展性课程学生成绩单产生中...", e.ProgressPercentage);
            //                };

            //                bkw.DoWork += delegate
            //                {
            //                    Dictionary<string, DataRow> dicStudentRow = new Dictionary<string, DataRow>();
            //                    DataTable mergeDT = new DataTable();

            //                    mergeDT.Columns.Add("学年度");
            //                    mergeDT.Columns.Add("学期");
            //                    mergeDT.Columns.Add("姓名");
            //                    mergeDT.Columns.Add("学籍号");
            //                    mergeDT.Columns.Add("年级");
            //                    mergeDT.Columns.Add("班级");
            //                    mergeDT.Columns.Add("学号");

            //                    DataTable dt = _Q.Select(string.Format(@"
            //SELECT 
            //    $k12.clubrecord.universal.school_year,
            //    $k12.clubrecord.universal.semester,
            //    $k12.clubrecord.universal.club_category,
            //    $k12.clubrecord.universal.club_name,
            //    $k12.clubrecord.universal.club_number,
            //    phase,
            //    student.id,
            //    student.name,
            //    student.student_number, 
            //    student.seat_no,
            //    class.class_name as classname,
            //    class.grade_year,
            //    asmS.detial as detialS,
            //    asmT.detial as detialT
            //FROM
            //    student
            //    LEFT OUTER JOIN class on student.ref_class_id = class.id
            //    LEFT OUTER JOIN $k12.scjoin.universal on student.id = $k12.scjoin.universal.ref_student_id::bigint
            //    LEFT OUTER JOIN $k12.clubrecord.universal on $k12.clubrecord.universal.uid = $k12.scjoin.universal.ref_club_id::bigint
            //    LEFT OUTER JOIN $ischool.club.assessment as asmS on asmS.ref_student_id = student.id and asmS.ref_club_id = $k12.clubrecord.universal.uid and asmS.assessment_type='student'
            //    LEFT OUTER JOIN $ischool.club.assessment as asmT on asmT.ref_student_id = student.id and asmT.ref_club_id = $k12.clubrecord.universal.uid and asmT.assessment_type='teacher'
            //WHERE
            //    student.id in ({0}) and $k12.clubrecord.universal.school_year = {1} and $k12.clubrecord.universal.semester = {2}
            //ORDER BY class.grade_year, class.display_order, student.seat_no, phase
            //                        ", string.Join(",", _ids), K12.Data.School.DefaultSchoolYear, K12.Data.School.DefaultSemester));
            //                    var count = 0;
            //                    foreach (DataRow row in dt.Rows)
            //                    {
            //                        count++;
            //                        if (!dicStudentRow.ContainsKey("" + row["id"]))
            //                        {
            //                            var stuRow = mergeDT.Rows.Add();
            //                            stuRow[mergeDT.Columns.IndexOf("学年度")] = "" + row["school_year"];
            //                            stuRow[mergeDT.Columns.IndexOf("学期")] = "" + row["semester"];
            //                            stuRow[mergeDT.Columns.IndexOf("姓名")] = "" + row["name"];
            //                            stuRow[mergeDT.Columns.IndexOf("学籍号")] = "" + row["student_number"];
            //                            stuRow[mergeDT.Columns.IndexOf("年级")] = "" + row["grade_year"];
            //                            stuRow[mergeDT.Columns.IndexOf("班级")] = "" + row["classname"];
            //                            stuRow[mergeDT.Columns.IndexOf("学号")] = "" + row["seat_no"];
            //                            dicStudentRow.Add("" + row["id"], stuRow);
            //                        }
            //                        var studentRow = dicStudentRow["" + row["id"]];


            //                        var level = "阶段" + row["phase"];
            //                        {
            //                            var key = level + "_课程类别";
            //                            if (!mergeDT.Columns.Contains(key))
            //                                mergeDT.Columns.Add(key);
            //                            studentRow[mergeDT.Columns.IndexOf(key)] = "" + row["club_category"];
            //                        }
            //                        {
            //                            var key = level + "_课程名称";
            //                            if (!mergeDT.Columns.Contains(key))
            //                                mergeDT.Columns.Add(key);
            //                            studentRow[mergeDT.Columns.IndexOf(key)] = "" + row["club_name"];
            //                        }
            //                        {
            //                            var key = level + "_课程代码";
            //                            if (!mergeDT.Columns.Contains(key))
            //                                mergeDT.Columns.Add(key);
            //                            studentRow[mergeDT.Columns.IndexOf(key)] = "" + row["club_number"]; ;
            //                        }

            //                        var doc = new XmlDocument();
            //                        if ("" + row["detialS"] != "")
            //                        {
            //                            doc.LoadXml("" + row["detialS"]);
            //                            foreach (XmlNode node in doc.DocumentElement.ChildNodes)
            //                            {
            //                                var key = level + "_学生自评_" + node.Name;
            //                                var value = "" + node.InnerText;
            //                                if (!mergeDT.Columns.Contains(key))
            //                                    mergeDT.Columns.Add(key);//Q1評語
            //                                studentRow[mergeDT.Columns.IndexOf(key)] = value;
            //                            }
            //                        }
            //                        if ("" + row["detialT"] != "")
            //                        {
            //                            doc.LoadXml("" + row["detialT"]);
            //                            foreach (XmlNode node in doc.DocumentElement.ChildNodes)
            //                            {
            //                                var key = level + "_教师评鉴_" + node.Name;
            //                                var value = "" + node.InnerText;
            //                                if (!mergeDT.Columns.Contains(key))
            //                                    mergeDT.Columns.Add(key);//Q1評語
            //                                studentRow[mergeDT.Columns.IndexOf(key)] = value;
            //                            }
            //                        }
            //                        bkw.ReportProgress(100 * count / dt.Rows.Count);
            //                    }

            //                    if (fieldMode)
            //                    {
            //                        Document doc = new Document();
            //                        DocumentBuilder bu = new DocumentBuilder(doc);
            //                        bu.MoveToDocumentStart();
            //                        bu.CellFormat.Borders.LineStyle = LineStyle.Single;
            //                        bu.CellFormat.VerticalAlignment = CellVerticalAlignment.Center;
            //                        Table table = bu.StartTable();
            //                        foreach (DataColumn col in mergeDT.Columns)
            //                        {

            //                            bu.InsertCell();
            //                            bu.CellFormat.Width = 15;
            //                            bu.InsertField("MERGEFIELD " + col.Caption + @" \* MERGEFORMAT", "«.»");
            //                            bu.ParagraphFormat.Alignment = ParagraphAlignment.Center;

            //                            bu.InsertCell();
            //                            bu.CellFormat.Width = 125;
            //                            bu.Write(col.Caption);
            //                            bu.ParagraphFormat.Alignment = ParagraphAlignment.Left;

            //                            bu.EndRow();
            //                        }
            //                        //table.AllowAutoFit = false;
            //                        bu.EndTable();
            //                        documents.Add(doc, "拓展性课程学生成绩单合并栏位表.doc");
            //                    }
            //                    else
            //                    {
            //                        var doc = new Document(new MemoryStream(Properties.Resources.華東師範大學附屬紫竹小學拓展性課程成績單));
            //                        //        //合併,儲存
            //                        doc.MailMerge.Execute(mergeDT);
            //                        doc.MailMerge.DeleteFields();

            //                        documents.Add(doc, "拓展性课程学生成绩单.doc");
            //                    }
            //                };
            //                bkw.RunWorkerAsync();
            //                FISCA.Presentation.MotherForm.SetStatusBarMessage("拓展性课程学生成绩单产生中...", 0);
            //                #endregion
            //            };
            //            K12.Presentation.NLDPanels.Student.SelectedSourceChanged += delegate
            //            {
            //                K12.Presentation.NLDPanels.Student.RibbonBarItems["资料统计"]["报表"]["拓展性课程"]["打印成绩单"].Enable = K12.Presentation.NLDPanels.Student.SelectedSource.Count > 0;
            //            };

            #endregion

            #region 社團基本資料

            FeatureAce UserPermission = FISCA.Permission.UserAcl.Current[Permissions.社團基本資料];
            if (UserPermission.Editable || UserPermission.Viewable)
                ClubAdmin.Instance.AddDetailBulider(new FISCA.Presentation.DetailBulider<ClubDetailItem>());

            //社團照片
            UserPermission = FISCA.Permission.UserAcl.Current[Permissions.社團照片];
            if (UserPermission.Editable || UserPermission.Viewable)
                ClubAdmin.Instance.AddDetailBulider(new FISCA.Presentation.DetailBulider<ClubImageItem>());


            UserPermission = FISCA.Permission.UserAcl.Current[Permissions.社團限制];
            if (UserPermission.Editable || UserPermission.Viewable)
                ClubAdmin.Instance.AddDetailBulider(new FISCA.Presentation.DetailBulider<ClubRestrictItem>());


            UserPermission = FISCA.Permission.UserAcl.Current[Permissions.社團參與學生];
            if (UserPermission.Editable || UserPermission.Viewable)
            {
                ClubAdmin.Instance.AddDetailBulider(new FISCA.Presentation.DetailBulider<ClubStudent>());
                ClubAdmin.Instance.AddDetailBulider(new FISCA.Presentation.DetailBulider<ClubStudent_2>());
                //ClubAdmin.Instance.AddDetailBulider(new FISCA.Presentation.DetailBulider<ClubStudent_3>());
            }

            UserPermission = FISCA.Permission.UserAcl.Current[Permissions.學生社團成績_資料項目];
            if (UserPermission.Editable || UserPermission.Viewable)
                K12.Presentation.NLDPanels.Student.AddDetailBulider(new FISCA.Presentation.DetailBulider<StudentResultItem>());


            #endregion

            #region 編輯

            RibbonBarItem edit = ClubAdmin.Instance.RibbonBarItems["编辑"];
            edit["新增课程"].Size = RibbonBarButton.MenuButtonSize.Large;
            edit["新增课程"].Image = Properties.Resources.health_and_leisure_add_64;
            edit["新增课程"].Enable = Permissions.新增社團權限;
            edit["新增课程"].Click += delegate
            {
                NewAddClub insert = new NewAddClub();
                insert.ShowDialog();
            };

            edit["复制课程"].Size = RibbonBarButton.MenuButtonSize.Large;
            edit["复制课程"].Image = Properties.Resources.rotate_64;
            edit["复制课程"].Enable = false;
            edit["复制课程"].Click += delegate
            {
                CopyClub insert = new CopyClub();
                insert.ShowDialog();
            };

            edit["删除课程"].Size = RibbonBarButton.MenuButtonSize.Large;
            edit["删除课程"].Image = Properties.Resources.health_and_leisure_remove_64;
            edit["删除课程"].Enable = false;
            edit["删除课程"].Click += delegate
            {
                DeleteClub();
            };

            RibbonBarItem totle = ClubAdmin.Instance.RibbonBarItems["资料统计"];
            totle["汇出"].Size = RibbonBarButton.MenuButtonSize.Large;
            totle["汇出"].Image = Properties.Resources.Export_Image;

            totle["汇入"].Size = RibbonBarButton.MenuButtonSize.Large;
            totle["汇入"].Image = Properties.Resources.Import_Image;

            totle["报表"].Size = RibbonBarButton.MenuButtonSize.Large;
            totle["报表"].Image = Properties.Resources.Report;


            totle["汇出"]["汇出课程基本资料"].Enable = Permissions.匯出社團基本資料權限;
            totle["汇出"]["汇出课程基本资料"].Click += delegate
            {
                SmartSchool.API.PlugIn.Export.Exporter exporter = new ExportCLUBData();
                ExportClub wizard = new ExportClub(exporter.Text, exporter.Image);
                exporter.InitializeExport(wizard);
                wizard.ShowDialog();
            };

            totle["汇入"]["汇入课程基本资料"].Enable = Permissions.匯入社團基本資料權限;
            totle["汇入"]["汇入课程基本资料"].Click += delegate
            {
                new ImportCLUBData().Execute();
            };


            totle["报表"]["课程点名单(套表列印)"].Enable = false;
            totle["报表"]["课程点名单(套表列印)"].Click += delegate
            {
                ClubPointsListForm insert = new ClubPointsListForm();
                insert.ShowDialog();
            };

            totle["报表"]["打印学习过程记录表"].Enable = false;
            totle["报表"]["打印学习过程记录表"].Click += delegate
            {
                MotherForm.SetStatusBarMessage("学习过程记录表產生中...", 0);
                #region 打印成绩单
                BackgroundWorker bkw = new BackgroundWorker();
                bkw.WorkerReportsProgress = true;
                bkw.ProgressChanged += delegate(object sender, ProgressChangedEventArgs e)
                {
                    MotherForm.SetStatusBarMessage("学习过程记录表產生中...", e.ProgressPercentage);
                };
                bkw.DoWork += delegate(object sender, DoWorkEventArgs e)
                {
                    Dictionary<string, DataRow> scJoinRow = new Dictionary<string, DataRow>();
                    Dictionary<string, DataRow> teacherAssessmentRow = new Dictionary<string, DataRow>();
                    Dictionary<string, DataRow> studentAssessmentRow = new Dictionary<string, DataRow>();
                    Dictionary<string, List<DataRow>> mateAssessmentRow = new Dictionary<string, List<DataRow>>();
                    QueryHelper queryHelper = new QueryHelper();
                    var rows = queryHelper.Select(string.Format(@"
SELECT $k12.scjoin.universal.score, 
    $k12.scjoin.universal.phase,
	clevel.C优秀, 
	clevel.C良好, 
	clevel.C合格, 
	clevel.C需努力, 
	domainSum.SUM文学与艺术,
	domainSum.SUM社会与生活,
	domainSum.SUM运动与生命,
	domainSum.SUM科技与创新,
	domainSum.SUM世界与未来,
	$ischool.club.assessment.* 
FROM $k12.scjoin.universal
	LEFT OUTER JOIN $ischool.club.assessment on $k12.scjoin.universal.ref_club_id::bigint = $ischool.club.assessment.ref_club_id AND $k12.scjoin.universal.ref_student_id::bigint = $ischool.club.assessment.ref_student_id  
	LEFT OUTER JOIN ( 
		SELECT ref_club_id, phase,  
			COUNT(CASE (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END) WHEN 3 THEN 1 END ) as C优秀, 
			COUNT(CASE (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END) WHEN 2 THEN 1 END ) as C良好, 
			COUNT(CASE (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END) WHEN 1 THEN 1 END ) as C合格, 
			COUNT(CASE (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END) WHEN 0 THEN 1 END ) as C需努力 
		FROM $k12.scjoin.universal 
		GROUP BY ref_club_id, phase 
	) as clevel on clevel.ref_club_id = $k12.scjoin.universal.ref_club_id AND clevel.phase = $k12.scjoin.universal.phase 
	LEFT OUTER JOIN (
		SELECT $k12.scjoin.universal.ref_student_id,
			SUM( CASE LEFT(club_domain, 5) WHEN '文学与艺术' THEN  (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END * CASE full_phase WHEN true THEN 2 ELSE 1 END) END ) as SUM文学与艺术,
			SUM( CASE LEFT(club_domain, 5) WHEN '社会与生活' THEN  (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END * CASE full_phase WHEN true THEN 2 ELSE 1 END) END ) as SUM社会与生活,
			SUM( CASE LEFT(club_domain, 5) WHEN '运动与生命' THEN  (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END * CASE full_phase WHEN true THEN 2 ELSE 1 END) END ) as SUM运动与生命,
			SUM( CASE LEFT(club_domain, 5) WHEN '科技与创新' THEN  (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END * CASE full_phase WHEN true THEN 2 ELSE 1 END) END ) as SUM科技与创新,
			SUM( CASE LEFT(club_domain, 5) WHEN '世界与未来' THEN  (CASE WHEN score is null THEN 0 WHEN score::int <18 THEN 0 WHEN score::int < 24 THEN 1 WHEN score::int < 27 THEN 2 ELSE 3 END * CASE full_phase WHEN true THEN 2 ELSE 1 END) END ) as SUM世界与未来
		FROM $k12.scjoin.universal LEFT OUTER JOIN $k12.clubrecord.universal on $k12.scjoin.universal.ref_club_id::bigint = $k12.clubrecord.universal.uid
		WHERE $k12.scjoin.universal.grade_year is not null 
			AND score is not null
		GROUP BY $k12.scjoin.universal.ref_student_id
	) as domainSum on domainSum.ref_student_id = $k12.scjoin.universal.ref_student_id
WHERE $ischool.club.assessment.ref_club_id in ('" + string.Join("','", ClubAdmin.Instance.SelectedSource) + "')"));
                    foreach (DataRow row in rows.Rows)
                    {
                        var ref_student_id = "" + row["ref_student_id"];
                        var ref_club_id = "" + row["ref_club_id"];
                        var assessment_type = "" + row["assessment_type"];

                        var key = ref_club_id + "^" + ref_student_id + "^" + row["phase"];
                        if (!scJoinRow.ContainsKey(key))
                            scJoinRow.Add(key, row);

                        if (assessment_type == "teacher")
                        {
                            teacherAssessmentRow.Add(key, row);
                        }
                        if (assessment_type == "student")
                        {
                            studentAssessmentRow.Add(key, row);
                        }
                        if (assessment_type == "mate")
                        {
                            if (!mateAssessmentRow.ContainsKey(key))
                                mateAssessmentRow.Add(key, new List<DataRow>());
                            mateAssessmentRow[key].Add(row);
                        }
                    }

                    SCJoinDataLoad crM1 = new SCJoinDataLoad(1);
                    SCJoinDataLoad crM2 = new SCJoinDataLoad(2);

                    DataTable table = new DataTable();
                    table.Columns.Add("学校名称");
                    table.Columns.Add("课程名称");
                    table.Columns.Add("学年度");
                    table.Columns.Add("学期");

                    table.Columns.Add("上课地点");
                    table.Columns.Add("课程类型");
                    table.Columns.Add("课程领域");
                    table.Columns.Add("指导老师1");
                    table.Columns.Add("指导老师2");
                    table.Columns.Add("指导老师3");

                    table.Columns.Add("打印日期");

                    table.Columns.Add("班级");
                    table.Columns.Add("学号");
                    table.Columns.Add("学籍号");
                    table.Columns.Add("姓名");

                    table.Columns.Add("总体评价(分数)");
                    table.Columns.Add("总体评价(文字)");

                    table.Columns.Add("C优秀");
                    table.Columns.Add("C良好");
                    table.Columns.Add("C合格");
                    table.Columns.Add("C需努力");

                    table.Columns.Add("SUM文学与艺术");
                    table.Columns.Add("SUM社会与生活");
                    table.Columns.Add("SUM运动与生命");
                    table.Columns.Add("SUM科技与创新");
                    table.Columns.Add("SUM世界与未来");

                    foreach (var field in new string[] { "家长评价", "感想", "继续学习", "学习动力", "学习成果", "合作分享", "探究兴趣", "学习态度" })
                    {
                        table.Columns.Add(field);
                    }

                    foreach (var field in new string[] { "参与度", "合作力", "实效性" })
                    {
                        table.Columns.Add(field);
                    }

                    foreach (var field in new string[] { "参与度.出勤率", "参与度.交流表达", "实效性.作业完成", "实效性.作品呈现", "学习力1", "学习力2", "学习力1Title", "学习力2Title", "教师的话" })
                    {
                        table.Columns.Add(field);
                    }
                    //table.Columns.Add("雷达图", typeof(byte[]));
                    //table.Columns.Add("雷达图", typeof(System.Drawing.Bitmap));
                    table.Columns.Add("雷达图", typeof(System.Windows.Forms.DataVisualization.Charting.Chart));

                    int progressCount = 0;
                    foreach (string clubID in crM1.CLUBRecordDic.Keys)
                    {
                        bkw.ReportProgress(++progressCount * 100 / crM1.CLUBRecordDic.Count);
                        foreach (SCJoinDataLoad crM in new SCJoinDataLoad[] { crM1, crM2 })
                        {
                            //社團資料
                            CLUBRecord clubRec = crM.CLUBRecordDic[clubID];
                            foreach (K12.Data.StudentRecord studentRec in crM.ClubByStudentList[clubID])
                            {
                                var key = "" + clubRec.UID + "^" + studentRec.ID + "^" + (crM == crM1 ? "1" : "2");
                                if (scJoinRow.ContainsKey(key))
                                {
                                    //沒有成績不印
                                    if (("" + scJoinRow[key]["score"]) == "")
                                        continue;
                                    Dictionary<string, decimal> radarValues = new Dictionary<string, decimal>();
                                    DataRow row = table.NewRow();
                                    row["学校名称"] = K12.Data.School.ChineseName;
                                    row["课程名称"] = clubRec.ClubName;
                                    row["学年度"] = clubRec.SchoolYear;
                                    row["学期"] = clubRec.Semester;

                                    row["上课地点"] = clubRec.Location;
                                    row["课程类型"] = clubRec.ClubCategory;
                                    row["课程领域"] = clubRec.Domain.Length >= 5 ? clubRec.Domain.Substring(0, 5) : clubRec.Domain;
                                    if (crM.TeacherDic.ContainsKey(clubRec.RefTeacherID))
                                    {
                                        row["指导老师1"] = crM.TeacherDic[clubRec.RefTeacherID].Name;
                                    }
                                    if (crM.TeacherDic.ContainsKey(clubRec.RefTeacherID2))
                                    {
                                        row["指导老师2"] = crM.TeacherDic[clubRec.RefTeacherID2].Name;
                                    }
                                    if (crM.TeacherDic.ContainsKey(clubRec.RefTeacherID3))
                                    {
                                        row["指导老师3"] = crM.TeacherDic[clubRec.RefTeacherID3].Name;
                                    }

                                    row["打印日期"] = DateTime.Today.ToShortDateString();

                                    row["班级"] = studentRec.Class != null ? studentRec.Class.Name : "";
                                    row["学号"] = studentRec.SeatNo.HasValue ? studentRec.SeatNo.Value.ToString() : "";
                                    row["姓名"] = studentRec.Name;
                                    row["学籍号"] = studentRec.StudentNumber;

                                    var score = int.Parse("" + scJoinRow[key]["score"]);
                                    row["总体评价(分数)"] = score;
                                    row["总体评价(文字)"] = score >= 27 ? "优秀" : score >= 24 ? "良好" : score >= 18 ? "合格" : "需努力";

                                    foreach (var field in new string[] { "C优秀", "C良好", "C合格", "C需努力", "SUM文学与艺术", "SUM社会与生活", "SUM运动与生命", "SUM科技与创新", "SUM世界与未来" })
                                    {
                                        row[field] = "" + scJoinRow[key][field] == "" ? "--" : scJoinRow[key][field];
                                    }



                                    if (teacherAssessmentRow.ContainsKey(key))
                                    {
                                        XmlDocument doc = new XmlDocument();
                                        doc.LoadXml("" + teacherAssessmentRow[key]["detial"]);
                                        foreach (var field in new string[] { "参与度.出勤率", "参与度.交流表达", "实效性.作业完成", "实效性.作品呈现" })
                                        {
                                            XmlElement ele = doc.DocumentElement.SelectSingleNode(field) as XmlElement;
                                            if (ele != null)
                                            {
                                                row[field] = ele.InnerText;
                                                //radarValues
                                            }
                                        }

                                        switch ("" + row["课程领域"])
                                        {
                                            case "文学与艺术":
                                                row["学习力1Title"] = "审美力";
                                                row["学习力2Title"] = "表现力";
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.审美力") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力1"] = ele.InnerText;
                                                }
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.表现力") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力2"] = ele.InnerText;
                                                }
                                                break;

                                            case "社会与生活":
                                                row["学习力1Title"] = "情趣性";
                                                row["学习力2Title"] = "实践力";
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.情趣性") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力1"] = ele.InnerText;
                                                }
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.实践力") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力2"] = ele.InnerText;
                                                }
                                                break;

                                            case "运动与生命":
                                                row["学习力1Title"] = "健康度";
                                                row["学习力2Title"] = "调适力";
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.健康度") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力1"] = ele.InnerText;
                                                }
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.调适力") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力2"] = ele.InnerText;
                                                }
                                                break;

                                            case "科技与创新":
                                                row["学习力1Title"] = "思维度";
                                                row["学习力2Title"] = "创造力";
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.思维度") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力1"] = ele.InnerText;
                                                }
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.创造力") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力2"] = ele.InnerText;
                                                }
                                                break;

                                            case "世界与未来":
                                                row["学习力1Title"] = "责任心";
                                                row["学习力2Title"] = "自信力";
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.责任心") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力1"] = ele.InnerText;
                                                }
                                                {
                                                    XmlElement ele = doc.DocumentElement.SelectSingleNode("学习力.自信力") as XmlElement;
                                                    if (ele != null)
                                                        row["学习力2"] = ele.InnerText;
                                                }
                                                break;
                                        }

                                        {

                                            XmlElement ele = doc.DocumentElement.SelectSingleNode("教师的话") as XmlElement;
                                            if (ele != null)
                                                row["教师的话"] = ele.InnerText;
                                        }
                                        foreach (var field in new string[] { "参与度.出勤率", "参与度.交流表达", "实效性.作业完成", "实效性.作品呈现" })
                                        {
                                            if (("" + row[field]).StartsWith("A"))
                                                radarValues.Add(field.Split('.')[1], 3);
                                            else if (("" + row[field]).StartsWith("B"))
                                                radarValues.Add(field.Split('.')[1], 2);
                                            else if (("" + row[field]).StartsWith("C"))
                                                radarValues.Add(field.Split('.')[1], 1);
                                            else
                                                radarValues.Add(field.Split('.')[1], 0);
                                        }
                                        foreach (var field in new string[] { "学习力1", "学习力2" })
                                        {
                                            if (("" + row[field]).StartsWith("A"))
                                                radarValues.Add("" + row[field + "Title"], 3);
                                            else if (("" + row[field]).StartsWith("B"))
                                                radarValues.Add("" + row[field + "Title"], 2);
                                            else if (("" + row[field]).StartsWith("C"))
                                                radarValues.Add("" + row[field + "Title"], 1);
                                            else
                                                radarValues.Add("" + row[field + "Title"], 0);
                                        }
                                    }

                                    if (studentAssessmentRow.ContainsKey(key))
                                    {
                                        XmlDocument doc = new XmlDocument();
                                        doc.LoadXml("" + studentAssessmentRow[key]["detial"]);

                                        foreach (var field in new string[] { "家长评价", "感想", "继续学习", "学习动力", "学习成果", "合作分享", "探究兴趣", "学习态度" })
                                        {
                                            XmlElement ele = doc.DocumentElement.SelectSingleNode(field) as XmlElement;
                                            if (ele != null)
                                                row[field] = ele.InnerText;
                                        }
                                    }

                                    if (mateAssessmentRow.ContainsKey(key))
                                    {
                                        XmlDocument doc = new XmlDocument();
                                        foreach (var field in new string[] { "参与度", "合作力", "实效性" })
                                        {
                                            decimal count = 0;
                                            decimal sum = 0;
                                            foreach (var r in mateAssessmentRow[key])
                                            {
                                                doc.LoadXml("" + r["detial"]);
                                                XmlElement ele = doc.DocumentElement.SelectSingleNode(field) as XmlElement;
                                                switch (ele.InnerText)
                                                {
                                                    case "优秀":
                                                        sum += 3;
                                                        break;
                                                    case "良好":
                                                        sum += 2;
                                                        break;
                                                    case "合格":
                                                        sum += 1;
                                                        break;
                                                }
                                                count++;
                                            }
                                            switch ("" + (int)Math.Round(sum / count, 0, MidpointRounding.AwayFromZero))
                                            {
                                                case "3":
                                                    row[field] = "优秀";
                                                    break;
                                                case "2":
                                                    row[field] = "良好";
                                                    break;
                                                default:
                                                case "1":
                                                    row[field] = "合格";
                                                    break;
                                            }
                                            radarValues.Add(field, sum / count);
                                        }
                                    }
                                    {
                                        var Chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
                                        Chart1.Series.Add(new System.Windows.Forms.DataVisualization.Charting.Series());

                                        Chart1.Series[0].ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
                                        Chart1.Series[0].Points.DataBindXY(radarValues.Keys, radarValues.Values);

                                        // Set radar chart style (Area, Line or Marker)
                                        Chart1.Series[0]["RadarDrawingStyle"] = "Area";
                                        // Set circular area drawing style (Circle or Polygon)
                                        Chart1.Series[0]["AreaDrawingStyle"] = "Polygon";
                                        // Set labels style (Auto, Horizontal, Circular or Radial)
                                        Chart1.Series[0]["CircularLabelsStyle"] = "Auto";

                                        //Chart1.Series[0]["Font"] = "SimSun";
                                        Chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Pastel;
                                        Chart1.Legends.Add(new System.Windows.Forms.DataVisualization.Charting.Legend());
                                        Chart1.Legends[0].Enabled = false;

                                        switch ("" + row["课程领域"])
                                        //switch (new string[] { "文学与艺术", "社会与生活", "运动与生命", "科技与创新", "世界与未来" }[new Random().Next(4)])
                                        {
                                            case "文学与艺术":
                                                Chart1.Series[0].Color = System.Drawing.Color.FromArgb(168, 244, 164, 37);
                                                break;

                                            case "社会与生活":
                                                Chart1.Series[0].Color = System.Drawing.Color.FromArgb(168, 219, 210, 61);
                                                break;

                                            case "运动与生命":
                                                Chart1.Series[0].Color = System.Drawing.Color.FromArgb(168, 137, 200, 48);
                                                break;

                                            case "科技与创新":
                                                Chart1.Series[0].Color = System.Drawing.Color.FromArgb(168, 86, 208, 198);
                                                break;

                                            case "世界与未来":
                                                Chart1.Series[0].Color = System.Drawing.Color.FromArgb(168, 0, 124, 229);
                                                break;
                                        }

                                        var chartArea = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
                                        chartArea.Position.X = 0;
                                        chartArea.Position.Y = 0;
                                        chartArea.Position.Width = 100;
                                        chartArea.Position.Height = 100;

                                        chartArea.AxisX.LabelAutoFitMinFontSize = 9;
                                        chartArea.AxisX.LabelAutoFitMaxFontSize = 9;
                                        chartArea.AxisX.LabelStyle.Font = new System.Drawing.Font("SimSun", 9, System.Drawing.FontStyle.Regular);
                                        chartArea.AxisX.LabelStyle.ForeColor = System.Drawing.Color.FromArgb(38, 38, 38);

                                        chartArea.AxisX.IsMarginVisible = false;

                                        chartArea.AxisY.Maximum = 3;
                                        chartArea.AxisY.Interval = 1;

                                        chartArea.AxisY.LabelStyle.Enabled = false;
                                        chartArea.AxisY2.MajorGrid.Enabled = false;


                                        Chart1.ChartAreas.Add(chartArea);

                                        row["雷达图"] = Chart1;


                                    }
                                    table.Rows.Add(row);

                                }
                            }
                        }

                    }

                    Document pageOne = new Document(new MemoryStream(Properties.Resources.紫竹成績單樣板));
                    pageOne.MailMerge.FieldMergingCallback = new 雷达图HandleMergeImageFieldFromBlob();
                    pageOne.MailMerge.Execute(table);
                    pageOne.MailMerge.DeleteFields();
                    e.Result = pageOne;
                };
                bkw.RunWorkerCompleted += delegate(object sender, RunWorkerCompletedEventArgs e)
                {
                    if (e.Cancelled)
                    {
                        MsgBox.Show("作业已被中止!!");
                    }
                    else
                    {
                        if (e.Error == null)
                        {
                            MotherForm.SetStatusBarMessage("学习过程记录表產生完成", 100);
                            Document inResult = (Document)e.Result;

                            try
                            {
                                SaveFileDialog SaveFileDialog1 = new SaveFileDialog();

                                SaveFileDialog1.Filter = "Word (*.doc)|*.doc|所有档案 (*.*)|*.*";
                                SaveFileDialog1.FileName = "学习过程记录表";

                                if (SaveFileDialog1.ShowDialog() == DialogResult.OK)
                                {
                                    inResult.Save(SaveFileDialog1.FileName);
                                    System.Diagnostics.Process.Start(SaveFileDialog1.FileName);
                                }
                                else
                                {
                                    FISCA.Presentation.Controls.MsgBox.Show("档案未储存");
                                    return;
                                }
                            }
                            catch
                            {
                                FISCA.Presentation.Controls.MsgBox.Show("档案储存错误,请检查档案是否开启中!!");
                                return;
                            }
                        }
                        else
                        {
                            MsgBox.Show("打印学习过程记录表发生错误\n" + e.Error.Message);
                        }
                    }
                };
                bkw.RunWorkerAsync();
                #endregion
            };

            RibbonBarItem oder = ClubAdmin.Instance.RibbonBarItems["其它"];

            oder["开放选课时间"].Size = RibbonBarButton.MenuButtonSize.Medium;
            oder["开放选课时间"].Image = Properties.Resources.time_frame_refresh_128;
            oder["开放选课时间"].Enable = Permissions.開放選社時間權限;
            oder["开放选课时间"].Click += delegate
            {
                OpenClubJoinDateTime insert = new OpenClubJoinDateTime();
                insert.ShowDialog();
            };

            RibbonBarItem check = ClubAdmin.Instance.RibbonBarItems["检查"];

            check["未选课程学生检查"].Size = RibbonBarButton.MenuButtonSize.Medium;
            check["未选课程学生检查"].Image = Properties.Resources.group_help_64;
            check["未选课程学生检查"].Enable = Permissions.未選社團學生權限;
            check["未选课程学生检查"].Click += delegate
            {
                CheckStudentIsNotInClub insert = new CheckStudentIsNotInClub();
                insert.ShowDialog();
            };

            check["教师评鉴输入进度"].Click += delegate
            {
                new K12.Club.General.Zizhu.Ribbon.CheckClubAssessment().ShowDialog();
            };
            #endregion
            #region 轉出照片

            //ClubAdmin.Instance.RibbonBarItems["照片"]["轉出"].Click += delegate
            //{
            //    foreach (var clubRec in new AccessHelper().Select<CLUBRecord>("uid in (" + string.Join(",", ClubAdmin.Instance.SelectedSource) + ")"))
            //    {
            //        if (clubRec.Photo1 != "")
            //        {
            //            var bytes = Convert.FromBase64String(clubRec.Photo1);
            //            using (var imageFile = new FileStream(@"C:\Users\lelala\Desktop\ischool desktop\zzxx.mhedu.sh.cn\ClubPhotos\Club" + clubRec.UID + "Photo1.png", FileMode.Create))
            //            {
            //                imageFile.Write(bytes, 0, bytes.Length);
            //                imageFile.Flush();
            //                imageFile.Close();
            //            }
            //        }
            //        if (clubRec.Photo2 != "")
            //        {
            //            var bytes = Convert.FromBase64String(clubRec.Photo2);
            //            using (var imageFile = new FileStream(@"C:\Users\lelala\Desktop\ischool desktop\zzxx.mhedu.sh.cn\ClubPhotos\Club" + clubRec.UID + "Photo2.png", FileMode.Create))
            //            {
            //                imageFile.Write(bytes, 0, bytes.Length);
            //                imageFile.Flush();
            //                imageFile.Close();
            //            }
            //        }
            //    }

            //};
            #endregion

            ClubAdmin.Instance.SelectedSourceChanged += delegate
            {
                //是否選擇大於0的社團
                bool SourceCount = (ClubAdmin.Instance.SelectedSource.Count > 0);
                //刪除社團
                bool a = (SourceCount && Permissions.刪除社團權限);
                //ClubAdmin.Instance.ListPaneContexMenu["删除课程"].Enable = a;
                edit["删除课程"].Enable = a;

                //複製社團
                bool b = (SourceCount && Permissions.複製社團權限);
                edit["复制课程"].Enable = b;

                bool h = (SourceCount && Permissions.社團點名單_套表列印權限);
                totle["报表"]["课程点名单(套表列印)"].Enable = h;

                totle["报表"]["打印学习过程记录表"].Enable = SourceCount && FISCA.Permission.UserAcl.Current["AA262CBE-96AD-45DE-A4E0-FFACA7632A1E"].Executable;

                FISCA.Presentation.MotherForm.SetStatusBarMessage("选择「" + ClubAdmin.Instance.SelectedSource.Count + "」个课程");
            };

            Catalog detail1;

            detail1 = RoleAclSource.Instance["学生"]["功能按钮"];
            detail1.Add(new RibbonFeature(Permissions.匯出社團學生名單, "汇出学生选课纪录权限"));

            detail1 = RoleAclSource.Instance["拓展性课程"]["功能按钮"];
            detail1.Add(new RibbonFeature(Permissions.新增社團, "新增课程"));
            detail1.Add(new RibbonFeature(Permissions.複製社團, "复制课程"));
            detail1.Add(new RibbonFeature(Permissions.刪除社團, "删除课程"));
            detail1.Add(new RibbonFeature(Permissions.未選社團學生, "未选课程学生检查"));
            detail1.Add(new RibbonFeature(Permissions.開放選社時間, "开放选课时间"));
            detail1.Add(new RibbonFeature(Permissions.匯出社團基本資料, "汇出课程基本资料权限"));
            detail1.Add(new RibbonFeature(Permissions.匯入社團基本資料, "汇入课程基本资料权限"));

            detail1 = RoleAclSource.Instance["拓展性课程"]["报表"];
            detail1.Add(new RibbonFeature(Permissions.社團點名單_套表列印, "课程点名单(套表列印)"));

            detail1 = RoleAclSource.Instance["拓展性课程"]["报表"];
            detail1.Add(new RibbonFeature("AA262CBE-96AD-45DE-A4E0-FFACA7632A1E", "打印学习过程记录表"));

            detail1 = RoleAclSource.Instance["拓展性课程"]["资料项目"];
            detail1.Add(new DetailItemFeature(Permissions.社團基本資料, "基本资料"));
            detail1.Add(new DetailItemFeature(Permissions.社團照片, "照片"));
            detail1.Add(new DetailItemFeature(Permissions.社團限制, "限制"));
            detail1.Add(new DetailItemFeature(Permissions.社團參與學生, "学生"));
            detail1.Add(new DetailItemFeature(Permissions.社團幹部, "干部"));

            detail1 = RoleAclSource.Instance["学生"]["资料项目"];
            detail1.Add(new DetailItemFeature(Permissions.學生社團成績_資料項目, "拓展性课程成绩"));
        }
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.Chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.SchemaTextBox = new System.Windows.Forms.TextBox();
     this.XMLTextBox = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // Chart1
     //
     this.Chart1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.Chart1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.Chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth = 2;
     this.Chart1.BorderSkin.SkinStyle = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D = true;
     chartArea1.Area3DStyle.Inclination = 15;
     chartArea1.Area3DStyle.IsClustered = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective = 10;
     chartArea1.Area3DStyle.Rotation = 10;
     chartArea1.Area3DStyle.WallWidth = 0;
     chartArea1.AxisX.IsLabelAutoFit = false;
     chartArea1.AxisX.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Format = "dd MMM";
     chartArea1.AxisX.LabelStyle.IsEndLabelVisible = false;
     chartArea1.AxisX.LabelStyle.IsStaggered = true;
     chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor = System.Drawing.Color.OldLace;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.Alignment = System.Drawing.StringAlignment.Far;
     legend1.BackColor = System.Drawing.Color.Transparent;
     legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
     legend1.Enabled = false;
     legend1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name = "Chart1";
     series1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea = "Default";
     series1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.CustomProperties = "DrawingStyle=Cylinder";
     series1.Legend = "Default";
     series1.Name = "Series1";
     this.Chart1.Series.Add(series1);
     this.Chart1.Size = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 0;
     title1.Alignment = System.Drawing.ContentAlignment.MiddleLeft;
     title1.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name = "Title1";
     title1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset = 3;
     title1.Text = "Exporting Series";
     this.Chart1.Titles.Add(title1);
     this.Chart1.Click += new System.EventHandler(this.chart1_Click);
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font = new System.Drawing.Font("Verdana", 11F);
     this.labelSampleComment.Location = new System.Drawing.Point(16, 8);
     this.labelSampleComment.Name = "labelSampleComment";
     this.labelSampleComment.Size = new System.Drawing.Size(702, 34);
     this.labelSampleComment.TabIndex = 2;
     this.labelSampleComment.Text = "This sample demonstrates how to export series data in XML format.";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.SchemaTextBox);
     this.panel1.Controls.Add(this.XMLTextBox);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 1;
     //
     // SchemaTextBox
     //
     this.SchemaTextBox.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SchemaTextBox.Location = new System.Drawing.Point(48, 8);
     this.SchemaTextBox.Multiline = true;
     this.SchemaTextBox.Name = "SchemaTextBox";
     this.SchemaTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.SchemaTextBox.Size = new System.Drawing.Size(240, 128);
     this.SchemaTextBox.TabIndex = 8;
     this.SchemaTextBox.Text = "textBox1";
     this.SchemaTextBox.WordWrap = false;
     //
     // XMLTextBox
     //
     this.XMLTextBox.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.XMLTextBox.Location = new System.Drawing.Point(48, 152);
     this.XMLTextBox.Multiline = true;
     this.XMLTextBox.Name = "XMLTextBox";
     this.XMLTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.XMLTextBox.Size = new System.Drawing.Size(240, 120);
     this.XMLTextBox.TabIndex = 7;
     this.XMLTextBox.Text = "textBox3";
     this.XMLTextBox.WordWrap = false;
     //
     // ExportingInXML
     //
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.Chart1);
     this.Font = new System.Drawing.Font("Verdana", 9F);
     this.Name = "ExportingInXML";
     this.Size = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.ExportingInXML_Load);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #49
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.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend3 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title title3 = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.btnDepartmentManage = new System.Windows.Forms.Button();
     this.btnEmployee = new System.Windows.Forms.Button();
     this.btnProject = new System.Windows.Forms.Button();
     this.btnInfoEdite = new System.Windows.Forms.Button();
     this.btnSearch = new System.Windows.Forms.Button();
     this.btnConfig = new System.Windows.Forms.Button();
     this.btnPrint = new System.Windows.Forms.Button();
     this.btnUserManage = new System.Windows.Forms.Button();
     this.btnStatistics = new System.Windows.Forms.Button();
     this.btnSystem = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.Chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.btnHelp = new System.Windows.Forms.Button();
     this.btnLogManage = new System.Windows.Forms.Button();
     this.alphaBlendingBringer1 = new UI.AlphaBlendingBringer(this.components);
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // btnDepartmentManage
     //
     this.btnDepartmentManage.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnDepartmentManage.Image = global::UI.Properties.Resources._4;
     this.btnDepartmentManage.Location = new System.Drawing.Point(28, 85);
     this.btnDepartmentManage.Name = "btnDepartmentManage";
     this.btnDepartmentManage.Size = new System.Drawing.Size(128, 107);
     this.btnDepartmentManage.TabIndex = 39;
     this.btnDepartmentManage.Text = "部门管理";
     this.btnDepartmentManage.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnDepartmentManage.UseVisualStyleBackColor = true;
     this.btnDepartmentManage.Click += new System.EventHandler(this.btn_Click);
     //
     // btnEmployee
     //
     this.btnEmployee.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnEmployee.Image = global::UI.Properties.Resources._12;
     this.btnEmployee.Location = new System.Drawing.Point(180, 85);
     this.btnEmployee.Name = "btnEmployee";
     this.btnEmployee.Size = new System.Drawing.Size(128, 107);
     this.btnEmployee.TabIndex = 40;
     this.btnEmployee.Text = "教职工管理";
     this.btnEmployee.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnEmployee.UseVisualStyleBackColor = true;
     this.btnEmployee.Click += new System.EventHandler(this.btn_Click);
     //
     // btnProject
     //
     this.btnProject.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnProject.Image = global::UI.Properties.Resources._19;
     this.btnProject.Location = new System.Drawing.Point(495, 218);
     this.btnProject.Name = "btnProject";
     this.btnProject.Size = new System.Drawing.Size(128, 107);
     this.btnProject.TabIndex = 41;
     this.btnProject.Text = "项目检查状况";
     this.btnProject.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnProject.UseVisualStyleBackColor = true;
     this.btnProject.Click += new System.EventHandler(this.btn_Click);
     //
     // btnInfoEdite
     //
     this.btnInfoEdite.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnInfoEdite.Image = global::UI.Properties.Resources._10;
     this.btnInfoEdite.Location = new System.Drawing.Point(28, 218);
     this.btnInfoEdite.Name = "btnInfoEdite";
     this.btnInfoEdite.Size = new System.Drawing.Size(128, 107);
     this.btnInfoEdite.TabIndex = 42;
     this.btnInfoEdite.Text = "体检信息维护";
     this.btnInfoEdite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnInfoEdite.UseVisualStyleBackColor = true;
     this.btnInfoEdite.Click += new System.EventHandler(this.btn_Click);
     //
     // btnSearch
     //
     this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnSearch.Image = global::UI.Properties.Resources._2;
     this.btnSearch.Location = new System.Drawing.Point(180, 218);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new System.Drawing.Size(128, 107);
     this.btnSearch.TabIndex = 43;
     this.btnSearch.Text = "体检信息查询";
     this.btnSearch.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new System.EventHandler(this.btn_Click);
     //
     // btnConfig
     //
     this.btnConfig.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnConfig.Image = global::UI.Properties.Resources._3;
     this.btnConfig.Location = new System.Drawing.Point(652, 85);
     this.btnConfig.Name = "btnConfig";
     this.btnConfig.Size = new System.Drawing.Size(128, 107);
     this.btnConfig.TabIndex = 44;
     this.btnConfig.Text = "参数设置";
     this.btnConfig.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnConfig.UseVisualStyleBackColor = true;
     this.btnConfig.Click += new System.EventHandler(this.btn_Click);
     //
     // btnPrint
     //
     this.btnPrint.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnPrint.Image = global::UI.Properties.Resources._9;
     this.btnPrint.Location = new System.Drawing.Point(337, 218);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(128, 107);
     this.btnPrint.TabIndex = 45;
     this.btnPrint.Text = "报告打印";
     this.btnPrint.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnPrint.UseVisualStyleBackColor = true;
     this.btnPrint.Click += new System.EventHandler(this.btn_Click);
     //
     // btnUserManage
     //
     this.btnUserManage.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnUserManage.Image = global::UI.Properties.Resources._11;
     this.btnUserManage.Location = new System.Drawing.Point(337, 85);
     this.btnUserManage.Name = "btnUserManage";
     this.btnUserManage.Size = new System.Drawing.Size(128, 107);
     this.btnUserManage.TabIndex = 46;
     this.btnUserManage.Text = "用户管理";
     this.btnUserManage.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnUserManage.UseVisualStyleBackColor = true;
     this.btnUserManage.Click += new System.EventHandler(this.btn_Click);
     //
     // btnStatistics
     //
     this.btnStatistics.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnStatistics.Image = global::UI.Properties.Resources._8;
     this.btnStatistics.Location = new System.Drawing.Point(652, 218);
     this.btnStatistics.Name = "btnStatistics";
     this.btnStatistics.Size = new System.Drawing.Size(128, 107);
     this.btnStatistics.TabIndex = 47;
     this.btnStatistics.Text = "信息统计";
     this.btnStatistics.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnStatistics.UseVisualStyleBackColor = true;
     this.btnStatistics.Click += new System.EventHandler(this.btn_Click);
     //
     // btnSystem
     //
     this.btnSystem.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnSystem.Image = global::UI.Properties.Resources._5;
     this.btnSystem.Location = new System.Drawing.Point(804, 85);
     this.btnSystem.Name = "btnSystem";
     this.btnSystem.Size = new System.Drawing.Size(128, 107);
     this.btnSystem.TabIndex = 48;
     this.btnSystem.Text = "系统设置";
     this.btnSystem.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnSystem.UseVisualStyleBackColor = true;
     this.btnSystem.Click += new System.EventHandler(this.btn_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.Chart1);
     this.groupBox1.Location = new System.Drawing.Point(28, 350);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(904, 331);
     this.groupBox1.TabIndex = 49;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "历次体检人数统计";
     //
     // Chart1
     //
     this.Chart1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.Chart1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor = System.Drawing.Color.White;
     this.Chart1.BorderlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth = 2;
     this.Chart1.BorderSkin.SkinStyle = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea3.Area3DStyle.Inclination = 15;
     chartArea3.Area3DStyle.IsClustered = true;
     chartArea3.Area3DStyle.IsRightAngleAxes = false;
     chartArea3.Area3DStyle.Perspective = 10;
     chartArea3.Area3DStyle.Rotation = 10;
     chartArea3.Area3DStyle.WallWidth = 0;
     chartArea3.AxisX.ArrowStyle = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;
     chartArea3.AxisX.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea3.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea3.AxisX.LabelStyle.IsStaggered = true;
     chartArea3.AxisX.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea3.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea3.AxisX2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea3.AxisY.ArrowStyle = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;
     chartArea3.AxisY.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea3.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea3.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea3.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea3.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea3.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea3.BackSecondaryColor = System.Drawing.Color.White;
     chartArea3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea3.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea3.Name = "Default";
     chartArea3.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea3);
     legend3.BackColor = System.Drawing.Color.Transparent;
     legend3.Enabled = false;
     legend3.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend3.IsTextAutoFit = false;
     legend3.Name = "Default";
     this.Chart1.Legends.Add(legend3);
     this.Chart1.Location = new System.Drawing.Point(6, 20);
     this.Chart1.Name = "Chart1";
     series3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series3.ChartArea = "Default";
     series3.CustomProperties = "LabelStyle=Bottom";
     series3.IsValueShownAsLabel = true;
     series3.Legend = "Default";
     series3.Name = "Default";
     this.Chart1.Series.Add(series3);
     this.Chart1.Size = new System.Drawing.Size(892, 305);
     this.Chart1.TabIndex = 1;
     title3.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title3.Name = "Title1";
     title3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title3.ShadowOffset = 3;
     title3.Text = "历次体检人数统计";
     this.Chart1.Titles.Add(title3);
     //
     // btnHelp
     //
     this.btnHelp.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnHelp.Image = global::UI.Properties.Resources._17;
     this.btnHelp.Location = new System.Drawing.Point(495, 85);
     this.btnHelp.Name = "btnHelp";
     this.btnHelp.Size = new System.Drawing.Size(128, 107);
     this.btnHelp.TabIndex = 50;
     this.btnHelp.Text = "帮助";
     this.btnHelp.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnHelp.UseVisualStyleBackColor = true;
     this.btnHelp.Click += new System.EventHandler(this.btn_Click);
     //
     // btnLogManage
     //
     this.btnLogManage.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnLogManage.Image = global::UI.Properties.Resources._1;
     this.btnLogManage.Location = new System.Drawing.Point(804, 218);
     this.btnLogManage.Name = "btnLogManage";
     this.btnLogManage.Size = new System.Drawing.Size(128, 107);
     this.btnLogManage.TabIndex = 51;
     this.btnLogManage.Text = "日志查看";
     this.btnLogManage.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnLogManage.UseVisualStyleBackColor = true;
     this.btnLogManage.Click += new System.EventHandler(this.btn_Click);
     //
     // FromMain
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(963, 718);
     this.Controls.Add(this.btnHelp);
     this.Controls.Add(this.btnSearch);
     this.Controls.Add(this.btnInfoEdite);
     this.Controls.Add(this.btnLogManage);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.btnSystem);
     this.Controls.Add(this.btnStatistics);
     this.Controls.Add(this.btnUserManage);
     this.Controls.Add(this.btnPrint);
     this.Controls.Add(this.btnConfig);
     this.Controls.Add(this.btnProject);
     this.Controls.Add(this.btnEmployee);
     this.Controls.Add(this.btnDepartmentManage);
     this.Name = "FromMain";
     this.Load += new System.EventHandler(this.FromMain_Load);
     this.VisibleChanged += new System.EventHandler(this.FromMain_VisibleChanged);
     this.Controls.SetChildIndex(this.btnDepartmentManage, 0);
     this.Controls.SetChildIndex(this.btnEmployee, 0);
     this.Controls.SetChildIndex(this.btnProject, 0);
     this.Controls.SetChildIndex(this.btnConfig, 0);
     this.Controls.SetChildIndex(this.btnPrint, 0);
     this.Controls.SetChildIndex(this.btnUserManage, 0);
     this.Controls.SetChildIndex(this.btnStatistics, 0);
     this.Controls.SetChildIndex(this.btnSystem, 0);
     this.Controls.SetChildIndex(this.groupBox1, 0);
     this.Controls.SetChildIndex(this.btnLogManage, 0);
     this.Controls.SetChildIndex(this.btnInfoEdite, 0);
     this.Controls.SetChildIndex(this.btnSearch, 0);
     this.Controls.SetChildIndex(this.btnHelp, 0);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataGridBinding));
     this.Chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.SeriesValuesDataGrid = new System.Windows.Forms.DataGrid();
     this.dataSet1 = new System.Data.DataSet();
     this.label4 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.SeriesValuesDataGrid)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
     this.SuspendLayout();
     //
     // Chart1
     //
     this.Chart1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.Chart1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth = 2;
     this.Chart1.BorderSkin.SkinStyle = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D = true;
     chartArea1.Area3DStyle.Inclination = 15;
     chartArea1.Area3DStyle.IsClustered = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective = 10;
     chartArea1.Area3DStyle.PointDepth = 300;
     chartArea1.Area3DStyle.Rotation = 10;
     chartArea1.Area3DStyle.WallWidth = 0;
     chartArea1.AxisX.IsLabelAutoFit = false;
     chartArea1.AxisX.IsMarginVisible = false;
     chartArea1.AxisX.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.IsStaggered = true;
     chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.Transparent;
     chartArea1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor = System.Drawing.Color.Transparent;
     legend1.Enabled = false;
     legend1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name = "Chart1";
     series1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea = "Default";
     series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Area;
     series1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(224)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series1.Legend = "Default";
     series1.Name = "Series1";
     series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     this.Chart1.Series.Add(series1);
     this.Chart1.Size = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 0;
     title1.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name = "Title1";
     title1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset = 3;
     title1.Text = "Databind to Dataset";
     this.Chart1.Titles.Add(title1);
     this.Chart1.Click += new System.EventHandler(this.Chart1_Click);
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font = new System.Drawing.Font("Verdana", 11F);
     this.labelSampleComment.Location = new System.Drawing.Point(16, 8);
     this.labelSampleComment.Name = "labelSampleComment";
     this.labelSampleComment.Size = new System.Drawing.Size(702, 34);
     this.labelSampleComment.TabIndex = 2;
     this.labelSampleComment.Text = "This sample demonstrates exporting series values�and data binding.";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.SeriesValuesDataGrid);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 1;
     //
     // SeriesValuesDataGrid
     //
     this.SeriesValuesDataGrid.CaptionVisible = false;
     this.SeriesValuesDataGrid.DataMember = "";
     this.SeriesValuesDataGrid.DataSource = this.dataSet1;
     this.SeriesValuesDataGrid.FlatMode = true;
     this.SeriesValuesDataGrid.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SeriesValuesDataGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.SeriesValuesDataGrid.Location = new System.Drawing.Point(16, 0);
     this.SeriesValuesDataGrid.Name = "SeriesValuesDataGrid";
     this.SeriesValuesDataGrid.RowHeadersVisible = false;
     this.SeriesValuesDataGrid.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     this.SeriesValuesDataGrid.Size = new System.Drawing.Size(172, 280);
     this.SeriesValuesDataGrid.TabIndex = 0;
     this.SeriesValuesDataGrid.CurrentCellChanged += new System.EventHandler(this.SeriesValuesDataGrid_CurrentCellChanged);
     //
     // dataSet1
     //
     this.dataSet1.DataSetName = "NewDataSet";
     this.dataSet1.Locale = new System.Globalization.CultureInfo("en-US");
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Verdana", 11F);
     this.label4.Location = new System.Drawing.Point(13, 352);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(702, 64);
     this.label4.TabIndex = 4;
     this.label4.Text = resources.GetString("label4.Text");
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DataGridBinding
     //
     this.Controls.Add(this.label4);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.Chart1);
     this.Font = new System.Drawing.Font("Verdana", 9F);
     this.Name = "DataGridBinding";
     this.Size = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.DataGridBinding_Load);
     this.Leave += new System.EventHandler(this.DataGridBinding_Leave);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.SeriesValuesDataGrid)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #51
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel1 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel2 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel3 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel4 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 80);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 85);
     System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 65);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 60);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 75);
     System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 50);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 55);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 40);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 70);
     System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.ChartBackColor = new System.Windows.Forms.ComboBox();
     this.ShadowOffset = new System.Windows.Forms.ComboBox();
     this.ChartForeColor = new System.Windows.Forms.ComboBox();
     this.HatchStyle = new System.Windows.Forms.ComboBox();
     this.Gradient = new System.Windows.Forms.ComboBox();
     this.BorderColor = new System.Windows.Forms.ComboBox();
     this.BorderDashStyle = new System.Windows.Forms.ComboBox();
     this.BorderSize = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.Chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // ChartBackColor
     //
     this.ChartBackColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ChartBackColor.Items.AddRange(new object[] {
                                                         "Transparent",
                                                         "White",
                                                         "Blue",
                                                         "Red",
                                                         "Green",
                                                         "Yellow",
                                                         "Maroon",
                                                         "Gray",
                                                         "Gainsboro"});
     this.ChartBackColor.Location = new System.Drawing.Point(168, 8);
     this.ChartBackColor.Name = "ChartBackColor";
     this.ChartBackColor.TabIndex = 3;
     this.ChartBackColor.SelectedIndexChanged += new System.EventHandler(this.BackColor_SelectedIndexChanged);
     //
     // ShadowOffset
     //
     this.ShadowOffset.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ShadowOffset.Items.AddRange(new object[] {
                                                       "0",
                                                       "1",
                                                       "2",
                                                       "3",
                                                       "4",
                                                       "5"});
     this.ShadowOffset.Location = new System.Drawing.Point(168, 248);
     this.ShadowOffset.Name = "ShadowOffset";
     this.ShadowOffset.TabIndex = 15;
     this.ShadowOffset.SelectedIndexChanged += new System.EventHandler(this.ShadowOffset_SelectedIndexChanged);
     //
     // ChartForeColor
     //
     this.ChartForeColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ChartForeColor.Items.AddRange(new object[] {
                                                         "Transparent",
                                                         "White",
                                                         "Blue",
                                                         "Red",
                                                         "Green",
                                                         "Yellow",
                                                         "Maroon",
                                                         "Gray",
                                                         "Gainsboro"});
     this.ChartForeColor.Location = new System.Drawing.Point(168, 104);
     this.ChartForeColor.Name = "ChartForeColor";
     this.ChartForeColor.TabIndex = 1;
     this.ChartForeColor.SelectedIndexChanged += new System.EventHandler(this.ChartForeColor_SelectedIndexChanged);
     //
     // HatchStyle
     //
     this.HatchStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.HatchStyle.Location = new System.Drawing.Point(168, 72);
     this.HatchStyle.Name = "HatchStyle";
     this.HatchStyle.TabIndex = 7;
     this.HatchStyle.SelectedIndexChanged += new System.EventHandler(this.HatchStyle_SelectedIndexChanged);
     //
     // Gradient
     //
     this.Gradient.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.Gradient.Location = new System.Drawing.Point(168, 40);
     this.Gradient.Name = "Gradient";
     this.Gradient.TabIndex = 5;
     this.Gradient.SelectedIndexChanged += new System.EventHandler(this.Gradient_SelectedIndexChanged);
     //
     // BorderColor
     //
     this.BorderColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.BorderColor.Items.AddRange(new object[] {
                                                      "Transparent",
                                                      "Black",
                                                      "White",
                                                      "Blue",
                                                      "Red",
                                                      "Green",
                                                      "Yellow",
                                                      "Maroon",
                                                      "Gray",
                                                      "Gainsboro"});
     this.BorderColor.Location = new System.Drawing.Point(168, 144);
     this.BorderColor.Name = "BorderColor";
     this.BorderColor.TabIndex = 11;
     this.BorderColor.SelectedIndexChanged += new System.EventHandler(this.BorderColor_SelectedIndexChanged);
     //
     // BorderDashStyle
     //
     this.BorderDashStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.BorderDashStyle.Location = new System.Drawing.Point(168, 176);
     this.BorderDashStyle.Name = "BorderDashStyle";
     this.BorderDashStyle.TabIndex = 9;
     this.BorderDashStyle.SelectedIndexChanged += new System.EventHandler(this.BorderDashStyle_SelectedIndexChanged);
     //
     // BorderSize
     //
     this.BorderSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.BorderSize.Items.AddRange(new object[] {
                                                     "1",
                                                     "2",
                                                     "3",
                                                     "4",
                                                     "5"});
     this.BorderSize.Location = new System.Drawing.Point(168, 208);
     this.BorderSize.Name = "BorderSize";
     this.BorderSize.TabIndex = 13;
     this.BorderSize.SelectedIndexChanged += new System.EventHandler(this.BorderSize_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(12, 253);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(156, 13);
     this.label1.TabIndex = 14;
     this.label1.Text = "Shadow &Offset:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(12, 104);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(156, 19);
     this.label2.TabIndex = 0;
     this.label2.Text = "&Secondary Back Color:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(11, 10);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(156, 19);
     this.label3.TabIndex = 2;
     this.label3.Text = "&Back Color:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(12, 48);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(156, 13);
     this.label4.TabIndex = 4;
     this.label4.Text = "&Gradient:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(12, 80);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(156, 13);
     this.label5.TabIndex = 6;
     this.label5.Text = "&Hatch Style:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(12, 184);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(156, 13);
     this.label6.TabIndex = 8;
     this.label6.Text = "&Border Style:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(12, 152);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(156, 13);
     this.label7.TabIndex = 10;
     this.label7.Text = "B&order Color:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(12, 216);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(156, 13);
     this.label8.TabIndex = 12;
     this.label8.Text = "Bo&rder Size:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Font = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 8);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(702, 34);
     this.label9.TabIndex = 0;
     this.label9.Text = "This sample demonstrates how to set the appearance of the legend.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                          this.BorderDashStyle,
                                                                          this.label5,
                                                                          this.Gradient,
                                                                          this.label6,
                                                                          this.label4,
                                                                          this.HatchStyle,
                                                                          this.label7,
                                                                          this.label3,
                                                                          this.ShadowOffset,
                                                                          this.label1,
                                                                          this.label2,
                                                                          this.label8,
                                                                          this.BorderSize,
                                                                          this.ChartBackColor,
                                                                          this.ChartForeColor,
                                                                          this.BorderColor});
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(292, 296);
     this.panel1.TabIndex = 2;
     //
     // Chart1
     //
     this.Chart1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.Chart1.BackSecondaryColor = System.Drawing.Color.White;
     this.Chart1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor = System.Drawing.Color.FromArgb(((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     this.Chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth = 2;
     this.Chart1.BorderSkin.SkinStyle = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.IsClustered = true;
     chartArea1.Area3DStyle.Enable3D = true;
     chartArea1.Area3DStyle.Perspective = 10;
     chartArea1.Area3DStyle.PointGapDepth = 0;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.WallWidth = 0;
     chartArea1.Area3DStyle.Inclination = 15;
     chartArea1.Area3DStyle.Rotation = 5;
     customLabel1.FromPosition = 0.5;
     customLabel1.Text = "John";
     customLabel1.ToPosition = 1.5;
     customLabel2.FromPosition = 1.5;
     customLabel2.Text = "Mary";
     customLabel2.ToPosition = 2.5;
     customLabel3.FromPosition = 2.5;
     customLabel3.Text = "Jeff";
     customLabel3.ToPosition = 3.5;
     customLabel4.FromPosition = 3.5;
     customLabel4.Text = "Bob";
     customLabel4.ToPosition = 4.5;
     chartArea1.AxisX.CustomLabels.Add(customLabel1);
     chartArea1.AxisX.CustomLabels.Add(customLabel2);
     chartArea1.AxisX.CustomLabels.Add(customLabel3);
     chartArea1.AxisX.CustomLabels.Add(customLabel4);
     chartArea1.AxisX.Interval = 1;
     chartArea1.AxisX.IsLabelAutoFit = false;
     chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F);
     chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY.IsLabelAutoFit = false;
     chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.BackColor = System.Drawing.Color.WhiteSmoke;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.Name = "Default";
     chartArea1.Position.Auto = false;
     chartArea1.Position.Height = 75F;
     chartArea1.Position.Width = 100F;
     chartArea1.Position.Y = 8F;
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.Alignment = System.Drawing.StringAlignment.Center;
     legend1.IsTextAutoFit = false;
     legend1.BackColor = System.Drawing.Color.Transparent;
     legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
     legend1.IsDockedInsideChartArea = false;
     legend1.DockedToChartArea = "Default";
     legend1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     legend1.LegendStyle = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
     legend1.Name = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name = "Chart1";
     this.Chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Pastel;
     series1.BorderColor = System.Drawing.Color.FromArgb(((System.Byte)(180)), ((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     series1.ChartArea = "Default";
     series1.Color = System.Drawing.Color.FromArgb(((System.Byte)(220)), ((System.Byte)(65)), ((System.Byte)(140)), ((System.Byte)(240)));
     series1.CustomProperties = "DrawingStyle=Cylinder";
     series1.Name = "Total";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.ShadowColor = System.Drawing.Color.Transparent;
     series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.BorderColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     series2.ChartArea = "Default";
     series2.Color = System.Drawing.Color.FromArgb(((System.Byte)(220)), ((System.Byte)(252)), ((System.Byte)(180)), ((System.Byte)(65)));
     series2.CustomProperties = "DrawingStyle=Cylinder";
     series2.Name = "Last Week";
     series2.Points.Add(dataPoint5);
     series2.Points.Add(dataPoint6);
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series3.BorderColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     series3.ChartArea = "Default";
     series3.Color = System.Drawing.Color.FromArgb(((System.Byte)(220)), ((System.Byte)(224)), ((System.Byte)(64)), ((System.Byte)(10)));
     series3.CustomProperties = "DrawingStyle=Cylinder";
     series3.Name = "This Week";
     series3.Points.Add(dataPoint9);
     series3.Points.Add(dataPoint10);
     series3.Points.Add(dataPoint11);
     series3.Points.Add(dataPoint12);
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Series.Add(series3);
     this.Chart1.Size = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     title1.Alignment = System.Drawing.ContentAlignment.TopCenter;
     title1.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     title1.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.Position.Auto = false;
     title1.Position.Height = 8.738057F;
     title1.Position.Width = 80F;
     title1.Position.X = 5F;
     title1.Position.Y = 4F;
     title1.ShadowColor = System.Drawing.Color.FromArgb(((System.Byte)(32)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     title1.ShadowOffset = 3;
     title1.Text = "Chart Control for .NET Framework";
     this.Chart1.Titles.Add(title1);
     //
     // LegendAppearance
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.Chart1,
                                                                   this.panel1,
                                                                   this.label9});
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name = "LegendAppearance";
     this.Size = new System.Drawing.Size(728, 480);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #52
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.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series5 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series7 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series8 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.buttonGetInputFile = new System.Windows.Forms.Button();
     this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     this.buttonTrain = new System.Windows.Forms.Button();
     this.buttonTest = new System.Windows.Forms.Button();
     this.chartErrors = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.buttonLoadNetwork = new System.Windows.Forms.Button();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.panel_pictureBox = new System.Windows.Forms.Panel();
     this.button1 = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.chartErrors)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.panel_pictureBox.SuspendLayout();
     this.SuspendLayout();
     //
     // buttonGetInputFile
     //
     this.buttonGetInputFile.Location = new System.Drawing.Point(16, 21);
     this.buttonGetInputFile.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.buttonGetInputFile.Name = "buttonGetInputFile";
     this.buttonGetInputFile.Size = new System.Drawing.Size(103, 28);
     this.buttonGetInputFile.TabIndex = 0;
     this.buttonGetInputFile.Text = "Dane treningowe";
     this.buttonGetInputFile.UseVisualStyleBackColor = true;
     this.buttonGetInputFile.Click += new System.EventHandler(this.buttonGetInputFile_Click);
     //
     // buttonTrain
     //
     this.buttonTrain.Location = new System.Drawing.Point(256, 21);
     this.buttonTrain.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.buttonTrain.Name = "buttonTrain";
     this.buttonTrain.Size = new System.Drawing.Size(103, 28);
     this.buttonTrain.TabIndex = 16;
     this.buttonTrain.Text = "Ucz";
     this.buttonTrain.UseVisualStyleBackColor = true;
     this.buttonTrain.Click += new System.EventHandler(this.buttonTrain_Click);
     //
     // buttonTest
     //
     this.buttonTest.Location = new System.Drawing.Point(381, 21);
     this.buttonTest.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.buttonTest.Name = "buttonTest";
     this.buttonTest.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.buttonTest.Size = new System.Drawing.Size(103, 28);
     this.buttonTest.TabIndex = 17;
     this.buttonTest.Text = "Testuj";
     this.buttonTest.UseVisualStyleBackColor = true;
     this.buttonTest.Click += new System.EventHandler(this.buttonTest_Click);
     //
     // chartErrors
     //
     this.chartErrors.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)));
     chartArea2.AxisX.Title = "Iteracje";
     chartArea2.AxisY.Title = "Wartość błędu";
     chartArea2.Name = "ChartArea1";
     this.chartErrors.ChartAreas.Add(chartArea2);
     this.chartErrors.Cursor = System.Windows.Forms.Cursors.Default;
     legend2.Name = "Legend1";
     this.chartErrors.Legends.Add(legend2);
     this.chartErrors.Location = new System.Drawing.Point(16, 76);
     this.chartErrors.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.chartErrors.Name = "chartErrors";
     series5.ChartArea = "ChartArea1";
     series5.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine;
     series5.Color = System.Drawing.Color.Blue;
     series5.Legend = "Legend1";
     series5.Name = "Layer1";
     series6.ChartArea = "ChartArea1";
     series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine;
     series6.Color = System.Drawing.Color.Red;
     series6.Legend = "Legend1";
     series6.Name = "Layer2";
     series7.BorderWidth = 2;
     series7.ChartArea = "ChartArea1";
     series7.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine;
     series7.Color = System.Drawing.Color.Black;
     series7.Legend = "Legend1";
     series7.Name = "Layer3";
     series8.ChartArea = "ChartArea1";
     series8.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine;
     series8.Color = System.Drawing.Color.Green;
     series8.Legend = "Legend1";
     series8.Name = "Layer4";
     this.chartErrors.Series.Add(series5);
     this.chartErrors.Series.Add(series6);
     this.chartErrors.Series.Add(series7);
     this.chartErrors.Series.Add(series8);
     this.chartErrors.Size = new System.Drawing.Size(404, 284);
     this.chartErrors.TabIndex = 18;
     this.chartErrors.Text = "Błędy";
     //
     // buttonLoadNetwork
     //
     this.buttonLoadNetwork.Location = new System.Drawing.Point(135, 21);
     this.buttonLoadNetwork.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.buttonLoadNetwork.Name = "buttonLoadNetwork";
     this.buttonLoadNetwork.Size = new System.Drawing.Size(103, 28);
     this.buttonLoadNetwork.TabIndex = 19;
     this.buttonLoadNetwork.Text = "Wczytaj sieć";
     this.buttonLoadNetwork.UseVisualStyleBackColor = true;
     this.buttonLoadNetwork.Click += new System.EventHandler(this.buttonLoadNetwork_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(3, 3);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(557, 346);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 20;
     this.pictureBox1.TabStop = false;
     //
     // panel_pictureBox
     //
     this.panel_pictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.panel_pictureBox.AutoScroll = true;
     this.panel_pictureBox.Controls.Add(this.pictureBox1);
     this.panel_pictureBox.Location = new System.Drawing.Point(440, 76);
     this.panel_pictureBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.panel_pictureBox.Name = "panel_pictureBox";
     this.panel_pictureBox.Size = new System.Drawing.Size(424, 284);
     this.panel_pictureBox.TabIndex = 21;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(505, 21);
     this.button1.Margin = new System.Windows.Forms.Padding(2);
     this.button1.Name = "button1";
     this.button1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.button1.Size = new System.Drawing.Size(103, 28);
     this.button1.TabIndex = 22;
     this.button1.Text = "Zapisz - 0/9";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // mainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(872, 369);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.panel_pictureBox);
     this.Controls.Add(this.buttonLoadNetwork);
     this.Controls.Add(this.chartErrors);
     this.Controls.Add(this.buttonTest);
     this.Controls.Add(this.buttonTrain);
     this.Controls.Add(this.buttonGetInputFile);
     this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.Name = "mainForm";
     this.Text = "Autoencoder";
     ((System.ComponentModel.ISupportInitialize)(this.chartErrors)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.panel_pictureBox.ResumeLayout(false);
     this.panel_pictureBox.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel1 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel2 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel3 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.panel1 = new System.Windows.Forms.Panel();
     this.btnExportCAD = new DevComponents.DotNetBar.ButtonX();
     this.webBrowser1 = new System.Windows.Forms.WebBrowser();
     this.panel2 = new System.Windows.Forms.Panel();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.btnExportCAD);
     this.panel1.Controls.Add(this.webBrowser1);
     this.panel1.Location = new System.Drawing.Point(0, 328);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(614, 142);
     this.panel1.TabIndex = 0;
     //
     // btnExportCAD
     //
     this.btnExportCAD.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnExportCAD.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
     this.btnExportCAD.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnExportCAD.Location = new System.Drawing.Point(270, 107);
     this.btnExportCAD.Name = "btnExportCAD";
     this.btnExportCAD.Size = new System.Drawing.Size(75, 23);
     this.btnExportCAD.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnExportCAD.TabIndex = 1;
     this.btnExportCAD.Text = "导出CAD";
     this.btnExportCAD.Click += new System.EventHandler(this.btnExportCAD_Click);
     //
     // webBrowser1
     //
     this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.webBrowser1.Location = new System.Drawing.Point(0, 0);
     this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
     this.webBrowser1.Name = "webBrowser1";
     this.webBrowser1.ScrollBarsEnabled = false;
     this.webBrowser1.Size = new System.Drawing.Size(614, 142);
     this.webBrowser1.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.chart1);
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(614, 328);
     this.panel2.TabIndex = 1;
     //
     // chart1
     //
     chartArea1.AlignmentOrientation = System.Windows.Forms.DataVisualization.Charting.AreaAlignmentOrientations.Horizontal;
     chartArea1.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
     chartArea1.AxisX.MajorGrid.Enabled = false;
     chartArea1.AxisX2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisY.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
     chartArea1.AxisY.TextOrientation = System.Windows.Forms.DataVisualization.Charting.TextOrientation.Stacked;
     customLabel1.Text = "111";
     customLabel2.Text = "222";
     customLabel3.Text = "333";
     chartArea1.AxisY2.CustomLabels.Add(customLabel1);
     chartArea1.AxisY2.CustomLabels.Add(customLabel2);
     chartArea1.AxisY2.CustomLabels.Add(customLabel3);
     chartArea1.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.chart1.Location = new System.Drawing.Point(0, 0);
     this.chart1.Name = "chart1";
     series1.ChartArea = "ChartArea1";
     series1.Name = "管线";
     this.chart1.Series.Add(series1);
     this.chart1.Size = new System.Drawing.Size(614, 328);
     this.chart1.TabIndex = 0;
     this.chart1.Text = "chart1";
     this.chart1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.chart1_MouseClick);
     this.chart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart1_MouseMove);
     //
     // Frm_HDMAnalysis
     //
     this.ClientSize = new System.Drawing.Size(614, 470);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Name = "Frm_HDMAnalysis";
     this.ShowIcon = false;
     this.Text = "横断面分析";
     this.Load += new System.EventHandler(this.Frm_HDMAnalysis_Load);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Frm_HDMAnalysis3_FormClosing);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #54
0
 /// <summary>
 /// Обязательный метод для поддержки конструктора - не изменяйте
 /// содержимое данного метода при помощи редактора кода.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.label1 = new System.Windows.Forms.Label();
     this.numberTradingFloorLabel = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.numberSectorLabel = new System.Windows.Forms.Label();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.chart2 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows = false;
     this.dataGridView1.AllowUserToDeleteRows = false;
     this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.Column1,
     this.Column2,
     this.Column3,
     this.Column4});
     this.tableLayoutPanel1.SetColumnSpan(this.dataGridView1, 4);
     this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView1.Location = new System.Drawing.Point(0, 29);
     this.dataGridView1.Margin = new System.Windows.Forms.Padding(0);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.ReadOnly = true;
     this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;
     this.dataGridView1.RowTemplate.ReadOnly = true;
     this.dataGridView1.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView1.Size = new System.Drawing.Size(849, 271);
     this.dataGridView1.TabIndex = 1;
     //
     // Column1
     //
     this.Column1.FillWeight = 10.15393F;
     this.Column1.HeaderText = "№";
     this.Column1.Name = "Column1";
     this.Column1.ReadOnly = true;
     this.Column1.ToolTipText = "Номер абонента";
     this.Column1.Width = 60;
     //
     // Column2
     //
     this.Column2.FillWeight = 10.15393F;
     this.Column2.HeaderText = "Описание";
     this.Column2.Name = "Column2";
     this.Column2.ReadOnly = true;
     this.Column2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.Column2.ToolTipText = "Описание абонента";
     this.Column2.Width = 60;
     //
     // Column3
     //
     this.Column3.FillWeight = 10.15393F;
     this.Column3.HeaderText = ", кВт·ч";
     this.Column3.Name = "Column3";
     this.Column3.ReadOnly = true;
     this.Column3.ToolTipText = "Текущее количество потребляемой электроэнергии";
     this.Column3.Width = 50;
     //
     // Column4
     //
     this.Column4.FillWeight = 10.15393F;
     this.Column4.HeaderText = "p, кВт";
     this.Column4.Name = "Column4";
     this.Column4.ReadOnly = true;
     this.Column4.ToolTipText = "Мгновенная потребляемая мощность";
     this.Column4.Width = 50;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.BackColor = System.Drawing.SystemColors.Control;
     this.tableLayoutPanel1.ColumnCount = 4;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.numberTradingFloorLabel, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.numberSectorLabel, 3, 0);
     this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 2;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.Size = new System.Drawing.Size(849, 300);
     this.tableLayoutPanel1.TabIndex = 2;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label1.Location = new System.Drawing.Point(3, 0);
     this.label1.Name = "label1";
     this.label1.Padding = new System.Windows.Forms.Padding(5, 5, 0, 5);
     this.label1.Size = new System.Drawing.Size(84, 29);
     this.label1.TabIndex = 2;
     this.label1.Text = "Площадка";
     this.label1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.label1_MouseClick);
     //
     // numberTradingFloorLabel
     //
     this.numberTradingFloorLabel.AutoSize = true;
     this.numberTradingFloorLabel.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.numberTradingFloorLabel.Location = new System.Drawing.Point(93, 0);
     this.numberTradingFloorLabel.Name = "numberTradingFloorLabel";
     this.numberTradingFloorLabel.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5);
     this.numberTradingFloorLabel.Size = new System.Drawing.Size(0, 29);
     this.numberTradingFloorLabel.TabIndex = 3;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label3.Location = new System.Drawing.Point(99, 0);
     this.label3.Name = "label3";
     this.label3.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5);
     this.label3.Size = new System.Drawing.Size(55, 29);
     this.label3.TabIndex = 4;
     this.label3.Text = "Сектор";
     //
     // numberSectorLabel
     //
     this.numberSectorLabel.AutoSize = true;
     this.numberSectorLabel.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.numberSectorLabel.Location = new System.Drawing.Point(160, 0);
     this.numberSectorLabel.Name = "numberSectorLabel";
     this.numberSectorLabel.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5);
     this.numberSectorLabel.Size = new System.Drawing.Size(0, 29);
     this.numberSectorLabel.TabIndex = 5;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location = new System.Drawing.Point(0, 0);
     this.tabControl1.Margin = new System.Windows.Forms.Padding(0);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.Padding = new System.Drawing.Point(0, 0);
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(775, 370);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.tableLayoutPanel1);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Margin = new System.Windows.Forms.Padding(0);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Size = new System.Drawing.Size(849, 300);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "tabPage1";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.tableLayoutPanel2);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(767, 344);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "tabPage2";
     this.tabPage2.UseVisualStyleBackColor = true;
     this.tabPage2.Enter += new System.EventHandler(this.tabPage2_Enter);
     this.tabPage2.Leave += new System.EventHandler(this.tabPage2_Leave);
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.AutoScroll = true;
     this.tableLayoutPanel2.AutoSize = true;
     this.tableLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
     this.tableLayoutPanel2.ColumnCount = 1;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.Controls.Add(this.chart1, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.chart2, 0, 1);
     this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3);
     this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel2.Name = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 2;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.Size = new System.Drawing.Size(761, 338);
     this.tableLayoutPanel2.TabIndex = 0;
     //
     // chart1
     //
     chartArea1.AxisX.ScrollBar.ButtonStyle = System.Windows.Forms.DataVisualization.Charting.ScrollBarButtonStyles.SmallScroll;
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.Dock = System.Windows.Forms.DockStyle.Fill;
     legend1.Name = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(4, 4);
     this.chart1.Name = "chart1";
     series1.ChartArea = "ChartArea1";
     series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series1.IsVisibleInLegend = false;
     series1.Legend = "Legend1";
     series1.Name = "Series1";
     series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.DateTime;
     this.chart1.Series.Add(series1);
     this.chart1.Size = new System.Drawing.Size(736, 283);
     this.chart1.TabIndex = 0;
     this.chart1.Text = "chart1";
     //
     // chart2
     //
     chartArea2.AxisX.ScrollBar.ButtonStyle = System.Windows.Forms.DataVisualization.Charting.ScrollBarButtonStyles.SmallScroll;
     chartArea2.Name = "ChartArea1";
     this.chart2.ChartAreas.Add(chartArea2);
     this.chart2.Dock = System.Windows.Forms.DockStyle.Fill;
     legend2.Name = "Legend1";
     this.chart2.Legends.Add(legend2);
     this.chart2.Location = new System.Drawing.Point(4, 294);
     this.chart2.Name = "chart2";
     series2.ChartArea = "ChartArea1";
     series2.IsVisibleInLegend = false;
     series2.Legend = "Legend1";
     series2.Name = "Series1";
     series2.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Date;
     this.chart2.Series.Add(series2);
     this.chart2.Size = new System.Drawing.Size(736, 300);
     this.chart2.TabIndex = 1;
     this.chart2.Text = "chart2";
     //
     // AbonentsForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(775, 370);
     this.Controls.Add(this.tabControl1);
     this.Name = "AbonentsForm";
     this.Resize += new System.EventHandler(this.AbonentsForm_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.tabPage2.PerformLayout();
     this.tableLayoutPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).EndInit();
     this.ResumeLayout(false);
 }
예제 #55
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.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.btn_cal = new System.Windows.Forms.Button();
     this.btn_stop = new System.Windows.Forms.Button();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.tb_kw_rt = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.tb_kw_avg = new System.Windows.Forms.TextBox();
     this.label10 = new System.Windows.Forms.Label();
     this.tb_kw_min = new System.Windows.Forms.TextBox();
     this.label11 = new System.Windows.Forms.Label();
     this.tb_kw_max = new System.Windows.Forms.TextBox();
     this.label12 = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.tb_rad_rt = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.tb_rad_avg = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.tb_rad_min = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.tb_rad_max = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.tb_nm_rt = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.tb_nm_avg = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.tb_nm_min = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.tb_nm_max = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.btn_begin = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor = System.Drawing.Color.Transparent;
     chartArea1.AxisX.IntervalAutoMode = System.Windows.Forms.DataVisualization.Charting.IntervalAutoMode.VariableCount;
     chartArea1.AxisX.IsLabelAutoFit = false;
     chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("宋体", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.Green;
     chartArea1.AxisX.MajorTickMark.LineColor = System.Drawing.Color.Green;
     chartArea1.AxisX.Minimum = 0D;
     chartArea1.AxisX.MinorGrid.Enabled = true;
     chartArea1.AxisX.MinorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     chartArea1.AxisX.MinorTickMark.Enabled = true;
     chartArea1.AxisX.MinorTickMark.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     chartArea1.AxisX.ScaleView.MinSize = 1D;
     chartArea1.AxisX.ScaleView.Size = 50D;
     chartArea1.AxisX.ScaleView.SizeType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisX.ScrollBar.BackColor = System.Drawing.Color.Silver;
     chartArea1.AxisX.ScrollBar.ButtonColor = System.Drawing.SystemColors.ButtonShadow;
     chartArea1.AxisX.ScrollBar.IsPositionedInside = false;
     chartArea1.AxisX.ScrollBar.Size = 20D;
     chartArea1.AxisY.IsLabelAutoFit = false;
     chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("宋体", 8F);
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     chartArea1.AxisY.MajorTickMark.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     chartArea1.AxisY.MinorGrid.Enabled = true;
     chartArea1.AxisY.MinorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     chartArea1.AxisY.MinorTickMark.Enabled = true;
     chartArea1.AxisY.MinorTickMark.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     chartArea1.AxisY.Title = "扭矩";
     chartArea1.AxisY.TitleFont = new System.Drawing.Font("宋体", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     chartArea1.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
     chartArea1.AxisY2.IsLabelAutoFit = false;
     chartArea1.AxisY2.LabelStyle.Font = new System.Drawing.Font("宋体", 8F);
     chartArea1.AxisY2.MajorGrid.Enabled = false;
     chartArea1.AxisY2.MinorTickMark.Enabled = true;
     chartArea1.AxisY2.TextOrientation = System.Windows.Forms.DataVisualization.Charting.TextOrientation.Rotated90;
     chartArea1.AxisY2.Title = "转速";
     chartArea1.AxisY2.TitleFont = new System.Drawing.Font("宋体", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     chartArea1.BackColor = System.Drawing.Color.Black;
     chartArea1.InnerPlotPosition.Auto = false;
     chartArea1.InnerPlotPosition.Height = 85F;
     chartArea1.InnerPlotPosition.Width = 85F;
     chartArea1.InnerPlotPosition.X = 6F;
     chartArea1.InnerPlotPosition.Y = 1F;
     chartArea1.Name = "ChartArea1";
     chartArea1.Position.Auto = false;
     chartArea1.Position.Height = 90F;
     chartArea1.Position.Width = 80F;
     chartArea1.Position.X = 4F;
     chartArea1.Position.Y = 4F;
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.Dock = System.Windows.Forms.DockStyle.Fill;
     legend1.Alignment = System.Drawing.StringAlignment.Far;
     legend1.BackColor = System.Drawing.Color.Black;
     legend1.ForeColor = System.Drawing.Color.Green;
     legend1.Name = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(0, 0);
     this.chart1.Name = "chart1";
     series1.ChartArea = "ChartArea1";
     series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series1.Color = System.Drawing.Color.Red;
     series1.Legend = "Legend1";
     series1.LegendText = "扭矩";
     series1.Name = "nm";
     series2.ChartArea = "ChartArea1";
     series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series2.Color = System.Drawing.Color.Yellow;
     series2.Legend = "Legend1";
     series2.LegendText = "转速";
     series2.Name = "rad";
     series3.ChartArea = "ChartArea1";
     series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series3.Color = System.Drawing.Color.White;
     series3.Legend = "Legend1";
     series3.LegendText = "功率";
     series3.Name = "kw";
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Series.Add(series3);
     this.chart1.Size = new System.Drawing.Size(720, 497);
     this.chart1.TabIndex = 0;
     this.chart1.Text = "chart1";
     //
     // timer1
     //
     this.timer1.Interval = 1000;
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
     this.splitContainer1.IsSplitterFixed = true;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.chart1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.btn_cal);
     this.splitContainer1.Panel2.Controls.Add(this.btn_stop);
     this.splitContainer1.Panel2.Controls.Add(this.groupBox3);
     this.splitContainer1.Panel2.Controls.Add(this.groupBox2);
     this.splitContainer1.Panel2.Controls.Add(this.groupBox1);
     this.splitContainer1.Panel2.Controls.Add(this.btn_begin);
     this.splitContainer1.Size = new System.Drawing.Size(986, 497);
     this.splitContainer1.SplitterDistance = 720;
     this.splitContainer1.TabIndex = 1;
     //
     // btn_cal
     //
     this.btn_cal.Location = new System.Drawing.Point(41, 89);
     this.btn_cal.Name = "btn_cal";
     this.btn_cal.Size = new System.Drawing.Size(180, 30);
     this.btn_cal.TabIndex = 11;
     this.btn_cal.Text = "校正扭矩零点";
     this.btn_cal.UseVisualStyleBackColor = true;
     this.btn_cal.Click += new System.EventHandler(this.btn_cal_Click);
     //
     // btn_stop
     //
     this.btn_stop.Location = new System.Drawing.Point(41, 50);
     this.btn_stop.Name = "btn_stop";
     this.btn_stop.Size = new System.Drawing.Size(180, 30);
     this.btn_stop.TabIndex = 10;
     this.btn_stop.Text = "停止";
     this.btn_stop.UseVisualStyleBackColor = true;
     this.btn_stop.Click += new System.EventHandler(this.btn_stop_Click);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.tb_kw_rt);
     this.groupBox3.Controls.Add(this.label9);
     this.groupBox3.Controls.Add(this.tb_kw_avg);
     this.groupBox3.Controls.Add(this.label10);
     this.groupBox3.Controls.Add(this.tb_kw_min);
     this.groupBox3.Controls.Add(this.label11);
     this.groupBox3.Controls.Add(this.tb_kw_max);
     this.groupBox3.Controls.Add(this.label12);
     this.groupBox3.Location = new System.Drawing.Point(18, 345);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(226, 85);
     this.groupBox3.TabIndex = 9;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "转速统计(KW)";
     //
     // tb_kw_rt
     //
     this.tb_kw_rt.Location = new System.Drawing.Point(169, 55);
     this.tb_kw_rt.Name = "tb_kw_rt";
     this.tb_kw_rt.Size = new System.Drawing.Size(50, 21);
     this.tb_kw_rt.TabIndex = 7;
     this.tb_kw_rt.Text = "0";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(120, 60);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(53, 12);
     this.label9.TabIndex = 3;
     this.label9.Text = "实时值:";
     //
     // tb_kw_avg
     //
     this.tb_kw_avg.Location = new System.Drawing.Point(169, 21);
     this.tb_kw_avg.Name = "tb_kw_avg";
     this.tb_kw_avg.Size = new System.Drawing.Size(50, 21);
     this.tb_kw_avg.TabIndex = 6;
     this.tb_kw_avg.Text = "0";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(120, 26);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(53, 12);
     this.label10.TabIndex = 2;
     this.label10.Text = "平均值:";
     //
     // tb_kw_min
     //
     this.tb_kw_min.Location = new System.Drawing.Point(59, 55);
     this.tb_kw_min.Name = "tb_kw_min";
     this.tb_kw_min.Size = new System.Drawing.Size(50, 21);
     this.tb_kw_min.TabIndex = 5;
     this.tb_kw_min.Text = "0";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(8, 60);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(53, 12);
     this.label11.TabIndex = 1;
     this.label11.Text = "最小值:";
     //
     // tb_kw_max
     //
     this.tb_kw_max.Location = new System.Drawing.Point(59, 22);
     this.tb_kw_max.Name = "tb_kw_max";
     this.tb_kw_max.Size = new System.Drawing.Size(50, 21);
     this.tb_kw_max.TabIndex = 4;
     this.tb_kw_max.Text = "0";
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(8, 26);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(53, 12);
     this.label12.TabIndex = 0;
     this.label12.Text = "最大值:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.tb_rad_rt);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.tb_rad_avg);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.tb_rad_min);
     this.groupBox2.Controls.Add(this.label7);
     this.groupBox2.Controls.Add(this.tb_rad_max);
     this.groupBox2.Controls.Add(this.label8);
     this.groupBox2.Location = new System.Drawing.Point(18, 241);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(226, 89);
     this.groupBox2.TabIndex = 8;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "转速统计(rad/min)";
     //
     // tb_rad_rt
     //
     this.tb_rad_rt.Location = new System.Drawing.Point(168, 54);
     this.tb_rad_rt.Name = "tb_rad_rt";
     this.tb_rad_rt.Size = new System.Drawing.Size(50, 21);
     this.tb_rad_rt.TabIndex = 7;
     this.tb_rad_rt.Text = "0";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(119, 60);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(53, 12);
     this.label5.TabIndex = 3;
     this.label5.Text = "实时值:";
     //
     // tb_rad_avg
     //
     this.tb_rad_avg.Location = new System.Drawing.Point(168, 21);
     this.tb_rad_avg.Name = "tb_rad_avg";
     this.tb_rad_avg.Size = new System.Drawing.Size(50, 21);
     this.tb_rad_avg.TabIndex = 6;
     this.tb_rad_avg.Text = "0";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(119, 26);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(53, 12);
     this.label6.TabIndex = 2;
     this.label6.Text = "平均值:";
     //
     // tb_rad_min
     //
     this.tb_rad_min.Location = new System.Drawing.Point(58, 55);
     this.tb_rad_min.Name = "tb_rad_min";
     this.tb_rad_min.Size = new System.Drawing.Size(50, 21);
     this.tb_rad_min.TabIndex = 5;
     this.tb_rad_min.Text = "0";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(7, 60);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(53, 12);
     this.label7.TabIndex = 1;
     this.label7.Text = "最小值:";
     //
     // tb_rad_max
     //
     this.tb_rad_max.Location = new System.Drawing.Point(58, 22);
     this.tb_rad_max.Name = "tb_rad_max";
     this.tb_rad_max.Size = new System.Drawing.Size(50, 21);
     this.tb_rad_max.TabIndex = 4;
     this.tb_rad_max.Text = "0";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(7, 26);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(53, 12);
     this.label8.TabIndex = 0;
     this.label8.Text = "最大值:";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.tb_nm_rt);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.tb_nm_avg);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.tb_nm_min);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.tb_nm_max);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(18, 136);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(226, 90);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "扭矩统计(Nm)";
     //
     // tb_nm_rt
     //
     this.tb_nm_rt.Location = new System.Drawing.Point(169, 55);
     this.tb_nm_rt.Name = "tb_nm_rt";
     this.tb_nm_rt.Size = new System.Drawing.Size(50, 21);
     this.tb_nm_rt.TabIndex = 7;
     this.tb_nm_rt.Text = "0";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(120, 60);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(53, 12);
     this.label4.TabIndex = 3;
     this.label4.Text = "实时值:";
     //
     // tb_nm_avg
     //
     this.tb_nm_avg.Location = new System.Drawing.Point(169, 21);
     this.tb_nm_avg.Name = "tb_nm_avg";
     this.tb_nm_avg.Size = new System.Drawing.Size(50, 21);
     this.tb_nm_avg.TabIndex = 6;
     this.tb_nm_avg.Text = "0";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(120, 26);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(53, 12);
     this.label3.TabIndex = 2;
     this.label3.Text = "平均值:";
     //
     // tb_nm_min
     //
     this.tb_nm_min.Location = new System.Drawing.Point(59, 55);
     this.tb_nm_min.Name = "tb_nm_min";
     this.tb_nm_min.Size = new System.Drawing.Size(50, 21);
     this.tb_nm_min.TabIndex = 5;
     this.tb_nm_min.Text = "0";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(8, 60);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(53, 12);
     this.label2.TabIndex = 1;
     this.label2.Text = "最小值:";
     //
     // tb_nm_max
     //
     this.tb_nm_max.Location = new System.Drawing.Point(59, 22);
     this.tb_nm_max.Name = "tb_nm_max";
     this.tb_nm_max.Size = new System.Drawing.Size(50, 21);
     this.tb_nm_max.TabIndex = 4;
     this.tb_nm_max.Text = "0";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(8, 26);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(53, 12);
     this.label1.TabIndex = 0;
     this.label1.Text = "最大值:";
     //
     // btn_begin
     //
     this.btn_begin.Location = new System.Drawing.Point(41, 12);
     this.btn_begin.Name = "btn_begin";
     this.btn_begin.Size = new System.Drawing.Size(180, 30);
     this.btn_begin.TabIndex = 0;
     this.btn_begin.Text = "开始";
     this.btn_begin.UseVisualStyleBackColor = true;
     this.btn_begin.Click += new System.EventHandler(this.btn_begin_Click);
     //
     // Form2
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(986, 497);
     this.Controls.Add(this.splitContainer1);
     this.Name = "Form2";
     this.Text = "Form2";
     this.Load += new System.EventHandler(this.Form2_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
       System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
       System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
       System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
       System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AutoScrn));
       this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
       this.dataGridView1 = new System.Windows.Forms.DataGridView();
       this.TimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
       this.PressureColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
       this.button3 = new System.Windows.Forms.Button();
       this.button2 = new System.Windows.Forms.Button();
       this.button1 = new System.Windows.Forms.Button();
       this.label1 = new System.Windows.Forms.Label();
       this.listBox1 = new System.Windows.Forms.ListBox();
       this.panel1 = new System.Windows.Forms.Panel();
       this.label4 = new System.Windows.Forms.Label();
       this.label6 = new System.Windows.Forms.Label();
       this.label8 = new System.Windows.Forms.Label();
       this.groupBox1 = new System.Windows.Forms.GroupBox();
       this.labelDurations = new System.Windows.Forms.Label();
       this.labelStepsTotal = new System.Windows.Forms.Label();
       this.labelTargetPressure = new System.Windows.Forms.Label();
       this.groupBoxPressure = new System.Windows.Forms.GroupBox();
       this.labelTotalTime = new System.Windows.Forms.Label();
       this.labelStepCurrent = new System.Windows.Forms.Label();
       this.labelPumpState = new System.Windows.Forms.Label();
       this.labelPressure = new System.Windows.Forms.Label();
       this.labelDuration = new System.Windows.Forms.Label();
       this.groupBoxCollectedVolume = new System.Windows.Forms.GroupBox();
       this.verticalProgressBar2 = new LukMachine.VerticalProgressBar();
       this.groupBoxReservoir = new System.Windows.Forms.GroupBox();
       this.verticalProgressBar1 = new LukMachine.VerticalProgressBar();
       this.button4 = new System.Windows.Forms.Button();
       this.linkLabel1 = new System.Windows.Forms.LinkLabel();
       this.buttonSkipSettingTemp = new System.Windows.Forms.Button();
       this.buttonSkipPressure = new System.Windows.Forms.Button();
       this.labelChamber = new System.Windows.Forms.Label();
       ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
       ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
       this.panel1.SuspendLayout();
       this.groupBox1.SuspendLayout();
       this.groupBoxPressure.SuspendLayout();
       this.groupBoxCollectedVolume.SuspendLayout();
       this.groupBoxReservoir.SuspendLayout();
       this.SuspendLayout();
       //
       // chart1
       //
       this.chart1.BorderlineColor = System.Drawing.Color.Black;
       this.chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
       chartArea1.Name = "ChartArea1";
       this.chart1.ChartAreas.Add(chartArea1);
       this.chart1.Location = new System.Drawing.Point(12, 208);
       this.chart1.Name = "chart1";
       series1.ChartArea = "ChartArea1";
       series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
       series1.IsVisibleInLegend = false;
       series1.Name = "Series1";
       this.chart1.Series.Add(series1);
       this.chart1.Size = new System.Drawing.Size(646, 308);
       this.chart1.TabIndex = 0;
       this.chart1.Text = "chart1";
       //
       // dataGridView1
       //
       this.dataGridView1.AllowUserToAddRows = false;
       this.dataGridView1.AllowUserToDeleteRows = false;
       this.dataGridView1.AllowUserToResizeColumns = false;
       this.dataGridView1.AllowUserToResizeRows = false;
       this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
       this.dataGridView1.BackgroundColor = System.Drawing.Color.White;
       this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
       dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
       dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
       dataGridViewCellStyle1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
       dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
       dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
       dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
       this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
       this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
       this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.TimeColumn,
     this.PressureColumn});
       this.dataGridView1.Location = new System.Drawing.Point(664, 208);
       this.dataGridView1.Name = "dataGridView1";
       this.dataGridView1.ReadOnly = true;
       dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
       dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
       dataGridViewCellStyle2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
       dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
       dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
       dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
       this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
       this.dataGridView1.RowHeadersVisible = false;
       dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
       this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3;
       this.dataGridView1.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
       this.dataGridView1.Size = new System.Drawing.Size(231, 308);
       this.dataGridView1.TabIndex = 1;
       //
       // TimeColumn
       //
       this.TimeColumn.HeaderText = "Time(sec)";
       this.TimeColumn.Name = "TimeColumn";
       this.TimeColumn.ReadOnly = true;
       //
       // PressureColumn
       //
       this.PressureColumn.HeaderText = "Flow(mL/min)";
       this.PressureColumn.Name = "PressureColumn";
       this.PressureColumn.ReadOnly = true;
       //
       // button3
       //
       this.button3.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.button3.Image = global::LukMachine.Properties.Resources.base_cog_32;
       this.button3.Location = new System.Drawing.Point(591, 419);
       this.button3.Name = "button3";
       this.button3.Size = new System.Drawing.Size(67, 85);
       this.button3.TabIndex = 5;
       this.button3.Text = "Manual Control";
       this.button3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
       this.button3.UseVisualStyleBackColor = true;
       this.button3.Visible = false;
       this.button3.Click += new System.EventHandler(this.button3_Click);
       //
       // button2
       //
       this.button2.Enabled = false;
       this.button2.Image = global::LukMachine.Properties.Resources._109_AllAnnotations_Error_32x32_72;
       this.button2.Location = new System.Drawing.Point(664, 528);
       this.button2.Name = "button2";
       this.button2.Size = new System.Drawing.Size(229, 86);
       this.button2.TabIndex = 3;
       this.button2.Text = "Stop Test";
       this.button2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
       this.button2.UseVisualStyleBackColor = true;
       this.button2.Click += new System.EventHandler(this.button2_Click);
       //
       // button1
       //
       this.button1.Image = global::LukMachine.Properties.Resources._1427928241_Play;
       this.button1.Location = new System.Drawing.Point(495, 418);
       this.button1.Name = "button1";
       this.button1.Size = new System.Drawing.Size(67, 85);
       this.button1.TabIndex = 2;
       this.button1.Text = "Start Test";
       this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
       this.button1.UseVisualStyleBackColor = true;
       this.button1.Visible = false;
       this.button1.Click += new System.EventHandler(this.button1_Click);
       //
       // label1
       //
       this.label1.AutoSize = true;
       this.label1.Location = new System.Drawing.Point(9, 528);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(115, 23);
       this.label1.TabIndex = 6;
       this.label1.Text = "Test Status:";
       //
       // listBox1
       //
       this.listBox1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.listBox1.FormattingEnabled = true;
       this.listBox1.ItemHeight = 19;
       this.listBox1.Location = new System.Drawing.Point(12, 553);
       this.listBox1.Name = "listBox1";
       this.listBox1.Size = new System.Drawing.Size(646, 61);
       this.listBox1.TabIndex = 7;
       //
       // panel1
       //
       this.panel1.Controls.Add(this.buttonSkipPressure);
       this.panel1.Controls.Add(this.buttonSkipSettingTemp);
       this.panel1.Controls.Add(this.label4);
       this.panel1.Location = new System.Drawing.Point(30, 272);
       this.panel1.Name = "panel1";
       this.panel1.Size = new System.Drawing.Size(614, 178);
       this.panel1.TabIndex = 13;
       //
       // label4
       //
       this.label4.AutoSize = true;
       this.label4.Location = new System.Drawing.Point(41, 61);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(527, 23);
       this.label4.TabIndex = 0;
       this.label4.Text = "Please wait...  (setting reservoirs / temperature / pressure)";
       //
       // label6
       //
       this.label6.AutoSize = true;
       this.label6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.label6.Location = new System.Drawing.Point(20, 93);
       this.label6.Name = "label6";
       this.label6.Size = new System.Drawing.Size(132, 21);
       this.label6.TabIndex = 16;
       this.label6.Text = "Temperature  =";
       //
       // label8
       //
       this.label8.AutoSize = true;
       this.label8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.label8.Location = new System.Drawing.Point(24, 93);
       this.label8.Name = "label8";
       this.label8.Size = new System.Drawing.Size(201, 21);
       this.label8.TabIndex = 14;
       this.label8.Text = "Temperature  =   not set";
       //
       // groupBox1
       //
       this.groupBox1.Controls.Add(this.labelChamber);
       this.groupBox1.Controls.Add(this.labelDurations);
       this.groupBox1.Controls.Add(this.labelStepsTotal);
       this.groupBox1.Controls.Add(this.label8);
       this.groupBox1.Controls.Add(this.labelTargetPressure);
       this.groupBox1.Location = new System.Drawing.Point(467, 12);
       this.groupBox1.Name = "groupBox1";
       this.groupBox1.Size = new System.Drawing.Size(210, 190);
       this.groupBox1.TabIndex = 18;
       this.groupBox1.TabStop = false;
       this.groupBox1.Text = "Programmed Parameters";
       //
       // labelDurations
       //
       this.labelDurations.AutoSize = true;
       this.labelDurations.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelDurations.Location = new System.Drawing.Point(24, 63);
       this.labelDurations.Name = "labelDurations";
       this.labelDurations.Size = new System.Drawing.Size(99, 21);
       this.labelDurations.TabIndex = 21;
       this.labelDurations.Text = "Duration  =";
       //
       // labelStepsTotal
       //
       this.labelStepsTotal.AutoSize = true;
       this.labelStepsTotal.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelStepsTotal.Location = new System.Drawing.Point(24, 33);
       this.labelStepsTotal.Name = "labelStepsTotal";
       this.labelStepsTotal.Size = new System.Drawing.Size(121, 21);
       this.labelStepsTotal.TabIndex = 17;
       this.labelStepsTotal.Text = "Total Steps  =";
       //
       // labelTargetPressure
       //
       this.labelTargetPressure.AutoSize = true;
       this.labelTargetPressure.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelTargetPressure.Location = new System.Drawing.Point(24, 123);
       this.labelTargetPressure.Name = "labelTargetPressure";
       this.labelTargetPressure.Size = new System.Drawing.Size(177, 21);
       this.labelTargetPressure.TabIndex = 17;
       this.labelTargetPressure.Text = "Pressure   =   not set";
       //
       // groupBoxPressure
       //
       this.groupBoxPressure.Controls.Add(this.labelTotalTime);
       this.groupBoxPressure.Controls.Add(this.labelStepCurrent);
       this.groupBoxPressure.Controls.Add(this.labelPumpState);
       this.groupBoxPressure.Controls.Add(this.label6);
       this.groupBoxPressure.Controls.Add(this.labelPressure);
       this.groupBoxPressure.Location = new System.Drawing.Point(683, 12);
       this.groupBoxPressure.Name = "groupBoxPressure";
       this.groupBoxPressure.Size = new System.Drawing.Size(210, 190);
       this.groupBoxPressure.TabIndex = 19;
       this.groupBoxPressure.TabStop = false;
       this.groupBoxPressure.Text = "Current State";
       //
       // labelTotalTime
       //
       this.labelTotalTime.AutoSize = true;
       this.labelTotalTime.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelTotalTime.Location = new System.Drawing.Point(20, 63);
       this.labelTotalTime.Name = "labelTotalTime";
       this.labelTotalTime.Size = new System.Drawing.Size(103, 21);
       this.labelTotalTime.TabIndex = 21;
       this.labelTotalTime.Text = "Total time =";
       //
       // labelStepCurrent
       //
       this.labelStepCurrent.AutoSize = true;
       this.labelStepCurrent.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelStepCurrent.Location = new System.Drawing.Point(20, 33);
       this.labelStepCurrent.Name = "labelStepCurrent";
       this.labelStepCurrent.Size = new System.Drawing.Size(68, 21);
       this.labelStepCurrent.TabIndex = 18;
       this.labelStepCurrent.Text = "Step  =";
       //
       // labelPumpState
       //
       this.labelPumpState.AutoSize = true;
       this.labelPumpState.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelPumpState.Location = new System.Drawing.Point(20, 153);
       this.labelPumpState.Name = "labelPumpState";
       this.labelPumpState.Size = new System.Drawing.Size(133, 21);
       this.labelPumpState.TabIndex = 19;
       this.labelPumpState.Text = "Pump Power  =";
       //
       // labelPressure
       //
       this.labelPressure.AutoSize = true;
       this.labelPressure.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelPressure.Location = new System.Drawing.Point(20, 123);
       this.labelPressure.Name = "labelPressure";
       this.labelPressure.Size = new System.Drawing.Size(98, 21);
       this.labelPressure.TabIndex = 15;
       this.labelPressure.Text = "Pressure =";
       //
       // labelDuration
       //
       this.labelDuration.AutoSize = true;
       this.labelDuration.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelDuration.Location = new System.Drawing.Point(532, 218);
       this.labelDuration.Name = "labelDuration";
       this.labelDuration.Size = new System.Drawing.Size(106, 21);
       this.labelDuration.TabIndex = 20;
       this.labelDuration.Text = "Step time  =";
       this.labelDuration.Visible = false;
       //
       // groupBoxCollectedVolume
       //
       this.groupBoxCollectedVolume.Controls.Add(this.verticalProgressBar2);
       this.groupBoxCollectedVolume.Location = new System.Drawing.Point(236, 12);
       this.groupBoxCollectedVolume.Name = "groupBoxCollectedVolume";
       this.groupBoxCollectedVolume.Size = new System.Drawing.Size(225, 190);
       this.groupBoxCollectedVolume.TabIndex = 20;
       this.groupBoxCollectedVolume.TabStop = false;
       this.groupBoxCollectedVolume.Text = "Collected Volume";
       //
       // verticalProgressBar2
       //
       this.verticalProgressBar2.Location = new System.Drawing.Point(65, 42);
       this.verticalProgressBar2.Name = "verticalProgressBar2";
       this.verticalProgressBar2.Size = new System.Drawing.Size(84, 124);
       this.verticalProgressBar2.TabIndex = 10;
       this.verticalProgressBar2.Value = 50;
       //
       // groupBoxReservoir
       //
       this.groupBoxReservoir.Controls.Add(this.verticalProgressBar1);
       this.groupBoxReservoir.Location = new System.Drawing.Point(13, 12);
       this.groupBoxReservoir.Name = "groupBoxReservoir";
       this.groupBoxReservoir.Size = new System.Drawing.Size(217, 190);
       this.groupBoxReservoir.TabIndex = 21;
       this.groupBoxReservoir.TabStop = false;
       this.groupBoxReservoir.Text = "Reservoir";
       //
       // verticalProgressBar1
       //
       this.verticalProgressBar1.Location = new System.Drawing.Point(68, 42);
       this.verticalProgressBar1.Name = "verticalProgressBar1";
       this.verticalProgressBar1.Size = new System.Drawing.Size(84, 124);
       this.verticalProgressBar1.TabIndex = 9;
       this.verticalProgressBar1.Value = 50;
       //
       // button4
       //
       this.button4.AutoSize = true;
       this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.button4.ForeColor = System.Drawing.Color.Green;
       this.button4.Location = new System.Drawing.Point(665, 528);
       this.button4.Name = "button4";
       this.button4.Size = new System.Drawing.Size(229, 86);
       this.button4.TabIndex = 23;
       this.button4.Text = "Open Report Window";
       this.button4.UseVisualStyleBackColor = true;
       this.button4.Click += new System.EventHandler(this.button4_Click);
       //
       // linkLabel1
       //
       this.linkLabel1.AutoSize = true;
       this.linkLabel1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.linkLabel1.Location = new System.Drawing.Point(528, 525);
       this.linkLabel1.Name = "linkLabel1";
       this.linkLabel1.Size = new System.Drawing.Size(95, 18);
       this.linkLabel1.TabIndex = 24;
       this.linkLabel1.TabStop = true;
       this.linkLabel1.Text = "Open Folder";
       this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
       //
       // buttonSkipSettingTemp
       //
       this.buttonSkipSettingTemp.Location = new System.Drawing.Point(171, 121);
       this.buttonSkipSettingTemp.Name = "buttonSkipSettingTemp";
       this.buttonSkipSettingTemp.Size = new System.Drawing.Size(282, 36);
       this.buttonSkipSettingTemp.TabIndex = 1;
       this.buttonSkipSettingTemp.Text = "Skip Setting Temperature";
       this.buttonSkipSettingTemp.UseVisualStyleBackColor = true;
       this.buttonSkipSettingTemp.Visible = false;
       this.buttonSkipSettingTemp.Click += new System.EventHandler(this.buttonSkipSettingTemp_Click);
       //
       // buttonSkipPressure
       //
       this.buttonSkipPressure.Location = new System.Drawing.Point(171, 118);
       this.buttonSkipPressure.Name = "buttonSkipPressure";
       this.buttonSkipPressure.Size = new System.Drawing.Size(282, 36);
       this.buttonSkipPressure.TabIndex = 2;
       this.buttonSkipPressure.Text = "Skip Setting Pressure";
       this.buttonSkipPressure.UseVisualStyleBackColor = true;
       this.buttonSkipPressure.Visible = false;
       this.buttonSkipPressure.Click += new System.EventHandler(this.buttonSkipPressure_Click);
       //
       // labelChamber
       //
       this.labelChamber.AutoSize = true;
       this.labelChamber.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.labelChamber.Location = new System.Drawing.Point(24, 153);
       this.labelChamber.Name = "labelChamber";
       this.labelChamber.Size = new System.Drawing.Size(104, 21);
       this.labelChamber.TabIndex = 22;
       this.labelChamber.Text = "Chamber  =";
       //
       // AutoScrn
       //
       this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 23F);
       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
       this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
       this.ClientSize = new System.Drawing.Size(905, 629);
       this.Controls.Add(this.linkLabel1);
       this.Controls.Add(this.button4);
       this.Controls.Add(this.labelDuration);
       this.Controls.Add(this.groupBoxReservoir);
       this.Controls.Add(this.groupBoxCollectedVolume);
       this.Controls.Add(this.groupBoxPressure);
       this.Controls.Add(this.groupBox1);
       this.Controls.Add(this.panel1);
       this.Controls.Add(this.listBox1);
       this.Controls.Add(this.label1);
       this.Controls.Add(this.button3);
       this.Controls.Add(this.button2);
       this.Controls.Add(this.button1);
       this.Controls.Add(this.dataGridView1);
       this.Controls.Add(this.chart1);
       this.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
       this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
       this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
       this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
       this.MinimumSize = new System.Drawing.Size(923, 468);
       this.Name = "AutoScrn";
       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
       this.Text = "Form1";
       this.Load += new System.EventHandler(this.AutoScrn_Load);
       ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
       ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
       this.panel1.ResumeLayout(false);
       this.panel1.PerformLayout();
       this.groupBox1.ResumeLayout(false);
       this.groupBox1.PerformLayout();
       this.groupBoxPressure.ResumeLayout(false);
       this.groupBoxPressure.PerformLayout();
       this.groupBoxCollectedVolume.ResumeLayout(false);
       this.groupBoxReservoir.ResumeLayout(false);
       this.ResumeLayout(false);
       this.PerformLayout();
 }
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung. 
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(tabPriceAnalysis));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
     this.cbOnlyStationsWithin = new System.Windows.Forms.CheckBox();
     this.cmbShowSystem = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.cmbSystemBase = new System.Windows.Forms.ComboBox();
     this.cbMaxDistanceToStar = new System.Windows.Forms.CheckBox();
     this.cbOrderByAmount = new System.Windows.Forms.CheckBox();
     this.rbOrderByDistance = new System.Windows.Forms.RadioButton();
     this.rbOrderByStation = new System.Windows.Forms.RadioButton();
     this.rbOrderBySystem = new System.Windows.Forms.RadioButton();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.txtOrderByAmount = new System.Windows.Forms.TextBoxInt32();
     this.label2 = new System.Windows.Forms.Label();
     this.tpAllCommodities = new System.Windows.Forms.TabPage();
     this.scAllCommodities_1 = new System.Windows.Forms.SplitContainer();
     this.cbShowDiagramAllCommodities = new System.Windows.Forms.CheckBox();
     this.cbOnlyTradedCommodities = new System.Windows.Forms.CheckBox();
     this.dgvAllCommodities = new IBE.Enums_and_Utility_Classes.DataGridViewExt(this.components);
     this.commodityIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.commodityDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Max_Profit = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buySystemIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buySystemDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buyStationIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buyStationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buyMinDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buyDistanceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buyTimestampDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellSystemIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellSystemDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellStationIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellStationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellMaxDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellDistanceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellTimestampDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.scAllCommodities_2 = new System.Windows.Forms.SplitContainer();
     this.label3 = new System.Windows.Forms.Label();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label4 = new System.Windows.Forms.Label();
     this.chart2 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.button2 = new System.Windows.Forms.Button();
     this.button3 = new System.Windows.Forms.Button();
     this.button5 = new System.Windows.Forms.Button();
     this.cmbByStation = new System.Windows.Forms.ComboBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.tpByStation = new System.Windows.Forms.TabPage();
     this.dgvByStation = new IBE.Enums_and_Utility_Classes.DataGridViewExt(this.components);
     this.commodityIDDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.commodityDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buyDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.demandDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.demandLevelDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.supplyDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.supplyLevelDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.timestampDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bestBuyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bestSellDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.maxProfitDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sourceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tmpabystationBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsEliteDB = new IBE.SQL.Datasets.dsEliteDB();
     this.button6 = new System.Windows.Forms.Button();
     this.button7 = new System.Windows.Forms.Button();
     this.button8 = new System.Windows.Forms.Button();
     this.button9 = new System.Windows.Forms.Button();
     this.button10 = new System.Windows.Forms.Button();
     this.button11 = new System.Windows.Forms.Button();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.label17 = new System.Windows.Forms.Label();
     this.cmbByCommodity = new System.Windows.Forms.ComboBox();
     this.label18 = new System.Windows.Forms.Label();
     this.tpByCommodity = new System.Windows.Forms.TabPage();
     this.dgvByCommodity = new IBE.Enums_and_Utility_Classes.DataGridViewExt(this.components);
     this.systemIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.systemDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.stationIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.stationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.distanceDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buyDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.supplyDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.supplyLevelDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.demandDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.demandLevelDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.timestampDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tmpabycommodityBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.scStationToStation_2 = new System.Windows.Forms.SplitContainer();
     this.dgvStation1 = new IBE.Enums_and_Utility_Classes.DataGridViewExt(this.components);
     this.dgvStationToStationCommodities1 = new IBE.Enums_and_Utility_Classes.DataGridViewExt(this.components);
     this.dgvStation2 = new IBE.Enums_and_Utility_Classes.DataGridViewExt(this.components);
     this.dgvStationToStationCommodities2 = new IBE.Enums_and_Utility_Classes.DataGridViewExt(this.components);
     this.label19 = new System.Windows.Forms.Label();
     this.cbMaxTripDistance = new System.Windows.Forms.CheckBox();
     this.cmdRoundTripCaclulation = new System.Windows.Forms.Button();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.dgvStationToStationRoutes = new IBE.Enums_and_Utility_Classes.DataGridViewExt(this.components);
     this.systemID1DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.systemName1DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.stationID1DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.stationName1DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.distanceToStar1DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.timeStamp2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.systemID2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.systemName2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.stationID2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.stationName2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.distanceToStar2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.timeStamp1DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.profitDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.distanceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.cmbMaxTripDistance = new System.Windows.Forms.ComboBoxInt32();
     this.label20 = new System.Windows.Forms.Label();
     this.label21 = new System.Windows.Forms.Label();
     this.label22 = new System.Windows.Forms.Label();
     this.cmdSwitchStations = new System.Windows.Forms.Button();
     this.label23 = new System.Windows.Forms.Label();
     this.label24 = new System.Windows.Forms.Label();
     this.cmbStation2 = new System.Windows.Forms.ComboBox();
     this.cmbStation1 = new System.Windows.Forms.ComboBox();
     this.button14 = new System.Windows.Forms.Button();
     this.tpStationToStation = new System.Windows.Forms.TabPage();
     this.scStationToStation_1 = new System.Windows.Forms.SplitContainer();
     this.tabPriceSubTabs = new System.Windows.Forms.TabControl();
     this.cbMinLandingPadSize = new System.Windows.Forms.CheckBox();
     this.cmbMinLandingPadSize = new System.Windows.Forms.ComboBox();
     this.label26 = new System.Windows.Forms.Label();
     this.label27 = new System.Windows.Forms.Label();
     this.lblSystemsFound = new System.Windows.Forms.Label();
     this.lblStationsFound = new System.Windows.Forms.Label();
     this.cmdFilter = new System.Windows.Forms.Button();
     this.tmpa_bystationTableAdapter = new IBE.SQL.Datasets.dsEliteDBTableAdapters.tmpa_bystationTableAdapter();
     this.tmpabystationBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
     this.tmpa_bycommodityTableAdapter = new IBE.SQL.Datasets.dsEliteDBTableAdapters.tmpa_bycommodityTableAdapter();
     this.cmbStationLightSeconds = new System.Windows.Forms.ComboBoxInt32();
     this.cmbSystemLightYears = new System.Windows.Forms.ComboBoxInt32();
     this.commodityIDDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.commodityDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.supplyLevelDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.timestampDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sellDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.demandDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.demandlevelDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.profitDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.groupBox1.SuspendLayout();
     this.tpAllCommodities.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.scAllCommodities_1)).BeginInit();
     this.scAllCommodities_1.Panel1.SuspendLayout();
     this.scAllCommodities_1.Panel2.SuspendLayout();
     this.scAllCommodities_1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvAllCommodities)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.scAllCommodities_2)).BeginInit();
     this.scAllCommodities_2.Panel1.SuspendLayout();
     this.scAllCommodities_2.Panel2.SuspendLayout();
     this.scAllCommodities_2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).BeginInit();
     this.tpByStation.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvByStation)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tmpabystationBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsEliteDB)).BeginInit();
     this.tpByCommodity.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvByCommodity)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tmpabycommodityBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.scStationToStation_2)).BeginInit();
     this.scStationToStation_2.Panel1.SuspendLayout();
     this.scStationToStation_2.Panel2.SuspendLayout();
     this.scStationToStation_2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStation1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStationToStationCommodities1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStation2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStationToStationCommodities2)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStationToStationRoutes)).BeginInit();
     this.tpStationToStation.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.scStationToStation_1)).BeginInit();
     this.scStationToStation_1.Panel1.SuspendLayout();
     this.scStationToStation_1.Panel2.SuspendLayout();
     this.scStationToStation_1.SuspendLayout();
     this.tabPriceSubTabs.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tmpabystationBindingSource1)).BeginInit();
     this.SuspendLayout();
     //
     // cbOnlyStationsWithin
     //
     this.cbOnlyStationsWithin.AutoSize = true;
     this.cbOnlyStationsWithin.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.cbOnlyStationsWithin.Location = new System.Drawing.Point(14, 16);
     this.cbOnlyStationsWithin.Name = "cbOnlyStationsWithin";
     this.cbOnlyStationsWithin.Size = new System.Drawing.Size(156, 17);
     this.cbOnlyStationsWithin.TabIndex = 12;
     this.cbOnlyStationsWithin.Tag = "OnlyStationsWithin;true";
     this.cbOnlyStationsWithin.Text = "Only include stations within ";
     this.cbOnlyStationsWithin.UseVisualStyleBackColor = true;
     this.cbOnlyStationsWithin.CheckedChanged += new System.EventHandler(this.CheckBox_CheckedChanged);
     //
     // cmbShowSystem
     //
     this.cmbShowSystem.Image = ((System.Drawing.Image)(resources.GetObject("cmbShowSystem.Image")));
     this.cmbShowSystem.Location = new System.Drawing.Point(505, 10);
     this.cmbShowSystem.Name = "cmbShowSystem";
     this.cmbShowSystem.Size = new System.Drawing.Size(29, 27);
     this.cmbShowSystem.TabIndex = 14;
     this.cmbShowSystem.UseVisualStyleBackColor = true;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(227, 17);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(66, 13);
     this.label1.TabIndex = 13;
     this.label1.Text = "light years of";
     //
     // cmbSystemBase
     //
     this.cmbSystemBase.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.cmbSystemBase.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbSystemBase.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbSystemBase.FormattingEnabled = true;
     this.cmbSystemBase.Location = new System.Drawing.Point(299, 14);
     this.cmbSystemBase.Name = "cmbSystemBase";
     this.cmbSystemBase.Size = new System.Drawing.Size(200, 21);
     this.cmbSystemBase.TabIndex = 14;
     //
     // cbMaxDistanceToStar
     //
     this.cbMaxDistanceToStar.AutoSize = true;
     this.cbMaxDistanceToStar.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.cbMaxDistanceToStar.Location = new System.Drawing.Point(6, 39);
     this.cbMaxDistanceToStar.Name = "cbMaxDistanceToStar";
     this.cbMaxDistanceToStar.Size = new System.Drawing.Size(164, 17);
     this.cbMaxDistanceToStar.TabIndex = 17;
     this.cbMaxDistanceToStar.Tag = "maxDistanceToStar;true";
     this.cbMaxDistanceToStar.Text = "Max. Station-to-Star Distance\r\n";
     this.cbMaxDistanceToStar.UseVisualStyleBackColor = true;
     this.cbMaxDistanceToStar.CheckedChanged += new System.EventHandler(this.CheckBox_CheckedChanged);
     //
     // cbOrderByAmount
     //
     this.cbOrderByAmount.AutoSize = true;
     this.cbOrderByAmount.Location = new System.Drawing.Point(115, 32);
     this.cbOrderByAmount.Name = "cbOrderByAmount";
     this.cbOrderByAmount.Size = new System.Drawing.Size(130, 17);
     this.cbOrderByAmount.TabIndex = 25;
     this.cbOrderByAmount.Tag = "OrderByAmount;true";
     this.cbOrderByAmount.Text = "last           stations first";
     this.cbOrderByAmount.UseVisualStyleBackColor = true;
     this.cbOrderByAmount.CheckedChanged += new System.EventHandler(this.CheckBox_CheckedChanged);
     //
     // rbOrderByDistance
     //
     this.rbOrderByDistance.AutoSize = true;
     this.rbOrderByDistance.Location = new System.Drawing.Point(115, 14);
     this.rbOrderByDistance.Name = "rbOrderByDistance";
     this.rbOrderByDistance.Size = new System.Drawing.Size(65, 17);
     this.rbOrderByDistance.TabIndex = 23;
     this.rbOrderByDistance.Tag = "distance";
     this.rbOrderByDistance.Text = "distance";
     this.rbOrderByDistance.UseVisualStyleBackColor = true;
     this.rbOrderByDistance.CheckedChanged += new System.EventHandler(this.rbOrderBy_CheckedChanged);
     //
     // rbOrderByStation
     //
     this.rbOrderByStation.AutoSize = true;
     this.rbOrderByStation.Location = new System.Drawing.Point(5, 31);
     this.rbOrderByStation.Name = "rbOrderByStation";
     this.rbOrderByStation.Size = new System.Drawing.Size(85, 17);
     this.rbOrderByStation.TabIndex = 19;
     this.rbOrderByStation.Tag = "stationname";
     this.rbOrderByStation.Text = "station name";
     this.rbOrderByStation.UseVisualStyleBackColor = true;
     this.rbOrderByStation.CheckedChanged += new System.EventHandler(this.rbOrderBy_CheckedChanged);
     //
     // rbOrderBySystem
     //
     this.rbOrderBySystem.AutoSize = true;
     this.rbOrderBySystem.Checked = true;
     this.rbOrderBySystem.Location = new System.Drawing.Point(5, 14);
     this.rbOrderBySystem.Name = "rbOrderBySystem";
     this.rbOrderBySystem.Size = new System.Drawing.Size(86, 17);
     this.rbOrderBySystem.TabIndex = 18;
     this.rbOrderBySystem.TabStop = true;
     this.rbOrderBySystem.Tag = "systemname";
     this.rbOrderBySystem.Text = "system name";
     this.rbOrderBySystem.UseVisualStyleBackColor = true;
     this.rbOrderBySystem.CheckedChanged += new System.EventHandler(this.rbOrderBy_CheckedChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.txtOrderByAmount);
     this.groupBox1.Controls.Add(this.cbOrderByAmount);
     this.groupBox1.Controls.Add(this.rbOrderByDistance);
     this.groupBox1.Controls.Add(this.rbOrderByStation);
     this.groupBox1.Controls.Add(this.rbOrderBySystem);
     this.groupBox1.Location = new System.Drawing.Point(577, 6);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(253, 52);
     this.groupBox1.TabIndex = 15;
     this.groupBox1.TabStop = false;
     this.groupBox1.Tag = "OrderOfEntrys;systemname";
     this.groupBox1.Text = "order of entries";
     //
     // txtOrderByAmount
     //
     this.txtOrderByAmount.Location = new System.Drawing.Point(157, 29);
     this.txtOrderByAmount.MaxLength = 2;
     this.txtOrderByAmount.MaxValue = 999;
     this.txtOrderByAmount.MinValue = 1;
     this.txtOrderByAmount.Name = "txtOrderByAmount";
     this.txtOrderByAmount.Size = new System.Drawing.Size(19, 20);
     this.txtOrderByAmount.TabIndex = 26;
     this.txtOrderByAmount.Tag = "OrderByAmountValue;4";
     this.txtOrderByAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.txtOrderByAmount.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtOrderByAmount_KeyDown);
     this.txtOrderByAmount.Leave += new System.EventHandler(this.txtOrderByAmount_Leave);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(227, 39);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(14, 13);
     this.label2.TabIndex = 18;
     this.label2.Text = "ls";
     //
     // tpAllCommodities
     //
     this.tpAllCommodities.Controls.Add(this.scAllCommodities_1);
     this.tpAllCommodities.Location = new System.Drawing.Point(4, 22);
     this.tpAllCommodities.Name = "tpAllCommodities";
     this.tpAllCommodities.Size = new System.Drawing.Size(1194, 499);
     this.tpAllCommodities.TabIndex = 2;
     this.tpAllCommodities.Text = "All Commodities";
     this.tpAllCommodities.UseVisualStyleBackColor = true;
     //
     // scAllCommodities_1
     //
     this.scAllCommodities_1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.scAllCommodities_1.BackColor = System.Drawing.Color.Transparent;
     this.scAllCommodities_1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.scAllCommodities_1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
     this.scAllCommodities_1.Location = new System.Drawing.Point(0, 0);
     this.scAllCommodities_1.Name = "scAllCommodities_1";
     //
     // scAllCommodities_1.Panel1
     //
     this.scAllCommodities_1.Panel1.Controls.Add(this.cbShowDiagramAllCommodities);
     this.scAllCommodities_1.Panel1.Controls.Add(this.cbOnlyTradedCommodities);
     this.scAllCommodities_1.Panel1.Controls.Add(this.dgvAllCommodities);
     //
     // scAllCommodities_1.Panel2
     //
     this.scAllCommodities_1.Panel2.Controls.Add(this.scAllCommodities_2);
     this.scAllCommodities_1.Size = new System.Drawing.Size(1194, 496);
     this.scAllCommodities_1.SplitterDistance = 822;
     this.scAllCommodities_1.SplitterWidth = 6;
     this.scAllCommodities_1.TabIndex = 8;
     this.scAllCommodities_1.Tag = "SplitterAllCommodities_1;75";
     this.scAllCommodities_1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.Splittercontainer_SplitterMoved);
     this.scAllCommodities_1.Resize += new System.EventHandler(this.SplitContainer_Resize);
     //
     // cbShowDiagramAllCommodities
     //
     this.cbShowDiagramAllCommodities.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbShowDiagramAllCommodities.AutoSize = true;
     this.cbShowDiagramAllCommodities.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.cbShowDiagramAllCommodities.Checked = true;
     this.cbShowDiagramAllCommodities.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbShowDiagramAllCommodities.Location = new System.Drawing.Point(724, 7);
     this.cbShowDiagramAllCommodities.Name = "cbShowDiagramAllCommodities";
     this.cbShowDiagramAllCommodities.Size = new System.Drawing.Size(93, 17);
     this.cbShowDiagramAllCommodities.TabIndex = 47;
     this.cbShowDiagramAllCommodities.Tag = "ShowDiagramAllCommodities;true";
     this.cbShowDiagramAllCommodities.Text = "Show diagram";
     this.cbShowDiagramAllCommodities.UseVisualStyleBackColor = true;
     this.cbShowDiagramAllCommodities.CheckedChanged += new System.EventHandler(this.cbShowDiagramAllCommodities_CheckedChanged);
     //
     // cbOnlyTradedCommodities
     //
     this.cbOnlyTradedCommodities.AutoSize = true;
     this.cbOnlyTradedCommodities.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.cbOnlyTradedCommodities.Location = new System.Drawing.Point(7, 7);
     this.cbOnlyTradedCommodities.Name = "cbOnlyTradedCommodities";
     this.cbOnlyTradedCommodities.Size = new System.Drawing.Size(169, 17);
     this.cbOnlyTradedCommodities.TabIndex = 46;
     this.cbOnlyTradedCommodities.Tag = "OnlyTradedCommodities;true";
     this.cbOnlyTradedCommodities.Text = "Show only traded commodities";
     this.cbOnlyTradedCommodities.UseVisualStyleBackColor = true;
     this.cbOnlyTradedCommodities.CheckedChanged += new System.EventHandler(this.cbOnlyTradedCommodities_CheckedChanged);
     //
     // dgvAllCommodities
     //
     this.dgvAllCommodities.AllowUserToAddRows = false;
     this.dgvAllCommodities.AllowUserToDeleteRows = false;
     this.dgvAllCommodities.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvAllCommodities.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.dgvAllCommodities.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvAllCommodities.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.commodityIDDataGridViewTextBoxColumn,
     this.commodityDataGridViewTextBoxColumn,
     this.Max_Profit,
     this.buySystemIDDataGridViewTextBoxColumn,
     this.buySystemDataGridViewTextBoxColumn,
     this.buyStationIDDataGridViewTextBoxColumn,
     this.buyStationDataGridViewTextBoxColumn,
     this.buyMinDataGridViewTextBoxColumn,
     this.buyDistanceDataGridViewTextBoxColumn,
     this.buyTimestampDataGridViewTextBoxColumn,
     this.sellSystemIDDataGridViewTextBoxColumn,
     this.sellSystemDataGridViewTextBoxColumn,
     this.sellStationIDDataGridViewTextBoxColumn,
     this.sellStationDataGridViewTextBoxColumn,
     this.sellMaxDataGridViewTextBoxColumn,
     this.sellDistanceDataGridViewTextBoxColumn,
     this.sellTimestampDataGridViewTextBoxColumn});
     dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
     dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvAllCommodities.DefaultCellStyle = dataGridViewCellStyle8;
     this.dgvAllCommodities.DoubleBuffer = true;
     this.dgvAllCommodities.Location = new System.Drawing.Point(3, 30);
     this.dgvAllCommodities.Name = "dgvAllCommodities";
     this.dgvAllCommodities.ReadOnly = true;
     this.dgvAllCommodities.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     this.dgvAllCommodities.RowTemplate.Height = 33;
     this.dgvAllCommodities.Size = new System.Drawing.Size(814, 461);
     this.dgvAllCommodities.TabIndex = 45;
     this.dgvAllCommodities.Tag = "AllCommodities;1";
     this.dgvAllCommodities.ColumnSorted += new System.EventHandler<IBE.Enums_and_Utility_Classes.DataGridViewExt.SortedEventArgs>(this.DataGridView_ColumnSorted);
     this.dgvAllCommodities.Click += new System.EventHandler(this.DataGridView_Click);
     //
     // commodityIDDataGridViewTextBoxColumn
     //
     this.commodityIDDataGridViewTextBoxColumn.DataPropertyName = "CommodityID";
     this.commodityIDDataGridViewTextBoxColumn.HeaderText = "CommodityID";
     this.commodityIDDataGridViewTextBoxColumn.Name = "commodityIDDataGridViewTextBoxColumn";
     this.commodityIDDataGridViewTextBoxColumn.ReadOnly = true;
     this.commodityIDDataGridViewTextBoxColumn.Visible = false;
     //
     // commodityDataGridViewTextBoxColumn
     //
     this.commodityDataGridViewTextBoxColumn.DataPropertyName = "Commodity";
     this.commodityDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.commodityDataGridViewTextBoxColumn.HeaderText = "Commodity";
     this.commodityDataGridViewTextBoxColumn.Name = "commodityDataGridViewTextBoxColumn";
     this.commodityDataGridViewTextBoxColumn.ReadOnly = true;
     this.commodityDataGridViewTextBoxColumn.Width = 64;
     //
     // Max_Profit
     //
     this.Max_Profit.DataPropertyName = "Max_Profit";
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.Max_Profit.DefaultCellStyle = dataGridViewCellStyle1;
     this.Max_Profit.FillWeight = 70F;
     this.Max_Profit.HeaderText = "Max. Profit";
     this.Max_Profit.Name = "Max_Profit";
     this.Max_Profit.ReadOnly = true;
     this.Max_Profit.Width = 75;
     //
     // buySystemIDDataGridViewTextBoxColumn
     //
     this.buySystemIDDataGridViewTextBoxColumn.DataPropertyName = "Buy_SystemID";
     this.buySystemIDDataGridViewTextBoxColumn.HeaderText = "Buy_SystemID";
     this.buySystemIDDataGridViewTextBoxColumn.Name = "buySystemIDDataGridViewTextBoxColumn";
     this.buySystemIDDataGridViewTextBoxColumn.ReadOnly = true;
     this.buySystemIDDataGridViewTextBoxColumn.Visible = false;
     //
     // buySystemDataGridViewTextBoxColumn
     //
     this.buySystemDataGridViewTextBoxColumn.DataPropertyName = "Buy_System";
     this.buySystemDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.buySystemDataGridViewTextBoxColumn.HeaderText = "System (buy)";
     this.buySystemDataGridViewTextBoxColumn.Name = "buySystemDataGridViewTextBoxColumn";
     this.buySystemDataGridViewTextBoxColumn.ReadOnly = true;
     this.buySystemDataGridViewTextBoxColumn.Width = 63;
     //
     // buyStationIDDataGridViewTextBoxColumn
     //
     this.buyStationIDDataGridViewTextBoxColumn.DataPropertyName = "Buy_StationID";
     this.buyStationIDDataGridViewTextBoxColumn.HeaderText = "Buy_StationID";
     this.buyStationIDDataGridViewTextBoxColumn.Name = "buyStationIDDataGridViewTextBoxColumn";
     this.buyStationIDDataGridViewTextBoxColumn.ReadOnly = true;
     this.buyStationIDDataGridViewTextBoxColumn.Visible = false;
     //
     // buyStationDataGridViewTextBoxColumn
     //
     this.buyStationDataGridViewTextBoxColumn.DataPropertyName = "Buy_Station";
     this.buyStationDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.buyStationDataGridViewTextBoxColumn.HeaderText = "Station (buy)";
     this.buyStationDataGridViewTextBoxColumn.Name = "buyStationDataGridViewTextBoxColumn";
     this.buyStationDataGridViewTextBoxColumn.ReadOnly = true;
     this.buyStationDataGridViewTextBoxColumn.Width = 64;
     //
     // buyMinDataGridViewTextBoxColumn
     //
     this.buyMinDataGridViewTextBoxColumn.DataPropertyName = "Buy_Min";
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.buyMinDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
     this.buyMinDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.buyMinDataGridViewTextBoxColumn.HeaderText = "Price (buy)";
     this.buyMinDataGridViewTextBoxColumn.Name = "buyMinDataGridViewTextBoxColumn";
     this.buyMinDataGridViewTextBoxColumn.ReadOnly = true;
     this.buyMinDataGridViewTextBoxColumn.Width = 63;
     //
     // buyDistanceDataGridViewTextBoxColumn
     //
     this.buyDistanceDataGridViewTextBoxColumn.DataPropertyName = "Buy_Distance";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     dataGridViewCellStyle3.Format = "N1";
     dataGridViewCellStyle3.NullValue = null;
     this.buyDistanceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
     this.buyDistanceDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.buyDistanceDataGridViewTextBoxColumn.HeaderText = "Distance";
     this.buyDistanceDataGridViewTextBoxColumn.Name = "buyDistanceDataGridViewTextBoxColumn";
     this.buyDistanceDataGridViewTextBoxColumn.ReadOnly = true;
     this.buyDistanceDataGridViewTextBoxColumn.Width = 63;
     //
     // buyTimestampDataGridViewTextBoxColumn
     //
     this.buyTimestampDataGridViewTextBoxColumn.DataPropertyName = "Buy_Timestamp";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.buyTimestampDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
     this.buyTimestampDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.buyTimestampDataGridViewTextBoxColumn.HeaderText = "Updated";
     this.buyTimestampDataGridViewTextBoxColumn.Name = "buyTimestampDataGridViewTextBoxColumn";
     this.buyTimestampDataGridViewTextBoxColumn.ReadOnly = true;
     this.buyTimestampDataGridViewTextBoxColumn.Width = 63;
     //
     // sellSystemIDDataGridViewTextBoxColumn
     //
     this.sellSystemIDDataGridViewTextBoxColumn.DataPropertyName = "Sell_SystemID";
     this.sellSystemIDDataGridViewTextBoxColumn.HeaderText = "Sell_SystemID";
     this.sellSystemIDDataGridViewTextBoxColumn.Name = "sellSystemIDDataGridViewTextBoxColumn";
     this.sellSystemIDDataGridViewTextBoxColumn.ReadOnly = true;
     this.sellSystemIDDataGridViewTextBoxColumn.Visible = false;
     //
     // sellSystemDataGridViewTextBoxColumn
     //
     this.sellSystemDataGridViewTextBoxColumn.DataPropertyName = "Sell_System";
     this.sellSystemDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.sellSystemDataGridViewTextBoxColumn.HeaderText = "System (sell)";
     this.sellSystemDataGridViewTextBoxColumn.Name = "sellSystemDataGridViewTextBoxColumn";
     this.sellSystemDataGridViewTextBoxColumn.ReadOnly = true;
     this.sellSystemDataGridViewTextBoxColumn.Width = 63;
     //
     // sellStationIDDataGridViewTextBoxColumn
     //
     this.sellStationIDDataGridViewTextBoxColumn.DataPropertyName = "Sell_StationID";
     this.sellStationIDDataGridViewTextBoxColumn.HeaderText = "Sell_StationID";
     this.sellStationIDDataGridViewTextBoxColumn.Name = "sellStationIDDataGridViewTextBoxColumn";
     this.sellStationIDDataGridViewTextBoxColumn.ReadOnly = true;
     this.sellStationIDDataGridViewTextBoxColumn.Visible = false;
     //
     // sellStationDataGridViewTextBoxColumn
     //
     this.sellStationDataGridViewTextBoxColumn.DataPropertyName = "Sell_Station";
     this.sellStationDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.sellStationDataGridViewTextBoxColumn.HeaderText = "Station (sell)";
     this.sellStationDataGridViewTextBoxColumn.Name = "sellStationDataGridViewTextBoxColumn";
     this.sellStationDataGridViewTextBoxColumn.ReadOnly = true;
     this.sellStationDataGridViewTextBoxColumn.Width = 64;
     //
     // sellMaxDataGridViewTextBoxColumn
     //
     this.sellMaxDataGridViewTextBoxColumn.DataPropertyName = "Sell_Max";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.sellMaxDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
     this.sellMaxDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.sellMaxDataGridViewTextBoxColumn.HeaderText = "Price (sell)";
     this.sellMaxDataGridViewTextBoxColumn.Name = "sellMaxDataGridViewTextBoxColumn";
     this.sellMaxDataGridViewTextBoxColumn.ReadOnly = true;
     this.sellMaxDataGridViewTextBoxColumn.Width = 63;
     //
     // sellDistanceDataGridViewTextBoxColumn
     //
     this.sellDistanceDataGridViewTextBoxColumn.DataPropertyName = "Sell_Distance";
     dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     dataGridViewCellStyle6.Format = "N1";
     dataGridViewCellStyle6.NullValue = null;
     this.sellDistanceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
     this.sellDistanceDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.sellDistanceDataGridViewTextBoxColumn.HeaderText = "Distance";
     this.sellDistanceDataGridViewTextBoxColumn.Name = "sellDistanceDataGridViewTextBoxColumn";
     this.sellDistanceDataGridViewTextBoxColumn.ReadOnly = true;
     this.sellDistanceDataGridViewTextBoxColumn.Width = 64;
     //
     // sellTimestampDataGridViewTextBoxColumn
     //
     this.sellTimestampDataGridViewTextBoxColumn.DataPropertyName = "Sell_Timestamp";
     dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.sellTimestampDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle7;
     this.sellTimestampDataGridViewTextBoxColumn.FillWeight = 59.17297F;
     this.sellTimestampDataGridViewTextBoxColumn.HeaderText = "Updated";
     this.sellTimestampDataGridViewTextBoxColumn.Name = "sellTimestampDataGridViewTextBoxColumn";
     this.sellTimestampDataGridViewTextBoxColumn.ReadOnly = true;
     this.sellTimestampDataGridViewTextBoxColumn.Width = 62;
     //
     // scAllCommodities_2
     //
     this.scAllCommodities_2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.scAllCommodities_2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.scAllCommodities_2.Location = new System.Drawing.Point(0, 0);
     this.scAllCommodities_2.Name = "scAllCommodities_2";
     this.scAllCommodities_2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // scAllCommodities_2.Panel1
     //
     this.scAllCommodities_2.Panel1.Controls.Add(this.label3);
     this.scAllCommodities_2.Panel1.Controls.Add(this.chart1);
     //
     // scAllCommodities_2.Panel2
     //
     this.scAllCommodities_2.Panel2.Controls.Add(this.label4);
     this.scAllCommodities_2.Panel2.Controls.Add(this.chart2);
     this.scAllCommodities_2.Size = new System.Drawing.Size(366, 496);
     this.scAllCommodities_2.SplitterDistance = 245;
     this.scAllCommodities_2.SplitterWidth = 6;
     this.scAllCommodities_2.TabIndex = 7;
     this.scAllCommodities_2.Tag = "SplitterAllCommodities_2;50";
     this.scAllCommodities_2.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.Splittercontainer_SplitterMoved);
     this.scAllCommodities_2.Resize += new System.EventHandler(this.SplitContainer_Resize);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.ForeColor = System.Drawing.Color.DarkRed;
     this.label3.Location = new System.Drawing.Point(83, 2);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(57, 13);
     this.label3.TabIndex = 6;
     this.label3.Text = "Buy Prices";
     //
     // chart1
     //
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.chart1.Location = new System.Drawing.Point(0, 0);
     this.chart1.Name = "chart1";
     series1.ChartArea = "ChartArea1";
     series1.Name = "Series1";
     this.chart1.Series.Add(series1);
     this.chart1.Size = new System.Drawing.Size(364, 243);
     this.chart1.TabIndex = 5;
     this.chart1.Text = "chart1";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.ForeColor = System.Drawing.Color.DarkGreen;
     this.label4.Location = new System.Drawing.Point(79, 2);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(56, 13);
     this.label4.TabIndex = 7;
     this.label4.Text = "Sell Prices";
     //
     // chart2
     //
     chartArea2.Name = "ChartArea1";
     this.chart2.ChartAreas.Add(chartArea2);
     this.chart2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.chart2.Location = new System.Drawing.Point(0, 0);
     this.chart2.Name = "chart2";
     series2.ChartArea = "ChartArea1";
     series2.Name = "Series1";
     this.chart2.Series.Add(series2);
     this.chart2.Size = new System.Drawing.Size(364, 243);
     this.chart2.TabIndex = 6;
     this.chart2.Text = "chart2";
     //
     // button2
     //
     this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button2.Location = new System.Drawing.Point(984, 16);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(97, 23);
     this.button2.TabIndex = 17;
     this.button2.Text = "Delete Row(s)";
     this.button2.UseVisualStyleBackColor = true;
     //
     // button3
     //
     this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button3.Location = new System.Drawing.Point(1087, 16);
     this.button3.Name = "button3";
     this.button3.Size = new System.Drawing.Size(97, 23);
     this.button3.TabIndex = 16;
     this.button3.Text = "Edit Row";
     this.button3.UseVisualStyleBackColor = true;
     //
     // button5
     //
     this.button5.Image = ((System.Drawing.Image)(resources.GetObject("button5.Image")));
     this.button5.Location = new System.Drawing.Point(304, 12);
     this.button5.Name = "button5";
     this.button5.Size = new System.Drawing.Size(29, 27);
     this.button5.TabIndex = 14;
     this.button5.UseVisualStyleBackColor = true;
     //
     // cmbByStation
     //
     this.cmbByStation.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.cmbByStation.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbByStation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbByStation.FormattingEnabled = true;
     this.cmbByStation.Location = new System.Drawing.Point(52, 15);
     this.cmbByStation.Name = "cmbByStation";
     this.cmbByStation.Size = new System.Drawing.Size(250, 21);
     this.cmbByStation.TabIndex = 1;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(6, 18);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(40, 13);
     this.label5.TabIndex = 2;
     this.label5.Text = "Station";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(339, 18);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(63, 13);
     this.label6.TabIndex = 15;
     this.label6.Text = "( light years)";
     //
     // tpByStation
     //
     this.tpByStation.Controls.Add(this.dgvByStation);
     this.tpByStation.Controls.Add(this.button2);
     this.tpByStation.Controls.Add(this.button3);
     this.tpByStation.Controls.Add(this.button5);
     this.tpByStation.Controls.Add(this.cmbByStation);
     this.tpByStation.Controls.Add(this.label5);
     this.tpByStation.Controls.Add(this.label6);
     this.tpByStation.Location = new System.Drawing.Point(4, 22);
     this.tpByStation.Name = "tpByStation";
     this.tpByStation.Padding = new System.Windows.Forms.Padding(3);
     this.tpByStation.Size = new System.Drawing.Size(1194, 499);
     this.tpByStation.TabIndex = 0;
     this.tpByStation.Text = "By Station";
     this.tpByStation.UseVisualStyleBackColor = true;
     this.tpByStation.Visible = false;
     //
     // dgvByStation
     //
     this.dgvByStation.AllowUserToAddRows = false;
     this.dgvByStation.AllowUserToDeleteRows = false;
     this.dgvByStation.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvByStation.AutoGenerateColumns = false;
     this.dgvByStation.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.dgvByStation.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvByStation.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.commodityIDDataGridViewTextBoxColumn2,
     this.commodityDataGridViewTextBoxColumn2,
     this.buyDataGridViewTextBoxColumn1,
     this.demandDataGridViewTextBoxColumn1,
     this.demandLevelDataGridViewTextBoxColumn1,
     this.sellDataGridViewTextBoxColumn1,
     this.supplyDataGridViewTextBoxColumn1,
     this.supplyLevelDataGridViewTextBoxColumn1,
     this.timestampDataGridViewTextBoxColumn1,
     this.bestBuyDataGridViewTextBoxColumn,
     this.bestSellDataGridViewTextBoxColumn,
     this.maxProfitDataGridViewTextBoxColumn,
     this.sourceDataGridViewTextBoxColumn});
     this.dgvByStation.DataSource = this.tmpabystationBindingSource;
     this.dgvByStation.DoubleBuffer = true;
     this.dgvByStation.Location = new System.Drawing.Point(4, 45);
     this.dgvByStation.Name = "dgvByStation";
     this.dgvByStation.Size = new System.Drawing.Size(1186, 444);
     this.dgvByStation.TabIndex = 18;
     this.dgvByStation.Tag = "byStation;1";
     this.dgvByStation.ColumnSorted += new System.EventHandler<IBE.Enums_and_Utility_Classes.DataGridViewExt.SortedEventArgs>(this.DataGridView_ColumnSorted);
     this.dgvByStation.Click += new System.EventHandler(this.DataGridView_Click);
     //
     // commodityIDDataGridViewTextBoxColumn2
     //
     this.commodityIDDataGridViewTextBoxColumn2.DataPropertyName = "Commodity_ID";
     this.commodityIDDataGridViewTextBoxColumn2.HeaderText = "Commodity_ID";
     this.commodityIDDataGridViewTextBoxColumn2.Name = "commodityIDDataGridViewTextBoxColumn2";
     this.commodityIDDataGridViewTextBoxColumn2.Visible = false;
     //
     // commodityDataGridViewTextBoxColumn2
     //
     this.commodityDataGridViewTextBoxColumn2.DataPropertyName = "Commodity";
     this.commodityDataGridViewTextBoxColumn2.HeaderText = "Commodity";
     this.commodityDataGridViewTextBoxColumn2.Name = "commodityDataGridViewTextBoxColumn2";
     this.commodityDataGridViewTextBoxColumn2.Width = 95;
     //
     // buyDataGridViewTextBoxColumn1
     //
     this.buyDataGridViewTextBoxColumn1.DataPropertyName = "Buy";
     dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.buyDataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle9;
     this.buyDataGridViewTextBoxColumn1.HeaderText = "Buy";
     this.buyDataGridViewTextBoxColumn1.Name = "buyDataGridViewTextBoxColumn1";
     this.buyDataGridViewTextBoxColumn1.Width = 96;
     //
     // demandDataGridViewTextBoxColumn1
     //
     this.demandDataGridViewTextBoxColumn1.DataPropertyName = "Demand";
     dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.demandDataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle10;
     this.demandDataGridViewTextBoxColumn1.HeaderText = "Demand";
     this.demandDataGridViewTextBoxColumn1.Name = "demandDataGridViewTextBoxColumn1";
     this.demandDataGridViewTextBoxColumn1.Width = 95;
     //
     // demandLevelDataGridViewTextBoxColumn1
     //
     this.demandLevelDataGridViewTextBoxColumn1.DataPropertyName = "DemandLevel";
     this.demandLevelDataGridViewTextBoxColumn1.HeaderText = "DemandLevel";
     this.demandLevelDataGridViewTextBoxColumn1.Name = "demandLevelDataGridViewTextBoxColumn1";
     this.demandLevelDataGridViewTextBoxColumn1.Width = 95;
     //
     // sellDataGridViewTextBoxColumn1
     //
     this.sellDataGridViewTextBoxColumn1.DataPropertyName = "Sell";
     dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.sellDataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle11;
     this.sellDataGridViewTextBoxColumn1.HeaderText = "Sell";
     this.sellDataGridViewTextBoxColumn1.Name = "sellDataGridViewTextBoxColumn1";
     this.sellDataGridViewTextBoxColumn1.Width = 95;
     //
     // supplyDataGridViewTextBoxColumn1
     //
     this.supplyDataGridViewTextBoxColumn1.DataPropertyName = "Supply";
     dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.supplyDataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle12;
     this.supplyDataGridViewTextBoxColumn1.HeaderText = "Supply";
     this.supplyDataGridViewTextBoxColumn1.Name = "supplyDataGridViewTextBoxColumn1";
     this.supplyDataGridViewTextBoxColumn1.Width = 96;
     //
     // supplyLevelDataGridViewTextBoxColumn1
     //
     this.supplyLevelDataGridViewTextBoxColumn1.DataPropertyName = "SupplyLevel";
     this.supplyLevelDataGridViewTextBoxColumn1.HeaderText = "SupplyLevel";
     this.supplyLevelDataGridViewTextBoxColumn1.Name = "supplyLevelDataGridViewTextBoxColumn1";
     this.supplyLevelDataGridViewTextBoxColumn1.Width = 95;
     //
     // timestampDataGridViewTextBoxColumn1
     //
     this.timestampDataGridViewTextBoxColumn1.DataPropertyName = "Timestamp";
     dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.timestampDataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle13;
     this.timestampDataGridViewTextBoxColumn1.HeaderText = "Timestamp";
     this.timestampDataGridViewTextBoxColumn1.Name = "timestampDataGridViewTextBoxColumn1";
     this.timestampDataGridViewTextBoxColumn1.Width = 95;
     //
     // bestBuyDataGridViewTextBoxColumn
     //
     this.bestBuyDataGridViewTextBoxColumn.DataPropertyName = "Best_Buy";
     dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.bestBuyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle14;
     this.bestBuyDataGridViewTextBoxColumn.HeaderText = "Best_Buy";
     this.bestBuyDataGridViewTextBoxColumn.Name = "bestBuyDataGridViewTextBoxColumn";
     this.bestBuyDataGridViewTextBoxColumn.Width = 95;
     //
     // bestSellDataGridViewTextBoxColumn
     //
     this.bestSellDataGridViewTextBoxColumn.DataPropertyName = "Best_Sell";
     dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.bestSellDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle15;
     this.bestSellDataGridViewTextBoxColumn.HeaderText = "Best_Sell";
     this.bestSellDataGridViewTextBoxColumn.Name = "bestSellDataGridViewTextBoxColumn";
     this.bestSellDataGridViewTextBoxColumn.Width = 96;
     //
     // maxProfitDataGridViewTextBoxColumn
     //
     this.maxProfitDataGridViewTextBoxColumn.DataPropertyName = "MaxProfit";
     dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.maxProfitDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle16;
     this.maxProfitDataGridViewTextBoxColumn.HeaderText = "MaxProfit";
     this.maxProfitDataGridViewTextBoxColumn.Name = "maxProfitDataGridViewTextBoxColumn";
     this.maxProfitDataGridViewTextBoxColumn.Width = 95;
     //
     // sourceDataGridViewTextBoxColumn
     //
     this.sourceDataGridViewTextBoxColumn.DataPropertyName = "Source";
     this.sourceDataGridViewTextBoxColumn.HeaderText = "Source";
     this.sourceDataGridViewTextBoxColumn.Name = "sourceDataGridViewTextBoxColumn";
     this.sourceDataGridViewTextBoxColumn.Width = 95;
     //
     // tmpabystationBindingSource
     //
     this.tmpabystationBindingSource.DataMember = "tmpa_bystation";
     this.tmpabystationBindingSource.DataSource = this.dsEliteDB;
     //
     // dsEliteDB
     //
     this.dsEliteDB.DataSetName = "dsEliteDB";
     this.dsEliteDB.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // button6
     //
     this.button6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button6.Location = new System.Drawing.Point(1014, 10);
     this.button6.Name = "button6";
     this.button6.Size = new System.Drawing.Size(93, 23);
     this.button6.TabIndex = 25;
     this.button6.Text = "Delete Row(s)";
     this.button6.UseVisualStyleBackColor = true;
     //
     // button7
     //
     this.button7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button7.Location = new System.Drawing.Point(1113, 10);
     this.button7.Name = "button7";
     this.button7.Size = new System.Drawing.Size(75, 23);
     this.button7.TabIndex = 24;
     this.button7.Text = "Edit Row";
     this.button7.UseVisualStyleBackColor = true;
     //
     // button8
     //
     this.button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 3.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button8.Location = new System.Drawing.Point(556, 21);
     this.button8.Name = "button8";
     this.button8.Size = new System.Drawing.Size(16, 16);
     this.button8.TabIndex = 23;
     this.button8.Text = "...";
     this.button8.UseVisualStyleBackColor = true;
     //
     // button9
     //
     this.button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 3.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button9.Location = new System.Drawing.Point(556, 6);
     this.button9.Name = "button9";
     this.button9.Size = new System.Drawing.Size(16, 16);
     this.button9.TabIndex = 22;
     this.button9.Text = "...";
     this.button9.UseVisualStyleBackColor = true;
     //
     // button10
     //
     this.button10.Font = new System.Drawing.Font("Microsoft Sans Serif", 3.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button10.Location = new System.Drawing.Point(478, 21);
     this.button10.Name = "button10";
     this.button10.Size = new System.Drawing.Size(16, 16);
     this.button10.TabIndex = 21;
     this.button10.Text = "...";
     this.button10.UseVisualStyleBackColor = true;
     //
     // button11
     //
     this.button11.Font = new System.Drawing.Font("Microsoft Sans Serif", 3.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button11.Location = new System.Drawing.Point(478, 6);
     this.button11.Name = "button11";
     this.button11.Size = new System.Drawing.Size(16, 16);
     this.button11.TabIndex = 5;
     this.button11.Text = "...";
     this.button11.UseVisualStyleBackColor = true;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.ForeColor = System.Drawing.Color.DarkGreen;
     this.label7.Location = new System.Drawing.Point(382, 22);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(24, 13);
     this.label7.TabIndex = 20;
     this.label7.Text = "Sell";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.ForeColor = System.Drawing.Color.DarkRed;
     this.label8.Location = new System.Drawing.Point(382, 7);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(25, 13);
     this.label8.TabIndex = 19;
     this.label8.Text = "Buy";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.ForeColor = System.Drawing.Color.DarkGreen;
     this.label9.Location = new System.Drawing.Point(611, 22);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(26, 13);
     this.label9.TabIndex = 18;
     this.label9.Text = "Avg";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.ForeColor = System.Drawing.Color.DarkGreen;
     this.label10.Location = new System.Drawing.Point(527, 22);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(27, 13);
     this.label10.TabIndex = 17;
     this.label10.Text = "Max";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.ForeColor = System.Drawing.Color.DarkGreen;
     this.label11.Location = new System.Drawing.Point(451, 22);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(24, 13);
     this.label11.TabIndex = 16;
     this.label11.Text = "Min";
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.ForeColor = System.Drawing.Color.DarkRed;
     this.label12.Location = new System.Drawing.Point(611, 7);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(26, 13);
     this.label12.TabIndex = 12;
     this.label12.Text = "Avg";
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.ForeColor = System.Drawing.Color.DarkRed;
     this.label13.Location = new System.Drawing.Point(527, 7);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(27, 13);
     this.label13.TabIndex = 11;
     this.label13.Text = "Max";
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.ForeColor = System.Drawing.Color.DarkRed;
     this.label14.Location = new System.Drawing.Point(451, 7);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(24, 13);
     this.label14.TabIndex = 10;
     this.label14.Text = "Min";
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(581, 14);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(26, 13);
     this.label15.TabIndex = 9;
     this.label15.Text = "Avg";
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Location = new System.Drawing.Point(497, 14);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(27, 13);
     this.label16.TabIndex = 8;
     this.label16.Text = "Max";
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Location = new System.Drawing.Point(421, 14);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(24, 13);
     this.label17.TabIndex = 7;
     this.label17.Text = "Min";
     //
     // cmbByCommodity
     //
     this.cmbByCommodity.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.cmbByCommodity.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbByCommodity.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbByCommodity.Location = new System.Drawing.Point(71, 10);
     this.cmbByCommodity.Name = "cmbByCommodity";
     this.cmbByCommodity.Size = new System.Drawing.Size(264, 21);
     this.cmbByCommodity.TabIndex = 5;
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Location = new System.Drawing.Point(9, 13);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(58, 13);
     this.label18.TabIndex = 6;
     this.label18.Text = "Commodity";
     //
     // tpByCommodity
     //
     this.tpByCommodity.Controls.Add(this.dgvByCommodity);
     this.tpByCommodity.Controls.Add(this.button6);
     this.tpByCommodity.Controls.Add(this.button7);
     this.tpByCommodity.Controls.Add(this.button8);
     this.tpByCommodity.Controls.Add(this.button9);
     this.tpByCommodity.Controls.Add(this.button10);
     this.tpByCommodity.Controls.Add(this.button11);
     this.tpByCommodity.Controls.Add(this.label7);
     this.tpByCommodity.Controls.Add(this.label8);
     this.tpByCommodity.Controls.Add(this.label9);
     this.tpByCommodity.Controls.Add(this.label10);
     this.tpByCommodity.Controls.Add(this.label11);
     this.tpByCommodity.Controls.Add(this.label12);
     this.tpByCommodity.Controls.Add(this.label13);
     this.tpByCommodity.Controls.Add(this.label14);
     this.tpByCommodity.Controls.Add(this.label15);
     this.tpByCommodity.Controls.Add(this.label16);
     this.tpByCommodity.Controls.Add(this.label17);
     this.tpByCommodity.Controls.Add(this.cmbByCommodity);
     this.tpByCommodity.Controls.Add(this.label18);
     this.tpByCommodity.Location = new System.Drawing.Point(4, 22);
     this.tpByCommodity.Name = "tpByCommodity";
     this.tpByCommodity.Padding = new System.Windows.Forms.Padding(3);
     this.tpByCommodity.Size = new System.Drawing.Size(1194, 499);
     this.tpByCommodity.TabIndex = 1;
     this.tpByCommodity.Text = "By Commodity";
     this.tpByCommodity.UseVisualStyleBackColor = true;
     this.tpByCommodity.Visible = false;
     //
     // dgvByCommodity
     //
     this.dgvByCommodity.AllowUserToAddRows = false;
     this.dgvByCommodity.AllowUserToDeleteRows = false;
     this.dgvByCommodity.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvByCommodity.AutoGenerateColumns = false;
     this.dgvByCommodity.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.dgvByCommodity.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvByCommodity.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.systemIDDataGridViewTextBoxColumn,
     this.systemDataGridViewTextBoxColumn,
     this.stationIDDataGridViewTextBoxColumn,
     this.stationDataGridViewTextBoxColumn,
     this.distanceDataGridViewTextBoxColumn1,
     this.buyDataGridViewTextBoxColumn2,
     this.supplyDataGridViewTextBoxColumn2,
     this.supplyLevelDataGridViewTextBoxColumn2,
     this.sellDataGridViewTextBoxColumn2,
     this.demandDataGridViewTextBoxColumn2,
     this.demandLevelDataGridViewTextBoxColumn2,
     this.timestampDataGridViewTextBoxColumn2});
     this.dgvByCommodity.DataSource = this.tmpabycommodityBindingSource;
     this.dgvByCommodity.DoubleBuffer = true;
     this.dgvByCommodity.Location = new System.Drawing.Point(4, 41);
     this.dgvByCommodity.Name = "dgvByCommodity";
     this.dgvByCommodity.Size = new System.Drawing.Size(1186, 454);
     this.dgvByCommodity.TabIndex = 26;
     this.dgvByCommodity.Tag = "byCcommodity;stationDataGridViewTextBoxColumn";
     this.dgvByCommodity.ColumnSorted += new System.EventHandler<IBE.Enums_and_Utility_Classes.DataGridViewExt.SortedEventArgs>(this.DataGridView_ColumnSorted);
     this.dgvByCommodity.Click += new System.EventHandler(this.DataGridView_Click);
     //
     // systemIDDataGridViewTextBoxColumn
     //
     this.systemIDDataGridViewTextBoxColumn.DataPropertyName = "System_ID";
     this.systemIDDataGridViewTextBoxColumn.HeaderText = "System_ID";
     this.systemIDDataGridViewTextBoxColumn.Name = "systemIDDataGridViewTextBoxColumn";
     this.systemIDDataGridViewTextBoxColumn.Visible = false;
     //
     // systemDataGridViewTextBoxColumn
     //
     this.systemDataGridViewTextBoxColumn.DataPropertyName = "System";
     this.systemDataGridViewTextBoxColumn.HeaderText = "System";
     this.systemDataGridViewTextBoxColumn.Name = "systemDataGridViewTextBoxColumn";
     this.systemDataGridViewTextBoxColumn.Width = 115;
     //
     // stationIDDataGridViewTextBoxColumn
     //
     this.stationIDDataGridViewTextBoxColumn.DataPropertyName = "Station_ID";
     this.stationIDDataGridViewTextBoxColumn.HeaderText = "Station_ID";
     this.stationIDDataGridViewTextBoxColumn.Name = "stationIDDataGridViewTextBoxColumn";
     this.stationIDDataGridViewTextBoxColumn.Visible = false;
     //
     // stationDataGridViewTextBoxColumn
     //
     this.stationDataGridViewTextBoxColumn.DataPropertyName = "Station";
     this.stationDataGridViewTextBoxColumn.HeaderText = "Station";
     this.stationDataGridViewTextBoxColumn.Name = "stationDataGridViewTextBoxColumn";
     this.stationDataGridViewTextBoxColumn.Width = 114;
     //
     // distanceDataGridViewTextBoxColumn1
     //
     this.distanceDataGridViewTextBoxColumn1.DataPropertyName = "Distance";
     dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     dataGridViewCellStyle17.Format = "N1";
     dataGridViewCellStyle17.NullValue = null;
     this.distanceDataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle17;
     this.distanceDataGridViewTextBoxColumn1.HeaderText = "Distance";
     this.distanceDataGridViewTextBoxColumn1.Name = "distanceDataGridViewTextBoxColumn1";
     this.distanceDataGridViewTextBoxColumn1.Width = 114;
     //
     // buyDataGridViewTextBoxColumn2
     //
     this.buyDataGridViewTextBoxColumn2.DataPropertyName = "Buy";
     this.buyDataGridViewTextBoxColumn2.HeaderText = "Buy";
     this.buyDataGridViewTextBoxColumn2.Name = "buyDataGridViewTextBoxColumn2";
     this.buyDataGridViewTextBoxColumn2.Width = 114;
     //
     // supplyDataGridViewTextBoxColumn2
     //
     this.supplyDataGridViewTextBoxColumn2.DataPropertyName = "Supply";
     this.supplyDataGridViewTextBoxColumn2.HeaderText = "Supply";
     this.supplyDataGridViewTextBoxColumn2.Name = "supplyDataGridViewTextBoxColumn2";
     this.supplyDataGridViewTextBoxColumn2.Width = 115;
     //
     // supplyLevelDataGridViewTextBoxColumn2
     //
     this.supplyLevelDataGridViewTextBoxColumn2.DataPropertyName = "SupplyLevel";
     this.supplyLevelDataGridViewTextBoxColumn2.HeaderText = "SupplyLevel";
     this.supplyLevelDataGridViewTextBoxColumn2.Name = "supplyLevelDataGridViewTextBoxColumn2";
     this.supplyLevelDataGridViewTextBoxColumn2.Width = 114;
     //
     // sellDataGridViewTextBoxColumn2
     //
     this.sellDataGridViewTextBoxColumn2.DataPropertyName = "Sell";
     this.sellDataGridViewTextBoxColumn2.HeaderText = "Sell";
     this.sellDataGridViewTextBoxColumn2.Name = "sellDataGridViewTextBoxColumn2";
     this.sellDataGridViewTextBoxColumn2.Width = 114;
     //
     // demandDataGridViewTextBoxColumn2
     //
     this.demandDataGridViewTextBoxColumn2.DataPropertyName = "Demand";
     this.demandDataGridViewTextBoxColumn2.HeaderText = "Demand";
     this.demandDataGridViewTextBoxColumn2.Name = "demandDataGridViewTextBoxColumn2";
     this.demandDataGridViewTextBoxColumn2.Width = 114;
     //
     // demandLevelDataGridViewTextBoxColumn2
     //
     this.demandLevelDataGridViewTextBoxColumn2.DataPropertyName = "DemandLevel";
     this.demandLevelDataGridViewTextBoxColumn2.HeaderText = "DemandLevel";
     this.demandLevelDataGridViewTextBoxColumn2.Name = "demandLevelDataGridViewTextBoxColumn2";
     this.demandLevelDataGridViewTextBoxColumn2.Width = 115;
     //
     // timestampDataGridViewTextBoxColumn2
     //
     this.timestampDataGridViewTextBoxColumn2.DataPropertyName = "Timestamp";
     this.timestampDataGridViewTextBoxColumn2.HeaderText = "Timestamp";
     this.timestampDataGridViewTextBoxColumn2.Name = "timestampDataGridViewTextBoxColumn2";
     this.timestampDataGridViewTextBoxColumn2.Width = 114;
     //
     // tmpabycommodityBindingSource
     //
     this.tmpabycommodityBindingSource.DataMember = "tmpa_bycommodity";
     this.tmpabycommodityBindingSource.DataSource = this.dsEliteDB;
     //
     // scStationToStation_2
     //
     this.scStationToStation_2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.scStationToStation_2.Location = new System.Drawing.Point(3, 3);
     this.scStationToStation_2.Name = "scStationToStation_2";
     this.scStationToStation_2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // scStationToStation_2.Panel1
     //
     this.scStationToStation_2.Panel1.Controls.Add(this.dgvStation1);
     this.scStationToStation_2.Panel1.Controls.Add(this.dgvStationToStationCommodities1);
     //
     // scStationToStation_2.Panel2
     //
     this.scStationToStation_2.Panel2.Controls.Add(this.dgvStation2);
     this.scStationToStation_2.Panel2.Controls.Add(this.dgvStationToStationCommodities2);
     this.scStationToStation_2.Size = new System.Drawing.Size(584, 457);
     this.scStationToStation_2.SplitterDistance = 227;
     this.scStationToStation_2.TabIndex = 19;
     this.scStationToStation_2.Tag = "SplitterStationToStation_2;50";
     this.scStationToStation_2.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.Splittercontainer_SplitterMoved);
     this.scStationToStation_2.Resize += new System.EventHandler(this.SplitContainer_Resize);
     //
     // dgvStation1
     //
     this.dgvStation1.AllowUserToAddRows = false;
     this.dgvStation1.AllowUserToDeleteRows = false;
     this.dgvStation1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvStation1.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.dgvStation1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvStation1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.commodityIDDataGridViewTextBoxColumn1,
     this.commodityDataGridViewTextBoxColumn1,
     this.buyDataGridViewTextBoxColumn,
     this.supplyDataGridViewTextBoxColumn,
     this.supplyLevelDataGridViewTextBoxColumn,
     this.timestampDataGridViewTextBoxColumn,
     this.sellDataGridViewTextBoxColumn,
     this.demandDataGridViewTextBoxColumn,
     this.demandlevelDataGridViewTextBoxColumn,
     this.Column1,
     this.profitDataGridViewTextBoxColumn});
     dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
     dataGridViewCellStyle25.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvStation1.DefaultCellStyle = dataGridViewCellStyle25;
     this.dgvStation1.DoubleBuffer = true;
     this.dgvStation1.Location = new System.Drawing.Point(5, 5);
     this.dgvStation1.Name = "dgvStation1";
     this.dgvStation1.ReadOnly = true;
     this.dgvStation1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     this.dgvStation1.RowTemplate.Height = 33;
     this.dgvStation1.Size = new System.Drawing.Size(575, 218);
     this.dgvStation1.TabIndex = 47;
     this.dgvStation1.Tag = "Station1;1";
     this.dgvStation1.ColumnSorted += new System.EventHandler<IBE.Enums_and_Utility_Classes.DataGridViewExt.SortedEventArgs>(this.DataGridView_ColumnSorted);
     this.dgvStation1.Click += new System.EventHandler(this.DataGridView_Click);
     //
     // dgvStationToStationCommodities1
     //
     this.dgvStationToStationCommodities1.AllowUserToAddRows = false;
     this.dgvStationToStationCommodities1.AllowUserToDeleteRows = false;
     this.dgvStationToStationCommodities1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvStationToStationCommodities1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgvStationToStationCommodities1.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.dgvStationToStationCommodities1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
     dataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle26.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvStationToStationCommodities1.DefaultCellStyle = dataGridViewCellStyle26;
     this.dgvStationToStationCommodities1.DoubleBuffer = true;
     this.dgvStationToStationCommodities1.Location = new System.Drawing.Point(3, 3);
     this.dgvStationToStationCommodities1.Name = "dgvStationToStationCommodities1";
     this.dgvStationToStationCommodities1.ReadOnly = true;
     this.dgvStationToStationCommodities1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     this.dgvStationToStationCommodities1.RowTemplate.Height = 33;
     this.dgvStationToStationCommodities1.Size = new System.Drawing.Size(578, 221);
     this.dgvStationToStationCommodities1.TabIndex = 46;
     this.dgvStationToStationCommodities1.Tag = "AllCommodities;commodityDataGridViewTextBoxColumn";
     //
     // dgvStation2
     //
     this.dgvStation2.AllowUserToAddRows = false;
     this.dgvStation2.AllowUserToDeleteRows = false;
     this.dgvStation2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvStation2.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.dgvStation2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvStation2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3,
     this.dataGridViewTextBoxColumn4,
     this.dataGridViewTextBoxColumn5,
     this.dataGridViewTextBoxColumn6,
     this.dataGridViewTextBoxColumn7,
     this.dataGridViewTextBoxColumn8,
     this.dataGridViewTextBoxColumn9,
     this.dataGridViewTextBoxColumn10,
     this.dataGridViewTextBoxColumn11});
     dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
     dataGridViewCellStyle34.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle34.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle34.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle34.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle34.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle34.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvStation2.DefaultCellStyle = dataGridViewCellStyle34;
     this.dgvStation2.DoubleBuffer = true;
     this.dgvStation2.Location = new System.Drawing.Point(5, 5);
     this.dgvStation2.Name = "dgvStation2";
     this.dgvStation2.ReadOnly = true;
     this.dgvStation2.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     this.dgvStation2.RowTemplate.Height = 33;
     this.dgvStation2.Size = new System.Drawing.Size(575, 218);
     this.dgvStation2.TabIndex = 48;
     this.dgvStation2.Tag = "Station2;1";
     this.dgvStation2.ColumnSorted += new System.EventHandler<IBE.Enums_and_Utility_Classes.DataGridViewExt.SortedEventArgs>(this.DataGridView_ColumnSorted);
     this.dgvStation2.Click += new System.EventHandler(this.DataGridView_Click);
     //
     // dgvStationToStationCommodities2
     //
     this.dgvStationToStationCommodities2.AllowUserToAddRows = false;
     this.dgvStationToStationCommodities2.AllowUserToDeleteRows = false;
     this.dgvStationToStationCommodities2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvStationToStationCommodities2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgvStationToStationCommodities2.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.dgvStationToStationCommodities2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
     dataGridViewCellStyle35.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle35.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle35.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle35.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvStationToStationCommodities2.DefaultCellStyle = dataGridViewCellStyle35;
     this.dgvStationToStationCommodities2.DoubleBuffer = true;
     this.dgvStationToStationCommodities2.Location = new System.Drawing.Point(3, 5);
     this.dgvStationToStationCommodities2.Name = "dgvStationToStationCommodities2";
     this.dgvStationToStationCommodities2.ReadOnly = true;
     this.dgvStationToStationCommodities2.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     this.dgvStationToStationCommodities2.RowTemplate.Height = 33;
     this.dgvStationToStationCommodities2.Size = new System.Drawing.Size(578, 217);
     this.dgvStationToStationCommodities2.TabIndex = 47;
     this.dgvStationToStationCommodities2.Tag = "AllCommodities;commodityDataGridViewTextBoxColumn";
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Location = new System.Drawing.Point(392, 24);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(14, 13);
     this.label19.TabIndex = 21;
     this.label19.Text = "ly";
     //
     // cbMaxTripDistance
     //
     this.cbMaxTripDistance.AutoSize = true;
     this.cbMaxTripDistance.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.cbMaxTripDistance.Location = new System.Drawing.Point(217, 23);
     this.cbMaxTripDistance.Name = "cbMaxTripDistance";
     this.cbMaxTripDistance.Size = new System.Drawing.Size(115, 17);
     this.cbMaxTripDistance.TabIndex = 20;
     this.cbMaxTripDistance.Tag = "MaxTripDistance;true";
     this.cbMaxTripDistance.Text = "Max. Trip Distance";
     this.cbMaxTripDistance.UseVisualStyleBackColor = true;
     this.cbMaxTripDistance.CheckedChanged += new System.EventHandler(this.CheckBox_CheckedChanged);
     //
     // cmdRoundTripCaclulation
     //
     this.cmdRoundTripCaclulation.Location = new System.Drawing.Point(440, 19);
     this.cmdRoundTripCaclulation.Name = "cmdRoundTripCaclulation";
     this.cmdRoundTripCaclulation.Size = new System.Drawing.Size(117, 23);
     this.cmdRoundTripCaclulation.TabIndex = 12;
     this.cmdRoundTripCaclulation.Text = "Start Calculation";
     this.cmdRoundTripCaclulation.UseVisualStyleBackColor = true;
     this.cmdRoundTripCaclulation.Click += new System.EventHandler(this.cmdRoundTripCaclulation_Click);
     //
     // groupBox3
     //
     this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox3.Controls.Add(this.dgvStationToStationRoutes);
     this.groupBox3.Controls.Add(this.label19);
     this.groupBox3.Controls.Add(this.cmbMaxTripDistance);
     this.groupBox3.Controls.Add(this.cbMaxTripDistance);
     this.groupBox3.Controls.Add(this.cmdRoundTripCaclulation);
     this.groupBox3.Location = new System.Drawing.Point(3, 3);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(588, 457);
     this.groupBox3.TabIndex = 17;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Find Round-Trips";
     //
     // dgvStationToStationRoutes
     //
     this.dgvStationToStationRoutes.AllowUserToAddRows = false;
     this.dgvStationToStationRoutes.AllowUserToDeleteRows = false;
     this.dgvStationToStationRoutes.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvStationToStationRoutes.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.dgvStationToStationRoutes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvStationToStationRoutes.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.systemID1DataGridViewTextBoxColumn,
     this.systemName1DataGridViewTextBoxColumn,
     this.stationID1DataGridViewTextBoxColumn,
     this.stationName1DataGridViewTextBoxColumn,
     this.distanceToStar1DataGridViewTextBoxColumn,
     this.timeStamp2DataGridViewTextBoxColumn,
     this.systemID2DataGridViewTextBoxColumn,
     this.systemName2DataGridViewTextBoxColumn,
     this.stationID2DataGridViewTextBoxColumn,
     this.stationName2DataGridViewTextBoxColumn,
     this.distanceToStar2DataGridViewTextBoxColumn,
     this.timeStamp1DataGridViewTextBoxColumn,
     this.profitDataGridViewTextBoxColumn1,
     this.distanceDataGridViewTextBoxColumn});
     dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
     dataGridViewCellStyle42.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle42.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle42.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle42.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle42.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle42.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvStationToStationRoutes.DefaultCellStyle = dataGridViewCellStyle42;
     this.dgvStationToStationRoutes.DoubleBuffer = true;
     this.dgvStationToStationRoutes.Location = new System.Drawing.Point(6, 52);
     this.dgvStationToStationRoutes.Name = "dgvStationToStationRoutes";
     this.dgvStationToStationRoutes.ReadOnly = true;
     this.dgvStationToStationRoutes.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     this.dgvStationToStationRoutes.RowTemplate.Height = 33;
     this.dgvStationToStationRoutes.Size = new System.Drawing.Size(576, 399);
     this.dgvStationToStationRoutes.TabIndex = 47;
     this.dgvStationToStationRoutes.Tag = "StationToStationRoutes;12";
     this.dgvStationToStationRoutes.ColumnSorted += new System.EventHandler<IBE.Enums_and_Utility_Classes.DataGridViewExt.SortedEventArgs>(this.DataGridView_ColumnSorted);
     this.dgvStationToStationRoutes.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvStationToStationRoutes_RowEnter);
     this.dgvStationToStationRoutes.Click += new System.EventHandler(this.DataGridView_Click);
     //
     // systemID1DataGridViewTextBoxColumn
     //
     this.systemID1DataGridViewTextBoxColumn.DataPropertyName = "System_ID_1";
     this.systemID1DataGridViewTextBoxColumn.HeaderText = "System_ID_1";
     this.systemID1DataGridViewTextBoxColumn.Name = "systemID1DataGridViewTextBoxColumn";
     this.systemID1DataGridViewTextBoxColumn.ReadOnly = true;
     this.systemID1DataGridViewTextBoxColumn.Visible = false;
     //
     // systemName1DataGridViewTextBoxColumn
     //
     this.systemName1DataGridViewTextBoxColumn.DataPropertyName = "SystemName_1";
     this.systemName1DataGridViewTextBoxColumn.HeaderText = "System 1";
     this.systemName1DataGridViewTextBoxColumn.Name = "systemName1DataGridViewTextBoxColumn";
     this.systemName1DataGridViewTextBoxColumn.ReadOnly = true;
     this.systemName1DataGridViewTextBoxColumn.Width = 54;
     //
     // stationID1DataGridViewTextBoxColumn
     //
     this.stationID1DataGridViewTextBoxColumn.DataPropertyName = "Station_ID_1";
     this.stationID1DataGridViewTextBoxColumn.HeaderText = "Station_ID_1";
     this.stationID1DataGridViewTextBoxColumn.Name = "stationID1DataGridViewTextBoxColumn";
     this.stationID1DataGridViewTextBoxColumn.ReadOnly = true;
     this.stationID1DataGridViewTextBoxColumn.Visible = false;
     //
     // stationName1DataGridViewTextBoxColumn
     //
     this.stationName1DataGridViewTextBoxColumn.DataPropertyName = "StationName_1";
     this.stationName1DataGridViewTextBoxColumn.HeaderText = "Station 1";
     this.stationName1DataGridViewTextBoxColumn.Name = "stationName1DataGridViewTextBoxColumn";
     this.stationName1DataGridViewTextBoxColumn.ReadOnly = true;
     this.stationName1DataGridViewTextBoxColumn.Width = 53;
     //
     // distanceToStar1DataGridViewTextBoxColumn
     //
     this.distanceToStar1DataGridViewTextBoxColumn.DataPropertyName = "DistanceToStar_1";
     dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.distanceToStar1DataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle36;
     this.distanceToStar1DataGridViewTextBoxColumn.HeaderText = "Star Distance 1 [ls]";
     this.distanceToStar1DataGridViewTextBoxColumn.Name = "distanceToStar1DataGridViewTextBoxColumn";
     this.distanceToStar1DataGridViewTextBoxColumn.ReadOnly = true;
     this.distanceToStar1DataGridViewTextBoxColumn.Width = 53;
     //
     // timeStamp2DataGridViewTextBoxColumn
     //
     this.timeStamp2DataGridViewTextBoxColumn.DataPropertyName = "TimeStamp_2";
     dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.timeStamp2DataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle37;
     this.timeStamp2DataGridViewTextBoxColumn.HeaderText = "Collecting Time 1";
     this.timeStamp2DataGridViewTextBoxColumn.Name = "timeStamp2DataGridViewTextBoxColumn";
     this.timeStamp2DataGridViewTextBoxColumn.ReadOnly = true;
     this.timeStamp2DataGridViewTextBoxColumn.Width = 53;
     //
     // systemID2DataGridViewTextBoxColumn
     //
     this.systemID2DataGridViewTextBoxColumn.DataPropertyName = "System_ID_2";
     this.systemID2DataGridViewTextBoxColumn.HeaderText = "System_ID_2";
     this.systemID2DataGridViewTextBoxColumn.Name = "systemID2DataGridViewTextBoxColumn";
     this.systemID2DataGridViewTextBoxColumn.ReadOnly = true;
     this.systemID2DataGridViewTextBoxColumn.Visible = false;
     //
     // systemName2DataGridViewTextBoxColumn
     //
     this.systemName2DataGridViewTextBoxColumn.DataPropertyName = "SystemName_2";
     this.systemName2DataGridViewTextBoxColumn.HeaderText = "System 2";
     this.systemName2DataGridViewTextBoxColumn.Name = "systemName2DataGridViewTextBoxColumn";
     this.systemName2DataGridViewTextBoxColumn.ReadOnly = true;
     this.systemName2DataGridViewTextBoxColumn.Width = 54;
     //
     // stationID2DataGridViewTextBoxColumn
     //
     this.stationID2DataGridViewTextBoxColumn.DataPropertyName = "Station_ID_2";
     this.stationID2DataGridViewTextBoxColumn.HeaderText = "Station_ID_2";
     this.stationID2DataGridViewTextBoxColumn.Name = "stationID2DataGridViewTextBoxColumn";
     this.stationID2DataGridViewTextBoxColumn.ReadOnly = true;
     this.stationID2DataGridViewTextBoxColumn.Visible = false;
     //
     // stationName2DataGridViewTextBoxColumn
     //
     this.stationName2DataGridViewTextBoxColumn.DataPropertyName = "StationName_2";
     this.stationName2DataGridViewTextBoxColumn.HeaderText = "Station 2";
     this.stationName2DataGridViewTextBoxColumn.Name = "stationName2DataGridViewTextBoxColumn";
     this.stationName2DataGridViewTextBoxColumn.ReadOnly = true;
     this.stationName2DataGridViewTextBoxColumn.Width = 53;
     //
     // distanceToStar2DataGridViewTextBoxColumn
     //
     this.distanceToStar2DataGridViewTextBoxColumn.DataPropertyName = "DistanceToStar_2";
     dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.distanceToStar2DataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle38;
     this.distanceToStar2DataGridViewTextBoxColumn.HeaderText = "Star Distance 2 [ls]";
     this.distanceToStar2DataGridViewTextBoxColumn.Name = "distanceToStar2DataGridViewTextBoxColumn";
     this.distanceToStar2DataGridViewTextBoxColumn.ReadOnly = true;
     this.distanceToStar2DataGridViewTextBoxColumn.Width = 53;
     //
     // timeStamp1DataGridViewTextBoxColumn
     //
     this.timeStamp1DataGridViewTextBoxColumn.DataPropertyName = "TimeStamp_1";
     dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.timeStamp1DataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle39;
     this.timeStamp1DataGridViewTextBoxColumn.HeaderText = "Collecting Time 2";
     this.timeStamp1DataGridViewTextBoxColumn.Name = "timeStamp1DataGridViewTextBoxColumn";
     this.timeStamp1DataGridViewTextBoxColumn.ReadOnly = true;
     this.timeStamp1DataGridViewTextBoxColumn.Width = 53;
     //
     // profitDataGridViewTextBoxColumn1
     //
     this.profitDataGridViewTextBoxColumn1.DataPropertyName = "Profit";
     dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.profitDataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle40;
     this.profitDataGridViewTextBoxColumn1.HeaderText = "Profit [Cr]";
     this.profitDataGridViewTextBoxColumn1.Name = "profitDataGridViewTextBoxColumn1";
     this.profitDataGridViewTextBoxColumn1.ReadOnly = true;
     this.profitDataGridViewTextBoxColumn1.Width = 54;
     //
     // distanceDataGridViewTextBoxColumn
     //
     this.distanceDataGridViewTextBoxColumn.DataPropertyName = "Distance";
     dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     dataGridViewCellStyle41.Format = "N1";
     dataGridViewCellStyle41.NullValue = null;
     this.distanceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle41;
     this.distanceDataGridViewTextBoxColumn.HeaderText = "Trip Length [ly]";
     this.distanceDataGridViewTextBoxColumn.Name = "distanceDataGridViewTextBoxColumn";
     this.distanceDataGridViewTextBoxColumn.ReadOnly = true;
     this.distanceDataGridViewTextBoxColumn.Width = 53;
     //
     // cmbMaxTripDistance
     //
     this.cmbMaxTripDistance.FormattingEnabled = true;
     this.cmbMaxTripDistance.Items.AddRange(new object[] {
     "10",
     "15",
     "20",
     "30",
     "50",
     "100"});
     this.cmbMaxTripDistance.Location = new System.Drawing.Point(338, 21);
     this.cmbMaxTripDistance.MaxValue = 9999999;
     this.cmbMaxTripDistance.MinValue = 0;
     this.cmbMaxTripDistance.Name = "cmbMaxTripDistance";
     this.cmbMaxTripDistance.Size = new System.Drawing.Size(48, 21);
     this.cmbMaxTripDistance.TabIndex = 19;
     this.cmbMaxTripDistance.Tag = "MaxTripDistanceValue;20";
     this.cmbMaxTripDistance.SelectedIndexChanged += new System.EventHandler(this.cmbMaxTripDistance_SelectedIndexChanged);
     this.cmbMaxTripDistance.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmbMaxTripDistance_KeyDown);
     this.cmbMaxTripDistance.Leave += new System.EventHandler(this.cmbMaxTripDistance_Leave);
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Location = new System.Drawing.Point(661, 18);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(112, 13);
     this.label20.TabIndex = 16;
     this.label20.Text = "( light years each way)";
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Location = new System.Drawing.Point(661, 5);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(101, 13);
     this.label21.TabIndex = 10;
     this.label21.Text = "Maximum round-trip:";
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Location = new System.Drawing.Point(762, 6);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(13, 13);
     this.label22.TabIndex = 11;
     this.label22.Text = "0";
     //
     // cmdSwitchStations
     //
     this.cmdSwitchStations.Location = new System.Drawing.Point(306, 6);
     this.cmdSwitchStations.Name = "cmdSwitchStations";
     this.cmdSwitchStations.Size = new System.Drawing.Size(31, 21);
     this.cmdSwitchStations.TabIndex = 9;
     this.cmdSwitchStations.Text = "<->";
     this.cmdSwitchStations.UseVisualStyleBackColor = true;
     this.cmdSwitchStations.Click += new System.EventHandler(this.cmdSwitchStations_Click);
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.Location = new System.Drawing.Point(346, 9);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(20, 13);
     this.label23.TabIndex = 8;
     this.label23.Text = "To";
     //
     // label24
     //
     this.label24.AutoSize = true;
     this.label24.Location = new System.Drawing.Point(6, 9);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(30, 13);
     this.label24.TabIndex = 7;
     this.label24.Text = "From";
     //
     // cmbStation2
     //
     this.cmbStation2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.cmbStation2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbStation2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbStation2.FormattingEnabled = true;
     this.cmbStation2.Location = new System.Drawing.Point(366, 6);
     this.cmbStation2.Name = "cmbStation2";
     this.cmbStation2.Size = new System.Drawing.Size(250, 21);
     this.cmbStation2.TabIndex = 6;
     //
     // cmbStation1
     //
     this.cmbStation1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.cmbStation1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbStation1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbStation1.FormattingEnabled = true;
     this.cmbStation1.Location = new System.Drawing.Point(37, 6);
     this.cmbStation1.Name = "cmbStation1";
     this.cmbStation1.Size = new System.Drawing.Size(250, 21);
     this.cmbStation1.TabIndex = 5;
     //
     // button14
     //
     this.button14.Image = ((System.Drawing.Image)(resources.GetObject("button14.Image")));
     this.button14.Location = new System.Drawing.Point(626, 3);
     this.button14.Name = "button14";
     this.button14.Size = new System.Drawing.Size(29, 27);
     this.button14.TabIndex = 13;
     this.button14.UseVisualStyleBackColor = true;
     //
     // tpStationToStation
     //
     this.tpStationToStation.Controls.Add(this.scStationToStation_1);
     this.tpStationToStation.Controls.Add(this.label20);
     this.tpStationToStation.Controls.Add(this.label21);
     this.tpStationToStation.Controls.Add(this.label22);
     this.tpStationToStation.Controls.Add(this.cmdSwitchStations);
     this.tpStationToStation.Controls.Add(this.label23);
     this.tpStationToStation.Controls.Add(this.label24);
     this.tpStationToStation.Controls.Add(this.cmbStation2);
     this.tpStationToStation.Controls.Add(this.cmbStation1);
     this.tpStationToStation.Controls.Add(this.button14);
     this.tpStationToStation.Location = new System.Drawing.Point(4, 22);
     this.tpStationToStation.Name = "tpStationToStation";
     this.tpStationToStation.Size = new System.Drawing.Size(1194, 499);
     this.tpStationToStation.TabIndex = 8;
     this.tpStationToStation.Text = "Station-To-Station";
     this.tpStationToStation.UseVisualStyleBackColor = true;
     this.tpStationToStation.Visible = false;
     //
     // scStationToStation_1
     //
     this.scStationToStation_1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.scStationToStation_1.Location = new System.Drawing.Point(3, 33);
     this.scStationToStation_1.Name = "scStationToStation_1";
     //
     // scStationToStation_1.Panel1
     //
     this.scStationToStation_1.Panel1.Controls.Add(this.scStationToStation_2);
     //
     // scStationToStation_1.Panel2
     //
     this.scStationToStation_1.Panel2.Controls.Add(this.groupBox3);
     this.scStationToStation_1.Size = new System.Drawing.Size(1188, 463);
     this.scStationToStation_1.SplitterDistance = 590;
     this.scStationToStation_1.TabIndex = 20;
     this.scStationToStation_1.Tag = "SplitterStationToStation_1;50";
     this.scStationToStation_1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.Splittercontainer_SplitterMoved);
     this.scStationToStation_1.Resize += new System.EventHandler(this.SplitContainer_Resize);
     //
     // tabPriceSubTabs
     //
     this.tabPriceSubTabs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabPriceSubTabs.Controls.Add(this.tpAllCommodities);
     this.tabPriceSubTabs.Controls.Add(this.tpByStation);
     this.tabPriceSubTabs.Controls.Add(this.tpByCommodity);
     this.tabPriceSubTabs.Controls.Add(this.tpStationToStation);
     this.tabPriceSubTabs.Location = new System.Drawing.Point(3, 91);
     this.tabPriceSubTabs.Name = "tabPriceSubTabs";
     this.tabPriceSubTabs.SelectedIndex = 0;
     this.tabPriceSubTabs.Size = new System.Drawing.Size(1202, 525);
     this.tabPriceSubTabs.TabIndex = 10;
     this.tabPriceSubTabs.Tag = "byCommodity;3";
     this.tabPriceSubTabs.SelectedIndexChanged += new System.EventHandler(this.tabPriceSubTabs_SelectedIndexChanged);
     //
     // cbMinLandingPadSize
     //
     this.cbMinLandingPadSize.AutoSize = true;
     this.cbMinLandingPadSize.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.cbMinLandingPadSize.Location = new System.Drawing.Point(25, 62);
     this.cbMinLandingPadSize.Name = "cbMinLandingPadSize";
     this.cbMinLandingPadSize.Size = new System.Drawing.Size(145, 17);
     this.cbMinLandingPadSize.TabIndex = 20;
     this.cbMinLandingPadSize.Tag = "MinLandingPadSize;false";
     this.cbMinLandingPadSize.Text = "Min. required landing pad";
     this.cbMinLandingPadSize.UseVisualStyleBackColor = true;
     this.cbMinLandingPadSize.CheckedChanged += new System.EventHandler(this.CheckBox_CheckedChanged);
     //
     // cmbMinLandingPadSize
     //
     this.cmbMinLandingPadSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbMinLandingPadSize.FormattingEnabled = true;
     this.cmbMinLandingPadSize.Items.AddRange(new object[] {
     "-",
     "M",
     "L"});
     this.cmbMinLandingPadSize.Location = new System.Drawing.Point(173, 60);
     this.cmbMinLandingPadSize.Name = "cmbMinLandingPadSize";
     this.cmbMinLandingPadSize.Size = new System.Drawing.Size(48, 21);
     this.cmbMinLandingPadSize.TabIndex = 21;
     this.cmbMinLandingPadSize.Tag = "MinLandingPadSizeValue;M";
     this.cmbMinLandingPadSize.SelectedIndexChanged += new System.EventHandler(this.cmbMinLandingPadSize_SelectedIndexChanged);
     this.cmbMinLandingPadSize.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmbMinLandingPadSize_KeyDown);
     this.cmbMinLandingPadSize.Leave += new System.EventHandler(this.cmbMinLandingPadSize_Leave);
     //
     // label26
     //
     this.label26.AutoSize = true;
     this.label26.Location = new System.Drawing.Point(836, 14);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(81, 13);
     this.label26.TabIndex = 24;
     this.label26.Text = "Stations found :";
     //
     // label27
     //
     this.label27.AutoSize = true;
     this.label27.Location = new System.Drawing.Point(836, 31);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(82, 13);
     this.label27.TabIndex = 25;
     this.label27.Text = "Systems found :";
     //
     // lblSystemsFound
     //
     this.lblSystemsFound.AutoSize = true;
     this.lblSystemsFound.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblSystemsFound.Location = new System.Drawing.Point(917, 31);
     this.lblSystemsFound.Name = "lblSystemsFound";
     this.lblSystemsFound.Size = new System.Drawing.Size(14, 13);
     this.lblSystemsFound.TabIndex = 27;
     this.lblSystemsFound.Text = "0";
     //
     // lblStationsFound
     //
     this.lblStationsFound.AutoSize = true;
     this.lblStationsFound.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblStationsFound.Location = new System.Drawing.Point(917, 14);
     this.lblStationsFound.Name = "lblStationsFound";
     this.lblStationsFound.Size = new System.Drawing.Size(14, 13);
     this.lblStationsFound.TabIndex = 26;
     this.lblStationsFound.Text = "0";
     //
     // cmdFilter
     //
     this.cmdFilter.Location = new System.Drawing.Point(299, 60);
     this.cmdFilter.Name = "cmdFilter";
     this.cmdFilter.Size = new System.Drawing.Size(200, 21);
     this.cmdFilter.TabIndex = 28;
     this.cmdFilter.Text = "Activate Filter";
     this.cmdFilter.UseVisualStyleBackColor = true;
     this.cmdFilter.Click += new System.EventHandler(this.cmdFilter_Click);
     //
     // tmpa_bystationTableAdapter
     //
     this.tmpa_bystationTableAdapter.ClearBeforeFill = true;
     //
     // tmpabystationBindingSource1
     //
     this.tmpabystationBindingSource1.DataMember = "tmpa_bystation";
     this.tmpabystationBindingSource1.DataSource = this.dsEliteDB;
     //
     // tmpa_bycommodityTableAdapter
     //
     this.tmpa_bycommodityTableAdapter.ClearBeforeFill = true;
     //
     // cmbStationLightSeconds
     //
     this.cmbStationLightSeconds.FormattingEnabled = true;
     this.cmbStationLightSeconds.Location = new System.Drawing.Point(173, 37);
     this.cmbStationLightSeconds.MaxValue = 9999999;
     this.cmbStationLightSeconds.MinValue = 0;
     this.cmbStationLightSeconds.Name = "cmbStationLightSeconds";
     this.cmbStationLightSeconds.Size = new System.Drawing.Size(48, 21);
     this.cmbStationLightSeconds.TabIndex = 16;
     this.cmbStationLightSeconds.Tag = "MaxDistanceToStarValue;1000";
     this.cmbStationLightSeconds.SelectedIndexChanged += new System.EventHandler(this.cmdStationLightSeconds_SelectedIndexChanged);
     this.cmbStationLightSeconds.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmdStationLightSeconds_KeyDown);
     this.cmbStationLightSeconds.Leave += new System.EventHandler(this.cmdStationLightSeconds_Leave);
     //
     // cmbSystemLightYears
     //
     this.cmbSystemLightYears.FormattingEnabled = true;
     this.cmbSystemLightYears.Location = new System.Drawing.Point(173, 14);
     this.cmbSystemLightYears.MaxValue = 9999;
     this.cmbSystemLightYears.MinValue = 0;
     this.cmbSystemLightYears.Name = "cmbSystemLightYears";
     this.cmbSystemLightYears.Size = new System.Drawing.Size(48, 21);
     this.cmbSystemLightYears.TabIndex = 11;
     this.cmbSystemLightYears.Tag = "OnlyStationsWithinValue;50";
     this.cmbSystemLightYears.SelectedIndexChanged += new System.EventHandler(this.cmbSystemLightYears_SelectedIndexChanged);
     this.cmbSystemLightYears.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmbSystemLightYears_KeyDown);
     this.cmbSystemLightYears.Leave += new System.EventHandler(this.cmbSystemLightYears_Leave);
     //
     // commodityIDDataGridViewTextBoxColumn1
     //
     this.commodityIDDataGridViewTextBoxColumn1.DataPropertyName = "Commodity_ID";
     this.commodityIDDataGridViewTextBoxColumn1.HeaderText = "CommodityID";
     this.commodityIDDataGridViewTextBoxColumn1.Name = "commodityIDDataGridViewTextBoxColumn1";
     this.commodityIDDataGridViewTextBoxColumn1.ReadOnly = true;
     this.commodityIDDataGridViewTextBoxColumn1.Visible = false;
     //
     // commodityDataGridViewTextBoxColumn1
     //
     this.commodityDataGridViewTextBoxColumn1.DataPropertyName = "Commodity";
     this.commodityDataGridViewTextBoxColumn1.HeaderText = "Commodity";
     this.commodityDataGridViewTextBoxColumn1.Name = "commodityDataGridViewTextBoxColumn1";
     this.commodityDataGridViewTextBoxColumn1.ReadOnly = true;
     this.commodityDataGridViewTextBoxColumn1.Width = 53;
     //
     // buyDataGridViewTextBoxColumn
     //
     this.buyDataGridViewTextBoxColumn.DataPropertyName = "Buy";
     dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.buyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle18;
     this.buyDataGridViewTextBoxColumn.HeaderText = "Buy";
     this.buyDataGridViewTextBoxColumn.Name = "buyDataGridViewTextBoxColumn";
     this.buyDataGridViewTextBoxColumn.ReadOnly = true;
     this.buyDataGridViewTextBoxColumn.Width = 53;
     //
     // supplyDataGridViewTextBoxColumn
     //
     this.supplyDataGridViewTextBoxColumn.DataPropertyName = "Supply";
     dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle19;
     this.supplyDataGridViewTextBoxColumn.HeaderText = "Supply";
     this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
     this.supplyDataGridViewTextBoxColumn.ReadOnly = true;
     this.supplyDataGridViewTextBoxColumn.Width = 54;
     //
     // supplyLevelDataGridViewTextBoxColumn
     //
     this.supplyLevelDataGridViewTextBoxColumn.DataPropertyName = "SupplyLevel";
     this.supplyLevelDataGridViewTextBoxColumn.HeaderText = "SupplyLevel";
     this.supplyLevelDataGridViewTextBoxColumn.Name = "supplyLevelDataGridViewTextBoxColumn";
     this.supplyLevelDataGridViewTextBoxColumn.ReadOnly = true;
     this.supplyLevelDataGridViewTextBoxColumn.Width = 53;
     //
     // timestampDataGridViewTextBoxColumn
     //
     this.timestampDataGridViewTextBoxColumn.DataPropertyName = "Timestamp1";
     dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.timestampDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle20;
     this.timestampDataGridViewTextBoxColumn.HeaderText = "Collecting Time";
     this.timestampDataGridViewTextBoxColumn.Name = "timestampDataGridViewTextBoxColumn";
     this.timestampDataGridViewTextBoxColumn.ReadOnly = true;
     this.timestampDataGridViewTextBoxColumn.Width = 53;
     //
     // sellDataGridViewTextBoxColumn
     //
     this.sellDataGridViewTextBoxColumn.DataPropertyName = "Sell";
     dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.sellDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle21;
     this.sellDataGridViewTextBoxColumn.HeaderText = "Sell";
     this.sellDataGridViewTextBoxColumn.Name = "sellDataGridViewTextBoxColumn";
     this.sellDataGridViewTextBoxColumn.ReadOnly = true;
     this.sellDataGridViewTextBoxColumn.Width = 53;
     //
     // demandDataGridViewTextBoxColumn
     //
     this.demandDataGridViewTextBoxColumn.DataPropertyName = "Demand";
     dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.demandDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle22;
     this.demandDataGridViewTextBoxColumn.HeaderText = "Demand";
     this.demandDataGridViewTextBoxColumn.Name = "demandDataGridViewTextBoxColumn";
     this.demandDataGridViewTextBoxColumn.ReadOnly = true;
     this.demandDataGridViewTextBoxColumn.Width = 53;
     //
     // demandlevelDataGridViewTextBoxColumn
     //
     this.demandlevelDataGridViewTextBoxColumn.DataPropertyName = "Demandlevel";
     this.demandlevelDataGridViewTextBoxColumn.HeaderText = "Demandlevel";
     this.demandlevelDataGridViewTextBoxColumn.Name = "demandlevelDataGridViewTextBoxColumn";
     this.demandlevelDataGridViewTextBoxColumn.ReadOnly = true;
     this.demandlevelDataGridViewTextBoxColumn.Width = 54;
     //
     // Column1
     //
     this.Column1.DataPropertyName = "Timestamp1";
     dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.Column1.DefaultCellStyle = dataGridViewCellStyle23;
     this.Column1.HeaderText = "Collecting Time";
     this.Column1.Name = "Column1";
     this.Column1.ReadOnly = true;
     this.Column1.Width = 53;
     //
     // profitDataGridViewTextBoxColumn
     //
     this.profitDataGridViewTextBoxColumn.DataPropertyName = "Profit";
     dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.profitDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle24;
     this.profitDataGridViewTextBoxColumn.HeaderText = "Profit";
     this.profitDataGridViewTextBoxColumn.Name = "profitDataGridViewTextBoxColumn";
     this.profitDataGridViewTextBoxColumn.ReadOnly = true;
     this.profitDataGridViewTextBoxColumn.Width = 53;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "Commodity_ID";
     this.dataGridViewTextBoxColumn1.HeaderText = "CommodityID";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.ReadOnly = true;
     this.dataGridViewTextBoxColumn1.Visible = false;
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "Commodity";
     this.dataGridViewTextBoxColumn2.HeaderText = "Commodity";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.ReadOnly = true;
     this.dataGridViewTextBoxColumn2.Width = 53;
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "Buy";
     dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle27;
     this.dataGridViewTextBoxColumn3.HeaderText = "Buy";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.ReadOnly = true;
     this.dataGridViewTextBoxColumn3.Width = 53;
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "Supply";
     dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle28;
     this.dataGridViewTextBoxColumn4.HeaderText = "Supply";
     this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
     this.dataGridViewTextBoxColumn4.ReadOnly = true;
     this.dataGridViewTextBoxColumn4.Width = 54;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "SupplyLevel";
     this.dataGridViewTextBoxColumn5.HeaderText = "SupplyLevel";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.ReadOnly = true;
     this.dataGridViewTextBoxColumn5.Width = 53;
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.DataPropertyName = "Timestamp1";
     dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle29;
     this.dataGridViewTextBoxColumn6.HeaderText = "Collecting Time";
     this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
     this.dataGridViewTextBoxColumn6.ReadOnly = true;
     this.dataGridViewTextBoxColumn6.Width = 53;
     //
     // dataGridViewTextBoxColumn7
     //
     this.dataGridViewTextBoxColumn7.DataPropertyName = "Sell";
     dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle30;
     this.dataGridViewTextBoxColumn7.HeaderText = "Sell";
     this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
     this.dataGridViewTextBoxColumn7.ReadOnly = true;
     this.dataGridViewTextBoxColumn7.Width = 53;
     //
     // dataGridViewTextBoxColumn8
     //
     this.dataGridViewTextBoxColumn8.DataPropertyName = "Demand";
     dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle31;
     this.dataGridViewTextBoxColumn8.HeaderText = "Demand";
     this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
     this.dataGridViewTextBoxColumn8.ReadOnly = true;
     this.dataGridViewTextBoxColumn8.Width = 53;
     //
     // dataGridViewTextBoxColumn9
     //
     this.dataGridViewTextBoxColumn9.DataPropertyName = "Demandlevel";
     this.dataGridViewTextBoxColumn9.HeaderText = "Demandlevel";
     this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
     this.dataGridViewTextBoxColumn9.ReadOnly = true;
     this.dataGridViewTextBoxColumn9.Width = 54;
     //
     // dataGridViewTextBoxColumn10
     //
     this.dataGridViewTextBoxColumn10.DataPropertyName = "Timestamp1";
     dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle32;
     this.dataGridViewTextBoxColumn10.HeaderText = "Collecting Time";
     this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
     this.dataGridViewTextBoxColumn10.ReadOnly = true;
     this.dataGridViewTextBoxColumn10.Width = 53;
     //
     // dataGridViewTextBoxColumn11
     //
     this.dataGridViewTextBoxColumn11.DataPropertyName = "Profit";
     dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
     this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle33;
     this.dataGridViewTextBoxColumn11.HeaderText = "Profit";
     this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
     this.dataGridViewTextBoxColumn11.ReadOnly = true;
     this.dataGridViewTextBoxColumn11.Width = 53;
     //
     // tabPriceAnalysis
     //
     this.Controls.Add(this.cmdFilter);
     this.Controls.Add(this.lblSystemsFound);
     this.Controls.Add(this.lblStationsFound);
     this.Controls.Add(this.label27);
     this.Controls.Add(this.label26);
     this.Controls.Add(this.cmbMinLandingPadSize);
     this.Controls.Add(this.cbMinLandingPadSize);
     this.Controls.Add(this.tabPriceSubTabs);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.cbOnlyStationsWithin);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.cmbStationLightSeconds);
     this.Controls.Add(this.cmbShowSystem);
     this.Controls.Add(this.cmbSystemLightYears);
     this.Controls.Add(this.cbMaxDistanceToStar);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cmbSystemBase);
     this.Name = "tabPriceAnalysis";
     this.Size = new System.Drawing.Size(1208, 619);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.tpAllCommodities.ResumeLayout(false);
     this.scAllCommodities_1.Panel1.ResumeLayout(false);
     this.scAllCommodities_1.Panel1.PerformLayout();
     this.scAllCommodities_1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.scAllCommodities_1)).EndInit();
     this.scAllCommodities_1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvAllCommodities)).EndInit();
     this.scAllCommodities_2.Panel1.ResumeLayout(false);
     this.scAllCommodities_2.Panel1.PerformLayout();
     this.scAllCommodities_2.Panel2.ResumeLayout(false);
     this.scAllCommodities_2.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.scAllCommodities_2)).EndInit();
     this.scAllCommodities_2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).EndInit();
     this.tpByStation.ResumeLayout(false);
     this.tpByStation.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvByStation)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tmpabystationBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsEliteDB)).EndInit();
     this.tpByCommodity.ResumeLayout(false);
     this.tpByCommodity.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvByCommodity)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tmpabycommodityBindingSource)).EndInit();
     this.scStationToStation_2.Panel1.ResumeLayout(false);
     this.scStationToStation_2.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.scStationToStation_2)).EndInit();
     this.scStationToStation_2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvStation1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStationToStationCommodities1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStation2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStationToStationCommodities2)).EndInit();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStationToStationRoutes)).EndInit();
     this.tpStationToStation.ResumeLayout(false);
     this.tpStationToStation.PerformLayout();
     this.scStationToStation_1.Panel1.ResumeLayout(false);
     this.scStationToStation_1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.scStationToStation_1)).EndInit();
     this.scStationToStation_1.ResumeLayout(false);
     this.tabPriceSubTabs.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tmpabystationBindingSource1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5D, 3D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5D, 0D);
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Graph));
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label1 = new System.Windows.Forms.Label();
     this.comboBoxMark = new System.Windows.Forms.ComboBox();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.label2 = new System.Windows.Forms.Label();
     this.comboBox2 = new System.Windows.Forms.ComboBox();
     this.colorDialog1 = new System.Windows.Forms.ColorDialog();
     this.button_колір_маркера = new System.Windows.Forms.Button();
     this.button_колір_точки = new System.Windows.Forms.Button();
     this.comboBox3 = new System.Windows.Forms.ComboBox();
     this.comboBox4 = new System.Windows.Forms.ComboBox();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.SuspendLayout();
     //
     // chart1
     //
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.Cursor = System.Windows.Forms.Cursors.Default;
     legend1.Name = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(0, 31);
     this.chart1.Name = "chart1";
     this.chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.EarthTones;
     series1.ChartArea = "ChartArea1";
     series1.Legend = "Legend1";
     series1.Name = "Series1";
     dataPoint2.MarkerBorderWidth = 5;
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     this.chart1.Series.Add(series1);
     this.chart1.Size = new System.Drawing.Size(685, 300);
     this.chart1.TabIndex = 0;
     this.chart1.Text = "chart1";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(190, 10);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(49, 13);
     this.label1.TabIndex = 1;
     this.label1.Text = "Маркер:";
     //
     // comboBoxMark
     //
     this.comboBoxMark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxMark.FormattingEnabled = true;
     this.comboBoxMark.Items.AddRange(new object[] {
     "лінія",
     "точки",
     "стовпчик",
     "гісто - 8",
     "гісто - 16"});
     this.comboBoxMark.Location = new System.Drawing.Point(240, 6);
     this.comboBoxMark.Name = "comboBoxMark";
     this.comboBoxMark.Size = new System.Drawing.Size(76, 21);
     this.comboBoxMark.TabIndex = 2;
     this.comboBoxMark.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // checkBox1
     //
     this.checkBox1.AutoSize = true;
     this.checkBox1.Location = new System.Drawing.Point(486, 8);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(56, 17);
     this.checkBox1.TabIndex = 3;
     this.checkBox1.Text = "Точки";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(3, 10);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(64, 13);
     this.label2.TabIndex = 4;
     this.label2.Text = "Тип шкали:";
     //
     // comboBox2
     //
     this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Items.AddRange(new object[] {
     "прямокутник",
     "квадрат"});
     this.comboBox2.Location = new System.Drawing.Point(68, 6);
     this.comboBox2.Name = "comboBox2";
     this.comboBox2.Size = new System.Drawing.Size(97, 21);
     this.comboBox2.TabIndex = 5;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // button_колір_маркера
     //
     this.button_колір_маркера.Location = new System.Drawing.Point(417, 6);
     this.button_колір_маркера.Name = "button_колір_маркера";
     this.button_колір_маркера.Size = new System.Drawing.Size(43, 21);
     this.button_колір_маркера.TabIndex = 6;
     this.button_колір_маркера.Text = "колір";
     this.button_колір_маркера.UseVisualStyleBackColor = true;
     this.button_колір_маркера.Click += new System.EventHandler(this.button_колір_маркера_Click);
     //
     // button_колір_точки
     //
     this.button_колір_точки.Location = new System.Drawing.Point(635, 6);
     this.button_колір_точки.Name = "button_колір_точки";
     this.button_колір_точки.Size = new System.Drawing.Size(43, 21);
     this.button_колір_точки.TabIndex = 7;
     this.button_колір_точки.Text = "колір";
     this.button_колір_точки.UseVisualStyleBackColor = true;
     this.button_колір_точки.Click += new System.EventHandler(this.button_колір_точки_Click);
     //
     // comboBox3
     //
     this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox3.FormattingEnabled = true;
     this.comboBox3.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9"});
     this.comboBox3.Location = new System.Drawing.Point(597, 6);
     this.comboBox3.Name = "comboBox3";
     this.comboBox3.Size = new System.Drawing.Size(32, 21);
     this.comboBox3.TabIndex = 8;
     this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
     //
     // comboBox4
     //
     this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox4.FormattingEnabled = true;
     this.comboBox4.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9"});
     this.comboBox4.Location = new System.Drawing.Point(379, 6);
     this.comboBox4.Name = "comboBox4";
     this.comboBox4.Size = new System.Drawing.Size(32, 21);
     this.comboBox4.TabIndex = 9;
     this.comboBox4.SelectedIndexChanged += new System.EventHandler(this.comboBox4_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(322, 10);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(56, 13);
     this.label3.TabIndex = 10;
     this.label3.Text = "Товщина:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(540, 9);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(56, 13);
     this.label4.TabIndex = 11;
     this.label4.Text = "Товщина:";
     //
     // label5
     //
     this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.label5.AutoSize = true;
     this.label5.BackColor = System.Drawing.Color.White;
     this.label5.Location = new System.Drawing.Point(632, 31);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(35, 13);
     this.label5.TabIndex = 12;
     this.label5.Text = "label5";
     this.toolTip1.SetToolTip(this.label5, "σ - сігма\r\nr - коефіцієнт кореляції");
     //
     // Graph
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(684, 331);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.comboBox4);
     this.Controls.Add(this.comboBox3);
     this.Controls.Add(this.button_колір_точки);
     this.Controls.Add(this.button_колір_маркера);
     this.Controls.Add(this.comboBox2);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.comboBoxMark);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.chart1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "Graph";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.ResizeBegin += new System.EventHandler(this.Form2_ResizeBegin);
     this.ResizeEnd += new System.EventHandler(this.Form2_ResizeEnd);
     this.SizeChanged += new System.EventHandler(this.Form2_SizeChanged);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #59
0
파일: LogManager.cs 프로젝트: lscyane/KCBr
        /// <summary>
        /// ログコントロールにアタッチ
        /// </summary>
        /// <param name="lvCreateShip"></param>
        /// <param name="lvCreateItem"></param>
        /// <param name="lvBattleResult"></param>
        /// <param name="lvMissionResult"></param>
        /// <param name="lvMaterialChange"></param>
        public void AttachLogControls(
            System.Windows.Forms.ListView lvCreateShip,
            System.Windows.Forms.ListView lvCreateItem,
            System.Windows.Forms.ListView lvBattleResult,
            System.Windows.Forms.ListView lvMissionResult,
            System.Windows.Forms.ListView lvMaterialChange,
            System.Windows.Forms.DataVisualization.Charting.Chart ctMaterial,
            FormLog frmLog)
        {
            _vlvBattleLog.Attach(lvBattleResult, _battleLog);
            _vlvCreateItem.Attach(lvCreateItem, _createItemLog);
            _vlvCreateShip.Attach(lvCreateShip, _createShipLog);
            _vlvMaterialChange.Attach(lvMaterialChange, _materialsLog);
            _vlvMissionResult.Attach(lvMissionResult, _missionLog);

            _ctMaterial = ctMaterial;
            _frmLog = frmLog;
        }