Esempio n. 1
1
 protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
 {
     var buttonRectangle = new Rectangle(cellBounds.X + 2, cellBounds.Y + 2, cellBounds.Width - 4, cellBounds.Height - 4);
     base.Paint(graphics, clipBounds, buttonRectangle, rowIndex, elementState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, paintParts);
     var imageRectangle = new Rectangle(cellBounds.X + 6, cellBounds.Y + 6, _detailImage.Width, _detailImage.Height);
     graphics.DrawImage(_detailImage, imageRectangle);
 }
        /// <summary>
        /// 设置表头样式
        /// </summary>
        /// <param name="dgvCellStyle"></param>
        public void SetColumnHeadDefaultCellStyle(DataGridViewCellStyle dgvCellStyle)
        {
            if (dgvCellStyle == null)
                return;

            textdataGrid.ColumnHeadersDefaultCellStyle = dgvCellStyle;
        }
        protected override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
        {
            Tuple<int, string> updateInfo = (Tuple<int, string>)value;
            int progressVal = updateInfo.Item1;
            string message = updateInfo.Item2;

            float percentage = ((float)progressVal / 100.0f); // Need to convert to float before division; otherwise C# returns int which is 0 for anything but 100%.
            Brush backColorBrush = new SolidBrush(cellStyle.BackColor);
            Brush foreColorBrush = new SolidBrush(cellStyle.ForeColor);
            // Draws the cell grid
            base.Paint(g, clipBounds, cellBounds,
             rowIndex, cellState, value, formattedValue, errorText,
             cellStyle, advancedBorderStyle, (paintParts & ~DataGridViewPaintParts.ContentForeground));

            
            if (percentage > 0.0)
            {
                // Draw the progress bar and the text
                g.FillRectangle(new SolidBrush(Color.FromArgb(163, 189, 242)), cellBounds.X + 2, cellBounds.Y + 2, Convert.ToInt32((percentage * cellBounds.Width - 4)), cellBounds.Height - 4);
                g.DrawString(message, cellStyle.Font, foreColorBrush, cellBounds.X + 6, cellBounds.Y + 2);
            }
            else
            {
                // draw the text
                if (this.DataGridView.CurrentRow.Index == rowIndex)
                    g.DrawString(message, cellStyle.Font, new SolidBrush(cellStyle.SelectionForeColor), cellBounds.X + 6, cellBounds.Y + 2);
                else
                    g.DrawString(message, cellStyle.Font, foreColorBrush, cellBounds.X + 6, cellBounds.Y + 2);
            }
        }
        /// <summary>
        /// 设置行样式
        /// </summary>
        /// <param name="dgvCellStyle"></param>
        public void SetRowDefaultCellStyle(DataGridViewCellStyle dgvCellStyle)
        {
            if (dgvCellStyle == null)
                return;

            textdataGrid.DefaultCellStyle = dgvCellStyle;
        }
        public override void InitializeEditingControl(int rowIndex, object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle)
        {
            base.InitializeEditingControl(rowIndex, initialFormattedValue, dataGridViewCellStyle);
            DataGridViewFADateTimePickerEditor editor = Editor;

            if (editor != null)
            {
                var column = GetColumn();

                editor.RightToLeft = DataGridView.RightToLeft;
                editor.Theme = column.Theme;

                var formattedValue = initialFormattedValue.ToString();

                if (string.IsNullOrEmpty(formattedValue))
                {
                    editor.SelectedDateTime = DateTime.Now;
                    editor.mv.MonthViewControl.SetNoneDay();
                }
                else
                {
                    editor.SelectedDateTime = GetParsedDate(formattedValue);
                }
            }
        }
        protected override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
        {
            try
            {
                string text = value == null ? "" : (string)value;
                Brush backColorBrush = new SolidBrush(cellStyle.BackColor);
                Brush foreColorBrush = new SolidBrush(cellStyle.ForeColor);
                var col = this.OwningColumn as DataGridViewColorMarkColumn;
                Color markcolor = cellStyle.ForeColor;
                bool hasmark = col.GetColorMark(rowIndex, out markcolor);
                Brush markColorBrush = new SolidBrush(markcolor);

                base.Paint(g, clipBounds, cellBounds,
                    rowIndex, cellState, value, formattedValue, errorText,
                    cellStyle, advancedBorderStyle, (paintParts & ~DataGridViewPaintParts.ContentForeground));

                int rsz = this.DataGridView.RowTemplate.Height - 8;
                int dy = (cellBounds.Height - this.DataGridView.RowTemplate.Height) / 2;

                g.FillEllipse(markColorBrush, cellBounds.X + 2, cellBounds.Y + 4 + dy, rsz, rsz);
                //g.FillRectangle(markColorBrush, cellBounds.X + 2, cellBounds.Y + 4, rsz, rsz);
                g.DrawString(text, cellStyle.Font, foreColorBrush, cellBounds.X + 4 + rsz, cellBounds.Y + 2 + dy);
            }
            catch (Exception e) { }
        }
Esempio n. 7
0
        private void ApplyColors()
        {
            foreach (DataGridViewRow dgRow in dgViewResults.Rows)
            {
                DataGridViewCellStyle styleRed = new DataGridViewCellStyle();
                styleRed.ForeColor = Color.Red;

                DataGridViewCellStyle styleGreen = new DataGridViewCellStyle();
                styleGreen.ForeColor = Color.Green;

                DataGridViewCellStyle styleYellow = new DataGridViewCellStyle();
                styleYellow.ForeColor = Color.Orange;

                if (Convert.ToInt32(dgRow.Cells[1].Value) <= 3)
                {
                    dgRow.DefaultCellStyle = styleRed;
                }
                else if (Convert.ToInt32(dgRow.Cells[1].Value) == 5)
                {
                    dgRow.DefaultCellStyle = styleGreen;
                }
                else
                {
                    dgRow.DefaultCellStyle = styleYellow;
                }
            }
        }
Esempio n. 8
0
        ///   Whenever the user is to begin editing a cell of this type, the editing
        ///   control must be created, which in this column type's
        ///   case is a subclass of the NumericTextBox control.
        /// 
        ///   This routine sets up all the properties and values
        ///   on this control before the editing begins.
        public override void InitializeEditingControl(int rowIndex,
                                                      object initialFormattedValue,
                                                      DataGridViewCellStyle dataGridViewCellStyle)
        {
            NumericTextBoxEditingControl mtbec;
            NumericTextBoxColumn mtbcol;
            DataGridViewColumn dgvc;

            base.InitializeEditingControl(rowIndex, initialFormattedValue,
                                          dataGridViewCellStyle);

            mtbec = DataGridView.EditingControl as NumericTextBoxEditingControl;

            //
            // set up props that are specific to the NumericTextBox
            //

            dgvc = this.OwningColumn;   // this.DataGridView.Columns[this.ColumnIndex];
            if (dgvc is NumericTextBoxColumn)
            {
                mtbcol = dgvc as NumericTextBoxColumn;

                mtbec.Text = (string)this.Value;
            }
        }
 public override void InitializeEditingControl(int rowIndex, object
     initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle)
 {
     try
     {
         // Set the value of the editing control to the current cell value. 
         base.InitializeEditingControl(rowIndex, initialFormattedValue,
             dataGridViewCellStyle);
         CalendarEditingControl ctl =
             DataGridView.EditingControl as CalendarEditingControl;
         // Use the default row value when Value property is null. 
         if (this.Value == null)
         {
             ctl.Value = (DateTime)this.DefaultNewRowValue;
         }
         else
         {
             ctl.Value = (DateTime)this.Value;
         }
     }
     catch (Exception ex)
     {
         GlobusLogHelper.log.Error("Error : " + ex.StackTrace);
     }
 }
Esempio n. 10
0
        /// <summary>
        /// Marks/unmarks all media according to the current media basket
        /// </summary>
        protected void MarkSelectedMedias()
        {
            if (this.session != null)
            {
                DataGridViewCellStyle csDef =
                    new DataGridViewCellStyle(this.dgvMedia.DefaultCellStyle);

                DataGridViewCellStyle csSelected =
                    new DataGridViewCellStyle(csDef);
                csSelected.BackColor = Color.LightGreen;

                foreach (DataGridViewRow dgvRow in this.dgvMedia.Rows)
                {
                    if (dgvRow.Cells[clmMediaId.Name].Value != null)
                    {
                        // get media ID
                        int mediaId = (int)dgvRow.Cells[clmMediaId.Name].Value;

                        if (this.session.MediaBasket.Contains(mediaId))
                        {
                            // mark row
                            dgvRow.DefaultCellStyle = csSelected;
                        }
                        else
                        {
                            // clear row mark
                            dgvRow.DefaultCellStyle = csDef;
                        }
                    }
                }
            }
        }
        //绘制列头checkbox
        protected override void Paint(System.Drawing.Graphics graphics,
                                      System.Drawing.Rectangle clipBounds,
                                      System.Drawing.Rectangle cellBounds,
                                      int rowIndex,
                                      DataGridViewElementStates dataGridViewElementState,
                                      object value,
                                      object formattedValue,
                                      string errorText,
                                      DataGridViewCellStyle cellStyle,
                                      DataGridViewAdvancedBorderStyle advancedBorderStyle,
                                      DataGridViewPaintParts paintParts)
        {
            base.Paint(graphics, clipBounds, cellBounds, rowIndex,
                        dataGridViewElementState, value,
                        formattedValue, errorText, cellStyle,
                        advancedBorderStyle, paintParts);

            Point p = new Point();
            Size s = CheckBoxRenderer.GetGlyphSize(graphics,
            System.Windows.Forms.VisualStyles.CheckBoxState.UncheckedNormal);
            p.X = cellBounds.Location.X + (cellBounds.Width / 2) - (s.Width / 2) - 1;//列头checkbox的X坐标
            p.Y = cellBounds.Location.Y + (cellBounds.Height / 2) - (s.Height / 2);//列头checkbox的Y坐标
            _cellLocation = cellBounds.Location;
            checkBoxLocation = p;
            checkBoxSize = s;
            if (_checked)
                _cbState = CheckBoxState.CheckedNormal;
            else
                _cbState = CheckBoxState.UncheckedNormal;
            CheckBoxRenderer.DrawCheckBox(graphics, checkBoxLocation, _cbState);
        }
    protected override void Paint(Graphics graphics, Rectangle clipBounds,
        Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState,
        object value, object formattedValue, string errorText,
        DataGridViewCellStyle cellStyle,
        DataGridViewAdvancedBorderStyle advancedBorderStyle,
        DataGridViewPaintParts paintParts)
    {
      if (Columns.Count > rowIndex)
      {
        Column c = Columns[rowIndex];
        if (c.PrimaryKey)
        {
          Bitmap bmp = rowIndex == DataGridView.CurrentRow.Index ?
              Resources.ArrowKey : Resources.Key;
          bmp.MakeTransparent();
          paintParts &= ~DataGridViewPaintParts.ContentBackground;
          base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState,
              value, formattedValue, errorText, cellStyle, advancedBorderStyle,
              paintParts);
          Rectangle r = cellBounds;
          r.Offset(bmp.Width / 2, bmp.Height / 2);
          r.Width = bmp.Width;
          r.Height = bmp.Height;
          graphics.DrawImage(bmp, r);
          return;
        }
      }

      base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState,
          value, formattedValue, errorText, cellStyle, advancedBorderStyle,
          paintParts);
    }
Esempio n. 13
0
        protected override object GetFormattedValue(object value, int rowIndex, ref DataGridViewCellStyle cellStyle, System.ComponentModel.TypeConverter valueTypeConverter, System.ComponentModel.TypeConverter formattedValueTypeConverter, DataGridViewDataErrorContexts context)
        {
            Guid obj = (Guid) value;
            string val = PaymentController.GetInstance().GetCustomer(obj).ToString();

            return val;
        }
Esempio n. 14
0
        /// <summary>
        /// DataGridViewEx 边框 背景色 选中色 隔行换色 设置
        /// </summary>
        /// <param name="dgv">DataGridViewEx</param>
        public static void DataGridViewBgColor(DataGridViewEx dgv)
        {
            var dataGridViewCellStyle1 = new DataGridViewCellStyle();
            var dataGridViewCellStyle2 = new DataGridViewCellStyle();
            var dataGridViewCellStyle3 = new DataGridViewCellStyle();
            var dataGridViewCellStyle4 = new DataGridViewCellStyle();
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
            dgv.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;

            dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(240, 241, 243);
            dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(51, 51, 51);
            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True;            
            dgv.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;

            //选中行颜色
            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(255, 246, 150);
            dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular);
            dgv.RowsDefaultCellStyle = dataGridViewCellStyle3;
            dgv.GridColor = System.Drawing.Color.FromArgb(221, 221, 221);

            //序号列样式-行标题背景色 选中色
            dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(224, 236, 255);
            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(224, 236, 255);          
            dgv.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
            //行标题边框样式
            dgv.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
            
        }
Esempio n. 15
0
        public SchedulerWindow()
        {
            _warningsToDeploy = new List<DisplayEvent>();
            _deployedWarnings = new List<DisplayEvent>();
            _buttonToEventLookup = new Dictionary<int, Tuple<string, DateTime>>();
            _scheduler = new Scheduler();

            InitializeComponent();
            this.MaximizeBox = false;
            this.FormBorderStyle = FormBorderStyle.FixedSingle;

            UpdateSchedulerTable(fieldEdited: true);
            UpdateCalendar();

            ClearEventDetails();

            _dailyReminderTask = new Task(DailyReminder);
            _dailyReminderTask.Start();

            _urgentStyle = new DataGridViewCellStyle();
            _urgentStyle.BackColor = Color.LightPink;
            _urgentStyle.SelectionBackColor = Color.LightPink;
            _warningStyle = new DataGridViewCellStyle();
            _warningStyle.BackColor = Color.LightYellow;
            _warningStyle.SelectionBackColor = Color.LightYellow;
            _defaultStyle = new DataGridViewCellStyle();
            _defaultStyle.BackColor = Color.LightGreen;
            _defaultStyle.SelectionBackColor = Color.LightGreen;
            EventTable.ClearSelection();
        }
        public override void InitializeEditingControl(int rowIndex,
                                                      object initialFormattedValue,
                                                      DataGridViewCellStyle dataGridViewCellStyle)
        {
            base.InitializeEditingControl(rowIndex, initialFormattedValue, dataGridViewCellStyle);

            var ec = DataGridView.EditingControl as DataGridViewDictionaryEditingControl;

            if (OwningColumn is DataGridViewDictionaryColumn)
            {
                var col = OwningColumn as DataGridViewDictionaryColumn;

                ec.DataSource = col.DataSource;
                ec.DisplayMember = col.DisplayMember;
                ec.ValueMember = col.ValueMember;
                ec.DescriptionMember = col.DescriptionMember;

                ec.MaxDropDownItems = col.MaxDropDownItems;
                ec.DropDownDisplayWidth = col.DropDownDisplayWidth;
                ec.DropDownDescriptionWidth = col.DropDownDescriptionWidth;

                ec.DisplayFormat = col.DisplayFormat;
                ec.DescriptionFormat = col.DescriptionFormat;
                ec.Format = col.Format;

                ec.ButtonVisible = col.ButtonVisible;
            }
            ec.SelectedValue = Value;
        }
 /// <include file='doc\DataGridViewCellStyle.uex' path='docs/doc[@for="DataGridViewCellStyle.DataGridViewCellStyle2"]/*' />
 public DataGridViewCellStyle(DataGridViewCellStyle dataGridViewCellStyle)
 {
     if (dataGridViewCellStyle == null)
     {
         throw new ArgumentNullException("dataGridViewCellStyle");
     }
     this.propertyStore = new PropertyStore();
     this.scope = DataGridViewCellStyleScopes.None;
     this.BackColor = dataGridViewCellStyle.BackColor;
     this.ForeColor = dataGridViewCellStyle.ForeColor;
     this.SelectionBackColor = dataGridViewCellStyle.SelectionBackColor;
     this.SelectionForeColor = dataGridViewCellStyle.SelectionForeColor;
     this.Font = dataGridViewCellStyle.Font;
     this.NullValue = dataGridViewCellStyle.NullValue;
     this.DataSourceNullValue = dataGridViewCellStyle.DataSourceNullValue;
     this.Format = dataGridViewCellStyle.Format;
     if (!dataGridViewCellStyle.IsFormatProviderDefault)
     {
         this.FormatProvider = dataGridViewCellStyle.FormatProvider;
     }
     this.AlignmentInternal = dataGridViewCellStyle.Alignment;
     this.WrapModeInternal = dataGridViewCellStyle.WrapMode;
     this.Tag = dataGridViewCellStyle.Tag;
     this.PaddingInternal = dataGridViewCellStyle.Padding;
 }
        protected override void Paint(
            Graphics graphics,
            Rectangle clipBounds,
            Rectangle cellBounds,
            int rowIndex,
            DataGridViewElementStates cellState,
            object value,
            object formattedValue,
            string errorText,
            DataGridViewCellStyle cellStyle,
            DataGridViewAdvancedBorderStyle advancedBorderStyle,
            DataGridViewPaintParts paintParts)
        {
            // Call the base class method to paint the default cell appearance.
            base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState,
                value, formattedValue, errorText, cellStyle,
                advancedBorderStyle, paintParts);

            // Retrieve the client location of the mouse pointer.
            Point cursorPosition =
                this.DataGridView.PointToClient(Cursor.Position);

            // If the mouse pointer is over the current cell, draw a custom border.
            if (cellBounds.Contains(cursorPosition))
            {
                Rectangle newRect = new Rectangle(cellBounds.X + 1,
                    cellBounds.Y + 1, cellBounds.Width - 4,
                    cellBounds.Height - 4);
                graphics.DrawRectangle(Pens.Red, newRect);
            }
        }
 public void ApplyCellStyleToEditingControl(
     DataGridViewCellStyle dataGridViewCellStyle)
 {
     this.Font = dataGridViewCellStyle.Font;
     this.CalendarForeColor = dataGridViewCellStyle.ForeColor;
     this.CalendarMonthBackground = dataGridViewCellStyle.BackColor;
 }
        protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
        {
            if (Image != null)
            {
                base.Paint(graphics, clipBounds,
                           new Rectangle(cellBounds.X + Image.Width, cellBounds.Y, cellBounds.Width - Image.Height,cellBounds.Height),
                           rowIndex, cellState, value, formattedValue,errorText, cellStyle, advancedBorderStyle, paintParts);

                if ((cellState & DataGridViewElementStates.Selected) != 0)
                {
                    graphics.FillRectangle(
                        new SolidBrush(this.DataGridView.DefaultCellStyle.SelectionBackColor)
                        , cellBounds.X, cellBounds.Y, Image.Width, cellBounds.Height);
                }
                else
                {
                    graphics.FillRectangle(new SolidBrush(this.DataGridView.DefaultCellStyle.BackColor),
                                           cellBounds.X, cellBounds.Y, Image.Width, cellBounds.Height);
                }
                graphics.DrawImage(Image, cellBounds.X, cellBounds.Y+2, Image.Width,
                                         Math.Min(Image.Height,cellBounds.Height));

            }
            else
            {
                base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, paintParts);
            }
        }
        protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
        {
            // the base Paint implementation paints the check box
            base.Paint(graphics, clipBounds, cellBounds, rowIndex, elementState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, paintParts);

            // Get the check box bounds: they are the content bounds
            Rectangle contentBounds = this.GetContentBounds(rowIndex);

            // Compute the location where we want to paint the string.
            Point stringLocation = new Point();

            // Compute the Y.
            // NOTE: the current logic does not take into account padding.
            stringLocation.Y = cellBounds.Y + 2;

            // Compute the X.
            // Content bounds are computed relative to the cell bounds
            // - not relative to the DataGridView control.
            stringLocation.X = cellBounds.X + contentBounds.Right + 2;

            // Paint the string.
            if (this.Label == null)
            {
                DataGridViewCheckBoxWithLabelColumn col = (DataGridViewCheckBoxWithLabelColumn) this.OwningColumn;
                this.label = col.Label;
            }

            graphics.DrawString(this.Label, Control.DefaultFont, System.Drawing.Brushes.Red, stringLocation);
        }
Esempio n. 22
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Attaches and initializes the hosted editing control.
		/// </summary>
		/// <param name="rowIndex">The index of the row being edited.</param>
		/// <param name="initialFormattedValue">The initial value to be displayed in the
		/// control.</param>
		/// <param name="dataGridViewCellStyle">A cell style that is used to determine the
		/// appearance of the hosted control.</param>
		/// <PermissionSet>
		///		<IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true"/>
		///		<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true"/>
		///		<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence"/>
		///		<IPermission class="System.Diagnostics.PerformanceCounterPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true"/>
		/// </PermissionSet>
		/// ------------------------------------------------------------------------------------
		public override void InitializeEditingControl(int rowIndex, object initialFormattedValue,
			DataGridViewCellStyle dataGridViewCellStyle)
		{
			base.InitializeEditingControl(rowIndex, initialFormattedValue, dataGridViewCellStyle);
			FwTextBoxControl ctrl = DataGridView.EditingControl as FwTextBoxControl;
			InitializeTextBoxControl(ctrl, rowIndex);
		}
 private void PaintBackGround(Graphics graphics, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewCellStyle cellStyle, Rectangle cellBounds) {
     Rectangle rectangle = base.BorderWidths(advancedBorderStyle);
     Rectangle rect = cellBounds;
     rect.Offset(rectangle.X, rectangle.Y);
     rect.Width -= rectangle.Right;
     rect.Height -= rectangle.Bottom;
     using(SolidBrush brush = new SolidBrush(cellStyle.BackColor)) {
         graphics.FillRectangle(brush, rect);
     }
     if(this.lFileSize <= 0L) {
         return;
     }
     Rectangle bounds = rect;
     double num = ((double)this.progressValue) / ((double)this.lFileSize);
     bounds.Width = (int)(bounds.Width * num);
     if(VisualStyleRenderer.IsSupported) {
         try {
             new VisualStyleRenderer(VisualStyleElement.ProgressBar.Chunk.Normal).DrawBackground(graphics, bounds);
             goto Label_00E1;
         }
         catch {
             goto Label_00E1;
         }
     }
     using(SolidBrush brush2 = new SolidBrush(SystemColors.Highlight)) {
         graphics.FillRectangle(brush2, bounds);
     }
 Label_00E1:
     using(StringFormat format = new StringFormat()) {
         format.Alignment = format.LineAlignment = StringAlignment.Center;
         using(SolidBrush brush3 = new SolidBrush(cellStyle.ForeColor)) {
             graphics.DrawString(((int)(num * 100.0)) + "%", cellStyle.Font, brush3, rect, format);
         }
     }
 }
Esempio n. 24
0
 public override void InitializeEditingControl(int rowIndex, object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle)
 {
     // Set the value of the editing control to the current cell value.
     base.InitializeEditingControl(rowIndex, initialFormattedValue, dataGridViewCellStyle);
     MonthPaidControl ctl = DataGridView.EditingControl as MonthPaidControl;
     ctl.Value = (DateTime)GetValue(rowIndex);
 }
 protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts) {
     if(this.fNowCalculating) {
         this.PaintBackGround(graphics, advancedBorderStyle, cellStyle, cellBounds);
         paintParts &= ~(DataGridViewPaintParts.ContentBackground | DataGridViewPaintParts.Background);
     }
     base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, paintParts);
 }
Esempio n. 26
0
        public MapPackageManager(Form1 formRef)
        {
            InitializeComponent();
            mainForm = formRef;

            // Get list of maps from server
            using (WebClient wc = new WebClient())
            {
                var json = wc.DownloadString("http://hack.fyi/rlmaps/maps.json");

                List<MapPackageJson> maps  = JsonConvert.DeserializeObject<List<MapPackageJson>>(json);

                foreach(MapPackageJson mpj in maps)
                {
                    mapPackages.Add(mpj.mapPackage);
                }
            }

            dataGridView1.DataSource = mapPackages;
            dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells;
            dataGridView1.Columns["FileUrl"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            dataGridView1.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            dataGridView1.RowsDefaultCellStyle.SelectionBackColor = System.Drawing.Color.Transparent;
            DataGridViewCellStyle columnHeaderStyle = new DataGridViewCellStyle();
            columnHeaderStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;

            dataGridView1.ColumnHeadersDefaultCellStyle = columnHeaderStyle;

            packageStatusLabel.Text = "Downloaded initial map list.";
        }
 /// <include file='doc\DataGridViewRowPostPaintEventArgs.uex' path='docs/doc[@for="DataGridViewRowPostPaintEventArgs.DataGridViewRowPostPaintEventArgs"]/*' />
 public DataGridViewRowPostPaintEventArgs(DataGridView dataGridView,
                                          Graphics graphics, 
                                          Rectangle clipBounds, 
                                          Rectangle rowBounds,
                                          int rowIndex,
                                          DataGridViewElementStates rowState,
                                          string errorText,
                                          DataGridViewCellStyle inheritedRowStyle,
                                          bool isFirstDisplayedRow,
                                          bool isLastVisibleRow)
 {
     if (dataGridView == null)
     {
         throw new ArgumentNullException("dataGridView");
     }
     if (graphics == null)
     {
         throw new ArgumentNullException("graphics");
     }
     if (inheritedRowStyle == null)
     {
         throw new ArgumentNullException("inheritedRowStyle");
     }
     this.dataGridView = dataGridView;
     this.graphics = graphics;
     this.clipBounds = clipBounds;
     this.rowBounds = rowBounds;
     this.rowIndex = rowIndex;
     this.rowState = rowState;
     this.errorText = errorText;
     this.inheritedRowStyle = inheritedRowStyle;
     this.isFirstDisplayedRow = isFirstDisplayedRow;
     this.isLastVisibleRow = isLastVisibleRow;
 }
Esempio n. 28
0
        public Form1()
        {
            InitializeComponent();
            lctrl = new LoanCtrl();
            // To get the right list enter string name of the list, this is made for direct access
            // to the list so the checkboxes respond directly
            dataGridView1.DataSource = lctrl.GetDirectList("loans");
            dataGridView1.BackgroundColor = Color.Silver;
            dataGridView1.Columns[3].Visible = true;
            dataGridView1.Columns[0].ReadOnly = true;
            dataGridView1.Columns[1].ReadOnly = true;
            dataGridView1.Columns[2].ReadOnly = true;

            DataGridViewCellStyle style = new DataGridViewCellStyle();
            DataGridViewCellStyle styleHeader = new DataGridViewCellStyle();
            style.Alignment = DataGridViewContentAlignment.MiddleCenter;
            styleHeader.Alignment = DataGridViewContentAlignment.MiddleCenter;
            styleHeader.Padding = new Padding(20, 0, 0, 0);
            dataGridView1.ColumnHeadersDefaultCellStyle.BackColor = Color.LightGray;
            dataGridView1.EnableHeadersVisualStyles = false;
            dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            dataGridView1.RowsDefaultCellStyle.SelectionBackColor = Color.DeepSkyBlue;
            dataGridView1.RowsDefaultCellStyle.SelectionForeColor = Color.Black;
            dataGridView1.RowHeadersVisible = false;
            foreach (DataGridViewColumn column in dataGridView1.Columns)
            {
                column.HeaderCell.Style = styleHeader;
                column.DefaultCellStyle = style;
            }
            dataGridView1.Columns[3].HeaderCell.Style = style;
        }
Esempio n. 29
0
        /// <summary>
        /// 状态行样式
        /// </summary>
        /// <param name="s"></param>
        /// <returns></returns>
        public DataGridViewCellStyle GetStatusRowStyle(int s)
        {
            DataGridViewCellStyle dr = new DataGridViewCellStyle();

            switch (s)
            {
                case 1://放送中
                    dr.ForeColor = Color.White;
                    dr.BackColor = Color.Navy;

                    break;
                case 2://完结
                    dr.ForeColor = Color.FromArgb(0, 97, 0);
                    dr.BackColor = Color.FromArgb(198, 239, 206);
                    break;
                case 3://新企划
                    dr.ForeColor = Color.DarkRed;
                    dr.BackColor = Color.LightPink;
                    break;
                case 9://弃置
                    dr.ForeColor = Color.Black;
                    dr.BackColor = Color.LightGray;
                    break;
            }
            return dr;
        }
Esempio n. 30
0
        public override object ParseFormattedValue(
            object formattedValue,
            DataGridViewCellStyle cellStyle,
            TypeConverter formattedValueTypeConverter,
            TypeConverter valueTypeConverter)
        {
            int result;

            if (int.TryParse(formattedValue.ToString(), NumberStyles.HexNumber, null, out result))
            {
                //Hex number
                return base.ParseFormattedValue(
                    "0x" + formattedValue,
                    cellStyle,
                    formattedValueTypeConverter,
                    valueTypeConverter
                    );
            }

            return base.ParseFormattedValue(
                formattedValue,
                cellStyle,
                formattedValueTypeConverter,
                valueTypeConverter
                );
        }
Esempio n. 31
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(SnapshotsPage));
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.GeneralTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
     this.contentTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
     this.panelPropertiesColumn   = new System.Windows.Forms.Panel();
     this.panelVMPP                       = new System.Windows.Forms.Panel();
     this.linkLabelVMPPInfo               = new System.Windows.Forms.LinkLabel();
     this.labelVMPPInfo                   = new System.Windows.Forms.Label();
     this.pictureBoxVMPPInfo              = new System.Windows.Forms.PictureBox();
     this.propertiesGroupBox              = new System.Windows.Forms.GroupBox();
     this.propertiesTableLayoutPanel      = new System.Windows.Forms.TableLayoutPanel();
     this.tableLayoutPanelSimpleSelection = new System.Windows.Forms.TableLayoutPanel();
     this.folderLabel                     = new System.Windows.Forms.Label();
     this.sizeLabel                       = new System.Windows.Forms.Label();
     this.tagsLabel                       = new System.Windows.Forms.Label();
     this.descriptionLabel                = new System.Windows.Forms.Label();
     this.label1                            = new System.Windows.Forms.Label();
     this.sizeTitleLabel                    = new System.Windows.Forms.Label();
     this.folderTitleLabel                  = new System.Windows.Forms.Label();
     this.tagsTitleLabel                    = new System.Windows.Forms.Label();
     this.customFieldTitle1                 = new System.Windows.Forms.Label();
     this.customFieldContent1               = new System.Windows.Forms.Label();
     this.customFieldTitle2                 = new System.Windows.Forms.Label();
     this.customFieldContent2               = new System.Windows.Forms.Label();
     this.labelModeTitle                    = new System.Windows.Forms.Label();
     this.labelMode                         = new System.Windows.Forms.Label();
     this.propertiesButton                  = new System.Windows.Forms.Button();
     this.nameLabel                         = new System.Windows.Forms.Label();
     this.shadowPanel1                      = new XenAdmin.Controls.ShadowPanel();
     this.screenshotPictureBox              = new System.Windows.Forms.PictureBox();
     this.viewPanel                         = new System.Windows.Forms.Panel();
     this.snapshotTreeView                  = new XenAdmin.Controls.SnapshotTreeView(this.components);
     this.tableLayoutPanel2                 = new System.Windows.Forms.TableLayoutPanel();
     this.newSnapshotButton                 = new System.Windows.Forms.Button();
     this.toolTipContainerRevertButton      = new XenAdmin.Controls.ToolTipContainer();
     this.revertButton                      = new System.Windows.Forms.Button();
     this.buttonView                        = new System.Windows.Forms.Button();
     this.saveButton                        = new System.Windows.Forms.Button();
     this.deleteButton                      = new System.Windows.Forms.Button();
     this.chevronButton1                    = new XenAdmin.Controls.ChevronButton();
     this.contextMenuStrip                  = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.TakeSnapshotToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.revertToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.saveVMToolStripSeparator          = new System.Windows.Forms.ToolStripSeparator();
     this.saveVMToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.saveTemplateToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.exportToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.separatorDeleteToolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.viewToolStripMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
     this.sortByToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.sortByNameToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.sortByCreatedOnToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.sortBySizeToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.sortByTypeToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.sortToolStripSeparator            = new System.Windows.Forms.ToolStripSeparator();
     this.deleteToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.propertiesToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.dataGridView                      = new System.Windows.Forms.DataGridView();
     this.Live        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Snapshot    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Date        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.size        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tags        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.description = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dateLabel   = new System.Windows.Forms.Label();
     this.tableLayoutPanelMultipleSelection = new System.Windows.Forms.TableLayoutPanel();
     this.multipleSelectionTags             = new System.Windows.Forms.Label();
     this.multipleSelectionTotalSize        = new System.Windows.Forms.Label();
     this.label6                              = new System.Windows.Forms.Label();
     this.label7                              = new System.Windows.Forms.Label();
     this.saveMenuStrip                       = new XenAdmin.Controls.NonReopeningContextMenuStrip(this.components);
     this.saveAsVMToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator2                 = new System.Windows.Forms.ToolStripSeparator();
     this.saveAsTemplateToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.exportAsBackupToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.contextMenuStripView                = new XenAdmin.Controls.NonReopeningContextMenuStrip(this.components);
     this.toolStripButtonListView             = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripButtonTreeView             = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparatorView              = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItemScheduledSnapshots = new System.Windows.Forms.ToolStripMenuItem();
     this.pageContainerPanel.SuspendLayout();
     this.GeneralTableLayoutPanel.SuspendLayout();
     this.contentTableLayoutPanel.SuspendLayout();
     this.panelPropertiesColumn.SuspendLayout();
     this.panelVMPP.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBoxVMPPInfo)).BeginInit();
     this.propertiesGroupBox.SuspendLayout();
     this.propertiesTableLayoutPanel.SuspendLayout();
     this.tableLayoutPanelSimpleSelection.SuspendLayout();
     this.shadowPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.screenshotPictureBox)).BeginInit();
     this.viewPanel.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.toolTipContainerRevertButton.SuspendLayout();
     this.contextMenuStrip.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
     this.tableLayoutPanelMultipleSelection.SuspendLayout();
     this.saveMenuStrip.SuspendLayout();
     this.contextMenuStripView.SuspendLayout();
     this.SuspendLayout();
     //
     // pageContainerPanel
     //
     this.pageContainerPanel.Controls.Add(this.GeneralTableLayoutPanel);
     resources.ApplyResources(this.pageContainerPanel, "pageContainerPanel");
     //
     // GeneralTableLayoutPanel
     //
     resources.ApplyResources(this.GeneralTableLayoutPanel, "GeneralTableLayoutPanel");
     this.GeneralTableLayoutPanel.BackColor = System.Drawing.Color.Transparent;
     this.GeneralTableLayoutPanel.Controls.Add(this.contentTableLayoutPanel, 0, 1);
     this.GeneralTableLayoutPanel.Controls.Add(this.tableLayoutPanel2, 0, 0);
     this.GeneralTableLayoutPanel.Name = "GeneralTableLayoutPanel";
     //
     // contentTableLayoutPanel
     //
     resources.ApplyResources(this.contentTableLayoutPanel, "contentTableLayoutPanel");
     this.contentTableLayoutPanel.Controls.Add(this.panelPropertiesColumn, 1, 0);
     this.contentTableLayoutPanel.Controls.Add(this.viewPanel, 0, 0);
     this.contentTableLayoutPanel.Name = "contentTableLayoutPanel";
     //
     // panelPropertiesColumn
     //
     this.panelPropertiesColumn.Controls.Add(this.panelVMPP);
     this.panelPropertiesColumn.Controls.Add(this.propertiesGroupBox);
     resources.ApplyResources(this.panelPropertiesColumn, "panelPropertiesColumn");
     this.panelPropertiesColumn.Name = "panelPropertiesColumn";
     //
     // panelVMPP
     //
     resources.ApplyResources(this.panelVMPP, "panelVMPP");
     this.panelVMPP.Controls.Add(this.linkLabelVMPPInfo);
     this.panelVMPP.Controls.Add(this.labelVMPPInfo);
     this.panelVMPP.Controls.Add(this.pictureBoxVMPPInfo);
     this.panelVMPP.Name = "panelVMPP";
     //
     // linkLabelVMPPInfo
     //
     resources.ApplyResources(this.linkLabelVMPPInfo, "linkLabelVMPPInfo");
     this.linkLabelVMPPInfo.Name         = "linkLabelVMPPInfo";
     this.linkLabelVMPPInfo.TabStop      = true;
     this.linkLabelVMPPInfo.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelVMPPInfo_Click);
     //
     // labelVMPPInfo
     //
     resources.ApplyResources(this.labelVMPPInfo, "labelVMPPInfo");
     this.labelVMPPInfo.AutoEllipsis = true;
     this.labelVMPPInfo.Name         = "labelVMPPInfo";
     //
     // pictureBoxVMPPInfo
     //
     this.pictureBoxVMPPInfo.Image = global::XenAdmin.Properties.Resources._000_Alert2_h32bit_16;
     resources.ApplyResources(this.pictureBoxVMPPInfo, "pictureBoxVMPPInfo");
     this.pictureBoxVMPPInfo.Name    = "pictureBoxVMPPInfo";
     this.pictureBoxVMPPInfo.TabStop = false;
     //
     // propertiesGroupBox
     //
     resources.ApplyResources(this.propertiesGroupBox, "propertiesGroupBox");
     this.propertiesGroupBox.Controls.Add(this.propertiesTableLayoutPanel);
     this.propertiesGroupBox.Name    = "propertiesGroupBox";
     this.propertiesGroupBox.TabStop = false;
     //
     // propertiesTableLayoutPanel
     //
     resources.ApplyResources(this.propertiesTableLayoutPanel, "propertiesTableLayoutPanel");
     this.propertiesTableLayoutPanel.Controls.Add(this.tableLayoutPanelSimpleSelection, 0, 2);
     this.propertiesTableLayoutPanel.Controls.Add(this.propertiesButton, 0, 3);
     this.propertiesTableLayoutPanel.Controls.Add(this.nameLabel, 0, 1);
     this.propertiesTableLayoutPanel.Controls.Add(this.shadowPanel1, 0, 0);
     this.propertiesTableLayoutPanel.Name = "propertiesTableLayoutPanel";
     //
     // tableLayoutPanelSimpleSelection
     //
     resources.ApplyResources(this.tableLayoutPanelSimpleSelection, "tableLayoutPanelSimpleSelection");
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.folderLabel, 1, 4);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.sizeLabel, 1, 2);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.tagsLabel, 1, 3);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.descriptionLabel, 1, 0);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.label1, 0, 0);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.sizeTitleLabel, 0, 2);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.folderTitleLabel, 0, 4);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.tagsTitleLabel, 0, 3);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.customFieldTitle1, 0, 5);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.customFieldContent1, 1, 5);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.customFieldTitle2, 0, 6);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.customFieldContent2, 1, 6);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.labelModeTitle, 0, 1);
     this.tableLayoutPanelSimpleSelection.Controls.Add(this.labelMode, 1, 1);
     this.tableLayoutPanelSimpleSelection.Name = "tableLayoutPanelSimpleSelection";
     //
     // folderLabel
     //
     this.folderLabel.AutoEllipsis = true;
     resources.ApplyResources(this.folderLabel, "folderLabel");
     this.folderLabel.Name        = "folderLabel";
     this.folderLabel.UseMnemonic = false;
     //
     // sizeLabel
     //
     resources.ApplyResources(this.sizeLabel, "sizeLabel");
     this.sizeLabel.Name        = "sizeLabel";
     this.sizeLabel.UseMnemonic = false;
     //
     // tagsLabel
     //
     this.tagsLabel.AutoEllipsis = true;
     resources.ApplyResources(this.tagsLabel, "tagsLabel");
     this.tagsLabel.Name        = "tagsLabel";
     this.tagsLabel.UseMnemonic = false;
     //
     // descriptionLabel
     //
     this.descriptionLabel.AutoEllipsis = true;
     resources.ApplyResources(this.descriptionLabel, "descriptionLabel");
     this.descriptionLabel.Name        = "descriptionLabel";
     this.descriptionLabel.UseMnemonic = false;
     //
     // label1
     //
     this.label1.AutoEllipsis = true;
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name        = "label1";
     this.label1.UseMnemonic = false;
     //
     // sizeTitleLabel
     //
     resources.ApplyResources(this.sizeTitleLabel, "sizeTitleLabel");
     this.sizeTitleLabel.Name        = "sizeTitleLabel";
     this.sizeTitleLabel.UseMnemonic = false;
     //
     // folderTitleLabel
     //
     resources.ApplyResources(this.folderTitleLabel, "folderTitleLabel");
     this.folderTitleLabel.Name        = "folderTitleLabel";
     this.folderTitleLabel.UseMnemonic = false;
     //
     // tagsTitleLabel
     //
     resources.ApplyResources(this.tagsTitleLabel, "tagsTitleLabel");
     this.tagsTitleLabel.Name        = "tagsTitleLabel";
     this.tagsTitleLabel.UseMnemonic = false;
     //
     // customFieldTitle1
     //
     this.customFieldTitle1.AutoEllipsis = true;
     resources.ApplyResources(this.customFieldTitle1, "customFieldTitle1");
     this.customFieldTitle1.Name        = "customFieldTitle1";
     this.customFieldTitle1.UseMnemonic = false;
     //
     // customFieldContent1
     //
     this.customFieldContent1.AutoEllipsis = true;
     resources.ApplyResources(this.customFieldContent1, "customFieldContent1");
     this.customFieldContent1.Name        = "customFieldContent1";
     this.customFieldContent1.UseMnemonic = false;
     //
     // customFieldTitle2
     //
     this.customFieldTitle2.AutoEllipsis = true;
     resources.ApplyResources(this.customFieldTitle2, "customFieldTitle2");
     this.customFieldTitle2.Name        = "customFieldTitle2";
     this.customFieldTitle2.UseMnemonic = false;
     //
     // customFieldContent2
     //
     this.customFieldContent2.AutoEllipsis = true;
     resources.ApplyResources(this.customFieldContent2, "customFieldContent2");
     this.customFieldContent2.Name        = "customFieldContent2";
     this.customFieldContent2.UseMnemonic = false;
     //
     // labelModeTitle
     //
     resources.ApplyResources(this.labelModeTitle, "labelModeTitle");
     this.labelModeTitle.Name        = "labelModeTitle";
     this.labelModeTitle.UseMnemonic = false;
     //
     // labelMode
     //
     resources.ApplyResources(this.labelMode, "labelMode");
     this.labelMode.Name = "labelMode";
     //
     // propertiesButton
     //
     resources.ApplyResources(this.propertiesButton, "propertiesButton");
     this.propertiesButton.Name = "propertiesButton";
     this.propertiesButton.UseVisualStyleBackColor = true;
     this.propertiesButton.Click += new System.EventHandler(this.propertiesButton_Click);
     //
     // nameLabel
     //
     this.nameLabel.AutoEllipsis = true;
     resources.ApplyResources(this.nameLabel, "nameLabel");
     this.nameLabel.Name        = "nameLabel";
     this.nameLabel.UseMnemonic = false;
     //
     // shadowPanel1
     //
     resources.ApplyResources(this.shadowPanel1, "shadowPanel1");
     this.shadowPanel1.BorderColor = System.Drawing.Color.Empty;
     this.shadowPanel1.Controls.Add(this.screenshotPictureBox);
     this.shadowPanel1.Name       = "shadowPanel1";
     this.shadowPanel1.PanelColor = System.Drawing.Color.Empty;
     //
     // screenshotPictureBox
     //
     this.screenshotPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
     resources.ApplyResources(this.screenshotPictureBox, "screenshotPictureBox");
     this.screenshotPictureBox.Name    = "screenshotPictureBox";
     this.screenshotPictureBox.TabStop = false;
     this.screenshotPictureBox.Click  += new System.EventHandler(this.screenshotPictureBox_Click);
     //
     // viewPanel
     //
     this.viewPanel.Controls.Add(this.snapshotTreeView);
     resources.ApplyResources(this.viewPanel, "viewPanel");
     this.viewPanel.Name = "viewPanel";
     //
     // snapshotTreeView
     //
     resources.ApplyResources(this.snapshotTreeView, "snapshotTreeView");
     this.snapshotTreeView.AllowDrop            = true;
     this.snapshotTreeView.AutoArrange          = false;
     this.snapshotTreeView.BackgroundImageTiled = true;
     this.snapshotTreeView.GridLines            = true;
     this.snapshotTreeView.HeaderStyle          = System.Windows.Forms.ColumnHeaderStyle.None;
     this.snapshotTreeView.HGap             = 42;
     this.snapshotTreeView.HideSelection    = false;
     this.snapshotTreeView.LinkLineColor    = System.Drawing.SystemColors.ActiveBorder;
     this.snapshotTreeView.Name             = "snapshotTreeView";
     this.snapshotTreeView.OwnerDraw        = true;
     this.snapshotTreeView.ShowGroups       = false;
     this.snapshotTreeView.ShowItemToolTips = true;
     this.snapshotTreeView.TileSize         = new System.Drawing.Size(80, 60);
     this.snapshotTreeView.UseCompatibleStateImageBehavior = false;
     this.snapshotTreeView.VGap                  = 50;
     this.snapshotTreeView.ItemDrag             += new System.Windows.Forms.ItemDragEventHandler(this.snapshotTreeView_ItemDrag);
     this.snapshotTreeView.SelectedIndexChanged += new System.EventHandler(this.view_SelectionChanged);
     this.snapshotTreeView.DragDrop             += new System.Windows.Forms.DragEventHandler(this.snapshotTreeView_DragDrop);
     this.snapshotTreeView.DragEnter            += new System.Windows.Forms.DragEventHandler(this.snapshotTreeView_DragEnter);
     this.snapshotTreeView.DragOver             += new System.Windows.Forms.DragEventHandler(this.snapshotTreeView_DragOver);
     this.snapshotTreeView.Enter                += new System.EventHandler(this.snapshotTreeView_Enter);
     this.snapshotTreeView.Leave                += new System.EventHandler(this.snapshotTreeView_Leave);
     this.snapshotTreeView.MouseDoubleClick     += new System.Windows.Forms.MouseEventHandler(this.snapshotTreeView1_MouseDoubleClick);
     this.snapshotTreeView.MouseDown            += new System.Windows.Forms.MouseEventHandler(this.snapshotTreeView_MouseClick);
     this.snapshotTreeView.MouseMove            += new System.Windows.Forms.MouseEventHandler(this.snapshotTreeView_MouseMove);
     //
     // tableLayoutPanel2
     //
     resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
     this.tableLayoutPanel2.Controls.Add(this.newSnapshotButton, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.toolTipContainerRevertButton, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.buttonView, 4, 0);
     this.tableLayoutPanel2.Controls.Add(this.saveButton, 2, 0);
     this.tableLayoutPanel2.Controls.Add(this.deleteButton, 3, 0);
     this.tableLayoutPanel2.Controls.Add(this.chevronButton1, 6, 0);
     this.tableLayoutPanel2.Name = "tableLayoutPanel2";
     //
     // newSnapshotButton
     //
     resources.ApplyResources(this.newSnapshotButton, "newSnapshotButton");
     this.newSnapshotButton.Name = "newSnapshotButton";
     this.newSnapshotButton.UseVisualStyleBackColor = true;
     this.newSnapshotButton.Click += new System.EventHandler(this.takeSnapshotToolStripButton_Click);
     //
     // toolTipContainerRevertButton
     //
     this.toolTipContainerRevertButton.Controls.Add(this.revertButton);
     resources.ApplyResources(this.toolTipContainerRevertButton, "toolTipContainerRevertButton");
     this.toolTipContainerRevertButton.Name    = "toolTipContainerRevertButton";
     this.toolTipContainerRevertButton.TabStop = true;
     //
     // revertButton
     //
     resources.ApplyResources(this.revertButton, "revertButton");
     this.revertButton.Name = "revertButton";
     this.revertButton.UseVisualStyleBackColor = true;
     this.revertButton.Click += new System.EventHandler(this.revertButton_Click);
     //
     // buttonView
     //
     this.buttonView.Image = global::XenAdmin.Properties.Resources.expanded_triangle;
     resources.ApplyResources(this.buttonView, "buttonView");
     this.buttonView.Name = "buttonView";
     this.buttonView.UseVisualStyleBackColor = true;
     this.buttonView.Click += new System.EventHandler(this.button1_Click);
     //
     // saveButton
     //
     this.saveButton.Image = global::XenAdmin.Properties.Resources.expanded_triangle;
     resources.ApplyResources(this.saveButton, "saveButton");
     this.saveButton.Name = "saveButton";
     this.saveButton.UseVisualStyleBackColor = true;
     this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
     //
     // deleteButton
     //
     resources.ApplyResources(this.deleteButton, "deleteButton");
     this.deleteButton.Name = "deleteButton";
     this.deleteButton.UseVisualStyleBackColor = true;
     this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
     //
     // chevronButton1
     //
     resources.ApplyResources(this.chevronButton1, "chevronButton1");
     this.chevronButton1.Cursor       = System.Windows.Forms.Cursors.Default;
     this.chevronButton1.Image        = ((System.Drawing.Image)(resources.GetObject("chevronButton1.Image")));
     this.chevronButton1.Name         = "chevronButton1";
     this.chevronButton1.ButtonClick += new System.EventHandler(this.chevronButton1_ButtonClick);
     this.chevronButton1.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.chevronButton1_KeyDown);
     //
     // contextMenuStrip
     //
     this.contextMenuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.TakeSnapshotToolStripMenuItem,
         this.revertToolStripMenuItem,
         this.saveVMToolStripSeparator,
         this.saveVMToolStripMenuItem,
         this.saveTemplateToolStripMenuItem,
         this.exportToolStripMenuItem,
         this.separatorDeleteToolStripSeparator,
         this.viewToolStripMenuItem,
         this.sortByToolStripMenuItem,
         this.sortToolStripSeparator,
         this.deleteToolStripMenuItem,
         this.propertiesToolStripMenuItem
     });
     this.contextMenuStrip.Name = "contextMenuStrip1";
     resources.ApplyResources(this.contextMenuStrip, "contextMenuStrip");
     this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening);
     //
     // TakeSnapshotToolStripMenuItem
     //
     this.TakeSnapshotToolStripMenuItem.Name = "TakeSnapshotToolStripMenuItem";
     resources.ApplyResources(this.TakeSnapshotToolStripMenuItem, "TakeSnapshotToolStripMenuItem");
     this.TakeSnapshotToolStripMenuItem.Click += new System.EventHandler(this.takeSnapshotToolStripButton_Click);
     //
     // revertToolStripMenuItem
     //
     this.revertToolStripMenuItem.Name = "revertToolStripMenuItem";
     resources.ApplyResources(this.revertToolStripMenuItem, "revertToolStripMenuItem");
     this.revertToolStripMenuItem.Click += new System.EventHandler(this.restoreToolStripButton_Click);
     //
     // saveVMToolStripSeparator
     //
     this.saveVMToolStripSeparator.Name = "saveVMToolStripSeparator";
     resources.ApplyResources(this.saveVMToolStripSeparator, "saveVMToolStripSeparator");
     //
     // saveVMToolStripMenuItem
     //
     this.saveVMToolStripMenuItem.Name = "saveVMToolStripMenuItem";
     resources.ApplyResources(this.saveVMToolStripMenuItem, "saveVMToolStripMenuItem");
     this.saveVMToolStripMenuItem.Click += new System.EventHandler(this.saveAsAVirtualMachineToolStripMenuItem_Click);
     //
     // saveTemplateToolStripMenuItem
     //
     this.saveTemplateToolStripMenuItem.Name = "saveTemplateToolStripMenuItem";
     resources.ApplyResources(this.saveTemplateToolStripMenuItem, "saveTemplateToolStripMenuItem");
     this.saveTemplateToolStripMenuItem.Click += new System.EventHandler(this.saveAsATemplateToolStripMenuItem_Click);
     //
     // exportToolStripMenuItem
     //
     this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
     resources.ApplyResources(this.exportToolStripMenuItem, "exportToolStripMenuItem");
     this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportSnapshotToolStripMenuItem_Click);
     //
     // separatorDeleteToolStripSeparator
     //
     this.separatorDeleteToolStripSeparator.Name = "separatorDeleteToolStripSeparator";
     resources.ApplyResources(this.separatorDeleteToolStripSeparator, "separatorDeleteToolStripSeparator");
     //
     // viewToolStripMenuItem
     //
     this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
     resources.ApplyResources(this.viewToolStripMenuItem, "viewToolStripMenuItem");
     //
     // sortByToolStripMenuItem
     //
     this.sortByToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.sortByNameToolStripMenuItem,
         this.sortByCreatedOnToolStripMenuItem,
         this.sortBySizeToolStripMenuItem,
         this.sortByTypeToolStripMenuItem
     });
     this.sortByToolStripMenuItem.Name = "sortByToolStripMenuItem";
     resources.ApplyResources(this.sortByToolStripMenuItem, "sortByToolStripMenuItem");
     //
     // sortByNameToolStripMenuItem
     //
     this.sortByNameToolStripMenuItem.Name = "sortByNameToolStripMenuItem";
     resources.ApplyResources(this.sortByNameToolStripMenuItem, "sortByNameToolStripMenuItem");
     this.sortByNameToolStripMenuItem.Click += new System.EventHandler(this.sortByToolStripMenuItem_Click);
     //
     // sortByCreatedOnToolStripMenuItem
     //
     this.sortByCreatedOnToolStripMenuItem.Name = "sortByCreatedOnToolStripMenuItem";
     resources.ApplyResources(this.sortByCreatedOnToolStripMenuItem, "sortByCreatedOnToolStripMenuItem");
     this.sortByCreatedOnToolStripMenuItem.Click += new System.EventHandler(this.sortByToolStripMenuItem_Click);
     //
     // sortBySizeToolStripMenuItem
     //
     this.sortBySizeToolStripMenuItem.Name = "sortBySizeToolStripMenuItem";
     resources.ApplyResources(this.sortBySizeToolStripMenuItem, "sortBySizeToolStripMenuItem");
     this.sortBySizeToolStripMenuItem.Click += new System.EventHandler(this.sortByToolStripMenuItem_Click);
     //
     // sortByTypeToolStripMenuItem
     //
     this.sortByTypeToolStripMenuItem.Name = "sortByTypeToolStripMenuItem";
     resources.ApplyResources(this.sortByTypeToolStripMenuItem, "sortByTypeToolStripMenuItem");
     this.sortByTypeToolStripMenuItem.Click += new System.EventHandler(this.sortByToolStripMenuItem_Click);
     //
     // sortToolStripSeparator
     //
     this.sortToolStripSeparator.Name = "sortToolStripSeparator";
     resources.ApplyResources(this.sortToolStripSeparator, "sortToolStripSeparator");
     //
     // deleteToolStripMenuItem
     //
     this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
     resources.ApplyResources(this.deleteToolStripMenuItem, "deleteToolStripMenuItem");
     this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripButton_Click);
     //
     // propertiesToolStripMenuItem
     //
     this.propertiesToolStripMenuItem.Name = "propertiesToolStripMenuItem";
     resources.ApplyResources(this.propertiesToolStripMenuItem, "propertiesToolStripMenuItem");
     this.propertiesToolStripMenuItem.Click += new System.EventHandler(this.propertiesButton_Click);
     //
     // dataGridView
     //
     this.dataGridView.AllowUserToAddRows       = false;
     this.dataGridView.AllowUserToDeleteRows    = false;
     this.dataGridView.AllowUserToOrderColumns  = true;
     this.dataGridView.AllowUserToResizeRows    = false;
     this.dataGridView.BackgroundColor          = System.Drawing.Color.White;
     this.dataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle1.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor           = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor                = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor       = System.Drawing.SystemColors.ControlDarkDark;
     dataGridViewCellStyle1.SelectionForeColor       = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode                 = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridView.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Live,
         this.Snapshot,
         this.Date,
         this.size,
         this.tags,
         this.description
     });
     resources.ApplyResources(this.dataGridView, "dataGridView");
     this.dataGridView.Name              = "dataGridView";
     this.dataGridView.ReadOnly          = true;
     this.dataGridView.RowHeadersVisible = false;
     this.dataGridView.SelectionMode     = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView.SelectionChanged += new System.EventHandler(this.view_SelectionChanged);
     this.dataGridView.MouseClick       += new System.Windows.Forms.MouseEventHandler(this.dataGridView_MouseClick);
     //
     // Live
     //
     this.Live.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     resources.ApplyResources(this.Live, "Live");
     this.Live.Name      = "Live";
     this.Live.ReadOnly  = true;
     this.Live.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     //
     // Snapshot
     //
     this.Snapshot.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     resources.ApplyResources(this.Snapshot, "Snapshot");
     this.Snapshot.Name      = "Snapshot";
     this.Snapshot.ReadOnly  = true;
     this.Snapshot.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     //
     // Date
     //
     this.Date.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     resources.ApplyResources(this.Date, "Date");
     this.Date.Name      = "Date";
     this.Date.ReadOnly  = true;
     this.Date.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     //
     // size
     //
     this.size.AutoSizeMode           = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.size.DefaultCellStyle       = dataGridViewCellStyle2;
     resources.ApplyResources(this.size, "size");
     this.size.Name     = "size";
     this.size.ReadOnly = true;
     //
     // tags
     //
     this.tags.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     resources.ApplyResources(this.tags, "tags");
     this.tags.Name     = "tags";
     this.tags.ReadOnly = true;
     this.tags.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // description
     //
     this.description.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     resources.ApplyResources(this.description, "description");
     this.description.Name     = "description";
     this.description.ReadOnly = true;
     this.description.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // dateLabel
     //
     resources.ApplyResources(this.dateLabel, "dateLabel");
     this.dateLabel.Name = "dateLabel";
     //
     // tableLayoutPanelMultipleSelection
     //
     resources.ApplyResources(this.tableLayoutPanelMultipleSelection, "tableLayoutPanelMultipleSelection");
     this.tableLayoutPanelMultipleSelection.Controls.Add(this.multipleSelectionTags, 1, 1);
     this.tableLayoutPanelMultipleSelection.Controls.Add(this.multipleSelectionTotalSize, 1, 0);
     this.tableLayoutPanelMultipleSelection.Controls.Add(this.label6, 0, 0);
     this.tableLayoutPanelMultipleSelection.Controls.Add(this.label7, 0, 1);
     this.tableLayoutPanelMultipleSelection.Name = "tableLayoutPanelMultipleSelection";
     //
     // multipleSelectionTags
     //
     resources.ApplyResources(this.multipleSelectionTags, "multipleSelectionTags");
     this.multipleSelectionTags.Name = "multipleSelectionTags";
     //
     // multipleSelectionTotalSize
     //
     resources.ApplyResources(this.multipleSelectionTotalSize, "multipleSelectionTotalSize");
     this.multipleSelectionTotalSize.Name = "multipleSelectionTotalSize";
     //
     // label6
     //
     resources.ApplyResources(this.label6, "label6");
     this.label6.Name = "label6";
     //
     // label7
     //
     resources.ApplyResources(this.label7, "label7");
     this.label7.Name = "label7";
     //
     // saveMenuStrip
     //
     this.saveMenuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.saveMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.saveAsVMToolStripMenuItem,
         this.toolStripSeparator2,
         this.saveAsTemplateToolStripMenuItem,
         this.exportAsBackupToolStripMenuItem
     });
     this.saveMenuStrip.Name = "saveMenuStrip";
     resources.ApplyResources(this.saveMenuStrip, "saveMenuStrip");
     //
     // saveAsVMToolStripMenuItem
     //
     this.saveAsVMToolStripMenuItem.Name = "saveAsVMToolStripMenuItem";
     resources.ApplyResources(this.saveAsVMToolStripMenuItem, "saveAsVMToolStripMenuItem");
     this.saveAsVMToolStripMenuItem.Click += new System.EventHandler(this.toolStripMenuItem1_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");
     //
     // saveAsTemplateToolStripMenuItem
     //
     this.saveAsTemplateToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.saveAsTemplateToolStripMenuItem.Name         = "saveAsTemplateToolStripMenuItem";
     resources.ApplyResources(this.saveAsTemplateToolStripMenuItem, "saveAsTemplateToolStripMenuItem");
     this.saveAsTemplateToolStripMenuItem.Click += new System.EventHandler(this.saveAsTemplateToolStripMenuItem_Click);
     //
     // exportAsBackupToolStripMenuItem
     //
     this.exportAsBackupToolStripMenuItem.Name = "exportAsBackupToolStripMenuItem";
     resources.ApplyResources(this.exportAsBackupToolStripMenuItem, "exportAsBackupToolStripMenuItem");
     this.exportAsBackupToolStripMenuItem.Click += new System.EventHandler(this.exportAsBackupToolStripMenuItem_Click);
     //
     // contextMenuStripView
     //
     this.contextMenuStripView.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.contextMenuStripView.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButtonListView,
         this.toolStripButtonTreeView,
         this.toolStripSeparatorView,
         this.toolStripMenuItemScheduledSnapshots
     });
     this.contextMenuStripView.Name = "contextMenuStripView";
     resources.ApplyResources(this.contextMenuStripView, "contextMenuStripView");
     //
     // toolStripButtonListView
     //
     this.toolStripButtonListView.Image = global::XenAdmin.Properties.Resources._000_ViewModeList_h32bit_16;
     this.toolStripButtonListView.Name  = "toolStripButtonListView";
     resources.ApplyResources(this.toolStripButtonListView, "toolStripButtonListView");
     this.toolStripButtonListView.Click += new System.EventHandler(this.gridToolStripMenuItem_Click);
     //
     // toolStripButtonTreeView
     //
     this.toolStripButtonTreeView.Image = global::XenAdmin.Properties.Resources._000_ViewModeTree_h32bit_16;
     this.toolStripButtonTreeView.Name  = "toolStripButtonTreeView";
     resources.ApplyResources(this.toolStripButtonTreeView, "toolStripButtonTreeView");
     this.toolStripButtonTreeView.Click += new System.EventHandler(this.treeToolStripMenuItem_Click);
     //
     // toolStripSeparatorView
     //
     this.toolStripSeparatorView.Name = "toolStripSeparatorView";
     resources.ApplyResources(this.toolStripSeparatorView, "toolStripSeparatorView");
     //
     // toolStripMenuItemScheduledSnapshots
     //
     this.toolStripMenuItemScheduledSnapshots.Name = "toolStripMenuItemScheduledSnapshots";
     resources.ApplyResources(this.toolStripMenuItemScheduledSnapshots, "toolStripMenuItemScheduledSnapshots");
     this.toolStripMenuItemScheduledSnapshots.Click += new System.EventHandler(this.toolStripMenuItemScheduledSnapshots_Click);
     //
     // SnapshotsPage
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode  = System.Windows.Forms.AutoScaleMode.Dpi;
     this.DoubleBuffered = true;
     this.Name           = "SnapshotsPage";
     this.Controls.SetChildIndex(this.pageContainerPanel, 0);
     this.pageContainerPanel.ResumeLayout(false);
     this.pageContainerPanel.PerformLayout();
     this.GeneralTableLayoutPanel.ResumeLayout(false);
     this.GeneralTableLayoutPanel.PerformLayout();
     this.contentTableLayoutPanel.ResumeLayout(false);
     this.panelPropertiesColumn.ResumeLayout(false);
     this.panelPropertiesColumn.PerformLayout();
     this.panelVMPP.ResumeLayout(false);
     this.panelVMPP.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBoxVMPPInfo)).EndInit();
     this.propertiesGroupBox.ResumeLayout(false);
     this.propertiesGroupBox.PerformLayout();
     this.propertiesTableLayoutPanel.ResumeLayout(false);
     this.propertiesTableLayoutPanel.PerformLayout();
     this.tableLayoutPanelSimpleSelection.ResumeLayout(false);
     this.tableLayoutPanelSimpleSelection.PerformLayout();
     this.shadowPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.screenshotPictureBox)).EndInit();
     this.viewPanel.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     this.toolTipContainerRevertButton.ResumeLayout(false);
     this.contextMenuStrip.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
     this.tableLayoutPanelMultipleSelection.ResumeLayout(false);
     this.saveMenuStrip.ResumeLayout(false);
     this.contextMenuStripView.ResumeLayout(false);
     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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GeneralDynamicRefreshRate));
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     this.groupBoxRR         = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.defaultHz          = new System.Windows.Forms.ComboBox();
     this.mpButtonDefault    = new MediaPortal.UserInterface.Controls.MPButton();
     this.buttonRemove       = new MediaPortal.UserInterface.Controls.MPButton();
     this.buttonAdd          = new MediaPortal.UserInterface.Controls.MPButton();
     this.lblDescription     = new MediaPortal.UserInterface.Controls.MPLabel();
     this.dataGridViewRR     = new System.Windows.Forms.DataGridView();
     this.chkUseDefaultRR    = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.chkForceRR         = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.chkUseDeviceReset  = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.chkNotifyOnRR      = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.chkEnableDynamicRR = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.linkLabelWiki      = new System.Windows.Forms.LinkLabel();
     this.gridColType        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.gridColFramerates  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.gridColRR          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.gridColAction      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.groupBoxRR.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewRR)).BeginInit();
     this.SuspendLayout();
     //
     // groupBoxRR
     //
     this.groupBoxRR.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.groupBoxRR.Controls.Add(this.defaultHz);
     this.groupBoxRR.Controls.Add(this.mpButtonDefault);
     this.groupBoxRR.Controls.Add(this.buttonRemove);
     this.groupBoxRR.Controls.Add(this.buttonAdd);
     this.groupBoxRR.Controls.Add(this.lblDescription);
     this.groupBoxRR.Controls.Add(this.dataGridViewRR);
     this.groupBoxRR.Controls.Add(this.chkUseDefaultRR);
     this.groupBoxRR.Controls.Add(this.chkForceRR);
     this.groupBoxRR.Controls.Add(this.chkUseDeviceReset);
     this.groupBoxRR.Controls.Add(this.chkNotifyOnRR);
     this.groupBoxRR.Controls.Add(this.chkEnableDynamicRR);
     this.groupBoxRR.Controls.Add(this.linkLabelWiki);
     this.groupBoxRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxRR.Location  = new System.Drawing.Point(6, 0);
     this.groupBoxRR.Name      = "groupBoxRR";
     this.groupBoxRR.Size      = new System.Drawing.Size(462, 402);
     this.groupBoxRR.TabIndex  = 7;
     this.groupBoxRR.TabStop   = false;
     this.groupBoxRR.Text      = "Dynamic Refresh Rate Setup";
     //
     // defaultHz
     //
     this.defaultHz.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.defaultHz.FormattingEnabled = true;
     this.defaultHz.Location          = new System.Drawing.Point(159, 370);
     this.defaultHz.Name                  = "defaultHz";
     this.defaultHz.Size                  = new System.Drawing.Size(97, 21);
     this.defaultHz.TabIndex              = 23;
     this.defaultHz.SelectedIndexChanged += new System.EventHandler(this.defaultHz_SelectedIndexChanged);
     //
     // mpButtonDefault
     //
     this.mpButtonDefault.Location = new System.Drawing.Point(147, 335);
     this.mpButtonDefault.Name     = "mpButtonDefault";
     this.mpButtonDefault.Size     = new System.Drawing.Size(58, 23);
     this.mpButtonDefault.TabIndex = 22;
     this.mpButtonDefault.Text     = "Default";
     this.mpButtonDefault.UseVisualStyleBackColor = true;
     this.mpButtonDefault.Click += new System.EventHandler(this.mpButtonDefault_Click);
     //
     // buttonRemove
     //
     this.buttonRemove.Location = new System.Drawing.Point(83, 335);
     this.buttonRemove.Name     = "buttonRemove";
     this.buttonRemove.Size     = new System.Drawing.Size(58, 23);
     this.buttonRemove.TabIndex = 21;
     this.buttonRemove.Text     = "Remove";
     this.buttonRemove.UseVisualStyleBackColor = true;
     this.buttonRemove.Click += new System.EventHandler(this.buttonRemove_Click);
     //
     // buttonAdd
     //
     this.buttonAdd.Location = new System.Drawing.Point(19, 335);
     this.buttonAdd.Name     = "buttonAdd";
     this.buttonAdd.Size     = new System.Drawing.Size(58, 23);
     this.buttonAdd.TabIndex = 20;
     this.buttonAdd.Text     = "Add";
     this.buttonAdd.UseVisualStyleBackColor = true;
     this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
     //
     // lblDescription
     //
     this.lblDescription.AutoSize = true;
     this.lblDescription.Location = new System.Drawing.Point(16, 24);
     this.lblDescription.Name     = "lblDescription";
     this.lblDescription.Size     = new System.Drawing.Size(414, 130);
     this.lblDescription.TabIndex = 18;
     this.lblDescription.Text     = resources.GetString("lblDescription.Text");
     //
     // dataGridViewRR
     //
     this.dataGridViewRR.AllowUserToAddRows    = false;
     this.dataGridViewRR.AllowUserToDeleteRows = false;
     this.dataGridViewRR.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGridViewRR.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
     this.dataGridViewRR.AutoSizeRowsMode            = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;
     this.dataGridViewRR.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridViewRR.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.gridColType,
         this.gridColFramerates,
         this.gridColRR,
         this.gridColAction
     });
     dataGridViewCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
     dataGridViewCellStyle1.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle1.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridViewRR.DefaultCellStyle      = dataGridViewCellStyle1;
     this.dataGridViewRR.Location              = new System.Drawing.Point(19, 214);
     this.dataGridViewRR.Name = "dataGridViewRR";
     this.dataGridViewRR.RowHeadersVisible = false;
     this.dataGridViewRR.SelectionMode     = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
     this.dataGridViewRR.Size              = new System.Drawing.Size(434, 115);
     this.dataGridViewRR.TabIndex          = 17;
     this.dataGridViewRR.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewRR_CellValueChanged);
     //
     // chkUseDefaultRR
     //
     this.chkUseDefaultRR.AutoSize  = true;
     this.chkUseDefaultRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkUseDefaultRR.Location  = new System.Drawing.Point(19, 371);
     this.chkUseDefaultRR.Name      = "chkUseDefaultRR";
     this.chkUseDefaultRR.Size      = new System.Drawing.Size(137, 17);
     this.chkUseDefaultRR.TabIndex  = 15;
     this.chkUseDefaultRR.Text      = "Use default refresh rate:";
     this.chkUseDefaultRR.UseVisualStyleBackColor = true;
     this.chkUseDefaultRR.CheckedChanged         += new System.EventHandler(this.chkUseDefaultRR_CheckedChanged);
     //
     // chkForceRR
     //
     this.chkForceRR.AutoSize  = true;
     this.chkForceRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkForceRR.Location  = new System.Drawing.Point(237, 191);
     this.chkForceRR.Name      = "chkForceRR";
     this.chkForceRR.Size      = new System.Drawing.Size(149, 17);
     this.chkForceRR.TabIndex  = 14;
     this.chkForceRR.Text      = "Force refresh rate change.";
     this.chkForceRR.UseVisualStyleBackColor = true;
     //
     // chkUseDeviceReset
     //
     this.chkUseDeviceReset.AutoSize  = true;
     this.chkUseDeviceReset.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkUseDeviceReset.Location  = new System.Drawing.Point(237, 168);
     this.chkUseDeviceReset.Name      = "chkUseDeviceReset";
     this.chkUseDeviceReset.Size      = new System.Drawing.Size(107, 17);
     this.chkUseDeviceReset.TabIndex  = 13;
     this.chkUseDeviceReset.Text      = "Use device reset.";
     this.chkUseDeviceReset.UseVisualStyleBackColor = true;
     //
     // chkNotifyOnRR
     //
     this.chkNotifyOnRR.AutoSize  = true;
     this.chkNotifyOnRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkNotifyOnRR.Location  = new System.Drawing.Point(19, 191);
     this.chkNotifyOnRR.Name      = "chkNotifyOnRR";
     this.chkNotifyOnRR.Size      = new System.Drawing.Size(203, 17);
     this.chkNotifyOnRR.TabIndex  = 12;
     this.chkNotifyOnRR.Text      = "Notify (popup) on refresh rate change.";
     this.chkNotifyOnRR.UseVisualStyleBackColor = true;
     //
     // chkEnableDynamicRR
     //
     this.chkEnableDynamicRR.AutoSize  = true;
     this.chkEnableDynamicRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkEnableDynamicRR.Location  = new System.Drawing.Point(19, 168);
     this.chkEnableDynamicRR.Name      = "chkEnableDynamicRR";
     this.chkEnableDynamicRR.Size      = new System.Drawing.Size(206, 17);
     this.chkEnableDynamicRR.TabIndex  = 11;
     this.chkEnableDynamicRR.Text      = "Enable Dynamic Refresh Rate Control.";
     this.chkEnableDynamicRR.UseVisualStyleBackColor = true;
     this.chkEnableDynamicRR.CheckedChanged         += new System.EventHandler(this.chkEnableDynamicRR_CheckedChanged);
     //
     // linkLabelWiki
     //
     this.linkLabelWiki.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.linkLabelWiki.AutoSize     = true;
     this.linkLabelWiki.Location     = new System.Drawing.Point(341, 373);
     this.linkLabelWiki.Name         = "linkLabelWiki";
     this.linkLabelWiki.Size         = new System.Drawing.Size(112, 13);
     this.linkLabelWiki.TabIndex     = 10;
     this.linkLabelWiki.TabStop      = true;
     this.linkLabelWiki.Text         = "more info in the wiki ...";
     this.linkLabelWiki.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelWiki_LinkClicked);
     //
     // gridColType
     //
     this.gridColType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.gridColType.Frozen       = true;
     this.gridColType.HeaderText   = "Name";
     this.gridColType.MinimumWidth = 80;
     this.gridColType.Name         = "gridColType";
     this.gridColType.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.gridColType.Width        = 80;
     //
     // gridColFramerates
     //
     this.gridColFramerates.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.gridColFramerates.HeaderText   = "Frame rate(s)";
     this.gridColFramerates.MinimumWidth = 74;
     this.gridColFramerates.Name         = "gridColFramerates";
     this.gridColFramerates.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.gridColFramerates.Width        = 74;
     //
     // gridColRR
     //
     this.gridColRR.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.gridColRR.HeaderText   = "Refresh rate";
     this.gridColRR.MinimumWidth = 71;
     this.gridColRR.Name         = "gridColRR";
     this.gridColRR.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.gridColRR.Width        = 71;
     //
     // gridColAction
     //
     this.gridColAction.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.gridColAction.HeaderText   = "Action";
     this.gridColAction.MinimumWidth = 195;
     this.gridColAction.Name         = "gridColAction";
     this.gridColAction.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.gridColAction.Width        = 195;
     //
     // GeneralDynamicRefreshRate
     //
     this.BackColor = System.Drawing.SystemColors.Control;
     this.Controls.Add(this.groupBoxRR);
     this.Name = "GeneralDynamicRefreshRate";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBoxRR.ResumeLayout(false);
     this.groupBoxRR.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewRR)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 33
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.panel1                       = new System.Windows.Forms.Panel();
     this.label2                       = new System.Windows.Forms.Label();
     this.label1                       = new System.Windows.Forms.Label();
     this.DGV_Sectores                 = new System.Windows.Forms.DataGridView();
     this.Codigo                       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Descripcion                  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Bt_Fin                       = new System.Windows.Forms.Button();
     this.BT_Eliminar                  = new System.Windows.Forms.Button();
     this.BTModifSector                = new System.Windows.Forms.Button();
     this.BTAgregarSector              = new System.Windows.Forms.Button();
     this.P_Filtrado                   = new System.Windows.Forms.Panel();
     this.label3                       = new System.Windows.Forms.Label();
     this.TBFiltro                     = new System.Windows.Forms.TextBox();
     this.P_Verde                      = new System.Windows.Forms.Panel();
     this.CMS_Sectores                 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.codigoToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.descripcionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.tableLayoutPanel1            = new System.Windows.Forms.TableLayoutPanel();
     this.tableLayoutPanel2            = new System.Windows.Forms.TableLayoutPanel();
     this.panel2                       = new System.Windows.Forms.Panel();
     this.btnImprimir                  = new System.Windows.Forms.Button();
     this.txtCodigo                    = new System.Windows.Forms.TextBox();
     this.label4                       = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DGV_Sectores)).BeginInit();
     this.P_Filtrado.SuspendLayout();
     this.P_Verde.SuspendLayout();
     this.CMS_Sectores.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(74)))), ((int)(((byte)(95)))));
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Margin   = new System.Windows.Forms.Padding(0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(797, 35);
     this.panel1.TabIndex = 3;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.White;
     this.label2.Location  = new System.Drawing.Point(9, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(77, 19);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "SECTORES";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Calibri", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(405, 5);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(143, 24);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "SURFACTAN S.A.";
     //
     // DGV_Sectores
     //
     this.DGV_Sectores.AllowUserToAddRows    = false;
     this.DGV_Sectores.AllowUserToDeleteRows = false;
     this.DGV_Sectores.AllowUserToResizeRows = false;
     this.DGV_Sectores.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.DGV_Sectores.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
     this.DGV_Sectores.ColumnHeadersHeight = 34;
     this.DGV_Sectores.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Codigo,
         this.Descripcion
     });
     this.DGV_Sectores.Location                   = new System.Drawing.Point(85, 0);
     this.DGV_Sectores.Margin                     = new System.Windows.Forms.Padding(0);
     this.DGV_Sectores.Name                       = "DGV_Sectores";
     dataGridViewCellStyle2.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, 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.False;
     this.DGV_Sectores.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.DGV_Sectores.RowHeadersWidth            = 15;
     this.DGV_Sectores.Size                       = new System.Drawing.Size(712, 364);
     this.DGV_Sectores.TabIndex                   = 5;
     this.DGV_Sectores.RowHeaderMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.DGV_Sectores_RowHeaderMouseDoubleClick);
     //
     // Codigo
     //
     this.Codigo.DataPropertyName = "Codigo";
     this.Codigo.HeaderText       = "Codigo";
     this.Codigo.MinimumWidth     = 65;
     this.Codigo.Name             = "Codigo";
     this.Codigo.Width            = 65;
     //
     // Descripcion
     //
     this.Descripcion.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.Descripcion.DataPropertyName = "Descripcion";
     this.Descripcion.HeaderText       = "Descripcion";
     this.Descripcion.MinimumWidth     = 330;
     this.Descripcion.Name             = "Descripcion";
     //
     // Bt_Fin
     //
     this.Bt_Fin.BackgroundImage       = global::Modulo_Capacitacion.Properties.Resources.apagar;
     this.Bt_Fin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.Bt_Fin.FlatStyle             = System.Windows.Forms.FlatStyle.Flat;
     this.Bt_Fin.ForeColor             = System.Drawing.SystemColors.Control;
     this.Bt_Fin.Location = new System.Drawing.Point(19, 288);
     this.Bt_Fin.Margin   = new System.Windows.Forms.Padding(0);
     this.Bt_Fin.Name     = "Bt_Fin";
     this.Bt_Fin.Size     = new System.Drawing.Size(47, 53);
     this.Bt_Fin.TabIndex = 14;
     this.Bt_Fin.UseVisualStyleBackColor = true;
     this.Bt_Fin.Click += new System.EventHandler(this.Bt_Fin_Click);
     //
     // BT_Eliminar
     //
     this.BT_Eliminar.BackgroundImage       = global::Modulo_Capacitacion.Properties.Resources.eliminar;
     this.BT_Eliminar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.BT_Eliminar.FlatStyle             = System.Windows.Forms.FlatStyle.Flat;
     this.BT_Eliminar.ForeColor             = System.Drawing.SystemColors.Control;
     this.BT_Eliminar.Location = new System.Drawing.Point(17, 150);
     this.BT_Eliminar.Name     = "BT_Eliminar";
     this.BT_Eliminar.Size     = new System.Drawing.Size(50, 70);
     this.BT_Eliminar.TabIndex = 10;
     this.BT_Eliminar.UseVisualStyleBackColor = true;
     this.BT_Eliminar.Click += new System.EventHandler(this.BT_Eliminar_Click);
     //
     // BTModifSector
     //
     this.BTModifSector.BackgroundImage       = global::Modulo_Capacitacion.Properties.Resources.editar_sectores;
     this.BTModifSector.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.BTModifSector.FlatStyle             = System.Windows.Forms.FlatStyle.Flat;
     this.BTModifSector.ForeColor             = System.Drawing.SystemColors.Control;
     this.BTModifSector.Location = new System.Drawing.Point(19, 84);
     this.BTModifSector.Margin   = new System.Windows.Forms.Padding(0);
     this.BTModifSector.Name     = "BTModifSector";
     this.BTModifSector.Size     = new System.Drawing.Size(47, 53);
     this.BTModifSector.TabIndex = 7;
     this.BTModifSector.UseVisualStyleBackColor = true;
     this.BTModifSector.Click += new System.EventHandler(this.BTModifSector_Click);
     //
     // BTAgregarSector
     //
     this.BTAgregarSector.BackgroundImage       = global::Modulo_Capacitacion.Properties.Resources.agregar_sectores;
     this.BTAgregarSector.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.BTAgregarSector.FlatStyle             = System.Windows.Forms.FlatStyle.Flat;
     this.BTAgregarSector.ForeColor             = System.Drawing.SystemColors.Control;
     this.BTAgregarSector.Location = new System.Drawing.Point(17, 7);
     this.BTAgregarSector.Name     = "BTAgregarSector";
     this.BTAgregarSector.Size     = new System.Drawing.Size(50, 64);
     this.BTAgregarSector.TabIndex = 6;
     this.BTAgregarSector.UseVisualStyleBackColor = true;
     this.BTAgregarSector.Click += new System.EventHandler(this.BTAgregarSector_Click);
     //
     // P_Filtrado
     //
     this.P_Filtrado.Controls.Add(this.label4);
     this.P_Filtrado.Controls.Add(this.txtCodigo);
     this.P_Filtrado.Controls.Add(this.label3);
     this.P_Filtrado.Controls.Add(this.TBFiltro);
     this.P_Filtrado.Dock     = System.Windows.Forms.DockStyle.Top;
     this.P_Filtrado.Location = new System.Drawing.Point(0, 0);
     this.P_Filtrado.Name     = "P_Filtrado";
     this.P_Filtrado.Size     = new System.Drawing.Size(797, 52);
     this.P_Filtrado.TabIndex = 1;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.SystemColors.Control;
     this.label3.Location  = new System.Drawing.Point(277, 16);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(56, 17);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Filtrar:";
     //
     // TBFiltro
     //
     this.TBFiltro.Location = new System.Drawing.Point(339, 17);
     this.TBFiltro.Name     = "TBFiltro";
     this.TBFiltro.Size     = new System.Drawing.Size(430, 20);
     this.TBFiltro.TabIndex = 3;
     this.TBFiltro.KeyUp   += new System.Windows.Forms.KeyEventHandler(this.TBFiltro_KeyUp);
     //
     // P_Verde
     //
     this.P_Verde.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.P_Verde.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(139)))), ((int)(((byte)(82)))));
     this.P_Verde.Controls.Add(this.P_Filtrado);
     this.P_Verde.Location = new System.Drawing.Point(0, 35);
     this.P_Verde.Margin   = new System.Windows.Forms.Padding(0);
     this.P_Verde.Name     = "P_Verde";
     this.P_Verde.Size     = new System.Drawing.Size(797, 55);
     this.P_Verde.TabIndex = 4;
     //
     // CMS_Sectores
     //
     this.CMS_Sectores.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.codigoToolStripMenuItem,
         this.descripcionToolStripMenuItem
     });
     this.CMS_Sectores.Name = "CMS_Sectores";
     this.CMS_Sectores.Size = new System.Drawing.Size(137, 48);
     //
     // codigoToolStripMenuItem
     //
     this.codigoToolStripMenuItem.Name = "codigoToolStripMenuItem";
     this.codigoToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
     this.codigoToolStripMenuItem.Text = "Codigo";
     //
     // descripcionToolStripMenuItem
     //
     this.descripcionToolStripMenuItem.Name = "descripcionToolStripMenuItem";
     this.descripcionToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
     this.descripcionToolStripMenuItem.Text = "Descripcion";
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.P_Verde, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 2);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 3;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(797, 455);
     this.tableLayoutPanel1.TabIndex = 15;
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.ColumnCount = 2;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel2.Controls.Add(this.panel2, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.DGV_Sectores, 1, 0);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 91);
     this.tableLayoutPanel2.Margin   = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 1;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(797, 364);
     this.tableLayoutPanel2.TabIndex = 5;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.BTAgregarSector);
     this.panel2.Controls.Add(this.BTModifSector);
     this.panel2.Controls.Add(this.Bt_Fin);
     this.panel2.Controls.Add(this.btnImprimir);
     this.panel2.Controls.Add(this.BT_Eliminar);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Margin   = new System.Windows.Forms.Padding(0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(85, 364);
     this.panel2.TabIndex = 0;
     //
     // btnImprimir
     //
     this.btnImprimir.BackgroundImage       = global::Modulo_Capacitacion.Properties.Resources.imprimir;
     this.btnImprimir.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.btnImprimir.FlatStyle             = System.Windows.Forms.FlatStyle.Flat;
     this.btnImprimir.ForeColor             = System.Drawing.SystemColors.Control;
     this.btnImprimir.Location = new System.Drawing.Point(17, 215);
     this.btnImprimir.Name     = "btnImprimir";
     this.btnImprimir.Size     = new System.Drawing.Size(50, 70);
     this.btnImprimir.TabIndex = 10;
     this.btnImprimir.UseVisualStyleBackColor = true;
     this.btnImprimir.Click += new System.EventHandler(this.btnImprimir_Click);
     //
     // txtCodigo
     //
     this.txtCodigo.Location  = new System.Drawing.Point(160, 16);
     this.txtCodigo.Name      = "txtCodigo";
     this.txtCodigo.Size      = new System.Drawing.Size(84, 20);
     this.txtCodigo.TabIndex  = 3;
     this.txtCodigo.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtCodigo.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.txtCodigo_KeyDown);
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.SystemColors.Control;
     this.label4.Location  = new System.Drawing.Point(98, 18);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(63, 17);
     this.label4.TabIndex  = 4;
     this.label4.Text      = "Código:";
     //
     // Sectores_Inicio
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSizeMode        = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ClientSize          = new System.Drawing.Size(797, 455);
     this.Controls.Add(this.tableLayoutPanel1);
     this.MinimumSize = new System.Drawing.Size(572, 442);
     this.Name        = "Sectores_Inicio";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Shown      += new System.EventHandler(this.Sectores_Inicio_Shown);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DGV_Sectores)).EndInit();
     this.P_Filtrado.ResumeLayout(false);
     this.P_Filtrado.PerformLayout();
     this.P_Verde.ResumeLayout(false);
     this.CMS_Sectores.ResumeLayout(false);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.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.DataGridViewCellStyle     dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
     this.text_log              = new System.Windows.Forms.TextBox();
     this.btn_save              = new System.Windows.Forms.Button();
     this.timer_log             = new System.Windows.Forms.Timer(this.components);
     this.list_coinName         = new System.Windows.Forms.ListBox();
     this.btn_showChart         = new System.Windows.Forms.Button();
     this.btn_macro             = new System.Windows.Forms.Button();
     this.text_curTime          = new System.Windows.Forms.TextBox();
     this.timer_panel           = new System.Windows.Forms.Timer(this.components);
     this.text_BTMI             = new System.Windows.Forms.TextBox();
     this.text_btcValue         = new System.Windows.Forms.TextBox();
     this.text_ethValue         = new System.Windows.Forms.TextBox();
     this.text_BTAI             = new System.Windows.Forms.TextBox();
     this.group_account         = new System.Windows.Forms.GroupBox();
     this.dataGridView_holdList = new System.Windows.Forms.DataGridView();
     this.text_totalKrw         = new System.Windows.Forms.TextBox();
     this.groupBox1             = new System.Windows.Forms.GroupBox();
     this.groupBox2             = new System.Windows.Forms.GroupBox();
     this.btn_trader            = new System.Windows.Forms.Button();
     this.notifyIcon            = new System.Windows.Forms.NotifyIcon(this.components);
     this.btn_history           = new System.Windows.Forms.Button();
     this.contextMenuStrip      = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStripTextBox_show = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripTextBox_exit = new System.Windows.Forms.ToolStripTextBox();
     this.group_account.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView_holdList)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.contextMenuStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // text_log
     //
     this.text_log.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.text_log.BackColor  = System.Drawing.SystemColors.WindowText;
     this.text_log.Font       = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.text_log.ForeColor  = System.Drawing.SystemColors.Window;
     this.text_log.Location   = new System.Drawing.Point(6, 19);
     this.text_log.Multiline  = true;
     this.text_log.Name       = "text_log";
     this.text_log.ReadOnly   = true;
     this.text_log.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.text_log.Size       = new System.Drawing.Size(222, 472);
     this.text_log.TabIndex   = 2;
     //
     // btn_save
     //
     this.btn_save.Anchor    = System.Windows.Forms.AnchorStyles.Right;
     this.btn_save.BackColor = System.Drawing.Color.DarkGray;
     this.btn_save.Font      = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
     this.btn_save.Location  = new System.Drawing.Point(638, 519);
     this.btn_save.Name      = "btn_save";
     this.btn_save.Size      = new System.Drawing.Size(234, 30);
     this.btn_save.TabIndex  = 5;
     this.btn_save.Text      = "Save Log";
     this.btn_save.UseVisualStyleBackColor = false;
     this.btn_save.Click += new System.EventHandler(this.btn_save_Click);
     //
     // timer_log
     //
     this.timer_log.Enabled  = true;
     this.timer_log.Interval = 200;
     this.timer_log.Tick    += new System.EventHandler(this.timer_logOut_Tick);
     //
     // list_coinName
     //
     this.list_coinName.BackColor           = System.Drawing.SystemColors.WindowText;
     this.list_coinName.Font                = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.list_coinName.ForeColor           = System.Drawing.SystemColors.Window;
     this.list_coinName.FormattingEnabled   = true;
     this.list_coinName.ItemHeight          = 19;
     this.list_coinName.Location            = new System.Drawing.Point(6, 20);
     this.list_coinName.Name                = "list_coinName";
     this.list_coinName.ScrollAlwaysVisible = true;
     this.list_coinName.Size                = new System.Drawing.Size(98, 460);
     this.list_coinName.Sorted              = true;
     this.list_coinName.TabIndex            = 17;
     this.list_coinName.MouseUp            += new System.Windows.Forms.MouseEventHandler(this.list_coinName_MouseUp);
     //
     // btn_showChart
     //
     this.btn_showChart.Anchor    = System.Windows.Forms.AnchorStyles.None;
     this.btn_showChart.BackColor = System.Drawing.Color.DarkGray;
     this.btn_showChart.Font      = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
     this.btn_showChart.Location  = new System.Drawing.Point(12, 519);
     this.btn_showChart.Name      = "btn_showChart";
     this.btn_showChart.Size      = new System.Drawing.Size(110, 30);
     this.btn_showChart.TabIndex  = 18;
     this.btn_showChart.Text      = "Chart";
     this.btn_showChart.UseVisualStyleBackColor = false;
     this.btn_showChart.Click += new System.EventHandler(this.btn_showChart_Click);
     //
     // btn_macro
     //
     this.btn_macro.Anchor    = System.Windows.Forms.AnchorStyles.None;
     this.btn_macro.BackColor = System.Drawing.Color.DarkGray;
     this.btn_macro.Font      = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
     this.btn_macro.Location  = new System.Drawing.Point(468, 519);
     this.btn_macro.Name      = "btn_macro";
     this.btn_macro.Size      = new System.Drawing.Size(164, 30);
     this.btn_macro.TabIndex  = 13;
     this.btn_macro.Text      = "Macro";
     this.btn_macro.UseVisualStyleBackColor = false;
     this.btn_macro.Click += new System.EventHandler(this.btn_macro_Click);
     //
     // text_curTime
     //
     this.text_curTime.BackColor   = System.Drawing.Color.Black;
     this.text_curTime.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.text_curTime.Font        = new System.Drawing.Font("Arial Black", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.text_curTime.ForeColor   = System.Drawing.Color.White;
     this.text_curTime.Location    = new System.Drawing.Point(200, 12);
     this.text_curTime.Name        = "text_curTime";
     this.text_curTime.ReadOnly    = true;
     this.text_curTime.Size        = new System.Drawing.Size(360, 39);
     this.text_curTime.TabIndex    = 19;
     this.text_curTime.Text        = "2020-01-01 / 00:00:00";
     this.text_curTime.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // timer_panel
     //
     this.timer_panel.Enabled  = true;
     this.timer_panel.Interval = 500;
     this.timer_panel.Tick    += new System.EventHandler(this.timer_panel_Tick);
     //
     // text_BTMI
     //
     this.text_BTMI.BackColor   = System.Drawing.Color.Black;
     this.text_BTMI.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.text_BTMI.Font        = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.text_BTMI.ForeColor   = System.Drawing.Color.White;
     this.text_BTMI.Location    = new System.Drawing.Point(223, 62);
     this.text_BTMI.Name        = "text_BTMI";
     this.text_BTMI.ReadOnly    = true;
     this.text_BTMI.Size        = new System.Drawing.Size(47, 19);
     this.text_BTMI.TabIndex    = 20;
     this.text_BTMI.Text        = "BTC";
     this.text_BTMI.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // text_btcValue
     //
     this.text_btcValue.BackColor = System.Drawing.Color.Black;
     this.text_btcValue.Font      = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.text_btcValue.Location  = new System.Drawing.Point(276, 59);
     this.text_btcValue.Name      = "text_btcValue";
     this.text_btcValue.ReadOnly  = true;
     this.text_btcValue.Size      = new System.Drawing.Size(256, 26);
     this.text_btcValue.TabIndex  = 24;
     this.text_btcValue.Text      = "0";
     this.text_btcValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // text_ethValue
     //
     this.text_ethValue.BackColor = System.Drawing.Color.Black;
     this.text_ethValue.Font      = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.text_ethValue.Location  = new System.Drawing.Point(276, 91);
     this.text_ethValue.Name      = "text_ethValue";
     this.text_ethValue.ReadOnly  = true;
     this.text_ethValue.Size      = new System.Drawing.Size(256, 26);
     this.text_ethValue.TabIndex  = 27;
     this.text_ethValue.Text      = "0";
     this.text_ethValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // text_BTAI
     //
     this.text_BTAI.BackColor   = System.Drawing.Color.Black;
     this.text_BTAI.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.text_BTAI.Font        = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.text_BTAI.ForeColor   = System.Drawing.Color.White;
     this.text_BTAI.Location    = new System.Drawing.Point(223, 94);
     this.text_BTAI.Name        = "text_BTAI";
     this.text_BTAI.ReadOnly    = true;
     this.text_BTAI.Size        = new System.Drawing.Size(47, 19);
     this.text_BTAI.TabIndex    = 30;
     this.text_BTAI.Text        = "ETH";
     this.text_BTAI.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // group_account
     //
     this.group_account.Controls.Add(this.dataGridView_holdList);
     this.group_account.Controls.Add(this.text_totalKrw);
     this.group_account.Font      = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.group_account.ForeColor = System.Drawing.Color.White;
     this.group_account.Location  = new System.Drawing.Point(128, 123);
     this.group_account.Name      = "group_account";
     this.group_account.Size      = new System.Drawing.Size(504, 390);
     this.group_account.TabIndex  = 31;
     this.group_account.TabStop   = false;
     this.group_account.Text      = "Account Info";
     //
     // dataGridView_holdList
     //
     this.dataGridView_holdList.AllowUserToAddRows       = false;
     this.dataGridView_holdList.AllowUserToDeleteRows    = false;
     this.dataGridView_holdList.AllowUserToOrderColumns  = true;
     this.dataGridView_holdList.AllowUserToResizeColumns = false;
     this.dataGridView_holdList.AllowUserToResizeRows    = false;
     this.dataGridView_holdList.AutoSizeColumnsMode      = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView_holdList.BackgroundColor          = System.Drawing.Color.Black;
     this.dataGridView_holdList.CellBorderStyle          = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical;
     this.dataGridView_holdList.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle5.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle5.BackColor          = System.Drawing.Color.Black;
     dataGridViewCellStyle5.Font               = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle5.ForeColor          = System.Drawing.Color.White;
     dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.Black;
     dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.White;
     this.dataGridView_holdList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
     this.dataGridView_holdList.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle6.Alignment                      = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle6.BackColor                      = System.Drawing.Color.Black;
     dataGridViewCellStyle6.Font                           = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle6.ForeColor                      = System.Drawing.Color.White;
     dataGridViewCellStyle6.SelectionBackColor             = System.Drawing.Color.Black;
     dataGridViewCellStyle6.SelectionForeColor             = System.Drawing.Color.White;
     dataGridViewCellStyle6.WrapMode                       = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridView_holdList.DefaultCellStyle           = dataGridViewCellStyle6;
     this.dataGridView_holdList.EnableHeadersVisualStyles  = false;
     this.dataGridView_holdList.GridColor                  = System.Drawing.Color.White;
     this.dataGridView_holdList.Location                   = new System.Drawing.Point(6, 65);
     this.dataGridView_holdList.MultiSelect                = false;
     this.dataGridView_holdList.Name                       = "dataGridView_holdList";
     this.dataGridView_holdList.ReadOnly                   = true;
     dataGridViewCellStyle7.Alignment                      = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle7.BackColor                      = System.Drawing.Color.DarkGray;
     dataGridViewCellStyle7.Font                           = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle7.ForeColor                      = System.Drawing.Color.Black;
     dataGridViewCellStyle7.SelectionBackColor             = System.Drawing.Color.DarkGray;
     dataGridViewCellStyle7.SelectionForeColor             = System.Drawing.Color.Black;
     dataGridViewCellStyle7.WrapMode                       = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView_holdList.RowHeadersDefaultCellStyle = dataGridViewCellStyle7;
     this.dataGridView_holdList.RowHeadersVisible          = false;
     dataGridViewCellStyle8.Alignment                      = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle8.BackColor                      = System.Drawing.Color.Black;
     dataGridViewCellStyle8.Font                           = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle8.ForeColor                      = System.Drawing.Color.White;
     dataGridViewCellStyle8.NullValue                      = null;
     dataGridViewCellStyle8.SelectionBackColor             = System.Drawing.Color.Black;
     dataGridViewCellStyle8.SelectionForeColor             = System.Drawing.Color.White;
     this.dataGridView_holdList.RowsDefaultCellStyle       = dataGridViewCellStyle8;
     this.dataGridView_holdList.RowTemplate.Height         = 23;
     this.dataGridView_holdList.ScrollBars                 = System.Windows.Forms.ScrollBars.Vertical;
     this.dataGridView_holdList.Size                       = new System.Drawing.Size(492, 316);
     this.dataGridView_holdList.TabIndex                   = 9;
     //
     // text_totalKrw
     //
     this.text_totalKrw.BackColor = System.Drawing.Color.Black;
     this.text_totalKrw.Font      = new System.Drawing.Font("Arial", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.text_totalKrw.ForeColor = System.Drawing.Color.White;
     this.text_totalKrw.Location  = new System.Drawing.Point(6, 20);
     this.text_totalKrw.Name      = "text_totalKrw";
     this.text_totalKrw.ReadOnly  = true;
     this.text_totalKrw.Size      = new System.Drawing.Size(492, 39);
     this.text_totalKrw.TabIndex  = 8;
     this.text_totalKrw.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.Black;
     this.groupBox1.Controls.Add(this.text_log);
     this.groupBox1.Font      = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.ForeColor = System.Drawing.Color.White;
     this.groupBox1.Location  = new System.Drawing.Point(638, 13);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(234, 500);
     this.groupBox1.TabIndex  = 34;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Log";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.list_coinName);
     this.groupBox2.Font      = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.ForeColor = System.Drawing.Color.White;
     this.groupBox2.Location  = new System.Drawing.Point(12, 25);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(110, 488);
     this.groupBox2.TabIndex  = 35;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "List";
     //
     // btn_trader
     //
     this.btn_trader.Anchor    = System.Windows.Forms.AnchorStyles.Bottom;
     this.btn_trader.BackColor = System.Drawing.Color.DarkGray;
     this.btn_trader.Font      = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
     this.btn_trader.Location  = new System.Drawing.Point(128, 519);
     this.btn_trader.Name      = "btn_trader";
     this.btn_trader.Size      = new System.Drawing.Size(164, 30);
     this.btn_trader.TabIndex  = 36;
     this.btn_trader.Text      = "Trader";
     this.btn_trader.UseVisualStyleBackColor = false;
     this.btn_trader.Click += new System.EventHandler(this.btn_trader_Click);
     //
     // notifyIcon
     //
     this.notifyIcon.BalloonTipTitle   = "Upbit Dealer";
     this.notifyIcon.Icon              = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
     this.notifyIcon.Text              = "Upbit Dealer";
     this.notifyIcon.Visible           = true;
     this.notifyIcon.MouseClick       += new System.Windows.Forms.MouseEventHandler(this.notifyIcon_MouseClick);
     this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon_MouseDoubleClick);
     //
     // btn_history
     //
     this.btn_history.Anchor    = System.Windows.Forms.AnchorStyles.Bottom;
     this.btn_history.BackColor = System.Drawing.Color.DarkGray;
     this.btn_history.Font      = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold);
     this.btn_history.Location  = new System.Drawing.Point(298, 519);
     this.btn_history.Name      = "btn_history";
     this.btn_history.Size      = new System.Drawing.Size(164, 30);
     this.btn_history.TabIndex  = 37;
     this.btn_history.Text      = "History";
     this.btn_history.UseVisualStyleBackColor = false;
     this.btn_history.Click += new System.EventHandler(this.btn_history_Click);
     //
     // contextMenuStrip
     //
     this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripTextBox_show,
         this.toolStripTextBox_exit
     });
     this.contextMenuStrip.Name             = "contextMenuStrip";
     this.contextMenuStrip.ShowItemToolTips = false;
     this.contextMenuStrip.Size             = new System.Drawing.Size(161, 52);
     //
     // toolStripTextBox_show
     //
     this.toolStripTextBox_show.BackColor        = System.Drawing.Color.White;
     this.toolStripTextBox_show.Font             = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.toolStripTextBox_show.Name             = "toolStripTextBox_show";
     this.toolStripTextBox_show.ReadOnly         = true;
     this.toolStripTextBox_show.Size             = new System.Drawing.Size(100, 22);
     this.toolStripTextBox_show.Text             = "Show";
     this.toolStripTextBox_show.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.toolStripTextBox_show.Click           += new System.EventHandler(this.toolStripTextBox_show_Click);
     //
     // toolStripTextBox_exit
     //
     this.toolStripTextBox_exit.BackColor        = System.Drawing.Color.White;
     this.toolStripTextBox_exit.Font             = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.toolStripTextBox_exit.Name             = "toolStripTextBox_exit";
     this.toolStripTextBox_exit.ReadOnly         = true;
     this.toolStripTextBox_exit.Size             = new System.Drawing.Size(100, 22);
     this.toolStripTextBox_exit.Text             = "Exit";
     this.toolStripTextBox_exit.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.toolStripTextBox_exit.Click           += new System.EventHandler(this.toolStripTextBox_exit_Click);
     //
     // Main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.BackColor           = System.Drawing.Color.Black;
     this.ClientSize          = new System.Drawing.Size(884, 561);
     this.Controls.Add(this.btn_history);
     this.Controls.Add(this.btn_trader);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.group_account);
     this.Controls.Add(this.text_BTAI);
     this.Controls.Add(this.text_ethValue);
     this.Controls.Add(this.text_btcValue);
     this.Controls.Add(this.text_BTMI);
     this.Controls.Add(this.text_curTime);
     this.Controls.Add(this.btn_showChart);
     this.Controls.Add(this.btn_macro);
     this.Controls.Add(this.btn_save);
     this.Controls.Add(this.groupBox2);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximumSize   = new System.Drawing.Size(900, 600);
     this.MinimumSize   = new System.Drawing.Size(900, 600);
     this.Name          = "Main";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Upbit Dealer";
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.main_FormClosing);
     this.FormClosed   += new System.Windows.Forms.FormClosedEventHandler(this.main_FormClosed);
     this.Load         += new System.EventHandler(this.main_Load_1);
     this.Resize       += new System.EventHandler(this.main_Resize);
     this.group_account.ResumeLayout(false);
     this.group_account.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView_holdList)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.contextMenuStrip.ResumeLayout(false);
     this.contextMenuStrip.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 35
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     resources       = new System.ComponentModel.ComponentResourceManager(typeof(FeatureCategoryControl));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this._cmbField           = new System.Windows.Forms.ComboBox();
     this._lblFieldName       = new System.Windows.Forms.Label();
     this.ttHelp              = new System.Windows.Forms.ToolTip(this.components);
     this.btnRamp             = new System.Windows.Forms.Button();
     this.cmdRefresh          = new System.Windows.Forms.Button();
     this.btnExclude          = new System.Windows.Forms.Button();
     this.radUniqueValues     = new System.Windows.Forms.RadioButton();
     this.radQuantities       = new System.Windows.Forms.RadioButton();
     this.btnAdd              = new System.Windows.Forms.Button();
     this.btnDelete           = new System.Windows.Forms.Button();
     this.btnUp               = new System.Windows.Forms.Button();
     this.btnDown             = new System.Windows.Forms.Button();
     this.cmbNormField        = new System.Windows.Forms.ComboBox();
     this.nudSigFig           = new System.Windows.Forms.NumericUpDown();
     this.cmbIntervalSnapping = new System.Windows.Forms.ComboBox();
     this.dgvStatistics       = new System.Windows.Forms.DataGridView();
     this.Stat                     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Value                    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabScheme                = new System.Windows.Forms.TabControl();
     this.tabStatistics            = new System.Windows.Forms.TabPage();
     this.label3                   = new System.Windows.Forms.Label();
     this.lblSigFig                = new System.Windows.Forms.Label();
     this.label1                   = new System.Windows.Forms.Label();
     this.label2                   = new System.Windows.Forms.Label();
     this.cmbInterval              = new System.Windows.Forms.ComboBox();
     this.nudCategoryCount         = new System.Windows.Forms.NumericUpDown();
     this.lblBreaks                = new System.Windows.Forms.Label();
     this.tabGraph                 = new System.Windows.Forms.TabPage();
     this.lblColumns               = new System.Windows.Forms.Label();
     this.nudColumns               = new System.Windows.Forms.NumericUpDown();
     this.chkLog                   = new System.Windows.Forms.CheckBox();
     this.chkShowStd               = new System.Windows.Forms.CheckBox();
     this.chkShowMean              = new System.Windows.Forms.CheckBox();
     this.breakSliderGraph1        = new DotSpatial.Symbology.Forms.BreakSliderGraph();
     this.chkUseGradients          = new System.Windows.Forms.CheckBox();
     this.dgvCategories            = new System.Windows.Forms.DataGridView();
     this.radCustom                = new System.Windows.Forms.RadioButton();
     this.angGradientAngle         = new DotSpatial.Symbology.Forms.AngleControl();
     this.featureSizeRangeControl1 = new DotSpatial.Symbology.Forms.FeatureSizeRangeControl();
     this.tccColorRange            = new DotSpatial.Symbology.Forms.TabColorControl();
     this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
     this.colSymbol                = new System.Windows.Forms.DataGridViewImageColumn();
     this.colValues                = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colLegendText            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colCount                 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgvcShowInLegend         = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.nudSigFig)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStatistics)).BeginInit();
     this.tabScheme.SuspendLayout();
     this.tabStatistics.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudCategoryCount)).BeginInit();
     this.tabGraph.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumns)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCategories)).BeginInit();
     this.SuspendLayout();
     //
     // _cmbField
     //
     this._cmbField.FormattingEnabled = true;
     resources.ApplyResources(this._cmbField, "_cmbField");
     this._cmbField.Name = "_cmbField";
     this._cmbField.SelectedIndexChanged += new System.EventHandler(this.CmbFieldSelectedIndexChanged);
     //
     // _lblFieldName
     //
     resources.ApplyResources(this._lblFieldName, "_lblFieldName");
     this._lblFieldName.Name = "_lblFieldName";
     //
     // btnRamp
     //
     resources.ApplyResources(this.btnRamp, "btnRamp");
     this.btnRamp.Name = "btnRamp";
     this.ttHelp.SetToolTip(this.btnRamp, resources.GetString("btnRamp.ToolTip"));
     this.btnRamp.UseVisualStyleBackColor = true;
     this.btnRamp.Click += new System.EventHandler(this.BtnRampClick);
     //
     // cmdRefresh
     //
     resources.ApplyResources(this.cmdRefresh, "cmdRefresh");
     this.cmdRefresh.Name = "cmdRefresh";
     this.ttHelp.SetToolTip(this.cmdRefresh, resources.GetString("cmdRefresh.ToolTip"));
     this.cmdRefresh.UseVisualStyleBackColor = true;
     this.cmdRefresh.Click += new System.EventHandler(this.CmdRefreshClick);
     //
     // btnExclude
     //
     resources.ApplyResources(this.btnExclude, "btnExclude");
     this.btnExclude.Name = "btnExclude";
     this.ttHelp.SetToolTip(this.btnExclude, resources.GetString("btnExclude.ToolTip"));
     this.btnExclude.UseVisualStyleBackColor = true;
     this.btnExclude.Click += new System.EventHandler(this.BtnExcludeClick);
     //
     // radUniqueValues
     //
     resources.ApplyResources(this.radUniqueValues, "radUniqueValues");
     this.radUniqueValues.Checked = true;
     this.radUniqueValues.Name    = "radUniqueValues";
     this.radUniqueValues.TabStop = true;
     this.ttHelp.SetToolTip(this.radUniqueValues, resources.GetString("radUniqueValues.ToolTip"));
     this.radUniqueValues.UseVisualStyleBackColor = true;
     this.radUniqueValues.CheckedChanged         += new System.EventHandler(this.RadUniqueValuesCheckedChanged);
     //
     // radQuantities
     //
     resources.ApplyResources(this.radQuantities, "radQuantities");
     this.radQuantities.Name = "radQuantities";
     this.ttHelp.SetToolTip(this.radQuantities, resources.GetString("radQuantities.ToolTip"));
     this.radQuantities.UseVisualStyleBackColor = true;
     this.radQuantities.CheckedChanged         += new System.EventHandler(this.RadQuantitiesCheckedChanged);
     //
     // btnAdd
     //
     this.btnAdd.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.add;
     resources.ApplyResources(this.btnAdd, "btnAdd");
     this.btnAdd.Name = "btnAdd";
     this.ttHelp.SetToolTip(this.btnAdd, resources.GetString("btnAdd.ToolTip"));
     this.btnAdd.UseVisualStyleBackColor = true;
     this.btnAdd.Click += new System.EventHandler(this.BtnAddClick);
     //
     // btnDelete
     //
     this.btnDelete.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.delete;
     resources.ApplyResources(this.btnDelete, "btnDelete");
     this.btnDelete.Name = "btnDelete";
     this.ttHelp.SetToolTip(this.btnDelete, resources.GetString("btnDelete.ToolTip"));
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.BtnDeleteClick);
     //
     // btnUp
     //
     this.btnUp.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.up;
     resources.ApplyResources(this.btnUp, "btnUp");
     this.btnUp.Name = "btnUp";
     this.ttHelp.SetToolTip(this.btnUp, resources.GetString("btnUp.ToolTip"));
     this.btnUp.UseVisualStyleBackColor = true;
     this.btnUp.Click += new System.EventHandler(this.BtnUpClick);
     //
     // btnDown
     //
     this.btnDown.BackColor = System.Drawing.SystemColors.Control;
     this.btnDown.Image     = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.down;
     resources.ApplyResources(this.btnDown, "btnDown");
     this.btnDown.Name = "btnDown";
     this.ttHelp.SetToolTip(this.btnDown, resources.GetString("btnDown.ToolTip"));
     this.btnDown.UseVisualStyleBackColor = false;
     this.btnDown.Click += new System.EventHandler(this.BtnDownClick);
     //
     // cmbNormField
     //
     this.cmbNormField.FormattingEnabled = true;
     resources.ApplyResources(this.cmbNormField, "cmbNormField");
     this.cmbNormField.Name = "cmbNormField";
     this.ttHelp.SetToolTip(this.cmbNormField, resources.GetString("cmbNormField.ToolTip"));
     this.cmbNormField.SelectedIndexChanged += new System.EventHandler(this.CmbNormFieldSelectedIndexChanged);
     //
     // nudSigFig
     //
     resources.ApplyResources(this.nudSigFig, "nudSigFig");
     this.nudSigFig.Maximum = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.nudSigFig.Name = "nudSigFig";
     this.ttHelp.SetToolTip(this.nudSigFig, resources.GetString("nudSigFig.ToolTip"));
     this.nudSigFig.ValueChanged += new System.EventHandler(this.NudSigFigValueChanged);
     //
     // cmbIntervalSnapping
     //
     this.cmbIntervalSnapping.FormattingEnabled = true;
     resources.ApplyResources(this.cmbIntervalSnapping, "cmbIntervalSnapping");
     this.cmbIntervalSnapping.Name = "cmbIntervalSnapping";
     this.ttHelp.SetToolTip(this.cmbIntervalSnapping, resources.GetString("cmbIntervalSnapping.ToolTip"));
     this.cmbIntervalSnapping.SelectedIndexChanged += new System.EventHandler(this.CmbIntervalSnappingSelectedIndexChanged);
     //
     // dgvStatistics
     //
     this.dgvStatistics.AllowUserToAddRows              = false;
     this.dgvStatistics.AllowUserToDeleteRows           = false;
     dataGridViewCellStyle1.BackColor                   = System.Drawing.Color.AntiqueWhite;
     this.dgvStatistics.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvStatistics.BackgroundColor                 = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Alignment                   = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle2.BackColor                   = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, 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.dgvStatistics.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgvStatistics.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvStatistics.ColumnHeadersVisible          = false;
     this.dgvStatistics.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Stat,
         this.Value
     });
     resources.ApplyResources(this.dgvStatistics, "dgvStatistics");
     this.dgvStatistics.Name = "dgvStatistics";
     this.dgvStatistics.RowHeadersVisible = false;
     this.dgvStatistics.ShowCellErrors    = false;
     this.ttHelp.SetToolTip(this.dgvStatistics, resources.GetString("dgvStatistics.ToolTip"));
     //
     // Stat
     //
     resources.ApplyResources(this.Stat, "Stat");
     this.Stat.Name = "Stat";
     //
     // Value
     //
     this.Value.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     resources.ApplyResources(this.Value, "Value");
     this.Value.Name = "Value";
     //
     // tabScheme
     //
     this.tabScheme.Controls.Add(this.tabStatistics);
     this.tabScheme.Controls.Add(this.tabGraph);
     resources.ApplyResources(this.tabScheme, "tabScheme");
     this.tabScheme.Name          = "tabScheme";
     this.tabScheme.SelectedIndex = 0;
     //
     // tabStatistics
     //
     this.tabStatistics.Controls.Add(this.label3);
     this.tabStatistics.Controls.Add(this.cmbNormField);
     this.tabStatistics.Controls.Add(this.btnExclude);
     this.tabStatistics.Controls.Add(this.nudSigFig);
     this.tabStatistics.Controls.Add(this.lblSigFig);
     this.tabStatistics.Controls.Add(this.label1);
     this.tabStatistics.Controls.Add(this.cmbIntervalSnapping);
     this.tabStatistics.Controls.Add(this.dgvStatistics);
     this.tabStatistics.Controls.Add(this.label2);
     this.tabStatistics.Controls.Add(this.cmbInterval);
     this.tabStatistics.Controls.Add(this.nudCategoryCount);
     this.tabStatistics.Controls.Add(this.lblBreaks);
     resources.ApplyResources(this.tabStatistics, "tabStatistics");
     this.tabStatistics.Name = "tabStatistics";
     this.tabStatistics.UseVisualStyleBackColor = true;
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // lblSigFig
     //
     resources.ApplyResources(this.lblSigFig, "lblSigFig");
     this.lblSigFig.Name = "lblSigFig";
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // cmbInterval
     //
     this.cmbInterval.FormattingEnabled = true;
     resources.ApplyResources(this.cmbInterval, "cmbInterval");
     this.cmbInterval.Name = "cmbInterval";
     this.cmbInterval.SelectedIndexChanged += new System.EventHandler(this.CmbIntervalSelectedIndexChanged);
     //
     // nudCategoryCount
     //
     resources.ApplyResources(this.nudCategoryCount, "nudCategoryCount");
     this.nudCategoryCount.Minimum = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.nudCategoryCount.Name  = "nudCategoryCount";
     this.nudCategoryCount.Value = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.nudCategoryCount.ValueChanged += new System.EventHandler(this.NudCategoryCountValueChanged);
     //
     // lblBreaks
     //
     resources.ApplyResources(this.lblBreaks, "lblBreaks");
     this.lblBreaks.Name = "lblBreaks";
     //
     // tabGraph
     //
     this.tabGraph.Controls.Add(this.lblColumns);
     this.tabGraph.Controls.Add(this.nudColumns);
     this.tabGraph.Controls.Add(this.chkLog);
     this.tabGraph.Controls.Add(this.chkShowStd);
     this.tabGraph.Controls.Add(this.chkShowMean);
     this.tabGraph.Controls.Add(this.breakSliderGraph1);
     resources.ApplyResources(this.tabGraph, "tabGraph");
     this.tabGraph.Name = "tabGraph";
     this.tabGraph.UseVisualStyleBackColor = true;
     //
     // lblColumns
     //
     resources.ApplyResources(this.lblColumns, "lblColumns");
     this.lblColumns.Name = "lblColumns";
     //
     // nudColumns
     //
     this.nudColumns.Increment = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     resources.ApplyResources(this.nudColumns, "nudColumns");
     this.nudColumns.Maximum = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.nudColumns.Minimum = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.nudColumns.Name  = "nudColumns";
     this.nudColumns.Value = new decimal(new int[] {
         40,
         0,
         0,
         0
     });
     this.nudColumns.ValueChanged += new System.EventHandler(this.NudColumnsValueChanged);
     //
     // chkLog
     //
     resources.ApplyResources(this.chkLog, "chkLog");
     this.chkLog.Name = "chkLog";
     this.chkLog.UseVisualStyleBackColor = true;
     this.chkLog.CheckedChanged         += new System.EventHandler(this.ChkLogCheckedChanged);
     //
     // chkShowStd
     //
     resources.ApplyResources(this.chkShowStd, "chkShowStd");
     this.chkShowStd.Name = "chkShowStd";
     this.chkShowStd.UseVisualStyleBackColor = true;
     this.chkShowStd.CheckedChanged         += new System.EventHandler(this.ChkShowStdCheckedChanged);
     //
     // chkShowMean
     //
     resources.ApplyResources(this.chkShowMean, "chkShowMean");
     this.chkShowMean.Name = "chkShowMean";
     this.chkShowMean.UseVisualStyleBackColor = true;
     this.chkShowMean.CheckedChanged         += new System.EventHandler(this.ChkShowMeanCheckedChanged);
     //
     // breakSliderGraph1
     //
     this.breakSliderGraph1.AttributeSource    = null;
     this.breakSliderGraph1.BackColor          = System.Drawing.Color.White;
     this.breakSliderGraph1.BorderStyle        = System.Windows.Forms.BorderStyle.Fixed3D;
     this.breakSliderGraph1.BreakColor         = System.Drawing.Color.Blue;
     this.breakSliderGraph1.BreakSelectedColor = System.Drawing.Color.Red;
     this.breakSliderGraph1.FontColor          = System.Drawing.Color.Black;
     this.breakSliderGraph1.IntervalMethod     = DotSpatial.Symbology.IntervalMethod.EqualInterval;
     resources.ApplyResources(this.breakSliderGraph1, "breakSliderGraph1");
     this.breakSliderGraph1.LogY = false;
     this.breakSliderGraph1.MaximumSampleSize = 10000;
     this.breakSliderGraph1.MinHeight         = 20;
     this.breakSliderGraph1.Name                  = "breakSliderGraph1";
     this.breakSliderGraph1.NumColumns            = 40;
     this.breakSliderGraph1.RasterLayer           = null;
     this.breakSliderGraph1.Scheme                = null;
     this.breakSliderGraph1.ShowMean              = false;
     this.breakSliderGraph1.ShowStandardDeviation = false;
     this.breakSliderGraph1.Title                 = "Statistical Breaks:";
     this.breakSliderGraph1.TitleColor            = System.Drawing.Color.Black;
     this.breakSliderGraph1.TitleFont             = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
     this.breakSliderGraph1.SliderMoved          += new System.EventHandler <DotSpatial.Symbology.Forms.BreakSliderEventArgs>(this.BreakSliderGraph1SliderMoved);
     //
     // chkUseGradients
     //
     resources.ApplyResources(this.chkUseGradients, "chkUseGradients");
     this.chkUseGradients.Name = "chkUseGradients";
     this.chkUseGradients.UseVisualStyleBackColor = true;
     this.chkUseGradients.CheckedChanged         += new System.EventHandler(this.ChkUseGradientsCheckedChanged);
     //
     // dgvCategories
     //
     this.dgvCategories.AllowUserToAddRows          = false;
     this.dgvCategories.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgvCategories.BackgroundColor             = System.Drawing.SystemColors.Window;
     this.dgvCategories.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvCategories.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.colSymbol,
         this.colValues,
         this.colLegendText,
         this.colCount,
         this.dgvcShowInLegend
     });
     resources.ApplyResources(this.dgvCategories, "dgvCategories");
     this.dgvCategories.MultiSelect       = false;
     this.dgvCategories.Name              = "dgvCategories";
     this.dgvCategories.RowHeadersVisible = false;
     this.dgvCategories.SelectionMode     = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     //
     // radCustom
     //
     resources.ApplyResources(this.radCustom, "radCustom");
     this.radCustom.Name    = "radCustom";
     this.radCustom.TabStop = true;
     this.radCustom.UseVisualStyleBackColor = true;
     this.radCustom.CheckedChanged         += new System.EventHandler(this.RadCustomCheckedChanged);
     //
     // angGradientAngle
     //
     this.angGradientAngle.Angle     = 0;
     this.angGradientAngle.BackColor = System.Drawing.Color.Transparent;
     resources.ApplyResources(this.angGradientAngle, "angGradientAngle");
     this.angGradientAngle.Clockwise     = false;
     this.angGradientAngle.KnobColor     = System.Drawing.Color.Green;
     this.angGradientAngle.Name          = "angGradientAngle";
     this.angGradientAngle.StartAngle    = 0;
     this.angGradientAngle.AngleChanged += new System.EventHandler(this.AngGradientAngleAngleChanged);
     //
     // featureSizeRangeControl1
     //
     resources.ApplyResources(this.featureSizeRangeControl1, "featureSizeRangeControl1");
     this.featureSizeRangeControl1.Name              = "featureSizeRangeControl1";
     this.featureSizeRangeControl1.Scheme            = null;
     this.featureSizeRangeControl1.SizeRange         = null;
     this.featureSizeRangeControl1.SizeRangeChanged += new System.EventHandler <DotSpatial.Symbology.Forms.SizeRangeEventArgs>(this.PointSizeRangeControl1SizeRangeChanged);
     //
     // tccColorRange
     //
     this.tccColorRange.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tccColorRange.HueShift = 0;
     resources.ApplyResources(this.tccColorRange, "tccColorRange");
     this.tccColorRange.Name            = "tccColorRange";
     this.tccColorRange.StartColor      = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tccColorRange.UseRangeChecked = true;
     this.tccColorRange.ColorChanged   += new System.EventHandler <DotSpatial.Symbology.Forms.ColorRangeEventArgs>(this.TccColorRangeColorChanged);
     //
     // dataGridViewImageColumn1
     //
     this.dataGridViewImageColumn1.FillWeight = 76.14214F;
     resources.ApplyResources(this.dataGridViewImageColumn1, "dataGridViewImageColumn1");
     this.dataGridViewImageColumn1.Name      = "dataGridViewImageColumn1";
     this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewImageColumn1.SortMode  = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     //
     // colSymbol
     //
     this.colSymbol.FillWeight = 59.29334F;
     resources.ApplyResources(this.colSymbol, "colSymbol");
     this.colSymbol.Name      = "colSymbol";
     this.colSymbol.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     //
     // colValues
     //
     this.colValues.FillWeight = 168.6465F;
     resources.ApplyResources(this.colValues, "colValues");
     this.colValues.Name     = "colValues";
     this.colValues.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // colLegendText
     //
     this.colLegendText.FillWeight = 186.2975F;
     resources.ApplyResources(this.colLegendText, "colLegendText");
     this.colLegendText.Name = "colLegendText";
     //
     // colCount
     //
     this.colCount.FillWeight = 60.38199F;
     resources.ApplyResources(this.colCount, "colCount");
     this.colCount.Name     = "colCount";
     this.colCount.ReadOnly = true;
     this.colCount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // dgvcShowInLegend
     //
     this.dgvcShowInLegend.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
     this.dgvcShowInLegend.DataPropertyName = "ShowInLegend";
     this.dgvcShowInLegend.FillWeight       = 25.38071F;
     resources.ApplyResources(this.dgvcShowInLegend, "dgvcShowInLegend");
     this.dgvcShowInLegend.Name = "dgvcShowInLegend";
     //
     // FeatureCategoryControl
     //
     this.Controls.Add(this.chkUseGradients);
     this.Controls.Add(this.angGradientAngle);
     this.Controls.Add(this.featureSizeRangeControl1);
     this.Controls.Add(this.tccColorRange);
     this.Controls.Add(this.tabScheme);
     this.Controls.Add(this.dgvCategories);
     this.Controls.Add(this.radCustom);
     this.Controls.Add(this.btnDown);
     this.Controls.Add(this.btnUp);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.radQuantities);
     this.Controls.Add(this.radUniqueValues);
     this.Controls.Add(this.btnRamp);
     this.Controls.Add(this.cmdRefresh);
     this.Controls.Add(this._lblFieldName);
     this.Controls.Add(this._cmbField);
     this.Name = "FeatureCategoryControl";
     resources.ApplyResources(this, "$this");
     ((System.ComponentModel.ISupportInitialize)(this.nudSigFig)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStatistics)).EndInit();
     this.tabScheme.ResumeLayout(false);
     this.tabStatistics.ResumeLayout(false);
     this.tabStatistics.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudCategoryCount)).EndInit();
     this.tabGraph.ResumeLayout(false);
     this.tabGraph.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumns)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCategories)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 36
0
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     btn_cancel    = new System.Windows.Forms.Button();
     dataGridView1 = new System.Windows.Forms.DataGridView();
     label2        = new System.Windows.Forms.Label();
     label1        = new System.Windows.Forms.Label();
     Column1       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column2       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column3       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column5       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column4       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column8       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column6       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column7       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column9       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
     SuspendLayout();
     btn_cancel.BackColor = System.Drawing.Color.FromArgb(175, 175, 175);
     btn_cancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_cancel.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     btn_cancel.ForeColor = System.Drawing.Color.White;
     btn_cancel.Location  = new System.Drawing.Point(431, 643);
     btn_cancel.Name      = "btn_cancel";
     btn_cancel.Size      = new System.Drawing.Size(124, 34);
     btn_cancel.TabIndex  = 68;
     btn_cancel.TabStop   = false;
     btn_cancel.Text      = "關閉";
     btn_cancel.UseVisualStyleBackColor = false;
     btn_cancel.Click += new System.EventHandler(btn_cancel_Click);
     dataGridView1.AllowUserToAddRows       = false;
     dataGridView1.AllowUserToDeleteRows    = false;
     dataGridView1.AllowUserToResizeColumns = false;
     dataGridView1.AllowUserToResizeRows    = false;
     dataGridView1.AutoSizeColumnsMode      = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
     dataGridView1.BackgroundColor          = System.Drawing.Color.Silver;
     dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     dataGridView1.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle.BackColor             = System.Drawing.Color.FromArgb(102, 102, 102);
     dataGridViewCellStyle.Font                  = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle.ForeColor             = System.Drawing.Color.White;
     dataGridViewCellStyle.Padding               = new System.Windows.Forms.Padding(6);
     dataGridViewCellStyle.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle;
     dataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView1.Columns.AddRange(Column1, Column2, Column3, Column5, Column4, Column8, Column6, Column7, Column9);
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.Color.FromArgb(255, 240, 150);
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle2.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.Padding            = new System.Windows.Forms.Padding(6);
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(255, 240, 150);
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     dataGridView1.DefaultCellStyle            = dataGridViewCellStyle2;
     dataGridView1.EnableHeadersVisualStyles   = false;
     dataGridView1.Location = new System.Drawing.Point(25, 70);
     dataGridView1.Name     = "dataGridView1";
     dataGridView1.ReadOnly = true;
     dataGridView1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridView1.RowHeadersVisible     = false;
     dataGridView1.RowTemplate.Height    = 40;
     dataGridView1.Size              = new System.Drawing.Size(942, 554);
     dataGridView1.TabIndex          = 67;
     dataGridView1.SelectionChanged += new System.EventHandler(dataGridView1_SelectionChanged);
     label2.AutoSize          = true;
     label2.Font              = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label2.Location          = new System.Drawing.Point(30, 43);
     label2.Name              = "label2";
     label2.Size              = new System.Drawing.Size(128, 24);
     label2.TabIndex          = 66;
     label2.Text              = "yyyy-MM-dd";
     label1.AutoSize          = true;
     label1.Font              = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     label1.Location          = new System.Drawing.Point(409, 29);
     label1.Name              = "label1";
     label1.Size              = new System.Drawing.Size(181, 24);
     label1.TabIndex          = 65;
     label1.Text              = "庫存調整紀錄檔上傳";
     Column1.HeaderText       = "盤點原因";
     Column1.Name             = "Column1";
     Column1.ReadOnly         = true;
     Column1.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column1.Width            = 90;
     Column2.HeaderText       = "盤點代碼";
     Column2.Name             = "Column2";
     Column2.ReadOnly         = true;
     Column2.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column2.Width            = 90;
     Column3.HeaderText       = "盤點日期時間";
     Column3.Name             = "Column3";
     Column3.ReadOnly         = true;
     Column3.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column3.Width            = 122;
     Column5.HeaderText       = "商品條碼";
     Column5.Name             = "Column5";
     Column5.ReadOnly         = true;
     Column5.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column5.Width            = 90;
     Column4.HeaderText       = "製造日期";
     Column4.Name             = "Column4";
     Column4.ReadOnly         = true;
     Column4.Width            = 109;
     Column8.HeaderText       = "批號";
     Column8.Name             = "Column8";
     Column8.ReadOnly         = true;
     Column8.Width            = 77;
     Column6.HeaderText       = "商品名稱";
     Column6.Name             = "Column6";
     Column6.ReadOnly         = true;
     Column6.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column6.Width            = 90;
     Column7.HeaderText       = "數量調整";
     Column7.Name             = "Column7";
     Column7.ReadOnly         = true;
     Column7.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column7.Width            = 90;
     Column9.HeaderText       = "退貨對象";
     Column9.Name             = "Column9";
     Column9.ReadOnly         = true;
     Column9.Width            = 109;
     base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     AutoScroll      = true;
     BackColor       = System.Drawing.Color.Silver;
     base.ClientSize = new System.Drawing.Size(997, 700);
     base.ControlBox = false;
     base.Controls.Add(btn_cancel);
     base.Controls.Add(dataGridView1);
     base.Controls.Add(label2);
     base.Controls.Add(label1);
     base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     base.Name            = "dialogSyncInventoryDetailLog";
     base.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     Text = "農委會防檢局POS系統";
     ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
     ResumeLayout(false);
     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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserControlStarDistance));
     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();
     this.contextMenuStrip                     = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.viewSystemToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.viewOnEDSMToolStripMenuItem1         = new System.Windows.Forms.ToolStripMenuItem();
     this.addToTrilaterationToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.addToExplorationToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.addToExpeditionToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.labelExtMin             = new System.Windows.Forms.Label();
     this.labelExtMax             = new System.Windows.Forms.Label();
     this.toolTip                 = new System.Windows.Forms.ToolTip(this.components);
     this.textMaxRadius           = new ExtendedControls.NumberBoxDouble();
     this.textMinRadius           = new ExtendedControls.NumberBoxDouble();
     this.checkBoxCube            = new ExtendedControls.ExtCheckBox();
     this.flowLayoutStarDistances = new System.Windows.Forms.FlowLayoutPanel();
     this.dataViewScrollerPanel2  = new ExtendedControls.ExtPanelDataGridViewScroll();
     this.vScrollBarCustom2       = new ExtendedControls.ExtScrollBar();
     this.dataGridViewNearest     = new BaseUtils.DataGridViewColumnHider();
     this.colName                 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colDistance             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colVisited              = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.contextMenuStrip.SuspendLayout();
     this.flowLayoutStarDistances.SuspendLayout();
     this.dataViewScrollerPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewNearest)).BeginInit();
     this.SuspendLayout();
     //
     // contextMenuStrip
     //
     this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.viewSystemToolStripMenuItem,
         this.viewOnEDSMToolStripMenuItem1,
         this.addToTrilaterationToolStripMenuItem1,
         this.addToExplorationToolStripMenuItem,
         this.addToExpeditionToolStripMenuItem
     });
     this.contextMenuStrip.Name = "closestContextMenu";
     this.contextMenuStrip.Size = new System.Drawing.Size(181, 136);
     //
     // viewSystemToolStripMenuItem
     //
     this.viewSystemToolStripMenuItem.Name   = "viewSystemToolStripMenuItem";
     this.viewSystemToolStripMenuItem.Size   = new System.Drawing.Size(180, 22);
     this.viewSystemToolStripMenuItem.Text   = "View System";
     this.viewSystemToolStripMenuItem.Click += new System.EventHandler(this.viewSystemToolStripMenuItem_Click);
     //
     // viewOnEDSMToolStripMenuItem1
     //
     this.viewOnEDSMToolStripMenuItem1.Name   = "viewOnEDSMToolStripMenuItem1";
     this.viewOnEDSMToolStripMenuItem1.Size   = new System.Drawing.Size(180, 22);
     this.viewOnEDSMToolStripMenuItem1.Text   = "View on EDSM";
     this.viewOnEDSMToolStripMenuItem1.Click += new System.EventHandler(this.viewOnEDSMToolStripMenuItem1_Click);
     //
     // addToTrilaterationToolStripMenuItem1
     //
     this.addToTrilaterationToolStripMenuItem1.Name   = "addToTrilaterationToolStripMenuItem1";
     this.addToTrilaterationToolStripMenuItem1.Size   = new System.Drawing.Size(180, 22);
     this.addToTrilaterationToolStripMenuItem1.Text   = "Add to Trilateration";
     this.addToTrilaterationToolStripMenuItem1.Click += new System.EventHandler(this.addToTrilaterationToolStripMenuItem1_Click);
     //
     // addToExplorationToolStripMenuItem
     //
     this.addToExplorationToolStripMenuItem.Name   = "addToExplorationToolStripMenuItem";
     this.addToExplorationToolStripMenuItem.Size   = new System.Drawing.Size(180, 22);
     this.addToExplorationToolStripMenuItem.Text   = "Add To Exploration";
     this.addToExplorationToolStripMenuItem.Click += new System.EventHandler(this.addToExplorationToolStripMenuItem_Click);
     //
     // addToExpeditionToolStripMenuItem
     //
     this.addToExpeditionToolStripMenuItem.Name   = "addToExpeditionToolStripMenuItem";
     this.addToExpeditionToolStripMenuItem.Size   = new System.Drawing.Size(180, 22);
     this.addToExpeditionToolStripMenuItem.Text   = "Add to Expedition";
     this.addToExpeditionToolStripMenuItem.Click += new System.EventHandler(this.addToExpeditionToolStripMenuItem_Click);
     //
     // labelExtMin
     //
     this.labelExtMin.AutoSize = true;
     this.labelExtMin.Location = new System.Drawing.Point(0, 1);
     this.labelExtMin.Margin   = new System.Windows.Forms.Padding(0, 1, 8, 1);
     this.labelExtMin.Name     = "labelExtMin";
     this.labelExtMin.Size     = new System.Drawing.Size(24, 13);
     this.labelExtMin.TabIndex = 3;
     this.labelExtMin.Text     = "Min";
     //
     // labelExtMax
     //
     this.labelExtMax.AutoSize = true;
     this.labelExtMax.Location = new System.Drawing.Point(92, 1);
     this.labelExtMax.Margin   = new System.Windows.Forms.Padding(0, 1, 8, 1);
     this.labelExtMax.Name     = "labelExtMax";
     this.labelExtMax.Size     = new System.Drawing.Size(27, 13);
     this.labelExtMax.TabIndex = 3;
     this.labelExtMax.Text     = "Max";
     //
     // textMaxRadius
     //
     this.textMaxRadius.AutoCompleteMode        = System.Windows.Forms.AutoCompleteMode.None;
     this.textMaxRadius.AutoCompleteSource      = System.Windows.Forms.AutoCompleteSource.None;
     this.textMaxRadius.BackErrorColor          = System.Drawing.Color.Red;
     this.textMaxRadius.BorderColor             = System.Drawing.Color.Transparent;
     this.textMaxRadius.BorderColorScaling      = 0.5F;
     this.textMaxRadius.BorderStyle             = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textMaxRadius.ClearOnFirstChar        = false;
     this.textMaxRadius.ControlBackground       = System.Drawing.SystemColors.Control;
     this.textMaxRadius.DelayBeforeNotification = 500;
     this.textMaxRadius.EndButtonEnable         = true;
     this.textMaxRadius.EndButtonImage          = ((System.Drawing.Image)(resources.GetObject("textMaxRadius.EndButtonImage")));
     this.textMaxRadius.EndButtonVisible        = false;
     this.textMaxRadius.Format           = "0.#######";
     this.textMaxRadius.InErrorCondition = false;
     this.textMaxRadius.Location         = new System.Drawing.Point(127, 1);
     this.textMaxRadius.Margin           = new System.Windows.Forms.Padding(0, 1, 8, 1);
     this.textMaxRadius.Maximum          = 100000D;
     this.textMaxRadius.Minimum          = 0D;
     this.textMaxRadius.Multiline        = false;
     this.textMaxRadius.Name             = "textMaxRadius";
     this.textMaxRadius.ReadOnly         = false;
     this.textMaxRadius.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.textMaxRadius.SelectionLength  = 0;
     this.textMaxRadius.SelectionStart   = 0;
     this.textMaxRadius.Size             = new System.Drawing.Size(52, 20);
     this.textMaxRadius.TabIndex         = 1;
     this.textMaxRadius.TextAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.toolTip.SetToolTip(this.textMaxRadius, "Maximum star distance in ly");
     this.textMaxRadius.Value         = 0D;
     this.textMaxRadius.WordWrap      = true;
     this.textMaxRadius.ValueChanged += new System.EventHandler(this.textMaxRadius_ValueChanged);
     //
     // textMinRadius
     //
     this.textMinRadius.AutoCompleteMode        = System.Windows.Forms.AutoCompleteMode.None;
     this.textMinRadius.AutoCompleteSource      = System.Windows.Forms.AutoCompleteSource.None;
     this.textMinRadius.BackErrorColor          = System.Drawing.Color.Red;
     this.textMinRadius.BorderColor             = System.Drawing.Color.Transparent;
     this.textMinRadius.BorderColorScaling      = 0.5F;
     this.textMinRadius.BorderStyle             = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textMinRadius.ClearOnFirstChar        = false;
     this.textMinRadius.ControlBackground       = System.Drawing.SystemColors.Control;
     this.textMinRadius.DelayBeforeNotification = 500;
     this.textMinRadius.EndButtonEnable         = true;
     this.textMinRadius.EndButtonImage          = ((System.Drawing.Image)(resources.GetObject("textMinRadius.EndButtonImage")));
     this.textMinRadius.EndButtonVisible        = false;
     this.textMinRadius.Format           = "0.#######";
     this.textMinRadius.InErrorCondition = false;
     this.textMinRadius.Location         = new System.Drawing.Point(32, 1);
     this.textMinRadius.Margin           = new System.Windows.Forms.Padding(0, 1, 8, 1);
     this.textMinRadius.Maximum          = 100000D;
     this.textMinRadius.Minimum          = 0D;
     this.textMinRadius.Multiline        = false;
     this.textMinRadius.Name             = "textMinRadius";
     this.textMinRadius.ReadOnly         = false;
     this.textMinRadius.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.textMinRadius.SelectionLength  = 0;
     this.textMinRadius.SelectionStart   = 0;
     this.textMinRadius.Size             = new System.Drawing.Size(52, 20);
     this.textMinRadius.TabIndex         = 1;
     this.textMinRadius.TextAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.toolTip.SetToolTip(this.textMinRadius, "Minimum star distance in ly");
     this.textMinRadius.Value         = 0D;
     this.textMinRadius.WordWrap      = true;
     this.textMinRadius.ValueChanged += new System.EventHandler(this.textMinRadius_ValueChanged);
     //
     // checkBoxCube
     //
     this.checkBoxCube.AutoSize                   = true;
     this.checkBoxCube.CheckBoxColor              = System.Drawing.Color.Gray;
     this.checkBoxCube.CheckBoxDisabledScaling    = 0.5F;
     this.checkBoxCube.CheckBoxInnerColor         = System.Drawing.Color.White;
     this.checkBoxCube.CheckColor                 = System.Drawing.Color.DarkBlue;
     this.checkBoxCube.ImageButtonDisabledScaling = 0.5F;
     this.checkBoxCube.ImageIndeterminate         = null;
     this.checkBoxCube.ImageLayout                = System.Windows.Forms.ImageLayout.Center;
     this.checkBoxCube.ImageUnchecked             = null;
     this.checkBoxCube.Location                   = new System.Drawing.Point(187, 1);
     this.checkBoxCube.Margin                = new System.Windows.Forms.Padding(0, 1, 8, 1);
     this.checkBoxCube.MouseOverColor        = System.Drawing.Color.CornflowerBlue;
     this.checkBoxCube.Name                  = "checkBoxCube";
     this.checkBoxCube.Size                  = new System.Drawing.Size(51, 17);
     this.checkBoxCube.TabIndex              = 4;
     this.checkBoxCube.Text                  = "Cube";
     this.checkBoxCube.TickBoxReductionRatio = 0.75F;
     this.toolTip.SetToolTip(this.checkBoxCube, "Check to indicate use a cube instead of a sphere for distances");
     this.checkBoxCube.UseVisualStyleBackColor = true;
     this.checkBoxCube.CheckedChanged         += new System.EventHandler(this.checkBoxCube_CheckedChanged);
     //
     // flowLayoutStarDistances
     //
     this.flowLayoutStarDistances.AutoSize = true;
     this.flowLayoutStarDistances.Controls.Add(this.labelExtMin);
     this.flowLayoutStarDistances.Controls.Add(this.textMinRadius);
     this.flowLayoutStarDistances.Controls.Add(this.labelExtMax);
     this.flowLayoutStarDistances.Controls.Add(this.textMaxRadius);
     this.flowLayoutStarDistances.Controls.Add(this.checkBoxCube);
     this.flowLayoutStarDistances.Dock         = System.Windows.Forms.DockStyle.Top;
     this.flowLayoutStarDistances.Location     = new System.Drawing.Point(0, 0);
     this.flowLayoutStarDistances.Name         = "flowLayoutStarDistances";
     this.flowLayoutStarDistances.Size         = new System.Drawing.Size(352, 22);
     this.flowLayoutStarDistances.TabIndex     = 5;
     this.flowLayoutStarDistances.WrapContents = false;
     //
     // dataViewScrollerPanel2
     //
     this.dataViewScrollerPanel2.Controls.Add(this.vScrollBarCustom2);
     this.dataViewScrollerPanel2.Controls.Add(this.dataGridViewNearest);
     this.dataViewScrollerPanel2.Dock                       = System.Windows.Forms.DockStyle.Fill;
     this.dataViewScrollerPanel2.InternalMargin             = new System.Windows.Forms.Padding(0);
     this.dataViewScrollerPanel2.LimitLargeChange           = 2147483647;
     this.dataViewScrollerPanel2.Location                   = new System.Drawing.Point(0, 22);
     this.dataViewScrollerPanel2.Name                       = "dataViewScrollerPanel2";
     this.dataViewScrollerPanel2.Size                       = new System.Drawing.Size(352, 550);
     this.dataViewScrollerPanel2.TabIndex                   = 25;
     this.dataViewScrollerPanel2.VerticalScrollBarDockRight = true;
     //
     // vScrollBarCustom2
     //
     this.vScrollBarCustom2.ArrowBorderColor   = System.Drawing.Color.LightBlue;
     this.vScrollBarCustom2.ArrowButtonColor   = System.Drawing.Color.LightGray;
     this.vScrollBarCustom2.ArrowColorScaling  = 0.5F;
     this.vScrollBarCustom2.ArrowDownDrawAngle = 270F;
     this.vScrollBarCustom2.ArrowUpDrawAngle   = 90F;
     this.vScrollBarCustom2.BorderColor        = System.Drawing.Color.White;
     this.vScrollBarCustom2.Dock                    = System.Windows.Forms.DockStyle.Top;
     this.vScrollBarCustom2.FlatStyle               = System.Windows.Forms.FlatStyle.System;
     this.vScrollBarCustom2.HideScrollBar           = true;
     this.vScrollBarCustom2.LargeChange             = 0;
     this.vScrollBarCustom2.Location                = new System.Drawing.Point(336, 0);
     this.vScrollBarCustom2.Maximum                 = -1;
     this.vScrollBarCustom2.Minimum                 = 0;
     this.vScrollBarCustom2.MouseOverButtonColor    = System.Drawing.Color.Green;
     this.vScrollBarCustom2.MousePressedButtonColor = System.Drawing.Color.Red;
     this.vScrollBarCustom2.Name                    = "vScrollBarCustom2";
     this.vScrollBarCustom2.Size                    = new System.Drawing.Size(16, 550);
     this.vScrollBarCustom2.SliderColor             = System.Drawing.Color.DarkGray;
     this.vScrollBarCustom2.SmallChange             = 1;
     this.vScrollBarCustom2.TabIndex                = 24;
     this.vScrollBarCustom2.ThumbBorderColor        = System.Drawing.Color.Yellow;
     this.vScrollBarCustom2.ThumbButtonColor        = System.Drawing.Color.DarkBlue;
     this.vScrollBarCustom2.ThumbColorScaling       = 0.5F;
     this.vScrollBarCustom2.ThumbDrawAngle          = 0F;
     this.vScrollBarCustom2.Value                   = -1;
     this.vScrollBarCustom2.ValueLimited            = -1;
     //
     // dataGridViewNearest
     //
     this.dataGridViewNearest.AllowUserToAddRows    = false;
     this.dataGridViewNearest.AllowUserToDeleteRows = false;
     this.dataGridViewNearest.AllowUserToResizeRows = false;
     this.dataGridViewNearest.AutoSizeColumnsMode   = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridViewNearest.AutoSizeRowsMode      = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     dataGridViewCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor          = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, 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.dataGridViewNearest.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridViewNearest.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridViewNearest.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.colName,
         this.colDistance,
         this.colVisited
     });
     this.dataGridViewNearest.ContextMenuStrip = this.contextMenuStrip;
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font                         = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor                    = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor           = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor           = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode                     = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridViewNearest.DefaultCellStyle           = dataGridViewCellStyle2;
     this.dataGridViewNearest.Dock                       = System.Windows.Forms.DockStyle.Bottom;
     this.dataGridViewNearest.Location                   = new System.Drawing.Point(0, 0);
     this.dataGridViewNearest.Name                       = "dataGridViewNearest";
     this.dataGridViewNearest.RowHeaderMenuStrip         = null;
     dataGridViewCellStyle3.Alignment                    = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor                    = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font                         = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     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.dataGridViewNearest.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.dataGridViewNearest.RowHeadersVisible          = false;
     this.dataGridViewNearest.ScrollBars                 = System.Windows.Forms.ScrollBars.None;
     this.dataGridViewNearest.SingleRowSelect            = true;
     this.dataGridViewNearest.Size                       = new System.Drawing.Size(336, 550);
     this.dataGridViewNearest.TabIndex                   = 23;
     this.dataGridViewNearest.CellClick                 += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewNearest_CellClick);
     this.dataGridViewNearest.CellDoubleClick           += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewNearest_CellDoubleClick);
     this.dataGridViewNearest.SortCompare               += new System.Windows.Forms.DataGridViewSortCompareEventHandler(this.dataGridViewNearest_SortCompare);
     this.dataGridViewNearest.MouseDown                 += new System.Windows.Forms.MouseEventHandler(this.dataGridViewNearest_MouseDown);
     //
     // colName
     //
     this.colName.HeaderText   = "Name";
     this.colName.MinimumWidth = 50;
     this.colName.Name         = "colName";
     this.colName.ReadOnly     = true;
     //
     // colDistance
     //
     this.colDistance.FillWeight   = 25F;
     this.colDistance.HeaderText   = "Distance";
     this.colDistance.MinimumWidth = 50;
     this.colDistance.Name         = "colDistance";
     this.colDistance.ReadOnly     = true;
     //
     // colVisited
     //
     this.colVisited.FillWeight = 25F;
     this.colVisited.HeaderText = "Visited";
     this.colVisited.Name       = "colVisited";
     this.colVisited.ReadOnly   = true;
     //
     // UserControlStarDistance
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.dataViewScrollerPanel2);
     this.Controls.Add(this.flowLayoutStarDistances);
     this.Name = "UserControlStarDistance";
     this.Size = new System.Drawing.Size(352, 572);
     this.contextMenuStrip.ResumeLayout(false);
     this.flowLayoutStarDistances.ResumeLayout(false);
     this.flowLayoutStarDistances.PerformLayout();
     this.dataViewScrollerPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewNearest)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 38
0
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle  = 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.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
     btn_pageRight      = new System.Windows.Forms.Button();
     btn_pageLeft       = new System.Windows.Forms.Button();
     l_status           = new System.Windows.Forms.Label();
     btn_statusAll      = new System.Windows.Forms.Button();
     btn_statusNormal   = new System.Windows.Forms.Button();
     btn_statusCancel   = new System.Windows.Forms.Button();
     l_memberList       = new System.Windows.Forms.Label();
     l_pageInfo         = new System.Windows.Forms.Label();
     btn_firstPage      = new System.Windows.Forms.Button();
     btn_previousPage   = new System.Windows.Forms.Button();
     btn_nextPage       = new System.Windows.Forms.Button();
     btn_lastPage       = new System.Windows.Forms.Button();
     l_pageNow          = new System.Windows.Forms.Label();
     btn_SearchPurchase = new System.Windows.Forms.Button();
     btn_CreatePurchase = new System.Windows.Forms.Button();
     label1             = new System.Windows.Forms.Label();
     tb_supplierKeyword = new System.Windows.Forms.TextBox();
     dataGridView1      = new System.Windows.Forms.DataGridView();
     btn_supplierFilter = new System.Windows.Forms.Button();
     Column1            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column2            = new System.Windows.Forms.DataGridViewLinkColumn();
     Column6            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column3            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column4            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column5            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     hidden_Status      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)pb_virtualKeyBoard).BeginInit();
     ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
     SuspendLayout();
     btn_pageRight.FlatAppearance.BorderSize = 0;
     btn_pageRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_pageRight.Image     = POS_Client.Properties.Resources.right;
     btn_pageRight.Location  = new System.Drawing.Point(933, 185);
     btn_pageRight.Name      = "btn_pageRight";
     btn_pageRight.Size      = new System.Drawing.Size(48, 371);
     btn_pageRight.TabIndex  = 41;
     btn_pageRight.UseVisualStyleBackColor = true;
     btn_pageRight.Click += new System.EventHandler(btn_pageRight_Click);
     btn_pageLeft.FlatAppearance.BorderSize = 0;
     btn_pageLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_pageLeft.Image     = POS_Client.Properties.Resources.left;
     btn_pageLeft.Location  = new System.Drawing.Point(0, 185);
     btn_pageLeft.Name      = "btn_pageLeft";
     btn_pageLeft.Size      = new System.Drawing.Size(48, 378);
     btn_pageLeft.TabIndex  = 42;
     btn_pageLeft.UseVisualStyleBackColor = true;
     btn_pageLeft.Click     += new System.EventHandler(btn_pageLeft_Click);
     l_status.AutoSize       = true;
     l_status.Font           = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     l_status.Location       = new System.Drawing.Point(47, 94);
     l_status.Name           = "l_status";
     l_status.Size           = new System.Drawing.Size(41, 20);
     l_status.TabIndex       = 43;
     l_status.Text           = "狀態";
     btn_statusAll.BackColor = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusAll.FlatAppearance.BorderColor      = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusAll.FlatAppearance.CheckedBackColor = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusAll.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_statusAll.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_statusAll.ForeColor = System.Drawing.Color.White;
     btn_statusAll.Location  = new System.Drawing.Point(96, 90);
     btn_statusAll.Name      = "btn_statusAll";
     btn_statusAll.Size      = new System.Drawing.Size(69, 29);
     btn_statusAll.TabIndex  = 44;
     btn_statusAll.Text      = "全部";
     btn_statusAll.UseVisualStyleBackColor = false;
     btn_statusAll.Click       += new System.EventHandler(btn_statusAll_Click);
     btn_statusNormal.BackColor = System.Drawing.Color.White;
     btn_statusNormal.FlatAppearance.BorderColor      = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusNormal.FlatAppearance.CheckedBackColor = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusNormal.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_statusNormal.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_statusNormal.ForeColor = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusNormal.Location  = new System.Drawing.Point(173, 90);
     btn_statusNormal.Name      = "btn_statusNormal";
     btn_statusNormal.Size      = new System.Drawing.Size(69, 29);
     btn_statusNormal.TabIndex  = 45;
     btn_statusNormal.Text      = "正常";
     btn_statusNormal.UseVisualStyleBackColor = false;
     btn_statusNormal.Click    += new System.EventHandler(btn_statusNormal_Click);
     btn_statusCancel.BackColor = System.Drawing.Color.White;
     btn_statusCancel.FlatAppearance.BorderColor      = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusCancel.FlatAppearance.CheckedBackColor = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_statusCancel.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_statusCancel.ForeColor = System.Drawing.Color.FromArgb(247, 106, 45);
     btn_statusCancel.Location  = new System.Drawing.Point(250, 90);
     btn_statusCancel.Name      = "btn_statusCancel";
     btn_statusCancel.Size      = new System.Drawing.Size(69, 29);
     btn_statusCancel.TabIndex  = 46;
     btn_statusCancel.Text      = "已取消";
     btn_statusCancel.UseVisualStyleBackColor = false;
     btn_statusCancel.Click += new System.EventHandler(btn_statusSuspend_Click);
     l_memberList.AutoSize   = true;
     l_memberList.Font       = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     l_memberList.Image      = POS_Client.Properties.Resources.oblique;
     l_memberList.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     l_memberList.Location   = new System.Drawing.Point(47, 49);
     l_memberList.Name       = "l_memberList";
     l_memberList.Size       = new System.Drawing.Size(82, 24);
     l_memberList.TabIndex   = 51;
     l_memberList.Text       = "   出貨單";
     l_memberList.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     l_pageInfo.Font         = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     l_pageInfo.Location     = new System.Drawing.Point(297, 52);
     l_pageInfo.Name         = "l_pageInfo";
     l_pageInfo.Size         = new System.Drawing.Size(386, 20);
     l_pageInfo.TabIndex     = 58;
     l_pageInfo.Text         = "共{0}筆.{1}頁|目前在第1頁\r\n";
     l_pageInfo.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     btn_firstPage.BackColor = System.Drawing.Color.White;
     btn_firstPage.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(125, 156, 35);
     btn_firstPage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_firstPage.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_firstPage.Image     = POS_Client.Properties.Resources.first;
     btn_firstPage.Location  = new System.Drawing.Point(309, 588);
     btn_firstPage.Name      = "btn_firstPage";
     btn_firstPage.Size      = new System.Drawing.Size(69, 29);
     btn_firstPage.TabIndex  = 59;
     btn_firstPage.UseVisualStyleBackColor = false;
     btn_firstPage.Click       += new System.EventHandler(btn_firstPage_Click);
     btn_previousPage.BackColor = System.Drawing.Color.White;
     btn_previousPage.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(125, 156, 35);
     btn_previousPage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_previousPage.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_previousPage.Image     = POS_Client.Properties.Resources.prev;
     btn_previousPage.Location  = new System.Drawing.Point(384, 588);
     btn_previousPage.Name      = "btn_previousPage";
     btn_previousPage.Size      = new System.Drawing.Size(69, 29);
     btn_previousPage.TabIndex  = 60;
     btn_previousPage.UseVisualStyleBackColor = false;
     btn_previousPage.Click += new System.EventHandler(btn_pageLeft_Click);
     btn_nextPage.BackColor  = System.Drawing.Color.White;
     btn_nextPage.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(125, 156, 35);
     btn_nextPage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_nextPage.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_nextPage.Image     = POS_Client.Properties.Resources.next;
     btn_nextPage.Location  = new System.Drawing.Point(532, 588);
     btn_nextPage.Name      = "btn_nextPage";
     btn_nextPage.Size      = new System.Drawing.Size(69, 29);
     btn_nextPage.TabIndex  = 62;
     btn_nextPage.UseVisualStyleBackColor = false;
     btn_nextPage.Click    += new System.EventHandler(btn_pageRight_Click);
     btn_lastPage.BackColor = System.Drawing.Color.White;
     btn_lastPage.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(125, 156, 35);
     btn_lastPage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_lastPage.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_lastPage.Image     = POS_Client.Properties.Resources.last;
     btn_lastPage.Location  = new System.Drawing.Point(607, 588);
     btn_lastPage.Name      = "btn_lastPage";
     btn_lastPage.Size      = new System.Drawing.Size(69, 29);
     btn_lastPage.TabIndex  = 63;
     btn_lastPage.UseVisualStyleBackColor = false;
     btn_lastPage.Click          += new System.EventHandler(btn_lastPage_Click);
     l_pageNow.BackColor          = System.Drawing.Color.FromArgb(125, 156, 35);
     l_pageNow.FlatStyle          = System.Windows.Forms.FlatStyle.Flat;
     l_pageNow.Font               = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     l_pageNow.ForeColor          = System.Drawing.Color.White;
     l_pageNow.Location           = new System.Drawing.Point(459, 588);
     l_pageNow.Name               = "l_pageNow";
     l_pageNow.Size               = new System.Drawing.Size(67, 29);
     l_pageNow.TabIndex           = 64;
     l_pageNow.Text               = "{0}";
     l_pageNow.TextAlign          = System.Drawing.ContentAlignment.MiddleCenter;
     btn_SearchPurchase.BackColor = System.Drawing.Color.FromArgb(34, 159, 208);
     btn_SearchPurchase.FlatAppearance.BorderSize = 0;
     btn_SearchPurchase.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_SearchPurchase.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_SearchPurchase.ForeColor = System.Drawing.Color.White;
     btn_SearchPurchase.Location  = new System.Drawing.Point(813, 47);
     btn_SearchPurchase.Name      = "btn_SearchPurchase";
     btn_SearchPurchase.Size      = new System.Drawing.Size(102, 30);
     btn_SearchPurchase.TabIndex  = 57;
     btn_SearchPurchase.Text      = "出貨單查詢";
     btn_SearchPurchase.UseVisualStyleBackColor = false;
     btn_SearchPurchase.Click    += new System.EventHandler(btn_SearchPurchase_Click);
     btn_CreatePurchase.BackColor = System.Drawing.Color.FromArgb(34, 159, 208);
     btn_CreatePurchase.FlatAppearance.BorderSize = 0;
     btn_CreatePurchase.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_CreatePurchase.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_CreatePurchase.ForeColor = System.Drawing.Color.White;
     btn_CreatePurchase.Location  = new System.Drawing.Point(697, 47);
     btn_CreatePurchase.Name      = "btn_CreatePurchase";
     btn_CreatePurchase.Size      = new System.Drawing.Size(102, 30);
     btn_CreatePurchase.TabIndex  = 57;
     btn_CreatePurchase.Text      = "新建出貨單";
     btn_CreatePurchase.UseVisualStyleBackColor = false;
     btn_CreatePurchase.Click += new System.EventHandler(btn_createCommodity_Click);
     label1.AutoSize           = true;
     label1.Font                                 = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     label1.Location                             = new System.Drawing.Point(357, 94);
     label1.Name                                 = "label1";
     label1.Size                                 = new System.Drawing.Size(73, 20);
     label1.TabIndex                             = 43;
     label1.Text                                 = "廠商篩選";
     tb_supplierKeyword.Font                     = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     tb_supplierKeyword.Location                 = new System.Drawing.Point(433, 90);
     tb_supplierKeyword.Name                     = "tb_supplierKeyword";
     tb_supplierKeyword.Size                     = new System.Drawing.Size(209, 29);
     tb_supplierKeyword.TabIndex                 = 66;
     tb_supplierKeyword.Text                     = "請輸入名稱或統一編號";
     tb_supplierKeyword.Enter                   += new System.EventHandler(tb_supplierKeyword_Enter);
     tb_supplierKeyword.KeyDown                 += new System.Windows.Forms.KeyEventHandler(tb_supplierKeyword_KeyDown);
     tb_supplierKeyword.Leave                   += new System.EventHandler(tb_supplierKeyword_Leave);
     dataGridView1.AllowUserToAddRows            = false;
     dataGridView1.AllowUserToDeleteRows         = false;
     dataGridView1.AllowUserToResizeColumns      = false;
     dataGridView1.AllowUserToResizeRows         = false;
     dataGridView1.BackgroundColor               = System.Drawing.Color.White;
     dataGridView1.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
     dataGridView1.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle.BackColor             = System.Drawing.Color.FromArgb(102, 102, 102);
     dataGridViewCellStyle.Font                  = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle.ForeColor             = System.Drawing.Color.White;
     dataGridViewCellStyle.Padding               = new System.Windows.Forms.Padding(6);
     dataGridViewCellStyle.SelectionBackColor    = System.Drawing.Color.FromArgb(102, 102, 102);
     dataGridViewCellStyle.SelectionForeColor    = System.Drawing.Color.White;
     dataGridViewCellStyle.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle;
     dataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView1.Columns.AddRange(Column1, Column2, Column6, Column3, Column4, Column5, hidden_Status);
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("新細明體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle2.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.White;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     dataGridView1.DefaultCellStyle            = dataGridViewCellStyle2;
     dataGridView1.EnableHeadersVisualStyles   = false;
     dataGridView1.Location                     = new System.Drawing.Point(54, 141);
     dataGridView1.Margin                       = new System.Windows.Forms.Padding(0);
     dataGridView1.Name                         = "dataGridView1";
     dataGridView1.ReadOnly                     = true;
     dataGridViewCellStyle3.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle3.BackColor           = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font                = new System.Drawing.Font("新細明體", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     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;
     dataGridView1.RowHeadersDefaultCellStyle   = dataGridViewCellStyle3;
     dataGridView1.RowHeadersVisible            = false;
     dataGridView1.RowTemplate.Height           = 40;
     dataGridView1.Size                         = new System.Drawing.Size(866, 422);
     dataGridView1.TabIndex                     = 71;
     dataGridView1.CellContentClick            += new System.Windows.Forms.DataGridViewCellEventHandler(dataGridView1_CellContentClick);
     btn_supplierFilter.BackColor               = System.Drawing.Color.FromArgb(125, 156, 35);
     btn_supplierFilter.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     btn_supplierFilter.Font                    = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_supplierFilter.ForeColor               = System.Drawing.Color.White;
     btn_supplierFilter.Location                = new System.Drawing.Point(648, 90);
     btn_supplierFilter.Name                    = "btn_supplierFilter";
     btn_supplierFilter.Size                    = new System.Drawing.Size(48, 29);
     btn_supplierFilter.TabIndex                = 72;
     btn_supplierFilter.Text                    = "GO";
     btn_supplierFilter.UseVisualStyleBackColor = false;
     btn_supplierFilter.Click                  += new System.EventHandler(btn_supplierFilter_Click);
     Column1.AutoSizeMode                       = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle4.Font                = new System.Drawing.Font("微軟正黑體", 13f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle4.SelectionBackColor  = System.Drawing.Color.White;
     dataGridViewCellStyle4.SelectionForeColor  = System.Drawing.Color.Black;
     Column1.DefaultCellStyle                   = dataGridViewCellStyle4;
     Column1.FillWeight                         = 100.7162f;
     Column1.HeaderText                         = "出貨日期";
     Column1.Name                              = "Column1";
     Column1.ReadOnly                          = true;
     Column1.SortMode                          = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column2.AutoSizeMode                      = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle5.Font               = new System.Drawing.Font("微軟正黑體", 13f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle5.ForeColor          = System.Drawing.Color.Blue;
     dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.White;
     dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.Blue;
     Column2.DefaultCellStyle                  = dataGridViewCellStyle5;
     Column2.FillWeight                        = 100.7162f;
     Column2.HeaderText                        = "系統單號";
     Column2.Name                              = "Column2";
     Column2.ReadOnly                          = true;
     Column2.Resizable                         = System.Windows.Forms.DataGridViewTriState.True;
     Column6.HeaderText                        = "出貨單號";
     Column6.Name                              = "Column6";
     Column6.ReadOnly                          = true;
     Column6.Width                             = 120;
     Column3.AutoSizeMode                      = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle6.Font               = new System.Drawing.Font("微軟正黑體", 13f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.White;
     dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.Black;
     Column3.DefaultCellStyle                  = dataGridViewCellStyle6;
     Column3.FillWeight                        = 201.4324f;
     Column3.HeaderText                        = "廠商 / 客戶";
     Column3.Name                              = "Column3";
     Column3.ReadOnly                          = true;
     Column3.SortMode                          = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column4.AutoSizeMode                      = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle7.Font               = new System.Drawing.Font("微軟正黑體", 13f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.White;
     dataGridViewCellStyle7.SelectionForeColor = System.Drawing.Color.Black;
     Column4.DefaultCellStyle                  = dataGridViewCellStyle7;
     Column4.FillWeight                        = 83.22656f;
     Column4.HeaderText                        = "單據總價";
     Column4.Name                              = "Column4";
     Column4.ReadOnly                          = true;
     Column4.SortMode                          = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column5.AutoSizeMode                      = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle8.Font               = new System.Drawing.Font("微軟正黑體", 13f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.White;
     dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.Black;
     Column5.DefaultCellStyle                  = dataGridViewCellStyle8;
     Column5.FillWeight                        = 73.90863f;
     Column5.HeaderText                        = "狀態";
     Column5.Name                              = "Column5";
     Column5.ReadOnly                          = true;
     Column5.SortMode                          = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     hidden_Status.HeaderText                  = "(隱藏_訂單狀態)";
     hidden_Status.Name                        = "hidden_Status";
     hidden_Status.ReadOnly                    = true;
     hidden_Status.Visible                     = false;
     base.AutoScaleDimensions                  = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode                        = System.Windows.Forms.AutoScaleMode.Font;
     base.ClientSize                           = new System.Drawing.Size(981, 661);
     base.Controls.Add(btn_supplierFilter);
     base.Controls.Add(dataGridView1);
     base.Controls.Add(tb_supplierKeyword);
     base.Controls.Add(btn_CreatePurchase);
     base.Controls.Add(btn_SearchPurchase);
     base.Controls.Add(l_pageNow);
     base.Controls.Add(btn_lastPage);
     base.Controls.Add(btn_nextPage);
     base.Controls.Add(btn_previousPage);
     base.Controls.Add(btn_firstPage);
     base.Controls.Add(l_pageInfo);
     base.Controls.Add(l_memberList);
     base.Controls.Add(btn_statusCancel);
     base.Controls.Add(btn_statusNormal);
     base.Controls.Add(btn_statusAll);
     base.Controls.Add(label1);
     base.Controls.Add(l_status);
     base.Controls.Add(btn_pageLeft);
     base.Controls.Add(btn_pageRight);
     base.Name          = "frmDeliveryMangement";
     base.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     Text       = "農委會防檢局POS系統";
     base.Load += new System.EventHandler(frmInventoryMangement_Load);
     base.Controls.SetChildIndex(btn_pageRight, 0);
     base.Controls.SetChildIndex(btn_pageLeft, 0);
     base.Controls.SetChildIndex(l_status, 0);
     base.Controls.SetChildIndex(label1, 0);
     base.Controls.SetChildIndex(btn_statusAll, 0);
     base.Controls.SetChildIndex(btn_statusNormal, 0);
     base.Controls.SetChildIndex(btn_statusCancel, 0);
     base.Controls.SetChildIndex(l_memberList, 0);
     base.Controls.SetChildIndex(l_pageInfo, 0);
     base.Controls.SetChildIndex(btn_firstPage, 0);
     base.Controls.SetChildIndex(btn_previousPage, 0);
     base.Controls.SetChildIndex(btn_nextPage, 0);
     base.Controls.SetChildIndex(btn_lastPage, 0);
     base.Controls.SetChildIndex(l_pageNow, 0);
     base.Controls.SetChildIndex(btn_SearchPurchase, 0);
     base.Controls.SetChildIndex(btn_CreatePurchase, 0);
     base.Controls.SetChildIndex(tb_supplierKeyword, 0);
     base.Controls.SetChildIndex(dataGridView1, 0);
     base.Controls.SetChildIndex(pb_virtualKeyBoard, 0);
     base.Controls.SetChildIndex(btn_supplierFilter, 0);
     ((System.ComponentModel.ISupportInitialize)pb_virtualKeyBoard).EndInit();
     ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
     ResumeLayout(false);
     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.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();
     this.btnSave            = new MetroFramework.Controls.MetroButton();
     this.pnlDatos           = new MetroFramework.Controls.MetroPanel();
     this.btnSearch          = new MetroFramework.Controls.MetroButton();
     this.lblDepartment      = new MetroFramework.Controls.MetroLabel();
     this.txtDepartment      = new MetroFramework.Controls.MetroTextBox();
     this.lblEmail           = new MetroFramework.Controls.MetroLabel();
     this.txtEmail           = new MetroFramework.Controls.MetroTextBox();
     this.lblCellPhoneNumber = new MetroFramework.Controls.MetroLabel();
     this.txtCellPhoneNumber = new MetroFramework.Controls.MetroTextBox();
     this.lblPhoneNumber     = new MetroFramework.Controls.MetroLabel();
     this.txtPhoneNumber     = new MetroFramework.Controls.MetroTextBox();
     this.lblLastName        = new MetroFramework.Controls.MetroLabel();
     this.txtLastName        = new MetroFramework.Controls.MetroTextBox();
     this.lblFirstName       = new MetroFramework.Controls.MetroLabel();
     this.txtFirstName       = new MetroFramework.Controls.MetroTextBox();
     this.lblId          = new MetroFramework.Controls.MetroLabel();
     this.pctPhoto       = new System.Windows.Forms.PictureBox();
     this.txtId          = new MetroFramework.Controls.MetroTextBox();
     this.btnCancel      = new MetroFramework.Controls.MetroButton();
     this.btnAdd         = new MetroFramework.Controls.MetroButton();
     this.btnDelete      = new MetroFramework.Controls.MetroButton();
     this.btnEdit        = new MetroFramework.Controls.MetroButton();
     this.bindingSource2 = new System.Windows.Forms.BindingSource(this.components);
     this.metroGrid1     = new MetroFramework.Controls.MetroGrid();
     this.pnlDatos.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pctPhoto)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.metroGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // btnSave
     //
     this.btnSave.Location      = new System.Drawing.Point(564, 670);
     this.btnSave.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.btnSave.Name          = "btnSave";
     this.btnSave.Size          = new System.Drawing.Size(76, 23);
     this.btnSave.TabIndex      = 25;
     this.btnSave.Text          = "Save";
     this.btnSave.UseSelectable = true;
     this.btnSave.Click        += new System.EventHandler(this.btnSave_Click);
     //
     // pnlDatos
     //
     this.pnlDatos.Controls.Add(this.btnSearch);
     this.pnlDatos.Controls.Add(this.lblDepartment);
     this.pnlDatos.Controls.Add(this.txtDepartment);
     this.pnlDatos.Controls.Add(this.lblEmail);
     this.pnlDatos.Controls.Add(this.txtEmail);
     this.pnlDatos.Controls.Add(this.lblCellPhoneNumber);
     this.pnlDatos.Controls.Add(this.txtCellPhoneNumber);
     this.pnlDatos.Controls.Add(this.lblPhoneNumber);
     this.pnlDatos.Controls.Add(this.txtPhoneNumber);
     this.pnlDatos.Controls.Add(this.lblLastName);
     this.pnlDatos.Controls.Add(this.txtLastName);
     this.pnlDatos.Controls.Add(this.lblFirstName);
     this.pnlDatos.Controls.Add(this.txtFirstName);
     this.pnlDatos.Controls.Add(this.lblId);
     this.pnlDatos.Controls.Add(this.pctPhoto);
     this.pnlDatos.Controls.Add(this.txtId);
     this.pnlDatos.HorizontalScrollbarBarColor         = true;
     this.pnlDatos.HorizontalScrollbarHighlightOnWheel = false;
     this.pnlDatos.HorizontalScrollbarSize             = 10;
     this.pnlDatos.Location = new System.Drawing.Point(195, 354);
     this.pnlDatos.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.pnlDatos.Name     = "pnlDatos";
     this.pnlDatos.Size     = new System.Drawing.Size(491, 310);
     this.pnlDatos.TabIndex = 24;
     this.pnlDatos.VerticalScrollbarBarColor         = true;
     this.pnlDatos.VerticalScrollbarHighlightOnWheel = false;
     this.pnlDatos.VerticalScrollbarSize             = 11;
     //
     // btnSearch
     //
     this.btnSearch.Location      = new System.Drawing.Point(19, 166);
     this.btnSearch.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.btnSearch.Name          = "btnSearch";
     this.btnSearch.Size          = new System.Drawing.Size(121, 23);
     this.btnSearch.TabIndex      = 17;
     this.btnSearch.Text          = "Search";
     this.btnSearch.UseSelectable = true;
     this.btnSearch.Click        += new System.EventHandler(this.btnSearch_Click);
     //
     // lblDepartment
     //
     this.lblDepartment.AutoSize = true;
     this.lblDepartment.Location = new System.Drawing.Point(147, 190);
     this.lblDepartment.Name     = "lblDepartment";
     this.lblDepartment.Size     = new System.Drawing.Size(87, 20);
     this.lblDepartment.TabIndex = 16;
     this.lblDepartment.Text     = "Department:";
     //
     // txtDepartment
     //
     //
     //
     //
     this.txtDepartment.CustomButton.Image         = null;
     this.txtDepartment.CustomButton.Location      = new System.Drawing.Point(170, 1);
     this.txtDepartment.CustomButton.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtDepartment.CustomButton.Name          = "";
     this.txtDepartment.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtDepartment.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtDepartment.CustomButton.TabIndex      = 1;
     this.txtDepartment.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtDepartment.CustomButton.UseSelectable = true;
     this.txtDepartment.CustomButton.Visible       = false;
     this.txtDepartment.Lines            = new string[0];
     this.txtDepartment.Location         = new System.Drawing.Point(285, 190);
     this.txtDepartment.Margin           = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtDepartment.MaxLength        = 32767;
     this.txtDepartment.Name             = "txtDepartment";
     this.txtDepartment.PasswordChar     = '\0';
     this.txtDepartment.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtDepartment.SelectedText     = "";
     this.txtDepartment.SelectionLength  = 0;
     this.txtDepartment.SelectionStart   = 0;
     this.txtDepartment.ShortcutsEnabled = true;
     this.txtDepartment.Size             = new System.Drawing.Size(192, 23);
     this.txtDepartment.TabIndex         = 15;
     this.txtDepartment.UseSelectable    = true;
     this.txtDepartment.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtDepartment.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // lblEmail
     //
     this.lblEmail.AutoSize = true;
     this.lblEmail.Location = new System.Drawing.Point(147, 161);
     this.lblEmail.Name     = "lblEmail";
     this.lblEmail.Size     = new System.Drawing.Size(45, 20);
     this.lblEmail.TabIndex = 14;
     this.lblEmail.Text     = "Email:";
     //
     // txtEmail
     //
     //
     //
     //
     this.txtEmail.CustomButton.Image         = null;
     this.txtEmail.CustomButton.Location      = new System.Drawing.Point(170, 1);
     this.txtEmail.CustomButton.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtEmail.CustomButton.Name          = "";
     this.txtEmail.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtEmail.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtEmail.CustomButton.TabIndex      = 1;
     this.txtEmail.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtEmail.CustomButton.UseSelectable = true;
     this.txtEmail.CustomButton.Visible       = false;
     this.txtEmail.Lines            = new string[0];
     this.txtEmail.Location         = new System.Drawing.Point(285, 161);
     this.txtEmail.Margin           = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtEmail.MaxLength        = 32767;
     this.txtEmail.Name             = "txtEmail";
     this.txtEmail.PasswordChar     = '\0';
     this.txtEmail.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtEmail.SelectedText     = "";
     this.txtEmail.SelectionLength  = 0;
     this.txtEmail.SelectionStart   = 0;
     this.txtEmail.ShortcutsEnabled = true;
     this.txtEmail.Size             = new System.Drawing.Size(192, 23);
     this.txtEmail.TabIndex         = 13;
     this.txtEmail.UseSelectable    = true;
     this.txtEmail.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtEmail.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // lblCellPhoneNumber
     //
     this.lblCellPhoneNumber.AutoSize = true;
     this.lblCellPhoneNumber.Location = new System.Drawing.Point(147, 132);
     this.lblCellPhoneNumber.Name     = "lblCellPhoneNumber";
     this.lblCellPhoneNumber.Size     = new System.Drawing.Size(136, 20);
     this.lblCellPhoneNumber.TabIndex = 12;
     this.lblCellPhoneNumber.Text     = "Cell Phone Number:";
     //
     // txtCellPhoneNumber
     //
     //
     //
     //
     this.txtCellPhoneNumber.CustomButton.Image         = null;
     this.txtCellPhoneNumber.CustomButton.Location      = new System.Drawing.Point(170, 1);
     this.txtCellPhoneNumber.CustomButton.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtCellPhoneNumber.CustomButton.Name          = "";
     this.txtCellPhoneNumber.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtCellPhoneNumber.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtCellPhoneNumber.CustomButton.TabIndex      = 1;
     this.txtCellPhoneNumber.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtCellPhoneNumber.CustomButton.UseSelectable = true;
     this.txtCellPhoneNumber.CustomButton.Visible       = false;
     this.txtCellPhoneNumber.Lines            = new string[0];
     this.txtCellPhoneNumber.Location         = new System.Drawing.Point(285, 132);
     this.txtCellPhoneNumber.Margin           = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtCellPhoneNumber.MaxLength        = 32767;
     this.txtCellPhoneNumber.Name             = "txtCellPhoneNumber";
     this.txtCellPhoneNumber.PasswordChar     = '\0';
     this.txtCellPhoneNumber.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtCellPhoneNumber.SelectedText     = "";
     this.txtCellPhoneNumber.SelectionLength  = 0;
     this.txtCellPhoneNumber.SelectionStart   = 0;
     this.txtCellPhoneNumber.ShortcutsEnabled = true;
     this.txtCellPhoneNumber.Size             = new System.Drawing.Size(192, 23);
     this.txtCellPhoneNumber.TabIndex         = 11;
     this.txtCellPhoneNumber.UseSelectable    = true;
     this.txtCellPhoneNumber.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtCellPhoneNumber.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // lblPhoneNumber
     //
     this.lblPhoneNumber.AutoSize = true;
     this.lblPhoneNumber.Location = new System.Drawing.Point(147, 103);
     this.lblPhoneNumber.Name     = "lblPhoneNumber";
     this.lblPhoneNumber.Size     = new System.Drawing.Size(109, 20);
     this.lblPhoneNumber.TabIndex = 10;
     this.lblPhoneNumber.Text     = "Phone Number:";
     //
     // txtPhoneNumber
     //
     //
     //
     //
     this.txtPhoneNumber.CustomButton.Image         = null;
     this.txtPhoneNumber.CustomButton.Location      = new System.Drawing.Point(170, 1);
     this.txtPhoneNumber.CustomButton.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtPhoneNumber.CustomButton.Name          = "";
     this.txtPhoneNumber.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtPhoneNumber.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtPhoneNumber.CustomButton.TabIndex      = 1;
     this.txtPhoneNumber.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtPhoneNumber.CustomButton.UseSelectable = true;
     this.txtPhoneNumber.CustomButton.Visible       = false;
     this.txtPhoneNumber.Lines            = new string[0];
     this.txtPhoneNumber.Location         = new System.Drawing.Point(285, 103);
     this.txtPhoneNumber.Margin           = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtPhoneNumber.MaxLength        = 32767;
     this.txtPhoneNumber.Name             = "txtPhoneNumber";
     this.txtPhoneNumber.PasswordChar     = '\0';
     this.txtPhoneNumber.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtPhoneNumber.SelectedText     = "";
     this.txtPhoneNumber.SelectionLength  = 0;
     this.txtPhoneNumber.SelectionStart   = 0;
     this.txtPhoneNumber.ShortcutsEnabled = true;
     this.txtPhoneNumber.Size             = new System.Drawing.Size(192, 23);
     this.txtPhoneNumber.TabIndex         = 9;
     this.txtPhoneNumber.UseSelectable    = true;
     this.txtPhoneNumber.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtPhoneNumber.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // lblLastName
     //
     this.lblLastName.AutoSize = true;
     this.lblLastName.Location = new System.Drawing.Point(147, 74);
     this.lblLastName.Name     = "lblLastName";
     this.lblLastName.Size     = new System.Drawing.Size(75, 20);
     this.lblLastName.TabIndex = 8;
     this.lblLastName.Text     = "Last Name";
     //
     // txtLastName
     //
     //
     //
     //
     this.txtLastName.CustomButton.Image         = null;
     this.txtLastName.CustomButton.Location      = new System.Drawing.Point(170, 1);
     this.txtLastName.CustomButton.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtLastName.CustomButton.Name          = "";
     this.txtLastName.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtLastName.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtLastName.CustomButton.TabIndex      = 1;
     this.txtLastName.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtLastName.CustomButton.UseSelectable = true;
     this.txtLastName.CustomButton.Visible       = false;
     this.txtLastName.Lines            = new string[0];
     this.txtLastName.Location         = new System.Drawing.Point(285, 74);
     this.txtLastName.Margin           = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtLastName.MaxLength        = 32767;
     this.txtLastName.Name             = "txtLastName";
     this.txtLastName.PasswordChar     = '\0';
     this.txtLastName.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtLastName.SelectedText     = "";
     this.txtLastName.SelectionLength  = 0;
     this.txtLastName.SelectionStart   = 0;
     this.txtLastName.ShortcutsEnabled = true;
     this.txtLastName.Size             = new System.Drawing.Size(192, 23);
     this.txtLastName.TabIndex         = 7;
     this.txtLastName.UseSelectable    = true;
     this.txtLastName.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtLastName.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // lblFirstName
     //
     this.lblFirstName.AutoSize = true;
     this.lblFirstName.Location = new System.Drawing.Point(147, 46);
     this.lblFirstName.Name     = "lblFirstName";
     this.lblFirstName.Size     = new System.Drawing.Size(79, 20);
     this.lblFirstName.TabIndex = 6;
     this.lblFirstName.Text     = "First Name:";
     //
     // txtFirstName
     //
     //
     //
     //
     this.txtFirstName.CustomButton.Image         = null;
     this.txtFirstName.CustomButton.Location      = new System.Drawing.Point(170, 1);
     this.txtFirstName.CustomButton.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtFirstName.CustomButton.Name          = "";
     this.txtFirstName.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtFirstName.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtFirstName.CustomButton.TabIndex      = 1;
     this.txtFirstName.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtFirstName.CustomButton.UseSelectable = true;
     this.txtFirstName.CustomButton.Visible       = false;
     this.txtFirstName.Lines            = new string[0];
     this.txtFirstName.Location         = new System.Drawing.Point(285, 46);
     this.txtFirstName.Margin           = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtFirstName.MaxLength        = 32767;
     this.txtFirstName.Name             = "txtFirstName";
     this.txtFirstName.PasswordChar     = '\0';
     this.txtFirstName.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtFirstName.SelectedText     = "";
     this.txtFirstName.SelectionLength  = 0;
     this.txtFirstName.SelectionStart   = 0;
     this.txtFirstName.ShortcutsEnabled = true;
     this.txtFirstName.Size             = new System.Drawing.Size(192, 23);
     this.txtFirstName.TabIndex         = 5;
     this.txtFirstName.UseSelectable    = true;
     this.txtFirstName.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtFirstName.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // lblId
     //
     this.lblId.AutoSize = true;
     this.lblId.Location = new System.Drawing.Point(147, 16);
     this.lblId.Name     = "lblId";
     this.lblId.Size     = new System.Drawing.Size(23, 20);
     this.lblId.TabIndex = 4;
     this.lblId.Text     = "Id:";
     //
     // pctPhoto
     //
     this.pctPhoto.Location = new System.Drawing.Point(19, 16);
     this.pctPhoto.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.pctPhoto.Name     = "pctPhoto";
     this.pctPhoto.Size     = new System.Drawing.Size(121, 144);
     this.pctPhoto.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pctPhoto.TabIndex = 2;
     this.pctPhoto.TabStop  = false;
     this.pctPhoto.Click   += new System.EventHandler(this.pctPhoto_Click);
     //
     // txtId
     //
     //
     //
     //
     this.txtId.CustomButton.Image         = null;
     this.txtId.CustomButton.Location      = new System.Drawing.Point(170, 1);
     this.txtId.CustomButton.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtId.CustomButton.Name          = "";
     this.txtId.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtId.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtId.CustomButton.TabIndex      = 1;
     this.txtId.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtId.CustomButton.UseSelectable = true;
     this.txtId.CustomButton.Visible       = false;
     this.txtId.Lines            = new string[0];
     this.txtId.Location         = new System.Drawing.Point(285, 16);
     this.txtId.Margin           = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.txtId.MaxLength        = 32767;
     this.txtId.Name             = "txtId";
     this.txtId.PasswordChar     = '\0';
     this.txtId.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtId.SelectedText     = "";
     this.txtId.SelectionLength  = 0;
     this.txtId.SelectionStart   = 0;
     this.txtId.ShortcutsEnabled = true;
     this.txtId.Size             = new System.Drawing.Size(192, 23);
     this.txtId.TabIndex         = 0;
     this.txtId.UseSelectable    = true;
     this.txtId.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtId.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // btnCancel
     //
     this.btnCancel.Location      = new System.Drawing.Point(483, 670);
     this.btnCancel.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.btnCancel.Name          = "btnCancel";
     this.btnCancel.Size          = new System.Drawing.Size(76, 23);
     this.btnCancel.TabIndex      = 26;
     this.btnCancel.Text          = "Cancel";
     this.btnCancel.UseSelectable = true;
     this.btnCancel.Click        += new System.EventHandler(this.btnCancel_Click);
     //
     // btnAdd
     //
     this.btnAdd.Location      = new System.Drawing.Point(232, 670);
     this.btnAdd.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.btnAdd.Name          = "btnAdd";
     this.btnAdd.Size          = new System.Drawing.Size(76, 23);
     this.btnAdd.TabIndex      = 29;
     this.btnAdd.Text          = "Add";
     this.btnAdd.UseSelectable = true;
     this.btnAdd.Click        += new System.EventHandler(this.btnAdd_Click);
     //
     // btnDelete
     //
     this.btnDelete.Location      = new System.Drawing.Point(400, 670);
     this.btnDelete.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.btnDelete.Name          = "btnDelete";
     this.btnDelete.Size          = new System.Drawing.Size(76, 23);
     this.btnDelete.TabIndex      = 27;
     this.btnDelete.Text          = "Delete";
     this.btnDelete.UseSelectable = true;
     this.btnDelete.Click        += new System.EventHandler(this.btnDelete_Click);
     //
     // btnEdit
     //
     this.btnEdit.Location      = new System.Drawing.Point(315, 670);
     this.btnEdit.Margin        = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.btnEdit.Name          = "btnEdit";
     this.btnEdit.Size          = new System.Drawing.Size(76, 23);
     this.btnEdit.TabIndex      = 28;
     this.btnEdit.Text          = "Edit";
     this.btnEdit.UseSelectable = true;
     this.btnEdit.Click        += new System.EventHandler(this.btnEdit_Click);
     //
     // metroGrid1
     //
     this.metroGrid1.AllowUserToResizeRows         = false;
     this.metroGrid1.AutoGenerateColumns           = false;
     this.metroGrid1.BackgroundColor               = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.metroGrid1.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     this.metroGrid1.CellBorderStyle               = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.metroGrid1.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle1.Alignment              = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219)))));
     dataGridViewCellStyle1.Font                   = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle1.ForeColor              = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     dataGridViewCellStyle1.SelectionBackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
     dataGridViewCellStyle1.SelectionForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
     dataGridViewCellStyle1.WrapMode               = System.Windows.Forms.DataGridViewTriState.True;
     this.metroGrid1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.metroGrid1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.metroGrid1.DataSource                = this.bindingSource2;
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle2.ForeColor          = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(136)))), ((int)(((byte)(136)))));
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.metroGrid1.DefaultCellStyle          = dataGridViewCellStyle2;
     this.metroGrid1.EnableHeadersVisualStyles = false;
     this.metroGrid1.Font                       = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.metroGrid1.GridColor                  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.metroGrid1.Location                   = new System.Drawing.Point(43, 91);
     this.metroGrid1.Name                       = "metroGrid1";
     this.metroGrid1.RowHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle3.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219)))));
     dataGridViewCellStyle3.Font                = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle3.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     dataGridViewCellStyle3.SelectionBackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
     dataGridViewCellStyle3.SelectionForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
     dataGridViewCellStyle3.WrapMode            = System.Windows.Forms.DataGridViewTriState.True;
     this.metroGrid1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.metroGrid1.RowHeadersWidth            = 51;
     this.metroGrid1.RowHeadersWidthSizeMode    = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.metroGrid1.RowTemplate.Height         = 24;
     this.metroGrid1.SelectionMode              = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.metroGrid1.Size                       = new System.Drawing.Size(802, 236);
     this.metroGrid1.TabIndex                   = 30;
     //
     // FrmAdviser
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(893, 701);
     this.Controls.Add(this.metroGrid1);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.pnlDatos);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.btnEdit);
     this.Margin  = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.Name    = "FrmAdviser";
     this.Padding = new System.Windows.Forms.Padding(20, 74, 20, 20);
     this.Text    = "FrmAdviser";
     this.Load   += new System.EventHandler(this.FrmAdviser_Load);
     this.pnlDatos.ResumeLayout(false);
     this.pnlDatos.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pctPhoto)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.metroGrid1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 40
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.DataGridViewCellStyle     dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle9 = 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.DataGridViewCellStyle     dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BackupperForm));
     this.statusStrip = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel_FilesToBackupLabel = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_FilesToBackup      = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel5 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel6 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_FilesInBackup = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel1             = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel4             = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_SizeToBackup = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel3             = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel2             = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_BackupSize   = new System.Windows.Forms.ToolStripStatusLabel();
     this.menuStrip                            = new System.Windows.Forms.MenuStrip();
     this.fileToolStripMenuItem                = new System.Windows.Forms.ToolStripMenuItem();
     this.closeToolStripMenuItem               = new System.Windows.Forms.ToolStripMenuItem();
     this.exitToolStripMenuItem                = new System.Windows.Forms.ToolStripMenuItem();
     this.acctionsToolStripMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.addFolderToolStripMenuItem1          = new System.Windows.Forms.ToolStripMenuItem();
     this.removeRestoreFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.backupNowToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.optionsToolStripMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
     this.settingsToolStripMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.helpToolStripMenuItem                = new System.Windows.Forms.ToolStripMenuItem();
     this.aboutToolStripMenuItem               = new System.Windows.Forms.ToolStripMenuItem();
     this.addFolderToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.removeFolderToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.dataGridView                         = new System.Windows.Forms.DataGridView();
     this.Folder                = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NumOfSubs             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NumSubFoldersInBackup = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NumOfFiles            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NumFilesInBackup      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.SizeMb                = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.SizeInMbInBackup      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.IsDeleted             = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.contextMenuStripGrid  = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStrip1            = new System.Windows.Forms.ToolStrip();
     this.toolStripButtonAdd    = new System.Windows.Forms.ToolStripButton();
     this.toolStripButtonRemove = new System.Windows.Forms.ToolStripButton();
     this.panelGrid             = new System.Windows.Forms.Panel();
     this.statusStrip.SuspendLayout();
     this.menuStrip.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
     this.contextMenuStripGrid.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.panelGrid.SuspendLayout();
     this.SuspendLayout();
     //
     // statusStrip
     //
     this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripStatusLabel_FilesToBackupLabel,
         this.toolStripStatusLabel_FilesToBackup,
         this.toolStripStatusLabel5,
         this.toolStripStatusLabel6,
         this.toolStripStatusLabel_FilesInBackup,
         this.toolStripStatusLabel1,
         this.toolStripStatusLabel4,
         this.toolStripStatusLabel_SizeToBackup,
         this.toolStripStatusLabel3,
         this.toolStripStatusLabel2,
         this.toolStripStatusLabel_BackupSize
     });
     this.statusStrip.Location = new System.Drawing.Point(0, 362);
     this.statusStrip.Name     = "statusStrip";
     this.statusStrip.Size     = new System.Drawing.Size(1427, 25);
     this.statusStrip.TabIndex = 1;
     this.statusStrip.Text     = "statusStrip1";
     //
     // toolStripStatusLabel_FilesToBackupLabel
     //
     this.toolStripStatusLabel_FilesToBackupLabel.Name = "toolStripStatusLabel_FilesToBackupLabel";
     this.toolStripStatusLabel_FilesToBackupLabel.Size = new System.Drawing.Size(111, 20);
     this.toolStripStatusLabel_FilesToBackupLabel.Text = "Files to Backup:";
     //
     // toolStripStatusLabel_FilesToBackup
     //
     this.toolStripStatusLabel_FilesToBackup.Name = "toolStripStatusLabel_FilesToBackup";
     this.toolStripStatusLabel_FilesToBackup.Size = new System.Drawing.Size(57, 20);
     this.toolStripStatusLabel_FilesToBackup.Text = "111111";
     //
     // toolStripStatusLabel5
     //
     this.toolStripStatusLabel5.Name = "toolStripStatusLabel5";
     this.toolStripStatusLabel5.Size = new System.Drawing.Size(37, 20);
     this.toolStripStatusLabel5.Text = "   |   ";
     //
     // toolStripStatusLabel6
     //
     this.toolStripStatusLabel6.Name = "toolStripStatusLabel6";
     this.toolStripStatusLabel6.Size = new System.Drawing.Size(109, 20);
     this.toolStripStatusLabel6.Text = "Files in Backup:";
     //
     // toolStripStatusLabel_FilesInBackup
     //
     this.toolStripStatusLabel_FilesInBackup.Name = "toolStripStatusLabel_FilesInBackup";
     this.toolStripStatusLabel_FilesInBackup.Size = new System.Drawing.Size(57, 20);
     this.toolStripStatusLabel_FilesInBackup.Text = "111111";
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new System.Drawing.Size(37, 20);
     this.toolStripStatusLabel1.Text = "   |   ";
     //
     // toolStripStatusLabel4
     //
     this.toolStripStatusLabel4.Name = "toolStripStatusLabel4";
     this.toolStripStatusLabel4.Size = new System.Drawing.Size(138, 20);
     this.toolStripStatusLabel4.Text = "Size to Backup(Gb):";
     //
     // toolStripStatusLabel_SizeToBackup
     //
     this.toolStripStatusLabel_SizeToBackup.Name = "toolStripStatusLabel_SizeToBackup";
     this.toolStripStatusLabel_SizeToBackup.Size = new System.Drawing.Size(73, 20);
     this.toolStripStatusLabel_SizeToBackup.Text = "33333333";
     //
     // toolStripStatusLabel3
     //
     this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
     this.toolStripStatusLabel3.Size = new System.Drawing.Size(37, 20);
     this.toolStripStatusLabel3.Text = "   |   ";
     //
     // toolStripStatusLabel2
     //
     this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
     this.toolStripStatusLabel2.Size = new System.Drawing.Size(120, 20);
     this.toolStripStatusLabel2.Text = "Backup Size(Gb):";
     //
     // toolStripStatusLabel_BackupSize
     //
     this.toolStripStatusLabel_BackupSize.Name = "toolStripStatusLabel_BackupSize";
     this.toolStripStatusLabel_BackupSize.Size = new System.Drawing.Size(73, 20);
     this.toolStripStatusLabel_BackupSize.Text = "33333333";
     //
     // menuStrip
     //
     this.menuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.fileToolStripMenuItem,
         this.acctionsToolStripMenuItem,
         this.optionsToolStripMenuItem,
         this.helpToolStripMenuItem
     });
     this.menuStrip.Location = new System.Drawing.Point(0, 0);
     this.menuStrip.Name     = "menuStrip";
     this.menuStrip.Size     = new System.Drawing.Size(1427, 28);
     this.menuStrip.TabIndex = 2;
     this.menuStrip.Text     = "menuStrip1";
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.closeToolStripMenuItem,
         this.exitToolStripMenuItem
     });
     this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
     this.fileToolStripMenuItem.Size = new System.Drawing.Size(44, 24);
     this.fileToolStripMenuItem.Text = "File";
     //
     // closeToolStripMenuItem
     //
     this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
     this.closeToolStripMenuItem.Size = new System.Drawing.Size(120, 26);
     this.closeToolStripMenuItem.Text = "Close";
     //
     // exitToolStripMenuItem
     //
     this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
     this.exitToolStripMenuItem.Size = new System.Drawing.Size(120, 26);
     this.exitToolStripMenuItem.Text = "E&xit";
     //
     // acctionsToolStripMenuItem
     //
     this.acctionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.addFolderToolStripMenuItem1,
         this.removeRestoreFolderToolStripMenuItem,
         this.backupNowToolStripMenuItem
     });
     this.acctionsToolStripMenuItem.Name = "acctionsToolStripMenuItem";
     this.acctionsToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
     this.acctionsToolStripMenuItem.Text = "Acctions";
     //
     // addFolderToolStripMenuItem1
     //
     this.addFolderToolStripMenuItem1.Image        = global::Backupper.Properties.Resources.add;
     this.addFolderToolStripMenuItem1.Name         = "addFolderToolStripMenuItem1";
     this.addFolderToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
     this.addFolderToolStripMenuItem1.Size         = new System.Drawing.Size(272, 26);
     this.addFolderToolStripMenuItem1.Text         = "Add Folder";
     this.addFolderToolStripMenuItem1.Click       += new System.EventHandler(this.addFolderToolStripMenuItem_Click);
     //
     // removeRestoreFolderToolStripMenuItem
     //
     this.removeRestoreFolderToolStripMenuItem.Image        = global::Backupper.Properties.Resources.delete;
     this.removeRestoreFolderToolStripMenuItem.Name         = "removeRestoreFolderToolStripMenuItem";
     this.removeRestoreFolderToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete;
     this.removeRestoreFolderToolStripMenuItem.Size         = new System.Drawing.Size(272, 26);
     this.removeRestoreFolderToolStripMenuItem.Text         = "Remove/Restore Folder";
     this.removeRestoreFolderToolStripMenuItem.Click       += new System.EventHandler(this.removeFolderToolStripMenuItem_Click);
     //
     // backupNowToolStripMenuItem
     //
     this.backupNowToolStripMenuItem.Image = global::Backupper.Properties.Resources.Backupper_png;
     this.backupNowToolStripMenuItem.Name  = "backupNowToolStripMenuItem";
     this.backupNowToolStripMenuItem.Size  = new System.Drawing.Size(272, 26);
     this.backupNowToolStripMenuItem.Text  = "Backup Now";
     //
     // optionsToolStripMenuItem
     //
     this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.settingsToolStripMenuItem
     });
     this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
     this.optionsToolStripMenuItem.Size = new System.Drawing.Size(73, 24);
     this.optionsToolStripMenuItem.Text = "Options";
     //
     // settingsToolStripMenuItem
     //
     this.settingsToolStripMenuItem.Name   = "settingsToolStripMenuItem";
     this.settingsToolStripMenuItem.Size   = new System.Drawing.Size(137, 26);
     this.settingsToolStripMenuItem.Text   = "Settings";
     this.settingsToolStripMenuItem.Click += new System.EventHandler(this.SettingsToolStripMenuItem_Click);
     //
     // helpToolStripMenuItem
     //
     this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.aboutToolStripMenuItem
     });
     this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
     this.helpToolStripMenuItem.Size = new System.Drawing.Size(53, 24);
     this.helpToolStripMenuItem.Text = "Help";
     //
     // aboutToolStripMenuItem
     //
     this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
     this.aboutToolStripMenuItem.Size = new System.Drawing.Size(125, 26);
     this.aboutToolStripMenuItem.Text = "About";
     //
     // addFolderToolStripMenuItem
     //
     this.addFolderToolStripMenuItem.Image  = global::Backupper.Properties.Resources.add;
     this.addFolderToolStripMenuItem.Name   = "addFolderToolStripMenuItem";
     this.addFolderToolStripMenuItem.Size   = new System.Drawing.Size(182, 26);
     this.addFolderToolStripMenuItem.Text   = "Add Folder";
     this.addFolderToolStripMenuItem.Click += new System.EventHandler(this.addFolderToolStripMenuItem_Click);
     //
     // removeFolderToolStripMenuItem
     //
     this.removeFolderToolStripMenuItem.Image  = global::Backupper.Properties.Resources.delete;
     this.removeFolderToolStripMenuItem.Name   = "removeFolderToolStripMenuItem";
     this.removeFolderToolStripMenuItem.Size   = new System.Drawing.Size(182, 26);
     this.removeFolderToolStripMenuItem.Text   = "Remove/Restore Folder";
     this.removeFolderToolStripMenuItem.Click += new System.EventHandler(this.removeFolderToolStripMenuItem_Click);
     //
     // dataGridView
     //
     this.dataGridView.AllowUserToAddRows              = false;
     this.dataGridView.AllowUserToOrderColumns         = true;
     this.dataGridView.AllowUserToResizeColumns        = false;
     dataGridViewCellStyle1.BackColor                  = System.Drawing.Color.Azure;
     this.dataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridView.AutoSizeColumnsMode             = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView.CellBorderStyle                 = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.dataGridView.ColumnHeadersHeightSizeMode     = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Folder,
         this.NumOfSubs,
         this.NumSubFoldersInBackup,
         this.NumOfFiles,
         this.NumFilesInBackup,
         this.SizeMb,
         this.SizeInMbInBackup,
         this.IsDeleted
     });
     this.dataGridView.ContextMenuStrip        = this.contextMenuStripGrid;
     dataGridViewCellStyle9.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle9.BackColor          = System.Drawing.Color.LightGreen;
     dataGridViewCellStyle9.Font               = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle9.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle9.WrapMode           = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView.DefaultCellStyle        = dataGridViewCellStyle9;
     this.dataGridView.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView.Location      = new System.Drawing.Point(0, 0);
     this.dataGridView.Name          = "dataGridView";
     this.dataGridView.ReadOnly      = true;
     this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView.Size          = new System.Drawing.Size(1427, 307);
     this.dataGridView.TabIndex      = 3;
     //
     // Folder
     //
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     this.Folder.DefaultCellStyle     = dataGridViewCellStyle2;
     this.Folder.HeaderText           = "Folder";
     this.Folder.Name     = "Folder";
     this.Folder.ReadOnly = true;
     //
     // NumOfSubs
     //
     dataGridViewCellStyle3.Format   = "N0";
     this.NumOfSubs.DefaultCellStyle = dataGridViewCellStyle3;
     this.NumOfSubs.HeaderText       = "# Sub Folders";
     this.NumOfSubs.Name             = "NumOfSubs";
     this.NumOfSubs.ReadOnly         = true;
     //
     // NumSubFoldersInBackup
     //
     dataGridViewCellStyle4.Format = "N0";
     this.NumSubFoldersInBackup.DefaultCellStyle = dataGridViewCellStyle4;
     this.NumSubFoldersInBackup.HeaderText       = "# Sub Folders in Backup";
     this.NumSubFoldersInBackup.Name             = "NumSubFoldersInBackup";
     this.NumSubFoldersInBackup.ReadOnly         = true;
     //
     // NumOfFiles
     //
     dataGridViewCellStyle5.Format    = "N0";
     this.NumOfFiles.DefaultCellStyle = dataGridViewCellStyle5;
     this.NumOfFiles.HeaderText       = "# Files";
     this.NumOfFiles.Name             = "NumOfFiles";
     this.NumOfFiles.ReadOnly         = true;
     //
     // NumFilesInBackup
     //
     dataGridViewCellStyle6.Format          = "N0";
     this.NumFilesInBackup.DefaultCellStyle = dataGridViewCellStyle6;
     this.NumFilesInBackup.HeaderText       = "# Files in Backup";
     this.NumFilesInBackup.Name             = "NumFilesInBackup";
     this.NumFilesInBackup.ReadOnly         = true;
     //
     // SizeMb
     //
     dataGridViewCellStyle7.Format = "N0";
     this.SizeMb.DefaultCellStyle  = dataGridViewCellStyle7;
     this.SizeMb.HeaderText        = "Size (Bytes)";
     this.SizeMb.Name     = "SizeMb";
     this.SizeMb.ReadOnly = true;
     //
     // SizeInMbInBackup
     //
     dataGridViewCellStyle8.Format          = "N0";
     this.SizeInMbInBackup.DefaultCellStyle = dataGridViewCellStyle8;
     this.SizeInMbInBackup.HeaderText       = "Size in Backup (Bytes)";
     this.SizeInMbInBackup.Name             = "SizeInMbInBackup";
     this.SizeInMbInBackup.ReadOnly         = true;
     //
     // IsDeleted
     //
     this.IsDeleted.HeaderText = "IsDeleted";
     this.IsDeleted.Name       = "IsDeleted";
     this.IsDeleted.ReadOnly   = true;
     this.IsDeleted.Visible    = false;
     //
     // contextMenuStripGrid
     //
     this.contextMenuStripGrid.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.contextMenuStripGrid.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.addFolderToolStripMenuItem,
         this.removeFolderToolStripMenuItem
     });
     this.contextMenuStripGrid.Name = "contextMenuStripGrid";
     this.contextMenuStripGrid.Size = new System.Drawing.Size(183, 56);
     //
     // toolStrip1
     //
     this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButtonAdd,
         this.toolStripButtonRemove
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 28);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(1427, 27);
     this.toolStrip1.TabIndex = 4;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // toolStripButtonAdd
     //
     this.toolStripButtonAdd.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButtonAdd.Image                 = global::Backupper.Properties.Resources.add;
     this.toolStripButtonAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonAdd.Name        = "toolStripButtonAdd";
     this.toolStripButtonAdd.Size        = new System.Drawing.Size(24, 24);
     this.toolStripButtonAdd.Text        = "Add Folder";
     this.toolStripButtonAdd.ToolTipText = "Add folder to the backup list.";
     this.toolStripButtonAdd.Click      += new System.EventHandler(this.addFolderToolStripMenuItem_Click);
     //
     // toolStripButtonRemove
     //
     this.toolStripButtonRemove.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButtonRemove.Image                 = global::Backupper.Properties.Resources.delete;
     this.toolStripButtonRemove.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonRemove.Name        = "toolStripButtonRemove";
     this.toolStripButtonRemove.Size        = new System.Drawing.Size(24, 24);
     this.toolStripButtonRemove.Text        = "Remove/Restore Folder";
     this.toolStripButtonRemove.ToolTipText = "Remove or Restore a folder from/in the backup list.";
     this.toolStripButtonRemove.Click      += new System.EventHandler(this.removeFolderToolStripMenuItem_Click);
     //
     // panelGrid
     //
     this.panelGrid.Controls.Add(this.dataGridView);
     this.panelGrid.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panelGrid.Location = new System.Drawing.Point(0, 55);
     this.panelGrid.Name     = "panelGrid";
     this.panelGrid.Size     = new System.Drawing.Size(1427, 307);
     this.panelGrid.TabIndex = 5;
     //
     // BackupperForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1427, 387);
     this.Controls.Add(this.panelGrid);
     this.Controls.Add(this.toolStrip1);
     this.Controls.Add(this.statusStrip);
     this.Controls.Add(this.menuStrip);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.menuStrip;
     this.Name          = "BackupperForm";
     this.Text          = "Backupper";
     this.Load         += new System.EventHandler(this.BackupperForm_Load);
     this.statusStrip.ResumeLayout(false);
     this.statusStrip.PerformLayout();
     this.menuStrip.ResumeLayout(false);
     this.menuStrip.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
     this.contextMenuStripGrid.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.panelGrid.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 41
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.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
            this.panelSemesterBorder = new System.Windows.Forms.Panel();
            this.panelGrades = new System.Windows.Forms.Panel();
            this.panelHeaderBottomBorder = new System.Windows.Forms.Panel();
            this.panelHeaderTopBorder = new System.Windows.Forms.Panel();
            this.listboxCourseSelection = new System.Windows.Forms.ListBox();
            this.panelCurrentSelection = new System.Windows.Forms.Panel();
            this.btnAddNewCourse = new FontAwesome.Sharp.IconButton();
            this.lblCurrentSelection = new System.Windows.Forms.Label();
            this.panelSemester = new System.Windows.Forms.Panel();
            this.listboxSemester = new System.Windows.Forms.ListBox();
            this.panelSemesterLabel = new System.Windows.Forms.Panel();
            this.lblSemester = new System.Windows.Forms.Label();
            this.panelHeader = new System.Windows.Forms.Panel();
            this.panelProjectionsLeftBorder = new System.Windows.Forms.Panel();
            this.panelProjections = new System.Windows.Forms.Panel();
            this.lblProjectionTitle = new System.Windows.Forms.Label();
            this.panelGradeTableContainer = new System.Windows.Forms.Panel();
            this.panelFinalMarkContainer = new System.Windows.Forms.Panel();
            this.lblFinalExamWorth = new System.Windows.Forms.Label();
            this.lblCurrentMarkYourMark = new System.Windows.Forms.Label();
            this.lblCurrentMarkWorth = new System.Windows.Forms.Label();
            this.lblFinalMark = new System.Windows.Forms.Label();
            this.lblCurrentMark = new System.Windows.Forms.Label();
            this.panel1 = new System.Windows.Forms.Panel();
            this.panelGradeTable = new System.Windows.Forms.Panel();
            this.dataGridViewGrades = new System.Windows.Forms.DataGridView();
            this.Task = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Worth = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.YourMark = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.CourseMark = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.panelFooter = new System.Windows.Forms.Panel();
            this.panelGradeTableRightBorder = new System.Windows.Forms.Panel();
            this.panelBottomButton = new System.Windows.Forms.Panel();
            this.iconButtonSaveTable = new FontAwesome.Sharp.IconButton();
            this.iconButtonResetTable = new FontAwesome.Sharp.IconButton();
            this.iconButtonClearTable = new FontAwesome.Sharp.IconButton();
            this.iconButtonDeleteCourse = new FontAwesome.Sharp.IconButton();
            this.panel2 = new System.Windows.Forms.Panel();
            this.panelGrades.SuspendLayout();
            this.panelCurrentSelection.SuspendLayout();
            this.panelSemester.SuspendLayout();
            this.panelSemesterLabel.SuspendLayout();
            this.panelHeader.SuspendLayout();
            this.panelProjections.SuspendLayout();
            this.panelGradeTableContainer.SuspendLayout();
            this.panelFinalMarkContainer.SuspendLayout();
            this.panelGradeTable.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewGrades)).BeginInit();
            this.panelFooter.SuspendLayout();
            this.panelBottomButton.SuspendLayout();
            this.SuspendLayout();
            // 
            // panelSemesterBorder
            // 
            this.panelSemesterBorder.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(31)))), ((int)(((byte)(47)))));
            this.panelSemesterBorder.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelSemesterBorder.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(31)))), ((int)(((byte)(47)))));
            this.panelSemesterBorder.Location = new System.Drawing.Point(160, 0);
            this.panelSemesterBorder.Name = "panelSemesterBorder";
            this.panelSemesterBorder.Size = new System.Drawing.Size(2, 889);
            this.panelSemesterBorder.TabIndex = 1;
            // 
            // panelGrades
            // 
            this.panelGrades.Controls.Add(this.panelHeaderBottomBorder);
            this.panelGrades.Controls.Add(this.panelHeaderTopBorder);
            this.panelGrades.Controls.Add(this.listboxCourseSelection);
            this.panelGrades.Controls.Add(this.panelCurrentSelection);
            this.panelGrades.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelGrades.Location = new System.Drawing.Point(0, 0);
            this.panelGrades.Name = "panelGrades";
            this.panelGrades.Size = new System.Drawing.Size(853, 138);
            this.panelGrades.TabIndex = 2;
            // 
            // panelHeaderBottomBorder
            // 
            this.panelHeaderBottomBorder.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(31)))), ((int)(((byte)(47)))));
            this.panelHeaderBottomBorder.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panelHeaderBottomBorder.Location = new System.Drawing.Point(0, 136);
            this.panelHeaderBottomBorder.Name = "panelHeaderBottomBorder";
            this.panelHeaderBottomBorder.Size = new System.Drawing.Size(853, 2);
            this.panelHeaderBottomBorder.TabIndex = 2;
            // 
            // panelHeaderTopBorder
            // 
            this.panelHeaderTopBorder.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(31)))), ((int)(((byte)(47)))));
            this.panelHeaderTopBorder.Location = new System.Drawing.Point(-12, 61);
            this.panelHeaderTopBorder.Name = "panelHeaderTopBorder";
            this.panelHeaderTopBorder.Size = new System.Drawing.Size(866, 2);
            this.panelHeaderTopBorder.TabIndex = 1;
            // 
            // listboxCourseSelection
            // 
            this.listboxCourseSelection.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.listboxCourseSelection.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(42)))), ((int)(((byte)(62)))));
            this.listboxCourseSelection.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.listboxCourseSelection.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.listboxCourseSelection.ForeColor = System.Drawing.Color.Gainsboro;
            this.listboxCourseSelection.FormattingEnabled = true;
            this.listboxCourseSelection.HorizontalScrollbar = true;
            this.listboxCourseSelection.ItemHeight = 21;
            this.listboxCourseSelection.Items.AddRange(new object[] {
            "ENGG 1100",
            "ENGG 2100",
            "ENGG 3100",
            "ENGG 4100",
            "ENGG 5100"});
            this.listboxCourseSelection.Location = new System.Drawing.Point(6, 77);
            this.listboxCourseSelection.MultiColumn = true;
            this.listboxCourseSelection.Name = "listboxCourseSelection";
            this.listboxCourseSelection.Size = new System.Drawing.Size(848, 42);
            this.listboxCourseSelection.TabIndex = 0;
            // 
            // panelCurrentSelection
            // 
            this.panelCurrentSelection.Controls.Add(this.btnAddNewCourse);
            this.panelCurrentSelection.Controls.Add(this.lblCurrentSelection);
            this.panelCurrentSelection.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelCurrentSelection.Location = new System.Drawing.Point(0, 0);
            this.panelCurrentSelection.Name = "panelCurrentSelection";
            this.panelCurrentSelection.Size = new System.Drawing.Size(853, 60);
            this.panelCurrentSelection.TabIndex = 0;
            // 
            // btnAddNewCourse
            // 
            this.btnAddNewCourse.Flip = FontAwesome.Sharp.FlipOrientation.Normal;
            this.btnAddNewCourse.Font = new System.Drawing.Font("Century Gothic", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnAddNewCourse.IconChar = FontAwesome.Sharp.IconChar.None;
            this.btnAddNewCourse.IconColor = System.Drawing.Color.Black;
            this.btnAddNewCourse.IconSize = 16;
            this.btnAddNewCourse.Location = new System.Drawing.Point(683, 11);
            this.btnAddNewCourse.Name = "btnAddNewCourse";
            this.btnAddNewCourse.Rotation = 0D;
            this.btnAddNewCourse.Size = new System.Drawing.Size(164, 40);
            this.btnAddNewCourse.TabIndex = 2;
            this.btnAddNewCourse.Text = "Add New Course";
            this.btnAddNewCourse.UseVisualStyleBackColor = true;
            // 
            // lblCurrentSelection
            // 
            this.lblCurrentSelection.AutoSize = true;
            this.lblCurrentSelection.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCurrentSelection.ForeColor = System.Drawing.Color.Gainsboro;
            this.lblCurrentSelection.Location = new System.Drawing.Point(2, 19);
            this.lblCurrentSelection.Name = "lblCurrentSelection";
            this.lblCurrentSelection.Size = new System.Drawing.Size(143, 28);
            this.lblCurrentSelection.TabIndex = 0;
            this.lblCurrentSelection.Text = "Winter 2019";
            // 
            // panelSemester
            // 
            this.panelSemester.Controls.Add(this.listboxSemester);
            this.panelSemester.Controls.Add(this.panelSemesterLabel);
            this.panelSemester.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelSemester.Location = new System.Drawing.Point(0, 0);
            this.panelSemester.Name = "panelSemester";
            this.panelSemester.Size = new System.Drawing.Size(160, 889);
            this.panelSemester.TabIndex = 0;
            // 
            // listboxSemester
            // 
            this.listboxSemester.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(42)))), ((int)(((byte)(62)))));
            this.listboxSemester.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.listboxSemester.Dock = System.Windows.Forms.DockStyle.Right;
            this.listboxSemester.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.listboxSemester.ForeColor = System.Drawing.Color.Gainsboro;
            this.listboxSemester.FormattingEnabled = true;
            this.listboxSemester.ItemHeight = 21;
            this.listboxSemester.Items.AddRange(new object[] {
            "Winter 2019",
            "Summer 2019",
            "Fall 2019",
            "Winter 2020",
            "Summer 2020",
            "Fall 2020"});
            this.listboxSemester.Location = new System.Drawing.Point(3, 60);
            this.listboxSemester.Name = "listboxSemester";
            this.listboxSemester.Size = new System.Drawing.Size(157, 829);
            this.listboxSemester.TabIndex = 2;
            // 
            // panelSemesterLabel
            // 
            this.panelSemesterLabel.Controls.Add(this.lblSemester);
            this.panelSemesterLabel.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelSemesterLabel.Location = new System.Drawing.Point(0, 0);
            this.panelSemesterLabel.Name = "panelSemesterLabel";
            this.panelSemesterLabel.Size = new System.Drawing.Size(160, 60);
            this.panelSemesterLabel.TabIndex = 1;
            // 
            // lblSemester
            // 
            this.lblSemester.AutoSize = true;
            this.lblSemester.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSemester.ForeColor = System.Drawing.Color.Gainsboro;
            this.lblSemester.Location = new System.Drawing.Point(21, 17);
            this.lblSemester.Name = "lblSemester";
            this.lblSemester.Size = new System.Drawing.Size(122, 30);
            this.lblSemester.TabIndex = 0;
            this.lblSemester.Text = "Semester";
            // 
            // panelHeader
            // 
            this.panelHeader.Controls.Add(this.panelProjectionsLeftBorder);
            this.panelHeader.Controls.Add(this.panelProjections);
            this.panelHeader.Controls.Add(this.panelGrades);
            this.panelHeader.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelHeader.Location = new System.Drawing.Point(162, 0);
            this.panelHeader.Name = "panelHeader";
            this.panelHeader.Size = new System.Drawing.Size(1011, 138);
            this.panelHeader.TabIndex = 4;
            // 
            // panelProjectionsLeftBorder
            // 
            this.panelProjectionsLeftBorder.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(31)))), ((int)(((byte)(47)))));
            this.panelProjectionsLeftBorder.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelProjectionsLeftBorder.Location = new System.Drawing.Point(853, 0);
            this.panelProjectionsLeftBorder.Name = "panelProjectionsLeftBorder";
            this.panelProjectionsLeftBorder.Size = new System.Drawing.Size(2, 138);
            this.panelProjectionsLeftBorder.TabIndex = 5;
            // 
            // panelProjections
            // 
            this.panelProjections.Controls.Add(this.lblProjectionTitle);
            this.panelProjections.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelProjections.Location = new System.Drawing.Point(853, 0);
            this.panelProjections.Name = "panelProjections";
            this.panelProjections.Size = new System.Drawing.Size(158, 138);
            this.panelProjections.TabIndex = 3;
            // 
            // lblProjectionTitle
            // 
            this.lblProjectionTitle.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.lblProjectionTitle.AutoSize = true;
            this.lblProjectionTitle.Font = new System.Drawing.Font("Century Gothic", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblProjectionTitle.ForeColor = System.Drawing.Color.Gainsboro;
            this.lblProjectionTitle.Location = new System.Drawing.Point(22, 63);
            this.lblProjectionTitle.Name = "lblProjectionTitle";
            this.lblProjectionTitle.Size = new System.Drawing.Size(113, 23);
            this.lblProjectionTitle.TabIndex = 0;
            this.lblProjectionTitle.Text = "Projections";
            // 
            // panelGradeTableContainer
            // 
            this.panelGradeTableContainer.Controls.Add(this.panelBottomButton);
            this.panelGradeTableContainer.Controls.Add(this.panel2);
            this.panelGradeTableContainer.Controls.Add(this.panelFinalMarkContainer);
            this.panelGradeTableContainer.Controls.Add(this.panel1);
            this.panelGradeTableContainer.Controls.Add(this.panelGradeTable);
            this.panelGradeTableContainer.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelGradeTableContainer.Location = new System.Drawing.Point(0, 0);
            this.panelGradeTableContainer.Name = "panelGradeTableContainer";
            this.panelGradeTableContainer.Size = new System.Drawing.Size(853, 751);
            this.panelGradeTableContainer.TabIndex = 0;
            // 
            // panelFinalMarkContainer
            // 
            this.panelFinalMarkContainer.Controls.Add(this.lblFinalExamWorth);
            this.panelFinalMarkContainer.Controls.Add(this.lblCurrentMarkYourMark);
            this.panelFinalMarkContainer.Controls.Add(this.lblCurrentMarkWorth);
            this.panelFinalMarkContainer.Controls.Add(this.lblFinalMark);
            this.panelFinalMarkContainer.Controls.Add(this.lblCurrentMark);
            this.panelFinalMarkContainer.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelFinalMarkContainer.Location = new System.Drawing.Point(0, 414);
            this.panelFinalMarkContainer.Name = "panelFinalMarkContainer";
            this.panelFinalMarkContainer.Size = new System.Drawing.Size(853, 137);
            this.panelFinalMarkContainer.TabIndex = 1;
            // 
            // lblFinalExamWorth
            // 
            this.lblFinalExamWorth.AutoSize = true;
            this.lblFinalExamWorth.Font = new System.Drawing.Font("Century Gothic", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblFinalExamWorth.ForeColor = System.Drawing.Color.Gainsboro;
            this.lblFinalExamWorth.Location = new System.Drawing.Point(313, 77);
            this.lblFinalExamWorth.Name = "lblFinalExamWorth";
            this.lblFinalExamWorth.Size = new System.Drawing.Size(48, 23);
            this.lblFinalExamWorth.TabIndex = 5;
            this.lblFinalExamWorth.Text = "50%";
            // 
            // lblCurrentMarkYourMark
            // 
            this.lblCurrentMarkYourMark.AutoSize = true;
            this.lblCurrentMarkYourMark.Font = new System.Drawing.Font("Century Gothic", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCurrentMarkYourMark.ForeColor = System.Drawing.Color.Gainsboro;
            this.lblCurrentMarkYourMark.Location = new System.Drawing.Point(494, 34);
            this.lblCurrentMarkYourMark.Name = "lblCurrentMarkYourMark";
            this.lblCurrentMarkYourMark.Size = new System.Drawing.Size(48, 23);
            this.lblCurrentMarkYourMark.TabIndex = 4;
            this.lblCurrentMarkYourMark.Text = "50%";
            // 
            // lblCurrentMarkWorth
            // 
            this.lblCurrentMarkWorth.AutoSize = true;
            this.lblCurrentMarkWorth.Font = new System.Drawing.Font("Century Gothic", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCurrentMarkWorth.ForeColor = System.Drawing.Color.Gainsboro;
            this.lblCurrentMarkWorth.Location = new System.Drawing.Point(313, 34);
            this.lblCurrentMarkWorth.Name = "lblCurrentMarkWorth";
            this.lblCurrentMarkWorth.Size = new System.Drawing.Size(48, 23);
            this.lblCurrentMarkWorth.TabIndex = 3;
            this.lblCurrentMarkWorth.Text = "50%";
            // 
            // lblFinalMark
            // 
            this.lblFinalMark.AutoSize = true;
            this.lblFinalMark.Font = new System.Drawing.Font("Century Gothic", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblFinalMark.ForeColor = System.Drawing.Color.Gainsboro;
            this.lblFinalMark.Location = new System.Drawing.Point(75, 77);
            this.lblFinalMark.Name = "lblFinalMark";
            this.lblFinalMark.Size = new System.Drawing.Size(175, 23);
            this.lblFinalMark.TabIndex = 2;
            this.lblFinalMark.Text = "Final Exam Worth";
            // 
            // lblCurrentMark
            // 
            this.lblCurrentMark.AutoSize = true;
            this.lblCurrentMark.Font = new System.Drawing.Font("Century Gothic", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCurrentMark.ForeColor = System.Drawing.Color.Gainsboro;
            this.lblCurrentMark.Location = new System.Drawing.Point(75, 34);
            this.lblCurrentMark.Name = "lblCurrentMark";
            this.lblCurrentMark.Size = new System.Drawing.Size(136, 23);
            this.lblCurrentMark.TabIndex = 1;
            this.lblCurrentMark.Text = "Current Mark";
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(31)))), ((int)(((byte)(47)))));
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 412);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(853, 2);
            this.panel1.TabIndex = 2;
            // 
            // panelGradeTable
            // 
            this.panelGradeTable.Controls.Add(this.dataGridViewGrades);
            this.panelGradeTable.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelGradeTable.Location = new System.Drawing.Point(0, 0);
            this.panelGradeTable.Name = "panelGradeTable";
            this.panelGradeTable.Size = new System.Drawing.Size(853, 412);
            this.panelGradeTable.TabIndex = 0;
            // 
            // dataGridViewGrades
            // 
            this.dataGridViewGrades.AllowUserToAddRows = false;
            this.dataGridViewGrades.AllowUserToDeleteRows = false;
            this.dataGridViewGrades.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridViewGrades.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(42)))), ((int)(((byte)(62)))));
            this.dataGridViewGrades.BorderStyle = System.Windows.Forms.BorderStyle.None;
            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(42)))), ((int)(((byte)(62)))));
            dataGridViewCellStyle3.Font = new System.Drawing.Font("Century Gothic", 9F);
            dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Gainsboro;
            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridViewGrades.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
            this.dataGridViewGrades.ColumnHeadersHeight = 44;
            this.dataGridViewGrades.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
            this.dataGridViewGrades.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Task,
            this.Worth,
            this.YourMark,
            this.CourseMark});
            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(42)))), ((int)(((byte)(62)))));
            dataGridViewCellStyle4.Font = new System.Drawing.Font("Century Gothic", 9F);
            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Gainsboro;
            dataGridViewCellStyle4.Padding = new System.Windows.Forms.Padding(0, 4, 0, 4);
            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dataGridViewGrades.DefaultCellStyle = dataGridViewCellStyle4;
            this.dataGridViewGrades.GridColor = System.Drawing.SystemColors.ControlLight;
            this.dataGridViewGrades.Location = new System.Drawing.Point(79, 24);
            this.dataGridViewGrades.Name = "dataGridViewGrades";
            this.dataGridViewGrades.RowHeadersVisible = false;
            this.dataGridViewGrades.RowHeadersWidth = 62;
            this.dataGridViewGrades.RowTemplate.Height = 28;
            this.dataGridViewGrades.Size = new System.Drawing.Size(706, 361);
            this.dataGridViewGrades.TabIndex = 0;
            // 
            // Task
            // 
            this.Task.HeaderText = "Task";
            this.Task.MinimumWidth = 8;
            this.Task.Name = "Task";
            // 
            // Worth
            // 
            this.Worth.HeaderText = "Worth";
            this.Worth.MinimumWidth = 8;
            this.Worth.Name = "Worth";
            // 
            // YourMark
            // 
            this.YourMark.HeaderText = "Your Mark";
            this.YourMark.MinimumWidth = 8;
            this.YourMark.Name = "YourMark";
            // 
            // CourseMark
            // 
            this.CourseMark.HeaderText = "Course Mark";
            this.CourseMark.MinimumWidth = 8;
            this.CourseMark.Name = "CourseMark";
            // 
            // panelFooter
            // 
            this.panelFooter.Controls.Add(this.panelGradeTableRightBorder);
            this.panelFooter.Controls.Add(this.panelGradeTableContainer);
            this.panelFooter.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelFooter.Location = new System.Drawing.Point(162, 138);
            this.panelFooter.Name = "panelFooter";
            this.panelFooter.Size = new System.Drawing.Size(1011, 751);
            this.panelFooter.TabIndex = 5;
            // 
            // panelGradeTableRightBorder
            // 
            this.panelGradeTableRightBorder.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(31)))), ((int)(((byte)(47)))));
            this.panelGradeTableRightBorder.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelGradeTableRightBorder.Location = new System.Drawing.Point(853, 0);
            this.panelGradeTableRightBorder.Name = "panelGradeTableRightBorder";
            this.panelGradeTableRightBorder.Size = new System.Drawing.Size(2, 751);
            this.panelGradeTableRightBorder.TabIndex = 1;
            // 
            // panelBottomButton
            // 
            this.panelBottomButton.Controls.Add(this.iconButtonDeleteCourse);
            this.panelBottomButton.Controls.Add(this.iconButtonClearTable);
            this.panelBottomButton.Controls.Add(this.iconButtonResetTable);
            this.panelBottomButton.Controls.Add(this.iconButtonSaveTable);
            this.panelBottomButton.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelBottomButton.Location = new System.Drawing.Point(0, 553);
            this.panelBottomButton.Name = "panelBottomButton";
            this.panelBottomButton.Size = new System.Drawing.Size(853, 153);
            this.panelBottomButton.TabIndex = 3;
            // 
            // iconButtonSaveTable
            // 
            this.iconButtonSaveTable.Flip = FontAwesome.Sharp.FlipOrientation.Normal;
            this.iconButtonSaveTable.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.iconButtonSaveTable.IconChar = FontAwesome.Sharp.IconChar.None;
            this.iconButtonSaveTable.IconColor = System.Drawing.Color.Black;
            this.iconButtonSaveTable.IconSize = 16;
            this.iconButtonSaveTable.Location = new System.Drawing.Point(32, 76);
            this.iconButtonSaveTable.Name = "iconButtonSaveTable";
            this.iconButtonSaveTable.Rotation = 0D;
            this.iconButtonSaveTable.Size = new System.Drawing.Size(132, 41);
            this.iconButtonSaveTable.TabIndex = 0;
            this.iconButtonSaveTable.Text = "Save Table";
            this.iconButtonSaveTable.UseVisualStyleBackColor = true;
            // 
            // iconButtonResetTable
            // 
            this.iconButtonResetTable.Flip = FontAwesome.Sharp.FlipOrientation.Normal;
            this.iconButtonResetTable.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.iconButtonResetTable.IconChar = FontAwesome.Sharp.IconChar.None;
            this.iconButtonResetTable.IconColor = System.Drawing.Color.Black;
            this.iconButtonResetTable.IconSize = 16;
            this.iconButtonResetTable.Location = new System.Drawing.Point(244, 76);
            this.iconButtonResetTable.Name = "iconButtonResetTable";
            this.iconButtonResetTable.Rotation = 0D;
            this.iconButtonResetTable.Size = new System.Drawing.Size(132, 41);
            this.iconButtonResetTable.TabIndex = 1;
            this.iconButtonResetTable.Text = "Reset Table";
            this.iconButtonResetTable.UseVisualStyleBackColor = true;
            // 
            // iconButtonClearTable
            // 
            this.iconButtonClearTable.Flip = FontAwesome.Sharp.FlipOrientation.Normal;
            this.iconButtonClearTable.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.iconButtonClearTable.IconChar = FontAwesome.Sharp.IconChar.None;
            this.iconButtonClearTable.IconColor = System.Drawing.Color.Black;
            this.iconButtonClearTable.IconSize = 16;
            this.iconButtonClearTable.Location = new System.Drawing.Point(458, 76);
            this.iconButtonClearTable.Name = "iconButtonClearTable";
            this.iconButtonClearTable.Rotation = 0D;
            this.iconButtonClearTable.Size = new System.Drawing.Size(132, 41);
            this.iconButtonClearTable.TabIndex = 2;
            this.iconButtonClearTable.Text = "Clear Table";
            this.iconButtonClearTable.UseVisualStyleBackColor = true;
            // 
            // iconButtonDeleteCourse
            // 
            this.iconButtonDeleteCourse.Flip = FontAwesome.Sharp.FlipOrientation.Normal;
            this.iconButtonDeleteCourse.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.iconButtonDeleteCourse.IconChar = FontAwesome.Sharp.IconChar.None;
            this.iconButtonDeleteCourse.IconColor = System.Drawing.Color.Black;
            this.iconButtonDeleteCourse.IconSize = 16;
            this.iconButtonDeleteCourse.Location = new System.Drawing.Point(670, 76);
            this.iconButtonDeleteCourse.Name = "iconButtonDeleteCourse";
            this.iconButtonDeleteCourse.Rotation = 0D;
            this.iconButtonDeleteCourse.Size = new System.Drawing.Size(147, 41);
            this.iconButtonDeleteCourse.TabIndex = 3;
            this.iconButtonDeleteCourse.Text = "Delete Course";
            this.iconButtonDeleteCourse.UseVisualStyleBackColor = true;
            // 
            // panel2
            // 
            this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(31)))), ((int)(((byte)(47)))));
            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel2.Location = new System.Drawing.Point(0, 551);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(853, 2);
            this.panel2.TabIndex = 4;
            // 
            // FormDashboard
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(42)))), ((int)(((byte)(62)))));
            this.ClientSize = new System.Drawing.Size(1173, 889);
            this.Controls.Add(this.panelFooter);
            this.Controls.Add(this.panelHeader);
            this.Controls.Add(this.panelSemesterBorder);
            this.Controls.Add(this.panelSemester);
            this.Name = "FormDashboard";
            this.Text = "FormDashboard";
            this.panelGrades.ResumeLayout(false);
            this.panelCurrentSelection.ResumeLayout(false);
            this.panelCurrentSelection.PerformLayout();
            this.panelSemester.ResumeLayout(false);
            this.panelSemesterLabel.ResumeLayout(false);
            this.panelSemesterLabel.PerformLayout();
            this.panelHeader.ResumeLayout(false);
            this.panelProjections.ResumeLayout(false);
            this.panelProjections.PerformLayout();
            this.panelGradeTableContainer.ResumeLayout(false);
            this.panelFinalMarkContainer.ResumeLayout(false);
            this.panelFinalMarkContainer.PerformLayout();
            this.panelGradeTable.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewGrades)).EndInit();
            this.panelFooter.ResumeLayout(false);
            this.panelBottomButton.ResumeLayout(false);
            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.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     this._grid      = new BetterGrid();
     this._panelGrid = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this._grid)).BeginInit();
     this._panelGrid.SuspendLayout();
     this.SuspendLayout();
     //
     // _grid
     //
     this._grid.AllowUserToAddRows             = false;
     this._grid.AllowUserToDeleteRows          = false;
     this._grid.AllowUserToOrderColumns        = true;
     this._grid.AllowUserToResizeRows          = false;
     this._grid.AutoSizeRowsMode               = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders;
     this._grid.BackgroundColor                = System.Drawing.SystemColors.Window;
     this._grid.BorderStyle                    = System.Windows.Forms.BorderStyle.None;
     this._grid.ColumnHeadersBorderStyle       = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor          = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font               = new System.Drawing.Font("Segoe UI", 9F);
     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._grid.ColumnHeadersDefaultCellStyle  = dataGridViewCellStyle1;
     this._grid.ColumnHeadersHeightSizeMode    = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this._grid.Dock = System.Windows.Forms.DockStyle.Fill;
     this._grid.DrawTextBoxEditControlBorder = false;
     this._grid.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
     this._grid.Font     = new System.Drawing.Font("Segoe UI", 9F);
     this._grid.FullRowFocusRectangleColor = System.Drawing.SystemColors.ControlDark;
     this._grid.GridColor   = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     this._grid.Location    = new System.Drawing.Point(1, 1);
     this._grid.MultiSelect = false;
     this._grid.Name        = "_grid";
     this._grid.PaintHeaderAcrossFullGridWidth = true;
     this._grid.RowHeadersBorderStyle          = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     this._grid.RowHeadersWidth         = 24;
     this._grid.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this._grid.SelectedCellBackColor   = System.Drawing.Color.Empty;
     this._grid.SelectedCellForeColor   = System.Drawing.Color.Empty;
     this._grid.SelectedRowBackColor    = System.Drawing.Color.Empty;
     this._grid.SelectedRowForeColor    = System.Drawing.Color.Empty;
     this._grid.SelectionMode           = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this._grid.Size     = new System.Drawing.Size(451, 254);
     this._grid.TabIndex = 0;
     this._grid.TextBoxEditControlBorderColor = System.Drawing.Color.Silver;
     //
     // _panelGrid
     //
     this._panelGrid.BackColor = System.Drawing.SystemColors.ControlDark;
     this._panelGrid.Controls.Add(this._grid);
     this._panelGrid.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._panelGrid.Location = new System.Drawing.Point(0, 0);
     this._panelGrid.Margin   = new System.Windows.Forms.Padding(0);
     this._panelGrid.Name     = "_panelGrid";
     this._panelGrid.Padding  = new System.Windows.Forms.Padding(1);
     this._panelGrid.Size     = new System.Drawing.Size(453, 256);
     this._panelGrid.TabIndex = 0;
     //
     // ContributorsListControl
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.BackColor     = System.Drawing.Color.Transparent;
     this.Controls.Add(this._panelGrid);
     this.DoubleBuffered = true;
     this.Name           = "ContributorsListControl";
     this.Size           = new System.Drawing.Size(453, 256);
     ((System.ComponentModel.ISupportInitialize)(this._grid)).EndInit();
     this._panelGrid.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 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.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();
     this.lblRecTypeId      = new MetroFramework.Controls.MetroLabel();
     this.txtRecId          = new MetroFramework.Controls.MetroTextBox();
     this.txtRecTypeName    = new MetroFramework.Controls.MetroTextBox();
     this.lblTypeName       = new MetroFramework.Controls.MetroLabel();
     this.tabAttributes     = new MetroFramework.Controls.MetroTabPage();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.tabControl1       = new MetroFramework.Controls.MetroTabControl();
     this.tabHistory        = new System.Windows.Forms.TabPage();
     this.gridAuditHistory  = new MetroFramework.Controls.MetroGrid();
     this.btnUpdate         = new MetroFramework.Controls.MetroButton();
     this.btnCancel         = new MetroFramework.Controls.MetroButton();
     this.metroLabel1       = new MetroFramework.Controls.MetroLabel();
     this.tabAttributes.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabHistory.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridAuditHistory)).BeginInit();
     this.SuspendLayout();
     //
     // lblRecTypeId
     //
     this.lblRecTypeId.AutoSize = true;
     this.lblRecTypeId.Location = new System.Drawing.Point(12, 62);
     this.lblRecTypeId.Name     = "lblRecTypeId";
     this.lblRecTypeId.Size     = new System.Drawing.Size(67, 19);
     this.lblRecTypeId.TabIndex = 1;
     this.lblRecTypeId.Text     = "Record ID";
     //
     // txtRecId
     //
     //
     //
     //
     this.txtRecId.CustomButton.Image         = null;
     this.txtRecId.CustomButton.Location      = new System.Drawing.Point(41, 1);
     this.txtRecId.CustomButton.Name          = "";
     this.txtRecId.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtRecId.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtRecId.CustomButton.TabIndex      = 1;
     this.txtRecId.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtRecId.CustomButton.UseSelectable = true;
     this.txtRecId.CustomButton.Visible       = false;
     this.txtRecId.Enabled          = false;
     this.txtRecId.Lines            = new string[0];
     this.txtRecId.Location         = new System.Drawing.Point(85, 61);
     this.txtRecId.MaxLength        = 32767;
     this.txtRecId.Name             = "txtRecId";
     this.txtRecId.PasswordChar     = '\0';
     this.txtRecId.ReadOnly         = true;
     this.txtRecId.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtRecId.SelectedText     = "";
     this.txtRecId.SelectionLength  = 0;
     this.txtRecId.SelectionStart   = 0;
     this.txtRecId.ShortcutsEnabled = true;
     this.txtRecId.Size             = new System.Drawing.Size(63, 23);
     this.txtRecId.TabIndex         = 2;
     this.txtRecId.UseSelectable    = true;
     this.txtRecId.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtRecId.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // txtRecTypeName
     //
     this.txtRecTypeName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.txtRecTypeName.CustomButton.Image         = null;
     this.txtRecTypeName.CustomButton.Location      = new System.Drawing.Point(153, 1);
     this.txtRecTypeName.CustomButton.Name          = "";
     this.txtRecTypeName.CustomButton.Size          = new System.Drawing.Size(21, 21);
     this.txtRecTypeName.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.txtRecTypeName.CustomButton.TabIndex      = 1;
     this.txtRecTypeName.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.txtRecTypeName.CustomButton.UseSelectable = true;
     this.txtRecTypeName.CustomButton.Visible       = false;
     this.txtRecTypeName.Lines            = new string[0];
     this.txtRecTypeName.Location         = new System.Drawing.Point(242, 61);
     this.txtRecTypeName.MaxLength        = 32767;
     this.txtRecTypeName.Name             = "txtRecTypeName";
     this.txtRecTypeName.PasswordChar     = '\0';
     this.txtRecTypeName.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.txtRecTypeName.SelectedText     = "";
     this.txtRecTypeName.SelectionLength  = 0;
     this.txtRecTypeName.SelectionStart   = 0;
     this.txtRecTypeName.ShortcutsEnabled = true;
     this.txtRecTypeName.Size             = new System.Drawing.Size(175, 23);
     this.txtRecTypeName.TabIndex         = 3;
     this.txtRecTypeName.UseSelectable    = true;
     this.txtRecTypeName.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.txtRecTypeName.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     this.txtRecTypeName.TextChanged     += new System.EventHandler(this.txtRecType_TextChanged);
     //
     // lblTypeName
     //
     this.lblTypeName.AutoSize = true;
     this.lblTypeName.Location = new System.Drawing.Point(154, 62);
     this.lblTypeName.Name     = "lblTypeName";
     this.lblTypeName.Size     = new System.Drawing.Size(76, 19);
     this.lblTypeName.TabIndex = 4;
     this.lblTypeName.Text     = "Type Name";
     //
     // tabAttributes
     //
     this.tabAttributes.AutoScroll = true;
     this.tabAttributes.Controls.Add(this.tableLayoutPanel1);
     this.tabAttributes.HorizontalScrollbar                 = true;
     this.tabAttributes.HorizontalScrollbarBarColor         = true;
     this.tabAttributes.HorizontalScrollbarHighlightOnWheel = false;
     this.tabAttributes.HorizontalScrollbarSize             = 10;
     this.tabAttributes.Location = new System.Drawing.Point(4, 38);
     this.tabAttributes.Name     = "tabAttributes";
     this.tabAttributes.Padding  = new System.Windows.Forms.Padding(3);
     this.tabAttributes.Size     = new System.Drawing.Size(408, 284);
     this.tabAttributes.TabIndex = 0;
     this.tabAttributes.Text     = "Attributes";
     this.tabAttributes.UseVisualStyleBackColor           = true;
     this.tabAttributes.VerticalScrollbar                 = true;
     this.tabAttributes.VerticalScrollbarBarColor         = true;
     this.tabAttributes.VerticalScrollbarHighlightOnWheel = false;
     this.tabAttributes.VerticalScrollbarSize             = 10;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 260F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 3);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 1;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 278F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(402, 278);
     this.tableLayoutPanel1.TabIndex = 2;
     //
     // 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.tabAttributes);
     this.tabControl1.Controls.Add(this.tabHistory);
     this.tabControl1.Location      = new System.Drawing.Point(12, 99);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 1;
     this.tabControl1.Size          = new System.Drawing.Size(416, 326);
     this.tabControl1.TabIndex      = 5;
     this.tabControl1.UseSelectable = true;
     //
     // tabHistory
     //
     this.tabHistory.Controls.Add(this.gridAuditHistory);
     this.tabHistory.Location = new System.Drawing.Point(4, 38);
     this.tabHistory.Name     = "tabHistory";
     this.tabHistory.Size     = new System.Drawing.Size(408, 284);
     this.tabHistory.TabIndex = 1;
     this.tabHistory.Text     = "History";
     //
     // gridAuditHistory
     //
     this.gridAuditHistory.AllowUserToAddRows       = false;
     this.gridAuditHistory.AllowUserToDeleteRows    = false;
     this.gridAuditHistory.AllowUserToResizeColumns = false;
     this.gridAuditHistory.AllowUserToResizeRows    = false;
     this.gridAuditHistory.AutoSizeColumnsMode      = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gridAuditHistory.BackgroundColor          = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.gridAuditHistory.BorderStyle              = System.Windows.Forms.BorderStyle.None;
     this.gridAuditHistory.CellBorderStyle          = System.Windows.Forms.DataGridViewCellBorderStyle.None;
     this.gridAuditHistory.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle1.Alignment                    = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219)))));
     dataGridViewCellStyle1.Font                         = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle1.ForeColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     dataGridViewCellStyle1.SelectionBackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
     dataGridViewCellStyle1.SelectionForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
     dataGridViewCellStyle1.WrapMode                     = System.Windows.Forms.DataGridViewTriState.True;
     this.gridAuditHistory.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.gridAuditHistory.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle2.Alignment                    = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     dataGridViewCellStyle2.Font                         = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle2.ForeColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(136)))), ((int)(((byte)(136)))));
     dataGridViewCellStyle2.SelectionBackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
     dataGridViewCellStyle2.SelectionForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
     dataGridViewCellStyle2.WrapMode                     = System.Windows.Forms.DataGridViewTriState.False;
     this.gridAuditHistory.DefaultCellStyle              = dataGridViewCellStyle2;
     this.gridAuditHistory.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridAuditHistory.EnableHeadersVisualStyles = false;
     this.gridAuditHistory.Font                       = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     this.gridAuditHistory.GridColor                  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.gridAuditHistory.Location                   = new System.Drawing.Point(0, 0);
     this.gridAuditHistory.MultiSelect                = false;
     this.gridAuditHistory.Name                       = "gridAuditHistory";
     this.gridAuditHistory.ReadOnly                   = true;
     this.gridAuditHistory.RowHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle3.Alignment                 = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219)))));
     dataGridViewCellStyle3.Font                      = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle3.ForeColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     dataGridViewCellStyle3.SelectionBackColor        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
     dataGridViewCellStyle3.SelectionForeColor        = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
     dataGridViewCellStyle3.WrapMode                  = System.Windows.Forms.DataGridViewTriState.True;
     this.gridAuditHistory.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.gridAuditHistory.RowHeadersVisible          = false;
     this.gridAuditHistory.RowHeadersWidthSizeMode    = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.gridAuditHistory.SelectionMode              = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.gridAuditHistory.Size                       = new System.Drawing.Size(408, 284);
     this.gridAuditHistory.TabIndex                   = 0;
     this.gridAuditHistory.VirtualMode                = true;
     this.gridAuditHistory.CellValueNeeded           += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.gridAuditHistory_CellValueNeeded);
     //
     // btnUpdate
     //
     this.btnUpdate.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnUpdate.FontSize      = MetroFramework.MetroButtonSize.Medium;
     this.btnUpdate.FontWeight    = MetroFramework.MetroButtonWeight.Light;
     this.btnUpdate.Location      = new System.Drawing.Point(361, 431);
     this.btnUpdate.Name          = "btnUpdate";
     this.btnUpdate.Size          = new System.Drawing.Size(60, 23);
     this.btnUpdate.TabIndex      = 6;
     this.btnUpdate.Text          = "Close";
     this.btnUpdate.UseSelectable = true;
     this.btnUpdate.Click        += new System.EventHandler(this.btnUpdate_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.FontSize      = MetroFramework.MetroButtonSize.Medium;
     this.btnCancel.FontWeight    = MetroFramework.MetroButtonWeight.Light;
     this.btnCancel.Location      = new System.Drawing.Point(290, 431);
     this.btnCancel.Name          = "btnCancel";
     this.btnCancel.Size          = new System.Drawing.Size(65, 23);
     this.btnCancel.TabIndex      = 7;
     this.btnCancel.Text          = "Cancel";
     this.btnCancel.UseSelectable = true;
     this.btnCancel.Click        += new System.EventHandler(this.btnCancel_Click);
     //
     // metroLabel1
     //
     this.metroLabel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.metroLabel1.Location    = new System.Drawing.Point(12, 94);
     this.metroLabel1.Name        = "metroLabel1";
     this.metroLabel1.Size        = new System.Drawing.Size(416, 2);
     this.metroLabel1.TabIndex    = 8;
     //
     // EditRecordType
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(440, 464);
     this.Controls.Add(this.metroLabel1);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnUpdate);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.lblTypeName);
     this.Controls.Add(this.txtRecTypeName);
     this.Controls.Add(this.txtRecId);
     this.Controls.Add(this.lblRecTypeId);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "EditRecordType";
     this.Resizable     = false;
     this.ShowInTaskbar = false;
     this.Text          = "Edit Record Type";
     this.tabAttributes.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabHistory.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridAuditHistory)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 44
0
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     btn_cancel           = new System.Windows.Forms.Button();
     l_title              = new System.Windows.Forms.Label();
     btn_quickSearch      = new System.Windows.Forms.Button();
     tb_keyword           = new System.Windows.Forms.TextBox();
     label1               = new System.Windows.Forms.Label();
     dataGridView1        = new System.Windows.Forms.DataGridView();
     btn_SelectedCallBack = new System.Windows.Forms.Button();
     select               = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     Column2              = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Column3              = new System.Windows.Forms.DataGridViewTextBoxColumn();
     hidden_SupplierNo    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
     SuspendLayout();
     btn_cancel.BackColor = System.Drawing.Color.FromArgb(175, 175, 175);
     btn_cancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_cancel.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     btn_cancel.ForeColor = System.Drawing.Color.White;
     btn_cancel.Location  = new System.Drawing.Point(472, 489);
     btn_cancel.Name      = "btn_cancel";
     btn_cancel.Size      = new System.Drawing.Size(124, 34);
     btn_cancel.TabIndex  = 46;
     btn_cancel.TabStop   = false;
     btn_cancel.Text      = "取消選擇";
     btn_cancel.UseVisualStyleBackColor = false;
     btn_cancel.Click         += new System.EventHandler(btn_cancel_Click);
     l_title.AutoSize          = true;
     l_title.Font              = new System.Drawing.Font("微軟正黑體", 14.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     l_title.ImageAlign        = System.Drawing.ContentAlignment.MiddleLeft;
     l_title.Location          = new System.Drawing.Point(180, 37);
     l_title.Name              = "l_title";
     l_title.Size              = new System.Drawing.Size(105, 24);
     l_title.TabIndex          = 52;
     l_title.Text              = "選擇供應商";
     l_title.TextAlign         = System.Drawing.ContentAlignment.MiddleRight;
     btn_quickSearch.BackColor = System.Drawing.Color.FromArgb(34, 159, 208);
     btn_quickSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     btn_quickSearch.Font      = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     btn_quickSearch.ForeColor = System.Drawing.Color.White;
     btn_quickSearch.Location  = new System.Drawing.Point(667, 35);
     btn_quickSearch.Margin    = new System.Windows.Forms.Padding(10, 10, 3, 3);
     btn_quickSearch.Name      = "btn_quickSearch";
     btn_quickSearch.Size      = new System.Drawing.Size(56, 29);
     btn_quickSearch.TabIndex  = 21;
     btn_quickSearch.Text      = "GO";
     btn_quickSearch.UseVisualStyleBackColor = false;
     btn_quickSearch.Click                      += new System.EventHandler(btn_quickSearch_Click);
     tb_keyword.Font                             = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     tb_keyword.ForeColor                        = System.Drawing.Color.Gray;
     tb_keyword.Location                         = new System.Drawing.Point(430, 35);
     tb_keyword.Name                             = "tb_keyword";
     tb_keyword.Size                             = new System.Drawing.Size(227, 29);
     tb_keyword.TabIndex                         = 20;
     tb_keyword.Text                             = "請輸入供應商代碼或關鍵字";
     tb_keyword.KeyDown                         += new System.Windows.Forms.KeyEventHandler(tb_keyword_KeyDown);
     label1.AutoSize                             = true;
     label1.Font                                 = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 136);
     label1.ImageAlign                           = System.Drawing.ContentAlignment.MiddleLeft;
     label1.Location                             = new System.Drawing.Point(299, 39);
     label1.Name                                 = "label1";
     label1.Size                                 = new System.Drawing.Size(125, 20);
     label1.TabIndex                             = 52;
     label1.Text                                 = "供應商快速篩選 ";
     label1.TextAlign                            = System.Drawing.ContentAlignment.MiddleRight;
     dataGridView1.AllowUserToAddRows            = false;
     dataGridView1.AllowUserToDeleteRows         = false;
     dataGridView1.AllowUserToResizeColumns      = false;
     dataGridView1.AllowUserToResizeRows         = false;
     dataGridView1.BackgroundColor               = System.Drawing.Color.White;
     dataGridView1.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     dataGridView1.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle.BackColor             = System.Drawing.Color.FromArgb(102, 102, 102);
     dataGridViewCellStyle.Font                  = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle.ForeColor             = System.Drawing.Color.White;
     dataGridViewCellStyle.Padding               = new System.Windows.Forms.Padding(6);
     dataGridViewCellStyle.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle;
     dataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView1.Columns.AddRange(select, Column2, Column3, hidden_SupplierNo);
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("微軟正黑體", 15f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
     dataGridViewCellStyle2.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.Padding            = new System.Windows.Forms.Padding(6);
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     dataGridView1.DefaultCellStyle            = dataGridViewCellStyle2;
     dataGridView1.EnableHeadersVisualStyles   = false;
     dataGridView1.Location                       = new System.Drawing.Point(47, 81);
     dataGridView1.Name                           = "dataGridView1";
     dataGridView1.RowHeadersVisible              = false;
     dataGridView1.RowTemplate.Height             = 35;
     dataGridView1.ScrollBars                     = System.Windows.Forms.ScrollBars.Vertical;
     dataGridView1.Size                           = new System.Drawing.Size(811, 392);
     dataGridView1.TabIndex                       = 53;
     dataGridView1.CellClick                     += new System.Windows.Forms.DataGridViewCellEventHandler(dataGridView1_CellClick);
     dataGridView1.CellMouseLeave                += new System.Windows.Forms.DataGridViewCellEventHandler(dataGridView1_CellMouseLeave);
     dataGridView1.CellMouseMove                 += new System.Windows.Forms.DataGridViewCellMouseEventHandler(dataGridView1_CellMouseMove);
     dataGridView1.SelectionChanged              += new System.EventHandler(dataGridView1_SelectionChanged);
     btn_SelectedCallBack.BackColor               = System.Drawing.Color.FromArgb(125, 156, 35);
     btn_SelectedCallBack.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     btn_SelectedCallBack.Font                    = new System.Drawing.Font("微軟正黑體", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 136);
     btn_SelectedCallBack.ForeColor               = System.Drawing.Color.White;
     btn_SelectedCallBack.Location                = new System.Drawing.Point(333, 489);
     btn_SelectedCallBack.Name                    = "btn_SelectedCallBack";
     btn_SelectedCallBack.Size                    = new System.Drawing.Size(124, 34);
     btn_SelectedCallBack.TabIndex                = 46;
     btn_SelectedCallBack.TabStop                 = false;
     btn_SelectedCallBack.Text                    = "選擇勾選";
     btn_SelectedCallBack.UseVisualStyleBackColor = false;
     btn_SelectedCallBack.Click                  += new System.EventHandler(btn_SelectedCallBack_Click);
     select.HeaderText              = "勾選";
     select.Name                    = "select";
     select.ReadOnly                = true;
     Column2.AutoSizeMode           = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     Column2.HeaderText             = "統一編號";
     Column2.Name                   = "Column2";
     Column2.ReadOnly               = true;
     Column2.SortMode               = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Column2.Width                  = 150;
     Column3.AutoSizeMode           = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     Column3.HeaderText             = "供應商名稱";
     Column3.Name                   = "Column3";
     Column3.ReadOnly               = true;
     Column3.SortMode               = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     hidden_SupplierNo.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     hidden_SupplierNo.HeaderText   = "系統供應商編號";
     hidden_SupplierNo.Name         = "hidden_SupplierNo";
     hidden_SupplierNo.ReadOnly     = true;
     hidden_SupplierNo.Resizable    = System.Windows.Forms.DataGridViewTriState.True;
     hidden_SupplierNo.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     hidden_SupplierNo.Visible      = false;
     hidden_SupplierNo.Width        = 150;
     base.AutoScaleDimensions       = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode             = System.Windows.Forms.AutoScaleMode.Font;
     AutoScroll      = true;
     BackColor       = System.Drawing.Color.Silver;
     base.ClientSize = new System.Drawing.Size(904, 576);
     base.ControlBox = false;
     base.Controls.Add(dataGridView1);
     base.Controls.Add(btn_quickSearch);
     base.Controls.Add(tb_keyword);
     base.Controls.Add(label1);
     base.Controls.Add(l_title);
     base.Controls.Add(btn_SelectedCallBack);
     base.Controls.Add(btn_cancel);
     base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     base.Name            = "dialogMultiChooseSupplier";
     base.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     Text       = "frmSearchMember";
     base.Load += new System.EventHandler(dialogChooseSupplier_Load);
     ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
     ResumeLayout(false);
     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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AutoNumMgr));
     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();
     this.toolStrip1          = new System.Windows.Forms.ToolStrip();
     this.tsbClose            = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbFXB                     = new System.Windows.Forms.ToolStripButton();
     this.tslAbout                   = new System.Windows.Forms.ToolStripLabel();
     this.label1                     = new System.Windows.Forms.Label();
     this.cmbEntities                = new System.Windows.Forms.ComboBox();
     this.label2                     = new System.Windows.Forms.Label();
     this.txtLogicalName             = new System.Windows.Forms.TextBox();
     this.contextMenuStrip1          = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.gbAttribute                = new System.Windows.Forms.GroupBox();
     this.llDocs                     = new System.Windows.Forms.LinkLabel();
     this.label11                    = new System.Windows.Forms.Label();
     this.label10                    = new System.Windows.Forms.Label();
     this.chkAllowNoSeqNo            = new System.Windows.Forms.CheckBox();
     this.btnGuessSeed               = new System.Windows.Forms.Button();
     this.txtHint                    = new System.Windows.Forms.TextBox();
     this.btnDelete                  = new System.Windows.Forms.Button();
     this.label9                     = new System.Windows.Forms.Label();
     this.txtSeed                    = new System.Windows.Forms.TextBox();
     this.lblPrefix                  = new System.Windows.Forms.Label();
     this.llRandom                   = new System.Windows.Forms.LinkLabel();
     this.llDatetime                 = new System.Windows.Forms.LinkLabel();
     this.llSeqnum                   = new System.Windows.Forms.LinkLabel();
     this.txtSample                  = new System.Windows.Forms.TextBox();
     this.label3                     = new System.Windows.Forms.Label();
     this.label6                     = new System.Windows.Forms.Label();
     this.txtLanguageId              = new System.Windows.Forms.TextBox();
     this.btnCreateUpdate            = new System.Windows.Forms.Button();
     this.linkLabel1                 = new System.Windows.Forms.LinkLabel();
     this.txtMaxLen                  = new System.Windows.Forms.TextBox();
     this.label7                     = new System.Windows.Forms.Label();
     this.txtNumberFormat            = new System.Windows.Forms.TextBox();
     this.txtDescription             = new System.Windows.Forms.TextBox();
     this.label5                     = new System.Windows.Forms.Label();
     this.txtDisplayName             = new System.Windows.Forms.TextBox();
     this.label4                     = new System.Windows.Forms.Label();
     this.splitContainer1            = new System.Windows.Forms.SplitContainer();
     this.gbExisting                 = new System.Windows.Forms.GroupBox();
     this.rbShowAttributesAllString  = new System.Windows.Forms.RadioButton();
     this.btnNew                     = new System.Windows.Forms.Button();
     this.rbShowAttributesOnlyNumber = new System.Windows.Forms.RadioButton();
     this.gridAttributes             = new System.Windows.Forms.DataGridView();
     this.Attribute                  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.DisplayName                = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Format                     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.gbTarget                   = new System.Windows.Forms.GroupBox();
     this.cmbSolution                = new System.Windows.Forms.ComboBox();
     this.label8                     = new System.Windows.Forms.Label();
     this.toolStrip1.SuspendLayout();
     this.gbAttribute.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.gbExisting.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridAttributes)).BeginInit();
     this.gbTarget.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStrip1
     //
     this.toolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbClose,
         this.toolStripSeparator1,
         this.tsbFXB,
         this.tslAbout
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(870, 31);
     this.toolStrip1.TabIndex = 0;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // tsbClose
     //
     this.tsbClose.Image = ((System.Drawing.Image)(resources.GetObject("tsbClose.Image")));
     this.tsbClose.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbClose.Name   = "tsbClose";
     this.tsbClose.Size   = new System.Drawing.Size(64, 28);
     this.tsbClose.Text   = "Close";
     this.tsbClose.Click += new System.EventHandler(this.tsbClose_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31);
     //
     // tsbFXB
     //
     this.tsbFXB.Enabled = false;
     this.tsbFXB.Image   = ((System.Drawing.Image)(resources.GetObject("tsbFXB.Image")));
     this.tsbFXB.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbFXB.Name   = "tsbFXB";
     this.tsbFXB.Size   = new System.Drawing.Size(139, 28);
     this.tsbFXB.Text   = "Show data with FXB";
     this.tsbFXB.Click += new System.EventHandler(this.tsbFXB_Click);
     //
     // tslAbout
     //
     this.tslAbout.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.tslAbout.Image     = ((System.Drawing.Image)(resources.GetObject("tslAbout.Image")));
     this.tslAbout.IsLink    = true;
     this.tslAbout.Name      = "tslAbout";
     this.tslAbout.Size      = new System.Drawing.Size(106, 28);
     this.tslAbout.Text      = "by Jonas Rapp";
     this.tslAbout.Click    += new System.EventHandler(this.tslAbout_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(6, 55);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(33, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Entity";
     //
     // cmbEntities
     //
     this.cmbEntities.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbEntities.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbEntities.Enabled           = false;
     this.cmbEntities.FormattingEnabled = true;
     this.cmbEntities.Location          = new System.Drawing.Point(106, 52);
     this.cmbEntities.Name                  = "cmbEntities";
     this.cmbEntities.Size                  = new System.Drawing.Size(361, 21);
     this.cmbEntities.TabIndex              = 2;
     this.cmbEntities.SelectedIndexChanged += new System.EventHandler(this.cmbEntities_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(6, 29);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 13);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Logical Name";
     //
     // txtLogicalName
     //
     this.txtLogicalName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.txtLogicalName.Enabled  = false;
     this.txtLogicalName.Location = new System.Drawing.Point(160, 26);
     this.txtLogicalName.Name     = "txtLogicalName";
     this.txtLogicalName.Size     = new System.Drawing.Size(216, 20);
     this.txtLogicalName.TabIndex = 1;
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
     //
     // gbAttribute
     //
     this.gbAttribute.Controls.Add(this.llDocs);
     this.gbAttribute.Controls.Add(this.label11);
     this.gbAttribute.Controls.Add(this.label10);
     this.gbAttribute.Controls.Add(this.chkAllowNoSeqNo);
     this.gbAttribute.Controls.Add(this.btnGuessSeed);
     this.gbAttribute.Controls.Add(this.txtHint);
     this.gbAttribute.Controls.Add(this.btnDelete);
     this.gbAttribute.Controls.Add(this.label9);
     this.gbAttribute.Controls.Add(this.txtSeed);
     this.gbAttribute.Controls.Add(this.lblPrefix);
     this.gbAttribute.Controls.Add(this.llRandom);
     this.gbAttribute.Controls.Add(this.llDatetime);
     this.gbAttribute.Controls.Add(this.llSeqnum);
     this.gbAttribute.Controls.Add(this.txtSample);
     this.gbAttribute.Controls.Add(this.label3);
     this.gbAttribute.Controls.Add(this.label6);
     this.gbAttribute.Controls.Add(this.txtLanguageId);
     this.gbAttribute.Controls.Add(this.btnCreateUpdate);
     this.gbAttribute.Controls.Add(this.linkLabel1);
     this.gbAttribute.Controls.Add(this.txtMaxLen);
     this.gbAttribute.Controls.Add(this.label7);
     this.gbAttribute.Controls.Add(this.txtNumberFormat);
     this.gbAttribute.Controls.Add(this.txtDescription);
     this.gbAttribute.Controls.Add(this.label5);
     this.gbAttribute.Controls.Add(this.txtDisplayName);
     this.gbAttribute.Controls.Add(this.label4);
     this.gbAttribute.Controls.Add(this.txtLogicalName);
     this.gbAttribute.Controls.Add(this.label2);
     this.gbAttribute.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gbAttribute.Enabled  = false;
     this.gbAttribute.Location = new System.Drawing.Point(0, 0);
     this.gbAttribute.Name     = "gbAttribute";
     this.gbAttribute.Size     = new System.Drawing.Size(390, 546);
     this.gbAttribute.TabIndex = 2;
     this.gbAttribute.TabStop  = false;
     this.gbAttribute.Text     = "Auto Numbered attribute";
     //
     // llDocs
     //
     this.llDocs.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.llDocs.AutoSize     = true;
     this.llDocs.Location     = new System.Drawing.Point(106, 493);
     this.llDocs.Name         = "llDocs";
     this.llDocs.Size         = new System.Drawing.Size(212, 13);
     this.llDocs.TabIndex     = 33;
     this.llDocs.TabStop      = true;
     this.llDocs.Text         = "View documentation on docs.microsoft.com";
     this.llDocs.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llDocs_LinkClicked);
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(52, 181);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(51, 13);
     this.label11.TabIndex = 32;
     this.label11.Text     = "Snippets:";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(6, 201);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(56, 13);
     this.label10.TabIndex = 31;
     this.label10.Text     = "Advanced";
     //
     // chkAllowNoSeqNo
     //
     this.chkAllowNoSeqNo.AutoSize = true;
     this.chkAllowNoSeqNo.Location = new System.Drawing.Point(106, 200);
     this.chkAllowNoSeqNo.Name     = "chkAllowNoSeqNo";
     this.chkAllowNoSeqNo.Size     = new System.Drawing.Size(136, 17);
     this.chkAllowNoSeqNo.TabIndex = 10;
     this.chkAllowNoSeqNo.Text     = "Don\'t require SEQNUM";
     this.chkAllowNoSeqNo.UseVisualStyleBackColor = true;
     this.chkAllowNoSeqNo.CheckedChanged         += new System.EventHandler(this.chkAllowNoSeqNo_CheckedChanged);
     //
     // btnGuessSeed
     //
     this.btnGuessSeed.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnGuessSeed.Location = new System.Drawing.Point(242, 227);
     this.btnGuessSeed.Name     = "btnGuessSeed";
     this.btnGuessSeed.Size     = new System.Drawing.Size(134, 23);
     this.btnGuessSeed.TabIndex = 12;
     this.btnGuessSeed.Text     = "Guess current SEQNUM";
     this.btnGuessSeed.UseVisualStyleBackColor = true;
     this.btnGuessSeed.Click += new System.EventHandler(this.btnGuessSeed_Click);
     //
     // txtHint
     //
     this.txtHint.AcceptsReturn = true;
     this.txtHint.Anchor        = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.txtHint.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtHint.Location    = new System.Drawing.Point(106, 281);
     this.txtHint.Multiline   = true;
     this.txtHint.Name        = "txtHint";
     this.txtHint.ReadOnly    = true;
     this.txtHint.Size        = new System.Drawing.Size(270, 37);
     this.txtHint.TabIndex    = 28;
     this.txtHint.TabStop     = false;
     //
     // btnDelete
     //
     this.btnDelete.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDelete.Enabled  = false;
     this.btnDelete.Location = new System.Drawing.Point(242, 513);
     this.btnDelete.Name     = "btnDelete";
     this.btnDelete.Size     = new System.Drawing.Size(134, 23);
     this.btnDelete.TabIndex = 15;
     this.btnDelete.Text     = "Delete attribute";
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(6, 232);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(32, 13);
     this.label9.TabIndex = 26;
     this.label9.Text     = "Seed";
     //
     // txtSeed
     //
     this.txtSeed.Enabled      = false;
     this.txtSeed.Location     = new System.Drawing.Point(106, 229);
     this.txtSeed.Name         = "txtSeed";
     this.txtSeed.Size         = new System.Drawing.Size(100, 20);
     this.txtSeed.TabIndex     = 11;
     this.txtSeed.TextChanged += new System.EventHandler(this.txtSeed_TextChanged);
     //
     // lblPrefix
     //
     this.lblPrefix.AutoSize = true;
     this.lblPrefix.Location = new System.Drawing.Point(106, 29);
     this.lblPrefix.Name     = "lblPrefix";
     this.lblPrefix.Size     = new System.Drawing.Size(33, 13);
     this.lblPrefix.TabIndex = 24;
     this.lblPrefix.Text     = "new_";
     //
     // llRandom
     //
     this.llRandom.AutoSize     = true;
     this.llRandom.Location     = new System.Drawing.Point(256, 181);
     this.llRandom.Name         = "llRandom";
     this.llRandom.Size         = new System.Drawing.Size(79, 13);
     this.llRandom.TabIndex     = 9;
     this.llRandom.TabStop      = true;
     this.llRandom.Text         = "RANDSTRING";
     this.llRandom.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llRandom_LinkClicked);
     //
     // llDatetime
     //
     this.llDatetime.AutoSize     = true;
     this.llDatetime.Location     = new System.Drawing.Point(166, 181);
     this.llDatetime.Name         = "llDatetime";
     this.llDatetime.Size         = new System.Drawing.Size(84, 13);
     this.llDatetime.TabIndex     = 8;
     this.llDatetime.TabStop      = true;
     this.llDatetime.Text         = "DATETIMEUTC";
     this.llDatetime.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llDatetime_LinkClicked);
     //
     // llSeqnum
     //
     this.llSeqnum.AutoSize     = true;
     this.llSeqnum.Location     = new System.Drawing.Point(106, 181);
     this.llSeqnum.Name         = "llSeqnum";
     this.llSeqnum.Size         = new System.Drawing.Size(54, 13);
     this.llSeqnum.TabIndex     = 7;
     this.llSeqnum.TabStop      = true;
     this.llSeqnum.Text         = "SEQNUM";
     this.llSeqnum.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llSeqnum_LinkClicked);
     //
     // txtSample
     //
     this.txtSample.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSample.Location = new System.Drawing.Point(106, 255);
     this.txtSample.Name     = "txtSample";
     this.txtSample.ReadOnly = true;
     this.txtSample.Size     = new System.Drawing.Size(270, 20);
     this.txtSample.TabIndex = 13;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(6, 258);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(80, 13);
     this.label3.TabIndex = 19;
     this.label3.Text     = "Sample number";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(6, 133);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(67, 13);
     this.label6.TabIndex = 18;
     this.label6.Text     = "Language Id";
     //
     // txtLanguageId
     //
     this.txtLanguageId.Location     = new System.Drawing.Point(106, 130);
     this.txtLanguageId.Name         = "txtLanguageId";
     this.txtLanguageId.Size         = new System.Drawing.Size(100, 20);
     this.txtLanguageId.TabIndex     = 5;
     this.txtLanguageId.TextChanged += new System.EventHandler(this.txtLanguageId_TextChanged);
     //
     // btnCreateUpdate
     //
     this.btnCreateUpdate.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnCreateUpdate.Location = new System.Drawing.Point(106, 513);
     this.btnCreateUpdate.Name     = "btnCreateUpdate";
     this.btnCreateUpdate.Size     = new System.Drawing.Size(134, 23);
     this.btnCreateUpdate.TabIndex = 14;
     this.btnCreateUpdate.Text     = "Create attribute";
     this.btnCreateUpdate.UseVisualStyleBackColor = true;
     this.btnCreateUpdate.Click += new System.EventHandler(this.btnCreateUpdate_Click);
     //
     // linkLabel1
     //
     this.linkLabel1.AutoSize     = true;
     this.linkLabel1.Location     = new System.Drawing.Point(6, 159);
     this.linkLabel1.Name         = "linkLabel1";
     this.linkLabel1.Size         = new System.Drawing.Size(79, 13);
     this.linkLabel1.TabIndex     = 15;
     this.linkLabel1.TabStop      = true;
     this.linkLabel1.Text         = "Number Format";
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // txtMaxLen
     //
     this.txtMaxLen.Location     = new System.Drawing.Point(106, 104);
     this.txtMaxLen.Name         = "txtMaxLen";
     this.txtMaxLen.Size         = new System.Drawing.Size(100, 20);
     this.txtMaxLen.TabIndex     = 4;
     this.txtMaxLen.TextChanged += new System.EventHandler(this.txtMaxLen_TextChanged);
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(6, 107);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(87, 13);
     this.label7.TabIndex = 13;
     this.label7.Text     = "Maximum Length";
     //
     // txtNumberFormat
     //
     this.txtNumberFormat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtNumberFormat.Location     = new System.Drawing.Point(106, 156);
     this.txtNumberFormat.Name         = "txtNumberFormat";
     this.txtNumberFormat.Size         = new System.Drawing.Size(270, 20);
     this.txtNumberFormat.TabIndex     = 6;
     this.txtNumberFormat.TextChanged += new System.EventHandler(this.txtNumberFormat_TextChanged);
     //
     // txtDescription
     //
     this.txtDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDescription.Location = new System.Drawing.Point(106, 78);
     this.txtDescription.Name     = "txtDescription";
     this.txtDescription.Size     = new System.Drawing.Size(270, 20);
     this.txtDescription.TabIndex = 3;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(6, 81);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(60, 13);
     this.label5.TabIndex = 9;
     this.label5.Text     = "Description";
     //
     // txtDisplayName
     //
     this.txtDisplayName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDisplayName.Location = new System.Drawing.Point(106, 52);
     this.txtDisplayName.Name     = "txtDisplayName";
     this.txtDisplayName.Size     = new System.Drawing.Size(270, 20);
     this.txtDisplayName.TabIndex = 2;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(6, 55);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(72, 13);
     this.label4.TabIndex = 7;
     this.label4.Text     = "Display Name";
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 31);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.gbExisting);
     this.splitContainer1.Panel1.Controls.Add(this.gbTarget);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.gbAttribute);
     this.splitContainer1.Size             = new System.Drawing.Size(870, 546);
     this.splitContainer1.SplitterDistance = 476;
     this.splitContainer1.TabIndex         = 7;
     //
     // gbExisting
     //
     this.gbExisting.Controls.Add(this.rbShowAttributesAllString);
     this.gbExisting.Controls.Add(this.btnNew);
     this.gbExisting.Controls.Add(this.rbShowAttributesOnlyNumber);
     this.gbExisting.Controls.Add(this.gridAttributes);
     this.gbExisting.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gbExisting.Location = new System.Drawing.Point(0, 83);
     this.gbExisting.Name     = "gbExisting";
     this.gbExisting.Size     = new System.Drawing.Size(476, 463);
     this.gbExisting.TabIndex = 3;
     this.gbExisting.TabStop  = false;
     this.gbExisting.Text     = "Existing Text attributes";
     //
     // rbShowAttributesAllString
     //
     this.rbShowAttributesAllString.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.rbShowAttributesAllString.AutoSize  = true;
     this.rbShowAttributesAllString.Location  = new System.Drawing.Point(328, 22);
     this.rbShowAttributesAllString.Name      = "rbShowAttributesAllString";
     this.rbShowAttributesAllString.Size      = new System.Drawing.Size(139, 17);
     this.rbShowAttributesAllString.TabIndex  = 2;
     this.rbShowAttributesAllString.Text      = "Show all string attributes";
     this.rbShowAttributesAllString.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.rbShowAttributesAllString.UseVisualStyleBackColor = true;
     this.rbShowAttributesAllString.CheckedChanged         += new System.EventHandler(this.rbShowAttributes_CheckedChanged);
     //
     // btnNew
     //
     this.btnNew.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnNew.Enabled  = false;
     this.btnNew.Location = new System.Drawing.Point(333, 430);
     this.btnNew.Name     = "btnNew";
     this.btnNew.Size     = new System.Drawing.Size(134, 23);
     this.btnNew.TabIndex = 4;
     this.btnNew.Text     = "New Attribute";
     this.btnNew.UseVisualStyleBackColor = true;
     this.btnNew.Click += new System.EventHandler(this.btnNew_Click);
     //
     // rbShowAttributesOnlyNumber
     //
     this.rbShowAttributesOnlyNumber.AutoSize = true;
     this.rbShowAttributesOnlyNumber.Checked  = true;
     this.rbShowAttributesOnlyNumber.Location = new System.Drawing.Point(9, 22);
     this.rbShowAttributesOnlyNumber.Name     = "rbShowAttributesOnlyNumber";
     this.rbShowAttributesOnlyNumber.Size     = new System.Drawing.Size(182, 17);
     this.rbShowAttributesOnlyNumber.TabIndex = 1;
     this.rbShowAttributesOnlyNumber.TabStop  = true;
     this.rbShowAttributesOnlyNumber.Text     = "Only show auto number attributes";
     this.rbShowAttributesOnlyNumber.UseVisualStyleBackColor = true;
     this.rbShowAttributesOnlyNumber.CheckedChanged         += new System.EventHandler(this.rbShowAttributes_CheckedChanged);
     //
     // gridAttributes
     //
     this.gridAttributes.AllowUserToResizeRows = false;
     this.gridAttributes.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)));
     dataGridViewCellStyle1.Alignment                  = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor                  = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, 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.gridAttributes.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.gridAttributes.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gridAttributes.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Attribute,
         this.DisplayName,
         this.Format
     });
     dataGridViewCellStyle2.Alignment              = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor              = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font                   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor              = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor     = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor     = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode               = System.Windows.Forms.DataGridViewTriState.False;
     this.gridAttributes.DefaultCellStyle          = dataGridViewCellStyle2;
     this.gridAttributes.Enabled                   = false;
     this.gridAttributes.EnableHeadersVisualStyles = false;
     this.gridAttributes.Location                  = new System.Drawing.Point(9, 48);
     this.gridAttributes.Name                       = "gridAttributes";
     dataGridViewCellStyle3.Alignment               = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor               = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     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.gridAttributes.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.gridAttributes.RowHeadersVisible          = false;
     this.gridAttributes.SelectionMode              = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.gridAttributes.Size                       = new System.Drawing.Size(458, 376);
     this.gridAttributes.TabIndex                   = 3;
     this.gridAttributes.SelectionChanged          += new System.EventHandler(this.gridAttributes_SelectionChanged);
     //
     // Attribute
     //
     this.Attribute.DataPropertyName = "LogicalName";
     this.Attribute.HeaderText       = "Logical Name";
     this.Attribute.Name             = "Attribute";
     this.Attribute.ReadOnly         = true;
     this.Attribute.ToolTipText      = "Logical Name";
     this.Attribute.Width            = 150;
     //
     // DisplayName
     //
     this.DisplayName.DataPropertyName = "DisplayName";
     this.DisplayName.HeaderText       = "Display Name";
     this.DisplayName.Name             = "DisplayName";
     this.DisplayName.ReadOnly         = true;
     this.DisplayName.ToolTipText      = "Display Name";
     this.DisplayName.Width            = 150;
     //
     // Format
     //
     this.Format.DataPropertyName = "Format";
     this.Format.HeaderText       = "Format";
     this.Format.Name             = "Format";
     this.Format.ReadOnly         = true;
     this.Format.ToolTipText      = "Format";
     this.Format.Width            = 200;
     //
     // gbTarget
     //
     this.gbTarget.Controls.Add(this.cmbSolution);
     this.gbTarget.Controls.Add(this.label8);
     this.gbTarget.Controls.Add(this.cmbEntities);
     this.gbTarget.Controls.Add(this.label1);
     this.gbTarget.Dock     = System.Windows.Forms.DockStyle.Top;
     this.gbTarget.Location = new System.Drawing.Point(0, 0);
     this.gbTarget.Name     = "gbTarget";
     this.gbTarget.Size     = new System.Drawing.Size(476, 83);
     this.gbTarget.TabIndex = 1;
     this.gbTarget.TabStop  = false;
     this.gbTarget.Text     = "Target";
     //
     // cmbSolution
     //
     this.cmbSolution.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbSolution.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbSolution.Enabled           = false;
     this.cmbSolution.FormattingEnabled = true;
     this.cmbSolution.Location          = new System.Drawing.Point(106, 26);
     this.cmbSolution.Name                  = "cmbSolution";
     this.cmbSolution.Size                  = new System.Drawing.Size(361, 21);
     this.cmbSolution.TabIndex              = 1;
     this.cmbSolution.SelectedIndexChanged += new System.EventHandler(this.cmbSolution_SelectedIndexChanged);
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(6, 29);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(45, 13);
     this.label8.TabIndex = 3;
     this.label8.Text     = "Solution";
     //
     // AutoNumMgr
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.toolStrip1);
     this.Name               = "AutoNumMgr";
     this.PluginIcon         = ((System.Drawing.Icon)(resources.GetObject("$this.PluginIcon")));
     this.Size               = new System.Drawing.Size(870, 577);
     this.TabIcon            = ((System.Drawing.Image)(resources.GetObject("$this.TabIcon")));
     this.ConnectionUpdated += new XrmToolBox.Extensibility.PluginControlBase.ConnectionUpdatedHandler(this.AutoNumMgr_ConnectionUpdated);
     this.Load              += new System.EventHandler(this.AutoNumMgr_Load);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.gbAttribute.ResumeLayout(false);
     this.gbAttribute.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.gbExisting.ResumeLayout(false);
     this.gbExisting.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridAttributes)).EndInit();
     this.gbTarget.ResumeLayout(false);
     this.gbTarget.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
     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();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
     this.label1          = new System.Windows.Forms.Label();
     this.buttonPrint     = new System.Windows.Forms.Button();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.label12         = new System.Windows.Forms.Label();
     this.dataGridView1   = new System.Windows.Forms.DataGridView();
     this.Column2         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column5         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column6         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column7         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column1         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buttonSearch    = new System.Windows.Forms.Button();
     this.buttonSave      = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.DarkSeaGreen;
     this.groupBox1.Controls.Add(this.buttonSave);
     this.groupBox1.Controls.Add(this.dateTimePicker2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.buttonPrint);
     this.groupBox1.Controls.Add(this.dateTimePicker1);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.dataGridView1);
     this.groupBox1.Controls.Add(this.buttonSearch);
     this.groupBox1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(5, 5);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(695, 447);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Report Monthly Sales Parts";
     //
     // dateTimePicker2
     //
     this.dateTimePicker2.CustomFormat = "dd-MM-yyyy";
     this.dateTimePicker2.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimePicker2.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker2.Location     = new System.Drawing.Point(207, 19);
     this.dateTimePicker2.Name         = "dateTimePicker2";
     this.dateTimePicker2.Size         = new System.Drawing.Size(89, 22);
     this.dateTimePicker2.TabIndex     = 48;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.DarkSeaGreen;
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(179, 22);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(25, 16);
     this.label1.TabIndex  = 47;
     this.label1.Text      = "To";
     //
     // buttonPrint
     //
     this.buttonPrint.BackColor = System.Drawing.Color.MediumSeaGreen;
     this.buttonPrint.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonPrint.Location  = new System.Drawing.Point(428, 15);
     this.buttonPrint.Name      = "buttonPrint";
     this.buttonPrint.Size      = new System.Drawing.Size(120, 30);
     this.buttonPrint.TabIndex  = 46;
     this.buttonPrint.Text      = "Print";
     this.buttonPrint.UseVisualStyleBackColor = false;
     this.buttonPrint.Click += new System.EventHandler(this.buttonPrint_Click);
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.CustomFormat = "dd-MM-yyyy";
     this.dateTimePicker1.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimePicker1.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location     = new System.Drawing.Point(84, 19);
     this.dateTimePicker1.Name         = "dateTimePicker1";
     this.dateTimePicker1.Size         = new System.Drawing.Size(88, 22);
     this.dateTimePicker1.TabIndex     = 38;
     //
     // label12
     //
     this.label12.AutoSize  = true;
     this.label12.BackColor = System.Drawing.Color.DarkSeaGreen;
     this.label12.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.Location  = new System.Drawing.Point(44, 22);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(37, 16);
     this.label12.TabIndex  = 37;
     this.label12.Text      = "Date";
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows            = false;
     this.dataGridView1.BackgroundColor               = System.Drawing.Color.DarkSeaGreen;
     this.dataGridView1.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     dataGridViewCellStyle8.Alignment                 = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle8.BackColor                 = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle8.Font                      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle8.ForeColor                 = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle8.SelectionBackColor        = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle8.SelectionForeColor        = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle8.WrapMode                  = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
     this.dataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Column2,
         this.Column5,
         this.Column6,
         this.Column7,
         this.Column1
     });
     this.dataGridView1.Location                   = new System.Drawing.Point(7, 46);
     this.dataGridView1.Name                       = "dataGridView1";
     this.dataGridView1.ReadOnly                   = true;
     dataGridViewCellStyle14.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle14.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle14.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle14.ForeColor             = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle14.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle14.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle14.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle14;
     this.dataGridView1.Size                       = new System.Drawing.Size(682, 395);
     this.dataGridView1.TabIndex                   = 36;
     //
     // Column2
     //
     dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     this.Column2.DefaultCellStyle    = dataGridViewCellStyle9;
     this.Column2.HeaderText          = "Model";
     this.Column2.Name     = "Column2";
     this.Column2.ReadOnly = true;
     //
     // Column5
     //
     dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     this.Column5.DefaultCellStyle     = dataGridViewCellStyle10;
     this.Column5.FillWeight           = 80F;
     this.Column5.HeaderText           = "Parts No";
     this.Column5.Name     = "Column5";
     this.Column5.ReadOnly = true;
     this.Column5.Width    = 120;
     //
     // Column6
     //
     dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     this.Column6.DefaultCellStyle     = dataGridViewCellStyle11;
     this.Column6.HeaderText           = "Description";
     this.Column6.Name     = "Column6";
     this.Column6.ReadOnly = true;
     this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column6.Width    = 250;
     //
     // Column7
     //
     dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Column7.DefaultCellStyle     = dataGridViewCellStyle12;
     this.Column7.HeaderText           = "Quantity";
     this.Column7.Name     = "Column7";
     this.Column7.ReadOnly = true;
     this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column7.Width    = 80;
     //
     // Column1
     //
     dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Column1.DefaultCellStyle     = dataGridViewCellStyle13;
     this.Column1.HeaderText           = "Available";
     this.Column1.Name     = "Column1";
     this.Column1.ReadOnly = true;
     this.Column1.Width    = 80;
     //
     // buttonSearch
     //
     this.buttonSearch.BackColor = System.Drawing.Color.MediumSeaGreen;
     this.buttonSearch.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonSearch.Location  = new System.Drawing.Point(302, 15);
     this.buttonSearch.Name      = "buttonSearch";
     this.buttonSearch.Size      = new System.Drawing.Size(120, 30);
     this.buttonSearch.TabIndex  = 39;
     this.buttonSearch.Text      = "Search";
     this.buttonSearch.UseVisualStyleBackColor = false;
     this.buttonSearch.Click += new System.EventHandler(this.buttonSearch_Click);
     //
     // buttonSave
     //
     this.buttonSave.BackColor = System.Drawing.Color.MediumSeaGreen;
     this.buttonSave.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonSave.Location  = new System.Drawing.Point(554, 15);
     this.buttonSave.Name      = "buttonSave";
     this.buttonSave.Size      = new System.Drawing.Size(120, 30);
     this.buttonSave.TabIndex  = 49;
     this.buttonSave.Text      = "Save";
     this.buttonSave.UseVisualStyleBackColor = false;
     this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
     //
     // ReportSalesPartsDaily
     //
     this.BackColor  = System.Drawing.Color.MediumSeaGreen;
     this.ClientSize = new System.Drawing.Size(704, 456);
     this.Controls.Add(this.groupBox1);
     this.Name          = "ReportSalesPartsDaily";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "ReportSalesPartsDaily";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 47
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.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(ExamList));
     this.dgvExamList = new System.Windows.Forms.DataGridView();
     this.noDataGridViewTextBoxColumn            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.examnameDataGridViewTextBoxColumn      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.idDataGridViewTextBoxColumn            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.effectivetimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.durationDataGridViewTextBoxColumn      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.passcriteriaDataGridViewTextBoxColumn  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.totalscoreDataGridViewTextBoxColumn    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.operationDataGridViewTextBoxColumn     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.searchExamBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.oesDataSet             = new OesUI.oesDataSet();
     this.lblIDIncrease          = new System.Windows.Forms.Label();
     this.lblIDdecrease          = new System.Windows.Forms.Label();
     this.lblNameDecrease        = new System.Windows.Forms.Label();
     this.lblNameIncrease        = new System.Windows.Forms.Label();
     this.lblTimeIncrease        = new System.Windows.Forms.Label();
     this.lblTimeDecrease        = new System.Windows.Forms.Label();
     this.lblPassIncrease        = new System.Windows.Forms.Label();
     this.lblPassDecrease        = new System.Windows.Forms.Label();
     this.lblTotalIncrease       = new System.Windows.Forms.Label();
     this.lblTotalDecrease       = new System.Windows.Forms.Label();
     this.lblCriteriaIncre       = new System.Windows.Forms.Label();
     this.lblCriteriaDecre       = new System.Windows.Forms.Label();
     this.searchExamTableAdapter = new OesUI.oesDataSetTableAdapters.SearchExamTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.dgvExamList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.searchExamBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.oesDataSet)).BeginInit();
     this.SuspendLayout();
     //
     // dgvExamList
     //
     this.dgvExamList.AllowUserToAddRows       = false;
     this.dgvExamList.AllowUserToDeleteRows    = false;
     this.dgvExamList.AllowUserToResizeColumns = false;
     this.dgvExamList.AllowUserToResizeRows    = false;
     dataGridViewCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle1.BackColor          = System.Drawing.Color.White;
     dataGridViewCellStyle1.Font                      = new System.Drawing.Font("Arial", 10.5F);
     dataGridViewCellStyle1.ForeColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(10)))));
     dataGridViewCellStyle1.SelectionBackColor        = System.Drawing.Color.White;
     dataGridViewCellStyle1.SelectionForeColor        = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(10)))));
     this.dgvExamList.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvExamList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.dgvExamList.AutoGenerateColumns      = false;
     this.dgvExamList.BackgroundColor          = System.Drawing.Color.White;
     this.dgvExamList.CellBorderStyle          = System.Windows.Forms.DataGridViewCellBorderStyle.RaisedHorizontal;
     this.dgvExamList.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor          = System.Drawing.Color.White;
     dataGridViewCellStyle2.Font                    = new System.Drawing.Font("Arial", 10.5F);
     dataGridViewCellStyle2.ForeColor               = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(10)))));
     dataGridViewCellStyle2.SelectionBackColor      = System.Drawing.Color.White;
     dataGridViewCellStyle2.SelectionForeColor      = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(10)))));
     dataGridViewCellStyle2.WrapMode                = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvExamList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgvExamList.ColumnHeadersHeight           = 40;
     this.dgvExamList.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dgvExamList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.noDataGridViewTextBoxColumn,
         this.examnameDataGridViewTextBoxColumn,
         this.idDataGridViewTextBoxColumn,
         this.effectivetimeDataGridViewTextBoxColumn,
         this.durationDataGridViewTextBoxColumn,
         this.passcriteriaDataGridViewTextBoxColumn,
         this.totalscoreDataGridViewTextBoxColumn,
         this.operationDataGridViewTextBoxColumn
     });
     this.dgvExamList.DataSource                = this.searchExamBindingSource;
     dataGridViewCellStyle3.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle3.BackColor           = System.Drawing.Color.White;
     dataGridViewCellStyle3.Font                = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle3.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(10)))));
     dataGridViewCellStyle3.SelectionBackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(67)))), ((int)(((byte)(88)))));
     dataGridViewCellStyle3.SelectionForeColor  = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle3.WrapMode            = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvExamList.DefaultCellStyle          = dataGridViewCellStyle3;
     this.dgvExamList.EnableHeadersVisualStyles = false;
     this.dgvExamList.GridColor                  = System.Drawing.Color.White;
     this.dgvExamList.Location                   = new System.Drawing.Point(0, 0);
     this.dgvExamList.Margin                     = new System.Windows.Forms.Padding(0);
     this.dgvExamList.Name                       = "dgvExamList";
     this.dgvExamList.ReadOnly                   = true;
     this.dgvExamList.RowHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle4.Alignment            = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle4.BackColor            = System.Drawing.Color.White;
     dataGridViewCellStyle4.Font                 = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle4.ForeColor            = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle4.SelectionBackColor   = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle4.SelectionForeColor   = System.Drawing.Color.Black;
     dataGridViewCellStyle4.WrapMode             = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvExamList.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
     this.dgvExamList.RowHeadersWidth            = 5;
     this.dgvExamList.RowHeadersWidthSizeMode    = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     dataGridViewCellStyle5.Alignment            = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle5.BackColor            = System.Drawing.Color.White;
     dataGridViewCellStyle5.Font                 = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle5.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(10)))));
     dataGridViewCellStyle5.SelectionBackColor   = System.Drawing.Color.White;
     dataGridViewCellStyle5.SelectionForeColor   = System.Drawing.Color.Black;
     this.dgvExamList.RowsDefaultCellStyle       = dataGridViewCellStyle5;
     this.dgvExamList.RowTemplate.Height         = 23;
     this.dgvExamList.SelectionMode              = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvExamList.Size                       = new System.Drawing.Size(980, 422);
     this.dgvExamList.TabIndex                   = 0;
     this.dgvExamList.CellClick                 += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvExamList_CellClick);
     this.dgvExamList.CellMouseEnter            += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvExamList_CellMouseEnter);
     this.dgvExamList.CellMouseLeave            += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvExamList_CellMouseLeave);
     this.dgvExamList.MouseClick                += new System.Windows.Forms.MouseEventHandler(this.dgvExamList_MouseClick);
     //
     // noDataGridViewTextBoxColumn
     //
     this.noDataGridViewTextBoxColumn.DataPropertyName = "No";
     this.noDataGridViewTextBoxColumn.HeaderText       = "";
     this.noDataGridViewTextBoxColumn.Name             = "noDataGridViewTextBoxColumn";
     this.noDataGridViewTextBoxColumn.ReadOnly         = true;
     this.noDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
     this.noDataGridViewTextBoxColumn.Width            = 70;
     //
     // examnameDataGridViewTextBoxColumn
     //
     this.examnameDataGridViewTextBoxColumn.DataPropertyName = "exam_name";
     this.examnameDataGridViewTextBoxColumn.HeaderText       = "Name";
     this.examnameDataGridViewTextBoxColumn.Name             = "examnameDataGridViewTextBoxColumn";
     this.examnameDataGridViewTextBoxColumn.ReadOnly         = true;
     this.examnameDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
     //
     // idDataGridViewTextBoxColumn
     //
     this.idDataGridViewTextBoxColumn.DataPropertyName = "id";
     this.idDataGridViewTextBoxColumn.HeaderText       = "ID";
     this.idDataGridViewTextBoxColumn.Name             = "idDataGridViewTextBoxColumn";
     this.idDataGridViewTextBoxColumn.ReadOnly         = true;
     this.idDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
     //
     // effectivetimeDataGridViewTextBoxColumn
     //
     this.effectivetimeDataGridViewTextBoxColumn.DataPropertyName = "effective_time";
     this.effectivetimeDataGridViewTextBoxColumn.HeaderText       = "Effective Time";
     this.effectivetimeDataGridViewTextBoxColumn.Name             = "effectivetimeDataGridViewTextBoxColumn";
     this.effectivetimeDataGridViewTextBoxColumn.ReadOnly         = true;
     this.effectivetimeDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
     this.effectivetimeDataGridViewTextBoxColumn.Width            = 150;
     //
     // durationDataGridViewTextBoxColumn
     //
     this.durationDataGridViewTextBoxColumn.DataPropertyName = "duration";
     this.durationDataGridViewTextBoxColumn.HeaderText       = "Duration(Mins)";
     this.durationDataGridViewTextBoxColumn.Name             = "durationDataGridViewTextBoxColumn";
     this.durationDataGridViewTextBoxColumn.ReadOnly         = true;
     this.durationDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
     this.durationDataGridViewTextBoxColumn.Width            = 150;
     //
     // passcriteriaDataGridViewTextBoxColumn
     //
     this.passcriteriaDataGridViewTextBoxColumn.DataPropertyName = "pass_criteria";
     this.passcriteriaDataGridViewTextBoxColumn.HeaderText       = "Pass Criteria";
     this.passcriteriaDataGridViewTextBoxColumn.Name             = "passcriteriaDataGridViewTextBoxColumn";
     this.passcriteriaDataGridViewTextBoxColumn.ReadOnly         = true;
     this.passcriteriaDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
     this.passcriteriaDataGridViewTextBoxColumn.Width            = 150;
     //
     // totalscoreDataGridViewTextBoxColumn
     //
     this.totalscoreDataGridViewTextBoxColumn.DataPropertyName = "total_score";
     this.totalscoreDataGridViewTextBoxColumn.HeaderText       = "Exam/Total Score";
     this.totalscoreDataGridViewTextBoxColumn.Name             = "totalscoreDataGridViewTextBoxColumn";
     this.totalscoreDataGridViewTextBoxColumn.ReadOnly         = true;
     this.totalscoreDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
     this.totalscoreDataGridViewTextBoxColumn.Width            = 150;
     //
     // operationDataGridViewTextBoxColumn
     //
     this.operationDataGridViewTextBoxColumn.DataPropertyName = "operation";
     this.operationDataGridViewTextBoxColumn.HeaderText       = "Operation";
     this.operationDataGridViewTextBoxColumn.Name             = "operationDataGridViewTextBoxColumn";
     this.operationDataGridViewTextBoxColumn.ReadOnly         = true;
     this.operationDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
     //
     // searchExamBindingSource
     //
     this.searchExamBindingSource.DataMember = "SearchExam";
     this.searchExamBindingSource.DataSource = this.oesDataSet;
     //
     // oesDataSet
     //
     this.oesDataSet.DataSetName             = "oesDataSet";
     this.oesDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // lblIDIncrease
     //
     this.lblIDIncrease.BackColor = System.Drawing.Color.White;
     this.lblIDIncrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblIDIncrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblIDIncrease.Image")));
     this.lblIDIncrease.Location  = new System.Drawing.Point(225, 13);
     this.lblIDIncrease.Name      = "lblIDIncrease";
     this.lblIDIncrease.Size      = new System.Drawing.Size(10, 15);
     this.lblIDIncrease.TabIndex  = 1;
     this.lblIDIncrease.Tag       = "1";
     this.lblIDIncrease.Click    += new System.EventHandler(this.lblIDIncrease_Click);
     //
     // lblIDdecrease
     //
     this.lblIDdecrease.BackColor = System.Drawing.Color.White;
     this.lblIDdecrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblIDdecrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblIDdecrease.Image")));
     this.lblIDdecrease.Location  = new System.Drawing.Point(225, 13);
     this.lblIDdecrease.Name      = "lblIDdecrease";
     this.lblIDdecrease.Size      = new System.Drawing.Size(10, 15);
     this.lblIDdecrease.TabIndex  = 2;
     this.lblIDdecrease.Tag       = "2";
     this.lblIDdecrease.Visible   = false;
     this.lblIDdecrease.Click    += new System.EventHandler(this.lblIDdecrease_Click);
     //
     // lblNameDecrease
     //
     this.lblNameDecrease.BackColor = System.Drawing.Color.White;
     this.lblNameDecrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblNameDecrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblNameDecrease.Image")));
     this.lblNameDecrease.Location  = new System.Drawing.Point(139, 12);
     this.lblNameDecrease.Name      = "lblNameDecrease";
     this.lblNameDecrease.Size      = new System.Drawing.Size(10, 15);
     this.lblNameDecrease.TabIndex  = 3;
     this.lblNameDecrease.Tag       = "2";
     this.lblNameDecrease.Visible   = false;
     this.lblNameDecrease.Click    += new System.EventHandler(this.lblNameDecrease_Click);
     //
     // lblNameIncrease
     //
     this.lblNameIncrease.BackColor = System.Drawing.Color.White;
     this.lblNameIncrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblNameIncrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblNameIncrease.Image")));
     this.lblNameIncrease.Location  = new System.Drawing.Point(139, 13);
     this.lblNameIncrease.Name      = "lblNameIncrease";
     this.lblNameIncrease.Size      = new System.Drawing.Size(10, 15);
     this.lblNameIncrease.TabIndex  = 4;
     this.lblNameIncrease.Tag       = "1";
     this.lblNameIncrease.Click    += new System.EventHandler(this.lblNameIncrease_Click);
     //
     // lblTimeIncrease
     //
     this.lblTimeIncrease.BackColor = System.Drawing.Color.White;
     this.lblTimeIncrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblTimeIncrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblTimeIncrease.Image")));
     this.lblTimeIncrease.Location  = new System.Drawing.Point(385, 13);
     this.lblTimeIncrease.Name      = "lblTimeIncrease";
     this.lblTimeIncrease.Size      = new System.Drawing.Size(10, 15);
     this.lblTimeIncrease.TabIndex  = 6;
     this.lblTimeIncrease.Tag       = "1";
     this.lblTimeIncrease.Click    += new System.EventHandler(this.lblTimeIncrease_Click);
     //
     // lblTimeDecrease
     //
     this.lblTimeDecrease.BackColor = System.Drawing.Color.White;
     this.lblTimeDecrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblTimeDecrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblTimeDecrease.Image")));
     this.lblTimeDecrease.Location  = new System.Drawing.Point(385, 12);
     this.lblTimeDecrease.Name      = "lblTimeDecrease";
     this.lblTimeDecrease.Size      = new System.Drawing.Size(10, 15);
     this.lblTimeDecrease.TabIndex  = 5;
     this.lblTimeDecrease.Tag       = "2";
     this.lblTimeDecrease.Visible   = false;
     this.lblTimeDecrease.Click    += new System.EventHandler(this.lblTimeDecrease_Click);
     //
     // lblPassIncrease
     //
     this.lblPassIncrease.BackColor = System.Drawing.Color.White;
     this.lblPassIncrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblPassIncrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblPassIncrease.Image")));
     this.lblPassIncrease.Location  = new System.Drawing.Point(682, 13);
     this.lblPassIncrease.Name      = "lblPassIncrease";
     this.lblPassIncrease.Size      = new System.Drawing.Size(10, 15);
     this.lblPassIncrease.TabIndex  = 8;
     this.lblPassIncrease.Tag       = "1";
     this.lblPassIncrease.Click    += new System.EventHandler(this.lblPassIncrease_Click);
     //
     // lblPassDecrease
     //
     this.lblPassDecrease.BackColor = System.Drawing.Color.White;
     this.lblPassDecrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblPassDecrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblPassDecrease.Image")));
     this.lblPassDecrease.Location  = new System.Drawing.Point(682, 13);
     this.lblPassDecrease.Name      = "lblPassDecrease";
     this.lblPassDecrease.Size      = new System.Drawing.Size(10, 15);
     this.lblPassDecrease.TabIndex  = 7;
     this.lblPassDecrease.Tag       = "2";
     this.lblPassDecrease.Visible   = false;
     this.lblPassDecrease.Click    += new System.EventHandler(this.lblPassDecrease_Click);
     //
     // lblTotalIncrease
     //
     this.lblTotalIncrease.BackColor = System.Drawing.Color.White;
     this.lblTotalIncrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblTotalIncrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblTotalIncrease.Image")));
     this.lblTotalIncrease.Location  = new System.Drawing.Point(848, 13);
     this.lblTotalIncrease.Name      = "lblTotalIncrease";
     this.lblTotalIncrease.Size      = new System.Drawing.Size(10, 15);
     this.lblTotalIncrease.TabIndex  = 10;
     this.lblTotalIncrease.Tag       = "1";
     this.lblTotalIncrease.Click    += new System.EventHandler(this.lblTotalIncrease_Click);
     //
     // lblTotalDecrease
     //
     this.lblTotalDecrease.BackColor = System.Drawing.Color.White;
     this.lblTotalDecrease.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblTotalDecrease.Image     = ((System.Drawing.Image)(resources.GetObject("lblTotalDecrease.Image")));
     this.lblTotalDecrease.Location  = new System.Drawing.Point(848, 13);
     this.lblTotalDecrease.Name      = "lblTotalDecrease";
     this.lblTotalDecrease.Size      = new System.Drawing.Size(10, 15);
     this.lblTotalDecrease.TabIndex  = 9;
     this.lblTotalDecrease.Tag       = "2";
     this.lblTotalDecrease.Visible   = false;
     this.lblTotalDecrease.Click    += new System.EventHandler(this.lblTotalDecrease_Click);
     //
     // lblCriteriaIncre
     //
     this.lblCriteriaIncre.BackColor = System.Drawing.Color.White;
     this.lblCriteriaIncre.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblCriteriaIncre.Image     = ((System.Drawing.Image)(resources.GetObject("lblCriteriaIncre.Image")));
     this.lblCriteriaIncre.Location  = new System.Drawing.Point(950, 13);
     this.lblCriteriaIncre.Name      = "lblCriteriaIncre";
     this.lblCriteriaIncre.Size      = new System.Drawing.Size(10, 15);
     this.lblCriteriaIncre.TabIndex  = 12;
     this.lblCriteriaIncre.Tag       = "1";
     this.lblCriteriaIncre.Click    += new System.EventHandler(this.lblCriteriaIncre_Click);
     //
     // lblCriteriaDecre
     //
     this.lblCriteriaDecre.BackColor = System.Drawing.Color.White;
     this.lblCriteriaDecre.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.lblCriteriaDecre.Image     = ((System.Drawing.Image)(resources.GetObject("lblCriteriaDecre.Image")));
     this.lblCriteriaDecre.Location  = new System.Drawing.Point(950, 12);
     this.lblCriteriaDecre.Name      = "lblCriteriaDecre";
     this.lblCriteriaDecre.Size      = new System.Drawing.Size(10, 15);
     this.lblCriteriaDecre.TabIndex  = 11;
     this.lblCriteriaDecre.Tag       = "2";
     this.lblCriteriaDecre.Visible   = false;
     this.lblCriteriaDecre.Click    += new System.EventHandler(this.lblCriteriaDecre_Click);
     //
     // searchExamTableAdapter
     //
     this.searchExamTableAdapter.ClearBeforeFill = true;
     //
     // ExamList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.lblCriteriaIncre);
     this.Controls.Add(this.lblCriteriaDecre);
     this.Controls.Add(this.lblTotalIncrease);
     this.Controls.Add(this.lblTotalDecrease);
     this.Controls.Add(this.lblPassIncrease);
     this.Controls.Add(this.lblPassDecrease);
     this.Controls.Add(this.lblTimeIncrease);
     this.Controls.Add(this.lblTimeDecrease);
     this.Controls.Add(this.lblNameIncrease);
     this.Controls.Add(this.lblNameDecrease);
     this.Controls.Add(this.lblIDdecrease);
     this.Controls.Add(this.lblIDIncrease);
     this.Controls.Add(this.dgvExamList);
     this.Name = "ExamList";
     this.Size = new System.Drawing.Size(980, 340);
     ((System.ComponentModel.ISupportInitialize)(this.dgvExamList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.searchExamBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.oesDataSet)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 48
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.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.lblLogout       = new System.Windows.Forms.Label();
     this.panel4          = new System.Windows.Forms.Panel();
     this.button9         = new System.Windows.Forms.Button();
     this.button8         = new System.Windows.Forms.Button();
     this.button5         = new System.Windows.Forms.Button();
     this.button10        = new System.Windows.Forms.Button();
     this.button7         = new System.Windows.Forms.Button();
     this.menuCB          = new System.Windows.Forms.ComboBox();
     this.button6         = new System.Windows.Forms.Button();
     this.btnPushSchedule = new System.Windows.Forms.Button();
     this.button11        = new System.Windows.Forms.Button();
     this.button3         = new System.Windows.Forms.Button();
     this.button2         = new System.Windows.Forms.Button();
     this.btnStopCourse   = new System.Windows.Forms.Button();
     this.panel1          = new System.Windows.Forms.Panel();
     this.dataGridView    = new System.Windows.Forms.DataGridView();
     this.panel2          = new System.Windows.Forms.Panel();
     this.comboBox        = new System.Windows.Forms.ComboBox();
     this.flRightPanel    = new System.Windows.Forms.FlowLayoutPanel();
     this.panel3          = new System.Windows.Forms.Panel();
     this.pictureBox4     = new System.Windows.Forms.PictureBox();
     this.pictureBox3     = new System.Windows.Forms.PictureBox();
     this.pictureBox2     = new System.Windows.Forms.PictureBox();
     this.pictureBox1     = new System.Windows.Forms.PictureBox();
     this.label1          = new System.Windows.Forms.Label();
     this.panel4.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // lblLogout
     //
     this.lblLogout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
     this.lblLogout.Dock      = System.Windows.Forms.DockStyle.Right;
     this.lblLogout.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.lblLogout.Location  = new System.Drawing.Point(1203, 0);
     this.lblLogout.Name      = "lblLogout";
     this.lblLogout.Padding   = new System.Windows.Forms.Padding(0, 0, 10, 0);
     this.lblLogout.Size      = new System.Drawing.Size(67, 43);
     this.lblLogout.TabIndex  = 9;
     this.lblLogout.Text      = "Logout";
     this.lblLogout.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblLogout.Click    += new System.EventHandler(this.label3_Click);
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
     this.panel4.Controls.Add(this.button9);
     this.panel4.Controls.Add(this.button8);
     this.panel4.Controls.Add(this.button5);
     this.panel4.Controls.Add(this.button10);
     this.panel4.Controls.Add(this.button7);
     this.panel4.Controls.Add(this.lblLogout);
     this.panel4.Controls.Add(this.menuCB);
     this.panel4.Controls.Add(this.button6);
     this.panel4.Controls.Add(this.btnPushSchedule);
     this.panel4.Controls.Add(this.button11);
     this.panel4.Controls.Add(this.button3);
     this.panel4.Controls.Add(this.button2);
     this.panel4.Controls.Add(this.btnStopCourse);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel4.Location = new System.Drawing.Point(0, 44);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(1270, 43);
     this.panel4.TabIndex = 13;
     //
     // button9
     //
     this.button9.BackColor = System.Drawing.Color.CornflowerBlue;
     this.button9.FlatAppearance.BorderSize = 0;
     this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button9.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button9.ForeColor = System.Drawing.Color.White;
     this.button9.Location  = new System.Drawing.Point(453, 9);
     this.button9.Name      = "button9";
     this.button9.Size      = new System.Drawing.Size(80, 27);
     this.button9.TabIndex  = 1;
     this.button9.Text      = "Reboot IPC";
     this.button9.UseVisualStyleBackColor = false;
     this.button9.Click += new System.EventHandler(this.button9_ClickAsync);
     //
     // button8
     //
     this.button8.BackColor = System.Drawing.Color.CornflowerBlue;
     this.button8.FlatAppearance.BorderSize = 0;
     this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button8.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button8.ForeColor = System.Drawing.Color.White;
     this.button8.Location  = new System.Drawing.Point(367, 9);
     this.button8.Name      = "button8";
     this.button8.Size      = new System.Drawing.Size(85, 27);
     this.button8.TabIndex  = 1;
     this.button8.Text      = "Reboot PPC";
     this.button8.UseVisualStyleBackColor = false;
     this.button8.Click += new System.EventHandler(this.button8_ClickAsync);
     //
     // button5
     //
     this.button5.BackColor                 = System.Drawing.Color.CornflowerBlue;
     this.button5.BackgroundImageLayout     = System.Windows.Forms.ImageLayout.None;
     this.button5.FlatAppearance.BorderSize = 0;
     this.button5.FlatStyle                 = System.Windows.Forms.FlatStyle.Flat;
     this.button5.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button5.ForeColor = System.Drawing.Color.White;
     this.button5.Location  = new System.Drawing.Point(182, 9);
     this.button5.Name      = "button5";
     this.button5.Size      = new System.Drawing.Size(87, 27);
     this.button5.TabIndex  = 1;
     this.button5.Text      = "Push Config";
     this.button5.UseVisualStyleBackColor = false;
     this.button5.Click += new System.EventHandler(this.button5_ClickAsync);
     //
     // button10
     //
     this.button10.BackColor = System.Drawing.Color.CornflowerBlue;
     this.button10.FlatAppearance.BorderSize = 0;
     this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button10.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button10.ForeColor = System.Drawing.Color.White;
     this.button10.Location  = new System.Drawing.Point(943, 9);
     this.button10.Name      = "button10";
     this.button10.Size      = new System.Drawing.Size(95, 27);
     this.button10.TabIndex  = 1;
     this.button10.Text      = "List Local Data";
     this.button10.UseVisualStyleBackColor = false;
     this.button10.Click += new System.EventHandler(this.button10_ClickAsync);
     //
     // button7
     //
     this.button7.BackColor = System.Drawing.Color.CornflowerBlue;
     this.button7.FlatAppearance.BorderSize = 0;
     this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button7.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button7.ForeColor = System.Drawing.Color.White;
     this.button7.Location  = new System.Drawing.Point(840, 9);
     this.button7.Name      = "button7";
     this.button7.Size      = new System.Drawing.Size(102, 27);
     this.button7.TabIndex  = 1;
     this.button7.Text      = "Group Schedule";
     this.button7.UseVisualStyleBackColor = false;
     this.button7.Click += new System.EventHandler(this.button7_Click);
     //
     // menuCB
     //
     this.menuCB.FormattingEnabled = true;
     this.menuCB.Location          = new System.Drawing.Point(1054, 11);
     this.menuCB.Name                  = "menuCB";
     this.menuCB.Size                  = new System.Drawing.Size(100, 23);
     this.menuCB.TabIndex              = 10;
     this.menuCB.SelectedIndexChanged += new System.EventHandler(this.menuCB_SelectedIndexChangedAsync);
     //
     // button6
     //
     this.button6.BackColor = System.Drawing.Color.CornflowerBlue;
     this.button6.FlatAppearance.BorderSize = 0;
     this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button6.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button6.ForeColor = System.Drawing.Color.White;
     this.button6.Location  = new System.Drawing.Point(534, 9);
     this.button6.Name      = "button6";
     this.button6.Size      = new System.Drawing.Size(102, 27);
     this.button6.TabIndex  = 1;
     this.button6.Text      = "Check Schedule";
     this.button6.UseVisualStyleBackColor = false;
     this.button6.Click += new System.EventHandler(this.button6_ClickAsync);
     //
     // btnPushSchedule
     //
     this.btnPushSchedule.BackColor = System.Drawing.Color.CornflowerBlue;
     this.btnPushSchedule.FlatAppearance.BorderSize = 0;
     this.btnPushSchedule.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnPushSchedule.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnPushSchedule.ForeColor = System.Drawing.Color.White;
     this.btnPushSchedule.Location  = new System.Drawing.Point(270, 9);
     this.btnPushSchedule.Name      = "btnPushSchedule";
     this.btnPushSchedule.Size      = new System.Drawing.Size(96, 27);
     this.btnPushSchedule.TabIndex  = 1;
     this.btnPushSchedule.Text      = "Push Schedule";
     this.btnPushSchedule.UseVisualStyleBackColor = false;
     this.btnPushSchedule.Click += new System.EventHandler(this.btnPushSchedule_ClickAsync);
     //
     // button11
     //
     this.button11.BackColor = System.Drawing.Color.CornflowerBlue;
     this.button11.FlatAppearance.BorderSize = 0;
     this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button11.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button11.ForeColor = System.Drawing.Color.White;
     this.button11.Location  = new System.Drawing.Point(743, 9);
     this.button11.Name      = "button11";
     this.button11.Size      = new System.Drawing.Size(96, 27);
     this.button11.TabIndex  = 0;
     this.button11.Text      = "Classroom Info";
     this.button11.UseVisualStyleBackColor = false;
     this.button11.Click += new System.EventHandler(this.button11_ClickAsync);
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.Color.CornflowerBlue;
     this.button3.FlatAppearance.BorderSize = 0;
     this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button3.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.ForeColor = System.Drawing.Color.White;
     this.button3.Location  = new System.Drawing.Point(637, 9);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(105, 27);
     this.button3.TabIndex  = 0;
     this.button3.Text      = "Start Test Course";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.Color.CornflowerBlue;
     this.button2.FlatAppearance.BorderSize = 0;
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Font      = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor = System.Drawing.Color.White;
     this.button2.Location  = new System.Drawing.Point(92, 9);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(89, 27);
     this.button2.TabIndex  = 0;
     this.button2.Text      = "Abort Course";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_ClickAsync);
     //
     // btnStopCourse
     //
     this.btnStopCourse.BackColor = System.Drawing.Color.CornflowerBlue;
     this.btnStopCourse.FlatAppearance.BorderSize = 0;
     this.btnStopCourse.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     this.btnStopCourse.Font                    = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnStopCourse.ForeColor               = System.Drawing.Color.White;
     this.btnStopCourse.Location                = new System.Drawing.Point(4, 9);
     this.btnStopCourse.Name                    = "btnStopCourse";
     this.btnStopCourse.Size                    = new System.Drawing.Size(87, 27);
     this.btnStopCourse.TabIndex                = 0;
     this.btnStopCourse.Text                    = "Stop Course";
     this.btnStopCourse.UseMnemonic             = false;
     this.btnStopCourse.UseVisualStyleBackColor = false;
     this.btnStopCourse.Click                  += new System.EventHandler(this.btnStopCourse_ClickAsync);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.DimGray;
     this.panel1.Controls.Add(this.dataGridView);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(0, 87);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(611, 626);
     this.panel1.TabIndex = 14;
     //
     // dataGridView
     //
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue;
     this.dataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridView.AutoSizeColumnsMode             = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView.BackgroundColor               = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(76)))), ((int)(((byte)(76)))));
     this.dataGridView.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     dataGridViewCellStyle2.Alignment                = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor                = System.Drawing.Color.LightSteelBlue;
     dataGridViewCellStyle2.Font                     = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor                = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor       = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor       = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode                 = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dataGridView.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
     this.dataGridView.EnableHeadersVisualStyles = false;
     this.dataGridView.Location      = new System.Drawing.Point(0, 26);
     this.dataGridView.MultiSelect   = false;
     this.dataGridView.Name          = "dataGridView";
     this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView.Size          = new System.Drawing.Size(611, 600);
     this.dataGridView.TabIndex      = 11;
     this.dataGridView.RowPrePaint  += new System.Windows.Forms.DataGridViewRowPrePaintEventHandler(this.dataGridView_RowPrePaint);
     this.dataGridView.MouseClick   += new System.Windows.Forms.MouseEventHandler(this.dataGridView_MouseClick);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
     this.panel2.Controls.Add(this.comboBox);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(611, 26);
     this.panel2.TabIndex = 10;
     //
     // comboBox
     //
     this.comboBox.Dock = System.Windows.Forms.DockStyle.Right;
     this.comboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox.FormattingEnabled = true;
     this.comboBox.ItemHeight        = 20;
     this.comboBox.Location          = new System.Drawing.Point(475, 0);
     this.comboBox.Name                  = "comboBox";
     this.comboBox.Size                  = new System.Drawing.Size(136, 28);
     this.comboBox.TabIndex              = 0;
     this.comboBox.SelectedIndexChanged += new System.EventHandler(this.comboBox_SelectedIndexChanged);
     //
     // flRightPanel
     //
     this.flRightPanel.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.flRightPanel.AutoScroll = true;
     this.flRightPanel.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
     this.flRightPanel.Location   = new System.Drawing.Point(611, 87);
     this.flRightPanel.Name       = "flRightPanel";
     this.flRightPanel.Size       = new System.Drawing.Size(659, 605);
     this.flRightPanel.TabIndex   = 15;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
     this.panel3.Controls.Add(this.pictureBox4);
     this.panel3.Controls.Add(this.pictureBox3);
     this.panel3.Controls.Add(this.pictureBox2);
     this.panel3.Controls.Add(this.pictureBox1);
     this.panel3.Controls.Add(this.label1);
     this.panel3.Dock       = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location   = new System.Drawing.Point(0, 0);
     this.panel3.Name       = "panel3";
     this.panel3.Size       = new System.Drawing.Size(1270, 44);
     this.panel3.TabIndex   = 1;
     this.panel3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel3_MouseDown);
     this.panel3.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel3_MouseMove);
     //
     // pictureBox4
     //
     this.pictureBox4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.pictureBox4.Image    = global::ClassMonitor3.Properties.Resources.icons8_close_window_40;
     this.pictureBox4.Location = new System.Drawing.Point(1241, 9);
     this.pictureBox4.Name     = "pictureBox4";
     this.pictureBox4.Size     = new System.Drawing.Size(30, 29);
     this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox4.TabIndex = 12;
     this.pictureBox4.TabStop  = false;
     this.pictureBox4.Click   += new System.EventHandler(this.pictureBox4_Click);
     //
     // pictureBox3
     //
     this.pictureBox3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.pictureBox3.Image    = global::ClassMonitor3.Properties.Resources.icons8_maximize_window_40;
     this.pictureBox3.Location = new System.Drawing.Point(1213, 9);
     this.pictureBox3.Name     = "pictureBox3";
     this.pictureBox3.Size     = new System.Drawing.Size(30, 29);
     this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox3.TabIndex = 12;
     this.pictureBox3.TabStop  = false;
     this.pictureBox3.Click   += new System.EventHandler(this.pictureBox3_Click);
     //
     // pictureBox2
     //
     this.pictureBox2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.pictureBox2.Image    = global::ClassMonitor3.Properties.Resources.icons8_minimize_window_48;
     this.pictureBox2.Location = new System.Drawing.Point(1179, 7);
     this.pictureBox2.Name     = "pictureBox2";
     this.pictureBox2.Size     = new System.Drawing.Size(37, 34);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox2.TabIndex = 12;
     this.pictureBox2.TabStop  = false;
     this.pictureBox2.Click   += new System.EventHandler(this.pictureBox2_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = global::ClassMonitor3.Properties.Resources.icons8_monitor_80;
     this.pictureBox1.Location = new System.Drawing.Point(10, 10);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(38, 29);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox1.TabIndex = 12;
     this.pictureBox1.TabStop  = false;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Sitka Subheading", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(54, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(53, 23);
     this.label1.TabIndex  = 11;
     this.label1.Text      = "label1";
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
     this.ClientSize          = new System.Drawing.Size(1270, 713);
     this.Controls.Add(this.flRightPanel);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel4);
     this.Controls.Add(this.panel3);
     this.DoubleBuffered  = true;
     this.Font            = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "MainForm";
     this.Text            = "MainForm";
     this.WindowState     = System.Windows.Forms.FormWindowState.Maximized;
     this.panel4.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 49
0
        //protected override void Dispose(bool disposing)
        //{
        //    if (disposing)
        //    {
        //        if (components != null)
        //        {
        //            components.Dispose();
        //        }
        //    }
        //    base.Dispose(disposing);
        //}

        #region Windows Form Designer generated code
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmKhuyettat));
            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();
            this.label1      = new System.Windows.Forms.Label();
            this.namsinh     = new System.Windows.Forms.TextBox();
            this.hoten       = new System.Windows.Forms.TextBox();
            this.mabn        = new System.Windows.Forms.TextBox();
            this.label3      = new System.Windows.Forms.Label();
            this.label2      = new System.Windows.Forms.Label();
            this.label4      = new System.Windows.Forms.Label();
            this.mann        = new System.Windows.Forms.TextBox();
            this.diachi      = new System.Windows.Forms.TextBox();
            this.label9      = new System.Windows.Forms.Label();
            this.butketthuc  = new System.Windows.Forms.Button();
            this.butLuu      = new System.Windows.Forms.Button();
            this.label14     = new System.Windows.Forms.Label();
            this.label15     = new System.Windows.Forms.Label();
            this.chandoan    = new System.Windows.Forms.TextBox();
            this.dieutri     = new System.Windows.Forms.TextBox();
            this.butTainangt = new System.Windows.Forms.Button();
            this.cbo_dangkt  = new System.Windows.Forms.ComboBox();
            this.cbo_mucdokt = new System.Windows.Forms.ComboBox();
            this.label5      = new System.Windows.Forms.Label();
            this.label6      = new System.Windows.Forms.Label();
            this.butIn       = new System.Windows.Forms.Button();
            this.label7      = new System.Windows.Forms.Label();
            this.ngay        = new System.Windows.Forms.MaskedTextBox();
            this.dgkhuyettat = new System.Windows.Forms.DataGridView();
            this.butmoi      = new System.Windows.Forms.Button();
            this.butsua      = new System.Windows.Forms.Button();
            this.butxoa      = new System.Windows.Forms.Button();
            this.butboqua    = new System.Windows.Forms.Button();
            this.dangkt      = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.mucdokt     = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.gvchandoan  = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.gvghichu    = new System.Windows.Forms.DataGridViewTextBoxColumn();
            ((System.ComponentModel.ISupportInitialize)(this.dgkhuyettat)).BeginInit();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.Location  = new System.Drawing.Point(130, 6);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(49, 23);
            this.label1.TabIndex  = 31;
            this.label1.Text      = "Mã BN :";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // namsinh
            //
            this.namsinh.BackColor = System.Drawing.SystemColors.HighlightText;
            this.namsinh.Enabled   = false;
            this.namsinh.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.namsinh.Location  = new System.Drawing.Point(55, 30);
            this.namsinh.Name      = "namsinh";
            this.namsinh.Size      = new System.Drawing.Size(43, 21);
            this.namsinh.TabIndex  = 3;
            this.namsinh.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // hoten
            //
            this.hoten.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
            this.hoten.BackColor       = System.Drawing.SystemColors.HighlightText;
            this.hoten.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.hoten.Enabled         = false;
            this.hoten.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.hoten.Location        = new System.Drawing.Point(316, 7);
            this.hoten.Name            = "hoten";
            this.hoten.Size            = new System.Drawing.Size(370, 21);
            this.hoten.TabIndex        = 2;
            this.hoten.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // mabn
            //
            this.mabn.BackColor = System.Drawing.SystemColors.HighlightText;
            this.mabn.Enabled   = false;
            this.mabn.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mabn.Location  = new System.Drawing.Point(176, 7);
            this.mabn.Name      = "mabn";
            this.mabn.Size      = new System.Drawing.Size(83, 21);
            this.mabn.TabIndex  = 1;
            this.mabn.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // label3
            //
            this.label3.Location  = new System.Drawing.Point(0, 29);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(58, 23);
            this.label3.TabIndex  = 33;
            this.label3.Text      = "Năm sinh :";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // label2
            //
            this.label2.Location  = new System.Drawing.Point(268, 6);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(48, 23);
            this.label2.TabIndex  = 32;
            this.label2.Text      = "Họ tên :";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // label4
            //
            this.label4.Location  = new System.Drawing.Point(103, 30);
            this.label4.Name      = "label4";
            this.label4.Size      = new System.Drawing.Size(76, 23);
            this.label4.TabIndex  = 34;
            this.label4.Text      = "Nghề nghiệp :";
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // mann
            //
            this.mann.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
            this.mann.BackColor = System.Drawing.SystemColors.HighlightText;
            this.mann.Enabled   = false;
            this.mann.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mann.Location  = new System.Drawing.Point(176, 30);
            this.mann.Name      = "mann";
            this.mann.Size      = new System.Drawing.Size(510, 21);
            this.mann.TabIndex  = 4;
            this.mann.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // diachi
            //
            this.diachi.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.diachi.BackColor = System.Drawing.SystemColors.HighlightText;
            this.diachi.Enabled   = false;
            this.diachi.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.diachi.Location  = new System.Drawing.Point(55, 53);
            this.diachi.Name      = "diachi";
            this.diachi.Size      = new System.Drawing.Size(631, 21);
            this.diachi.TabIndex  = 5;
            this.diachi.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // label9
            //
            this.label9.Location  = new System.Drawing.Point(10, 53);
            this.label9.Name      = "label9";
            this.label9.Size      = new System.Drawing.Size(48, 23);
            this.label9.TabIndex  = 35;
            this.label9.Text      = "Địa chỉ :";
            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // butketthuc
            //
            this.butketthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.butketthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butketthuc.Image")));
            this.butketthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butketthuc.Location   = new System.Drawing.Point(526, 466);
            this.butketthuc.Name       = "butketthuc";
            this.butketthuc.Size       = new System.Drawing.Size(68, 25);
            this.butketthuc.TabIndex   = 11;
            this.butketthuc.Text       = "&Kết thúc";
            this.butketthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
            this.butketthuc.Click     += new System.EventHandler(this.butketthuc_Click);
            //
            // butLuu
            //
            this.butLuu.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
            this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butLuu.Location   = new System.Drawing.Point(171, 466);
            this.butLuu.Name       = "butLuu";
            this.butLuu.Size       = new System.Drawing.Size(68, 25);
            this.butLuu.TabIndex   = 10;
            this.butLuu.Text       = "      &Lưu";
            this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
            //
            // label14
            //
            this.label14.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label14.Location  = new System.Drawing.Point(31, 382);
            this.label14.Name      = "label14";
            this.label14.Size      = new System.Drawing.Size(66, 23);
            this.label14.TabIndex  = 49;
            this.label14.Text      = "Chẩn đoán :";
            this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // label15
            //
            this.label15.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label15.Location  = new System.Drawing.Point(6, 419);
            this.label15.Name      = "label15";
            this.label15.Size      = new System.Drawing.Size(91, 23);
            this.label15.TabIndex  = 50;
            this.label15.Text      = "Ghi chú :";
            this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // chandoan
            //
            this.chandoan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
            this.chandoan.BackColor    = System.Drawing.SystemColors.HighlightText;
            this.chandoan.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chandoan.Location     = new System.Drawing.Point(97, 374);
            this.chandoan.Multiline    = true;
            this.chandoan.Name         = "chandoan";
            this.chandoan.ScrollBars   = System.Windows.Forms.ScrollBars.Both;
            this.chandoan.Size         = new System.Drawing.Size(588, 42);
            this.chandoan.TabIndex     = 8;
            this.chandoan.TextChanged += new System.EventHandler(this.chandoan_TextChanged);
            this.chandoan.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // dieutri
            //
            this.dieutri.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
            this.dieutri.BackColor    = System.Drawing.SystemColors.HighlightText;
            this.dieutri.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dieutri.Location     = new System.Drawing.Point(97, 418);
            this.dieutri.Multiline    = true;
            this.dieutri.Name         = "dieutri";
            this.dieutri.ScrollBars   = System.Windows.Forms.ScrollBars.Both;
            this.dieutri.Size         = new System.Drawing.Size(588, 42);
            this.dieutri.TabIndex     = 9;
            this.dieutri.TextChanged += new System.EventHandler(this.dieutri_TextChanged);
            this.dieutri.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // butTainangt
            //
            this.butTainangt.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butTainangt.Location   = new System.Drawing.Point(603, 466);
            this.butTainangt.Name       = "butTainangt";
            this.butTainangt.Size       = new System.Drawing.Size(83, 25);
            this.butTainangt.TabIndex   = 53;
            this.butTainangt.Text       = "Giao thông";
            this.butTainangt.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
            this.butTainangt.Visible    = false;
            this.butTainangt.Click     += new System.EventHandler(this.butTainangt_Click);
            //
            // cbo_dangkt
            //
            this.cbo_dangkt.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.cbo_dangkt.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbo_dangkt.FormattingEnabled = true;
            this.cbo_dangkt.Location          = new System.Drawing.Point(97, 351);
            this.cbo_dangkt.Name     = "cbo_dangkt";
            this.cbo_dangkt.Size     = new System.Drawing.Size(272, 21);
            this.cbo_dangkt.TabIndex = 6;
            this.cbo_dangkt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // cbo_mucdokt
            //
            this.cbo_mucdokt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
            this.cbo_mucdokt.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbo_mucdokt.FormattingEnabled = true;
            this.cbo_mucdokt.Location          = new System.Drawing.Point(473, 351);
            this.cbo_mucdokt.Name     = "cbo_mucdokt";
            this.cbo_mucdokt.Size     = new System.Drawing.Size(211, 21);
            this.cbo_mucdokt.TabIndex = 7;
            this.cbo_mucdokt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // label5
            //
            this.label5.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label5.Location  = new System.Drawing.Point(1, 349);
            this.label5.Name      = "label5";
            this.label5.Size      = new System.Drawing.Size(95, 23);
            this.label5.TabIndex  = 56;
            this.label5.Text      = "Dạng khuyết tật :";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // label6
            //
            this.label6.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label6.Location  = new System.Drawing.Point(370, 350);
            this.label6.Name      = "label6";
            this.label6.Size      = new System.Drawing.Size(103, 23);
            this.label6.TabIndex  = 57;
            this.label6.Text      = "Mức độ khuyết tật :";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // butIn
            //
            this.butIn.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
            this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butIn.Location   = new System.Drawing.Point(455, 466);
            this.butIn.Name       = "butIn";
            this.butIn.Size       = new System.Drawing.Size(68, 25);
            this.butIn.TabIndex   = 58;
            this.butIn.Text       = "    &In";
            this.butIn.Click     += new System.EventHandler(this.butIn_Click);
            //
            // label7
            //
            this.label7.Location  = new System.Drawing.Point(0, 5);
            this.label7.Name      = "label7";
            this.label7.Size      = new System.Drawing.Size(58, 23);
            this.label7.TabIndex  = 59;
            this.label7.Text      = "Ngày :";
            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // ngay
            //
            this.ngay.Location       = new System.Drawing.Point(55, 8);
            this.ngay.Mask           = "00/00/0000";
            this.ngay.Name           = "ngay";
            this.ngay.Size           = new System.Drawing.Size(78, 20);
            this.ngay.TabIndex       = 0;
            this.ngay.ValidatingType = typeof(System.DateTime);
            this.ngay.KeyDown       += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
            //
            // dgkhuyettat
            //
            this.dgkhuyettat.AllowDrop                       = true;
            this.dgkhuyettat.AllowUserToAddRows              = false;
            this.dgkhuyettat.AllowUserToDeleteRows           = false;
            dataGridViewCellStyle1.BackColor                 = System.Drawing.Color.MintCream;
            dataGridViewCellStyle1.ForeColor                 = System.Drawing.Color.Black;
            dataGridViewCellStyle1.SelectionBackColor        = System.Drawing.Color.PaleGreen;
            dataGridViewCellStyle1.SelectionForeColor        = System.Drawing.Color.Blue;
            this.dgkhuyettat.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            this.dgkhuyettat.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.dgkhuyettat.AutoSizeColumnsMode           = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dgkhuyettat.AutoSizeRowsMode              = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;
            this.dgkhuyettat.BackgroundColor               = System.Drawing.Color.Honeydew;
            this.dgkhuyettat.BorderStyle                   = System.Windows.Forms.BorderStyle.Fixed3D;
            dataGridViewCellStyle2.Alignment               = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle2.BackColor               = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle2.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, 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.dgkhuyettat.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
            this.dgkhuyettat.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
                this.dangkt,
                this.mucdokt,
                this.gvchandoan,
                this.gvghichu
            });
            dataGridViewCellStyle3.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle3.BackColor          = System.Drawing.Color.White;
            dataGridViewCellStyle3.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle3.ForeColor          = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.PaleGreen;
            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.Blue;
            dataGridViewCellStyle3.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
            this.dgkhuyettat.DefaultCellStyle         = dataGridViewCellStyle3;
            this.dgkhuyettat.GridColor                  = System.Drawing.Color.Gainsboro;
            this.dgkhuyettat.Location                   = new System.Drawing.Point(4, 79);
            this.dgkhuyettat.MultiSelect                = false;
            this.dgkhuyettat.Name                       = "dgkhuyettat";
            this.dgkhuyettat.ReadOnly                   = true;
            dataGridViewCellStyle4.Alignment            = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle4.BackColor            = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle4.Font                 = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            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.dgkhuyettat.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
            this.dgkhuyettat.RowHeadersVisible          = false;
            this.dgkhuyettat.RowHeadersWidth            = 20;
            this.dgkhuyettat.SelectionMode              = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dgkhuyettat.Size                       = new System.Drawing.Size(682, 266);
            this.dgkhuyettat.StandardTab                = true;
            this.dgkhuyettat.TabIndex                   = 61;
            this.dgkhuyettat.CurrentCellChanged        += new System.EventHandler(this.dgkhuyettat_CurrentCellChanged);
            //
            // butmoi
            //
            this.butmoi.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.butmoi.Image      = ((System.Drawing.Image)(resources.GetObject("butmoi.Image")));
            this.butmoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butmoi.Location   = new System.Drawing.Point(100, 466);
            this.butmoi.Name       = "butmoi";
            this.butmoi.Size       = new System.Drawing.Size(68, 25);
            this.butmoi.TabIndex   = 62;
            this.butmoi.Text       = "      &Mới";
            this.butmoi.Click     += new System.EventHandler(this.butmoi_Click);
            //
            // butsua
            //
            this.butsua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.butsua.Image      = ((System.Drawing.Image)(resources.GetObject("butsua.Image")));
            this.butsua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butsua.Location   = new System.Drawing.Point(242, 466);
            this.butsua.Name       = "butsua";
            this.butsua.Size       = new System.Drawing.Size(68, 25);
            this.butsua.TabIndex   = 63;
            this.butsua.Text       = "      &Sửa";
            this.butsua.Click     += new System.EventHandler(this.butsua_Click);
            //
            // butxoa
            //
            this.butxoa.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.butxoa.Image      = ((System.Drawing.Image)(resources.GetObject("butxoa.Image")));
            this.butxoa.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butxoa.Location   = new System.Drawing.Point(313, 466);
            this.butxoa.Name       = "butxoa";
            this.butxoa.Size       = new System.Drawing.Size(68, 25);
            this.butxoa.TabIndex   = 64;
            this.butxoa.Text       = "      &Xóa";
            this.butxoa.Click     += new System.EventHandler(this.butxoa_Click);
            //
            // butboqua
            //
            this.butboqua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.butboqua.Image      = ((System.Drawing.Image)(resources.GetObject("butboqua.Image")));
            this.butboqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butboqua.Location   = new System.Drawing.Point(384, 466);
            this.butboqua.Name       = "butboqua";
            this.butboqua.Size       = new System.Drawing.Size(68, 25);
            this.butboqua.TabIndex   = 65;
            this.butboqua.Text       = "      &Bỏ qua";
            this.butboqua.Click     += new System.EventHandler(this.butboqua_Click);
            //
            // dangkt
            //
            this.dangkt.DataPropertyName = "dangkt";
            this.dangkt.HeaderText       = "Dạng khuyết tật";
            this.dangkt.Name             = "dangkt";
            this.dangkt.ReadOnly         = true;
            //
            // mucdokt
            //
            this.mucdokt.DataPropertyName = "mucdokt";
            this.mucdokt.HeaderText       = "Mức độ khuyết tật";
            this.mucdokt.Name             = "mucdokt";
            this.mucdokt.ReadOnly         = true;
            //
            // gvchandoan
            //
            this.gvchandoan.DataPropertyName = "gvchandoan";
            this.gvchandoan.HeaderText       = "Chẩn đoán";
            this.gvchandoan.Name             = "gvchandoan";
            this.gvchandoan.ReadOnly         = true;
            //
            // gvghichu
            //
            this.gvghichu.DataPropertyName = "gvghichu";
            this.gvghichu.HeaderText       = "Ghi chú";
            this.gvghichu.Name             = "gvghichu";
            this.gvghichu.ReadOnly         = true;
            //
            // frmKhuyettat
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(688, 500);
            this.Controls.Add(this.butboqua);
            this.Controls.Add(this.butxoa);
            this.Controls.Add(this.butsua);
            this.Controls.Add(this.butmoi);
            this.Controls.Add(this.dgkhuyettat);
            this.Controls.Add(this.ngay);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.butIn);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.cbo_mucdokt);
            this.Controls.Add(this.cbo_dangkt);
            this.Controls.Add(this.butTainangt);
            this.Controls.Add(this.dieutri);
            this.Controls.Add(this.chandoan);
            this.Controls.Add(this.label15);
            this.Controls.Add(this.label14);
            this.Controls.Add(this.butketthuc);
            this.Controls.Add(this.butLuu);
            this.Controls.Add(this.diachi);
            this.Controls.Add(this.label9);
            this.Controls.Add(this.mann);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.namsinh);
            this.Controls.Add(this.hoten);
            this.Controls.Add(this.mabn);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name            = "frmKhuyettat";
            this.ShowInTaskbar   = false;
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text            = "Thông tin khuyết tật";
            this.Load           += new System.EventHandler(this.frmKhuyettat_Load);
            ((System.ComponentModel.ISupportInitialize)(this.dgkhuyettat)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9  = new System.Windows.Forms.DataGridViewCellStyle();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.dataGridView1   = new System.Windows.Forms.DataGridView();
     this.Column8         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column1         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column9         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column5         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column6         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column7         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.buttonPrint     = new System.Windows.Forms.Button();
     this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
     this.label1          = new System.Windows.Forms.Label();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.label12         = new System.Windows.Forms.Label();
     this.buttonSearch    = new System.Windows.Forms.Button();
     this.buttonSave      = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.DarkSeaGreen;
     this.groupBox1.Controls.Add(this.buttonSave);
     this.groupBox1.Controls.Add(this.dataGridView1);
     this.groupBox1.Controls.Add(this.buttonPrint);
     this.groupBox1.Controls.Add(this.dateTimePicker2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.dateTimePicker1);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.buttonSearch);
     this.groupBox1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(5, 5);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(849, 528);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Report Monthly Sales Service ";
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows            = false;
     this.dataGridView1.BackgroundColor               = System.Drawing.Color.DarkSeaGreen;
     this.dataGridView1.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     dataGridViewCellStyle6.Alignment                 = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle6.BackColor                 = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle6.Font                      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle6.ForeColor                 = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle6.SelectionBackColor        = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle6.SelectionForeColor        = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle6.WrapMode                  = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
     this.dataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Column8,
         this.Column1,
         this.Column9,
         this.Column5,
         this.Column6,
         this.Column7
     });
     this.dataGridView1.Location                   = new System.Drawing.Point(6, 43);
     this.dataGridView1.Name                       = "dataGridView1";
     this.dataGridView1.ReadOnly                   = true;
     dataGridViewCellStyle10.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle10.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle10.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle10.ForeColor             = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle10.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle10.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle10.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle10;
     this.dataGridView1.Size                       = new System.Drawing.Size(835, 479);
     this.dataGridView1.TabIndex                   = 47;
     //
     // Column8
     //
     this.Column8.FillWeight = 80F;
     this.Column8.HeaderText = "Memo";
     this.Column8.Name       = "Column8";
     this.Column8.ReadOnly   = true;
     this.Column8.Width      = 80;
     //
     // Column1
     //
     this.Column1.HeaderText = "Date";
     this.Column1.Name       = "Column1";
     this.Column1.ReadOnly   = true;
     //
     // Column9
     //
     this.Column9.FillWeight = 120F;
     this.Column9.HeaderText = "Customer Name";
     this.Column9.Name       = "Column9";
     this.Column9.ReadOnly   = true;
     this.Column9.Width      = 250;
     //
     // Column5
     //
     dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Column5.DefaultCellStyle    = dataGridViewCellStyle7;
     this.Column5.FillWeight          = 80F;
     this.Column5.HeaderText          = "Total Amount";
     this.Column5.Name     = "Column5";
     this.Column5.ReadOnly = true;
     this.Column5.Width    = 120;
     //
     // Column6
     //
     dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Column6.DefaultCellStyle    = dataGridViewCellStyle8;
     this.Column6.HeaderText          = "Paid Amount";
     this.Column6.Name     = "Column6";
     this.Column6.ReadOnly = true;
     this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column6.Width    = 120;
     //
     // Column7
     //
     dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.Column7.DefaultCellStyle    = dataGridViewCellStyle9;
     this.Column7.HeaderText          = "Due Amount";
     this.Column7.Name     = "Column7";
     this.Column7.ReadOnly = true;
     this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.Column7.Width    = 120;
     //
     // buttonPrint
     //
     this.buttonPrint.BackColor = System.Drawing.Color.MediumSeaGreen;
     this.buttonPrint.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonPrint.Location  = new System.Drawing.Point(529, 12);
     this.buttonPrint.Name      = "buttonPrint";
     this.buttonPrint.Size      = new System.Drawing.Size(120, 30);
     this.buttonPrint.TabIndex  = 46;
     this.buttonPrint.Text      = "Print";
     this.buttonPrint.UseVisualStyleBackColor = false;
     this.buttonPrint.Click += new System.EventHandler(this.buttonPrint_Click);
     //
     // dateTimePicker2
     //
     this.dateTimePicker2.CustomFormat = "dd-MMM-yyyy";
     this.dateTimePicker2.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimePicker2.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker2.Location     = new System.Drawing.Point(275, 15);
     this.dateTimePicker2.Name         = "dateTimePicker2";
     this.dateTimePicker2.Size         = new System.Drawing.Size(122, 22);
     this.dateTimePicker2.TabIndex     = 45;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.DarkSeaGreen;
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(205, 20);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(64, 16);
     this.label1.TabIndex  = 44;
     this.label1.Text      = "End Date";
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.CustomFormat = "dd-MMM-yyyy";
     this.dateTimePicker1.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimePicker1.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location     = new System.Drawing.Point(83, 15);
     this.dateTimePicker1.Name         = "dateTimePicker1";
     this.dateTimePicker1.Size         = new System.Drawing.Size(116, 22);
     this.dateTimePicker1.TabIndex     = 38;
     //
     // label12
     //
     this.label12.AutoSize  = true;
     this.label12.BackColor = System.Drawing.Color.DarkSeaGreen;
     this.label12.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.Location  = new System.Drawing.Point(10, 20);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(67, 16);
     this.label12.TabIndex  = 37;
     this.label12.Text      = "Start Date";
     //
     // buttonSearch
     //
     this.buttonSearch.BackColor = System.Drawing.Color.MediumSeaGreen;
     this.buttonSearch.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonSearch.Location  = new System.Drawing.Point(403, 12);
     this.buttonSearch.Name      = "buttonSearch";
     this.buttonSearch.Size      = new System.Drawing.Size(120, 30);
     this.buttonSearch.TabIndex  = 39;
     this.buttonSearch.Text      = "Search";
     this.buttonSearch.UseVisualStyleBackColor = false;
     this.buttonSearch.Click += new System.EventHandler(this.buttonSearch_Click);
     //
     // buttonSave
     //
     this.buttonSave.BackColor = System.Drawing.Color.MediumSeaGreen;
     this.buttonSave.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonSave.Location  = new System.Drawing.Point(655, 12);
     this.buttonSave.Name      = "buttonSave";
     this.buttonSave.Size      = new System.Drawing.Size(120, 30);
     this.buttonSave.TabIndex  = 48;
     this.buttonSave.Text      = "Save";
     this.buttonSave.UseVisualStyleBackColor = false;
     this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
     //
     // ReportMonthlySaleService
     //
     this.BackColor  = System.Drawing.Color.MediumSeaGreen;
     this.ClientSize = new System.Drawing.Size(857, 537);
     this.Controls.Add(this.groupBox1);
     this.Name          = "ReportMonthlySaleService";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Report Sale Service";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 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.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();
     this.borderPanel1               = new Microsoft.TeamFoundation.Client.BorderPanel();
     this.button1                    = new System.Windows.Forms.Button();
     this.tabControl2                = new System.Windows.Forms.TabControl();
     this.tabPage6                   = new System.Windows.Forms.TabPage();
     this.labelSmooth2               = new Rentix.LabelSmooth();
     this.radioButton6               = new System.Windows.Forms.RadioButton();
     this.radioButton5               = new System.Windows.Forms.RadioButton();
     this.dataGridView1              = new DataGridView();
     this.ID1                        = 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.Column5                    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toolStrip1                 = new System.Windows.Forms.ToolStrip();
     this.toolStripButton1           = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton2           = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton3           = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1        = new System.Windows.Forms.ToolStripSeparator();
     this.tabPage1                   = new System.Windows.Forms.TabPage();
     this.dataGridView2              = new DataGridView();
     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.Column7                    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column6                    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.borderPanel3               = new Microsoft.TeamFoundation.Client.BorderPanel();
     this.radioButton4               = new System.Windows.Forms.RadioButton();
     this.radioButton3               = new System.Windows.Forms.RadioButton();
     this.radioButton2               = new System.Windows.Forms.RadioButton();
     this.radioButton1               = new System.Windows.Forms.RadioButton();
     this.labelSmooth1               = new Rentix.LabelSmooth();
     this.borderPanel1.SuspendLayout();
     this.tabControl2.SuspendLayout();
     this.tabPage6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.toolStrip1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
     this.borderPanel3.SuspendLayout();
     this.SuspendLayout();
     //
     // borderPanel1
     //
     this.borderPanel1.BackgroundImage       = global::Rentix.Properties.Resources.bg;
     this.borderPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.borderPanel1.BorderColor           = System.Drawing.SystemColors.ControlLight;
     this.borderPanel1.BorderPadding         = new System.Windows.Forms.Padding(0);
     this.borderPanel1.BorderSides           = Microsoft.TeamFoundation.Client.BorderPanel.Sides.Top;
     this.borderPanel1.BorderStyle           = System.Windows.Forms.ButtonBorderStyle.Solid;
     this.borderPanel1.Controls.Add(this.button1);
     this.borderPanel1.Dock          = System.Windows.Forms.DockStyle.Bottom;
     this.borderPanel1.InnerColor    = System.Drawing.SystemColors.Control;
     this.borderPanel1.Location      = new System.Drawing.Point(0, 347);
     this.borderPanel1.Margin        = new System.Windows.Forms.Padding(0);
     this.borderPanel1.Name          = "borderPanel1";
     this.borderPanel1.Size          = new System.Drawing.Size(922, 40);
     this.borderPanel1.TabIndex      = 1;
     this.borderPanel1.UseInnerColor = false;
     //
     // button1
     //
     this.button1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.BackColor = System.Drawing.SystemColors.Control;
     this.button1.Location  = new System.Drawing.Point(769, 5);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(150, 30);
     this.button1.TabIndex  = 0;
     this.button1.Text      = "Закрыть";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // tabControl2
     //
     this.tabControl2.Controls.Add(this.tabPage6);
     this.tabControl2.Controls.Add(this.tabPage1);
     this.tabControl2.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl2.ItemSize      = new System.Drawing.Size(200, 18);
     this.tabControl2.Location      = new System.Drawing.Point(0, 0);
     this.tabControl2.Name          = "tabControl2";
     this.tabControl2.SelectedIndex = 0;
     this.tabControl2.Size          = new System.Drawing.Size(922, 347);
     this.tabControl2.SizeMode      = System.Windows.Forms.TabSizeMode.Fixed;
     this.tabControl2.TabIndex      = 1;
     //
     // tabPage6
     //
     this.tabPage6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(235)))), ((int)(((byte)(239)))));
     this.tabPage6.Controls.Add(this.labelSmooth2);
     this.tabPage6.Controls.Add(this.radioButton6);
     this.tabPage6.Controls.Add(this.radioButton5);
     this.tabPage6.Controls.Add(this.dataGridView1);
     this.tabPage6.Controls.Add(this.toolStrip1);
     this.tabPage6.Location = new System.Drawing.Point(4, 22);
     this.tabPage6.Name     = "tabPage6";
     this.tabPage6.Size     = new System.Drawing.Size(914, 321);
     this.tabPage6.TabIndex = 0;
     this.tabPage6.Text     = "Управление";
     //
     // labelSmooth2
     //
     this.labelSmooth2.AutoSize          = true;
     this.labelSmooth2.Location          = new System.Drawing.Point(677, 29);
     this.labelSmooth2.Name              = "labelSmooth2";
     this.labelSmooth2.Size              = new System.Drawing.Size(56, 13);
     this.labelSmooth2.TabIndex          = 5;
     this.labelSmooth2.Text              = "Показать";
     this.labelSmooth2.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
     //
     // radioButton6
     //
     this.radioButton6.AutoSize = true;
     this.radioButton6.Checked  = true;
     this.radioButton6.Location = new System.Drawing.Point(713, 69);
     this.radioButton6.Name     = "radioButton6";
     this.radioButton6.Size     = new System.Drawing.Size(173, 17);
     this.radioButton6.TabIndex = 4;
     this.radioButton6.TabStop  = true;
     this.radioButton6.Tag      = "certifType";
     this.radioButton6.Text     = "Скидка на стоимость заезда";
     this.radioButton6.UseVisualStyleBackColor = true;
     this.radioButton6.CheckedChanged         += new System.EventHandler(this.radioButton6_CheckedChanged);
     //
     // radioButton5
     //
     this.radioButton5.AutoSize = true;
     this.radioButton5.Location = new System.Drawing.Point(713, 46);
     this.radioButton5.Name     = "radioButton5";
     this.radioButton5.Size     = new System.Drawing.Size(129, 17);
     this.radioButton5.TabIndex = 3;
     this.radioButton5.Tag      = "certifType";
     this.radioButton5.Text     = "Подарочные заезды";
     this.radioButton5.UseVisualStyleBackColor = true;
     this.radioButton5.CheckedChanged         += new System.EventHandler(this.radioButton5_CheckedChanged);
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows              = false;
     this.dataGridView1.AllowUserToDeleteRows           = false;
     this.dataGridView1.AllowUserToResizeRows           = false;
     dataGridViewCellStyle1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridView1.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.dataGridView1.BackgroundColor               = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(235)))), ((int)(((byte)(239)))));
     this.dataGridView1.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     dataGridViewCellStyle2.Alignment                 = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor                 = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     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.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ID1,
         this.Column1,
         this.Column2,
         this.Column3,
         this.Column4,
         this.Column5
     });
     this.dataGridView1.Location          = new System.Drawing.Point(2, 25);
     this.dataGridView1.MultiSelect       = false;
     this.dataGridView1.Name              = "dataGridView1";
     this.dataGridView1.ReadOnly          = true;
     this.dataGridView1.RowHeadersVisible = false;
     this.dataGridView1.SelectionMode     = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView1.ShowCellErrors    = false;
     this.dataGridView1.ShowCellToolTips  = false;
     this.dataGridView1.ShowEditingIcon   = false;
     this.dataGridView1.ShowRowErrors     = false;
     this.dataGridView1.Size              = new System.Drawing.Size(584, 295);
     this.dataGridView1.TabIndex          = 2;
     //
     // ID1
     //
     this.ID1.HeaderText = "ID";
     this.ID1.Name       = "ID1";
     this.ID1.ReadOnly   = true;
     this.ID1.Width      = 50;
     //
     // Column1
     //
     this.Column1.HeaderText = "Название";
     this.Column1.Name       = "Column1";
     this.Column1.ReadOnly   = true;
     //
     // Column2
     //
     this.Column2.HeaderText = "Номинал";
     this.Column2.Name       = "Column2";
     this.Column2.ReadOnly   = true;
     //
     // Column3
     //
     this.Column3.HeaderText = "Стоимость";
     this.Column3.Name       = "Column3";
     this.Column3.ReadOnly   = true;
     //
     // Column4
     //
     this.Column4.HeaderText = "Создан";
     this.Column4.Name       = "Column4";
     this.Column4.ReadOnly   = true;
     //
     // Column5
     //
     this.Column5.HeaderText = "Выдано";
     this.Column5.Name       = "Column5";
     this.Column5.ReadOnly   = true;
     this.Column5.Width      = 70;
     //
     // toolStrip1
     //
     this.toolStrip1.BackgroundImage       = global::Rentix.Properties.Resources.bg;
     this.toolStrip1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.toolStrip1.GripStyle             = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButton1,
         this.toolStripButton2,
         this.toolStripButton3,
         this.toolStripSeparator1
     });
     this.toolStrip1.Location   = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name       = "toolStrip1";
     this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
     this.toolStrip1.Size       = new System.Drawing.Size(914, 25);
     this.toolStrip1.TabIndex   = 0;
     this.toolStrip1.Text       = "toolStrip1";
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image                 = global::Rentix.Properties.Resources.edit_add;
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name   = "toolStripButton1";
     this.toolStripButton1.Size   = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text   = "Добавить";
     this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
     //
     // toolStripButton2
     //
     this.toolStripButton2.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton2.Image                 = global::Rentix.Properties.Resources.edit__1_;
     this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton2.Name   = "toolStripButton2";
     this.toolStripButton2.Size   = new System.Drawing.Size(23, 22);
     this.toolStripButton2.Text   = "Изменить";
     this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
     //
     // toolStripButton3
     //
     this.toolStripButton3.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton3.Image                 = global::Rentix.Properties.Resources.edit_remove;
     this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton3.Name   = "toolStripButton3";
     this.toolStripButton3.Size   = new System.Drawing.Size(23, 22);
     this.toolStripButton3.Text   = "Удалить";
     this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(235)))), ((int)(((byte)(239)))));
     this.tabPage1.Controls.Add(this.dataGridView2);
     this.tabPage1.Controls.Add(this.borderPanel3);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(914, 321);
     this.tabPage1.TabIndex = 1;
     this.tabPage1.Text     = "Выданные сертификаты";
     //
     // dataGridView2
     //
     this.dataGridView2.AllowUserToAddRows              = false;
     this.dataGridView2.AllowUserToDeleteRows           = false;
     this.dataGridView2.AllowUserToResizeRows           = false;
     dataGridViewCellStyle3.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     this.dataGridView2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
     this.dataGridView2.BackgroundColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(235)))), ((int)(((byte)(239)))));
     this.dataGridView2.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     dataGridViewCellStyle4.Alignment                 = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle4.BackColor                 = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle4.Font                      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     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.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
     this.dataGridView2.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.dataGridViewTextBoxColumn1,
         this.dataGridViewTextBoxColumn2,
         this.dataGridViewTextBoxColumn3,
         this.dataGridViewTextBoxColumn4,
         this.dataGridViewTextBoxColumn5,
         this.Column7,
         this.dataGridViewTextBoxColumn6,
         this.Column6
     });
     this.dataGridView2.Dock              = System.Windows.Forms.DockStyle.Left;
     this.dataGridView2.Location          = new System.Drawing.Point(0, 40);
     this.dataGridView2.MultiSelect       = false;
     this.dataGridView2.Name              = "dataGridView2";
     this.dataGridView2.ReadOnly          = true;
     this.dataGridView2.RowHeadersVisible = false;
     this.dataGridView2.SelectionMode     = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView2.ShowCellErrors    = false;
     this.dataGridView2.ShowCellToolTips  = false;
     this.dataGridView2.ShowEditingIcon   = false;
     this.dataGridView2.ShowRowErrors     = false;
     this.dataGridView2.Size              = new System.Drawing.Size(794, 281);
     this.dataGridView2.TabIndex          = 4;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.HeaderText = "ID";
     this.dataGridViewTextBoxColumn1.Name       = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.ReadOnly   = true;
     this.dataGridViewTextBoxColumn1.Width      = 50;
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.HeaderText = "Код";
     this.dataGridViewTextBoxColumn2.Name       = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.ReadOnly   = true;
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.HeaderText = "Тип";
     this.dataGridViewTextBoxColumn3.Name       = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.ReadOnly   = true;
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.HeaderText = "Кому";
     this.dataGridViewTextBoxColumn4.Name       = "dataGridViewTextBoxColumn4";
     this.dataGridViewTextBoxColumn4.ReadOnly   = true;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.HeaderText = "Статус";
     this.dataGridViewTextBoxColumn5.Name       = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.ReadOnly   = true;
     //
     // Column7
     //
     this.Column7.HeaderText = "Заездов";
     this.Column7.Name       = "Column7";
     this.Column7.ReadOnly   = true;
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.HeaderText = "Создан";
     this.dataGridViewTextBoxColumn6.Name       = "dataGridViewTextBoxColumn6";
     this.dataGridViewTextBoxColumn6.ReadOnly   = true;
     //
     // Column6
     //
     this.Column6.HeaderText = "Годен";
     this.Column6.Name       = "Column6";
     this.Column6.ReadOnly   = true;
     //
     // borderPanel3
     //
     this.borderPanel3.BackgroundImage       = global::Rentix.Properties.Resources.bg;
     this.borderPanel3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.borderPanel3.BorderColor           = System.Drawing.SystemColors.ControlDark;
     this.borderPanel3.BorderPadding         = new System.Windows.Forms.Padding(0);
     this.borderPanel3.BorderSides           = Microsoft.TeamFoundation.Client.BorderPanel.Sides.Bottom;
     this.borderPanel3.BorderStyle           = System.Windows.Forms.ButtonBorderStyle.Outset;
     this.borderPanel3.Controls.Add(this.radioButton4);
     this.borderPanel3.Controls.Add(this.radioButton3);
     this.borderPanel3.Controls.Add(this.radioButton2);
     this.borderPanel3.Controls.Add(this.radioButton1);
     this.borderPanel3.Controls.Add(this.labelSmooth1);
     this.borderPanel3.Dock          = System.Windows.Forms.DockStyle.Top;
     this.borderPanel3.InnerColor    = System.Drawing.SystemColors.Control;
     this.borderPanel3.Location      = new System.Drawing.Point(0, 0);
     this.borderPanel3.Margin        = new System.Windows.Forms.Padding(0);
     this.borderPanel3.Name          = "borderPanel3";
     this.borderPanel3.Size          = new System.Drawing.Size(914, 40);
     this.borderPanel3.TabIndex      = 3;
     this.borderPanel3.UseInnerColor = false;
     //
     // radioButton4
     //
     this.radioButton4.AutoSize  = true;
     this.radioButton4.BackColor = System.Drawing.Color.Transparent;
     this.radioButton4.Location  = new System.Drawing.Point(385, 12);
     this.radioButton4.Name      = "radioButton4";
     this.radioButton4.Size      = new System.Drawing.Size(44, 17);
     this.radioButton4.TabIndex  = 5;
     this.radioButton4.Text      = "Все";
     this.radioButton4.UseVisualStyleBackColor = false;
     this.radioButton4.CheckedChanged         += new System.EventHandler(this.radioButton4_CheckedChanged);
     //
     // radioButton3
     //
     this.radioButton3.AutoSize  = true;
     this.radioButton3.BackColor = System.Drawing.Color.Transparent;
     this.radioButton3.Location  = new System.Drawing.Point(279, 12);
     this.radioButton3.Name      = "radioButton3";
     this.radioButton3.Size      = new System.Drawing.Size(100, 17);
     this.radioButton3.TabIndex  = 4;
     this.radioButton3.Text      = "Просроченные";
     this.radioButton3.UseVisualStyleBackColor = false;
     this.radioButton3.CheckedChanged         += new System.EventHandler(this.radioButton3_CheckedChanged);
     //
     // radioButton2
     //
     this.radioButton2.AutoSize  = true;
     this.radioButton2.BackColor = System.Drawing.Color.Transparent;
     this.radioButton2.Location  = new System.Drawing.Point(160, 11);
     this.radioButton2.Name      = "radioButton2";
     this.radioButton2.Size      = new System.Drawing.Size(113, 17);
     this.radioButton2.TabIndex  = 3;
     this.radioButton2.Text      = "Использованные";
     this.radioButton2.UseVisualStyleBackColor = false;
     this.radioButton2.CheckedChanged         += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // radioButton1
     //
     this.radioButton1.AutoSize  = true;
     this.radioButton1.BackColor = System.Drawing.Color.Transparent;
     this.radioButton1.Checked   = true;
     this.radioButton1.Location  = new System.Drawing.Point(79, 11);
     this.radioButton1.Name      = "radioButton1";
     this.radioButton1.Size      = new System.Drawing.Size(75, 17);
     this.radioButton1.TabIndex  = 2;
     this.radioButton1.TabStop   = true;
     this.radioButton1.Text      = "Активные";
     this.radioButton1.UseVisualStyleBackColor = false;
     this.radioButton1.CheckedChanged         += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // labelSmooth1
     //
     this.labelSmooth1.AutoSize          = true;
     this.labelSmooth1.BackColor         = System.Drawing.Color.Transparent;
     this.labelSmooth1.Font              = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.labelSmooth1.Location          = new System.Drawing.Point(8, 12);
     this.labelSmooth1.Name              = "labelSmooth1";
     this.labelSmooth1.Size              = new System.Drawing.Size(55, 14);
     this.labelSmooth1.TabIndex          = 1;
     this.labelSmooth1.Text              = "Фильтр";
     this.labelSmooth1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
     //
     // Sertificat
     //
     this.AutoScaleDimensions   = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode         = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor             = System.Drawing.Color.White;
     this.BackgroundImage       = global::Rentix.Properties.Resources.bg;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize            = new System.Drawing.Size(922, 387);
     this.Controls.Add(this.tabControl2);
     this.Controls.Add(this.borderPanel1);
     this.DoubleBuffered = true;
     this.KeyPreview     = true;
     this.MinimizeBox    = false;
     this.Name           = "Sertificat";
     this.ShowIcon       = false;
     this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text           = "Управление сертификатами";
     this.WindowState    = System.Windows.Forms.FormWindowState.Maximized;
     this.KeyDown       += new System.Windows.Forms.KeyEventHandler(this.Sertificat_KeyDown);
     this.borderPanel1.ResumeLayout(false);
     this.tabControl2.ResumeLayout(false);
     this.tabPage6.ResumeLayout(false);
     this.tabPage6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.tabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
     this.borderPanel3.ResumeLayout(false);
     this.borderPanel3.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 52
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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 dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.gridMain       = new RiotPls.Grid();
     this.colImage       = new System.Windows.Forms.DataGridViewImageColumn();
     this.colName        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.chkdlistFilter = new System.Windows.Forms.CheckedListBox();
     ((System.ComponentModel.ISupportInitialize)(this.gridMain)).BeginInit();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.FlatAppearance.BorderSize = 0;
     this.btnClose.Location = new System.Drawing.Point(1166, 9);
     //
     // gridMain
     //
     this.gridMain.AllowUserToAddRows       = false;
     this.gridMain.AllowUserToDeleteRows    = false;
     this.gridMain.AllowUserToResizeColumns = false;
     this.gridMain.AllowUserToResizeRows    = false;
     this.gridMain.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.gridMain.AutoSizeRowsMode              = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.gridMain.BackgroundColor               = System.Drawing.Color.Black;
     this.gridMain.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
     dataGridViewCellStyle1.Alignment            = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(26)))), ((int)(((byte)(26)))));
     dataGridViewCellStyle1.Font                 = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     dataGridViewCellStyle1.SelectionBackColor   = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor   = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode             = System.Windows.Forms.DataGridViewTriState.True;
     this.gridMain.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.gridMain.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gridMain.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.colImage,
         this.colName,
         this.colDescription
     });
     dataGridViewCellStyle3.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(46)))), ((int)(((byte)(46)))));
     dataGridViewCellStyle3.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle3.ForeColor          = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle3.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.gridMain.DefaultCellStyle            = dataGridViewCellStyle3;
     this.gridMain.EnableHeadersVisualStyles   = false;
     this.gridMain.GridColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
     this.gridMain.Location                    = new System.Drawing.Point(29, 109);
     this.gridMain.Margin                      = new System.Windows.Forms.Padding(20, 10, 20, 20);
     this.gridMain.MultiSelect                 = false;
     this.gridMain.Name                        = "gridMain";
     this.gridMain.ReadOnly                    = true;
     dataGridViewCellStyle4.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle4.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(46)))), ((int)(((byte)(46)))));
     dataGridViewCellStyle4.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle4.ForeColor          = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.Black;
     dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle4.WrapMode           = System.Windows.Forms.DataGridViewTriState.True;
     this.gridMain.RowHeadersDefaultCellStyle  = dataGridViewCellStyle4;
     this.gridMain.RowHeadersWidthSizeMode     = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;
     this.gridMain.SelectionMode               = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.gridMain.ShowCellErrors              = false;
     this.gridMain.ShowEditingIcon             = false;
     this.gridMain.ShowRowErrors               = false;
     this.gridMain.Size                        = new System.Drawing.Size(1137, 689);
     this.gridMain.TabIndex                    = 3;
     //
     // colImage
     //
     this.colImage.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.colImage.DataPropertyName = "Image";
     this.colImage.HeaderText       = "Image";
     this.colImage.Name             = "colImage";
     this.colImage.ReadOnly         = true;
     this.colImage.Resizable        = System.Windows.Forms.DataGridViewTriState.False;
     this.colImage.Width            = 45;
     //
     // colName
     //
     this.colName.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.colName.DataPropertyName = "Name";
     this.colName.HeaderText       = "Name";
     this.colName.Name             = "colName";
     this.colName.ReadOnly         = true;
     this.colName.Width            = 61;
     //
     // colDescription
     //
     this.colDescription.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colDescription.DataPropertyName = "Description";
     dataGridViewCellStyle2.Alignment     = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.WrapMode      = System.Windows.Forms.DataGridViewTriState.True;
     this.colDescription.DefaultCellStyle = dataGridViewCellStyle2;
     this.colDescription.HeaderText       = "Description";
     this.colDescription.Name             = "colDescription";
     this.colDescription.ReadOnly         = true;
     //
     // chkdlistFilter
     //
     this.chkdlistFilter.BackColor         = System.Drawing.Color.Black;
     this.chkdlistFilter.BorderStyle       = System.Windows.Forms.BorderStyle.None;
     this.chkdlistFilter.CheckOnClick      = true;
     this.chkdlistFilter.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     this.chkdlistFilter.FormattingEnabled = true;
     this.chkdlistFilter.Items.AddRange(new object[] {
         "Consumables",
         "Howling Abyss",
         "Non-Consumables",
         "Summoner\'s Rift",
         "Twisted Treeline"
     });
     this.chkdlistFilter.Location         = new System.Drawing.Point(49, 29);
     this.chkdlistFilter.Margin           = new System.Windows.Forms.Padding(40, 20, 10, 10);
     this.chkdlistFilter.MultiColumn      = true;
     this.chkdlistFilter.Name             = "chkdlistFilter";
     this.chkdlistFilter.Size             = new System.Drawing.Size(248, 60);
     this.chkdlistFilter.Sorted           = true;
     this.chkdlistFilter.TabIndex         = 4;
     this.chkdlistFilter.ThreeDCheckBoxes = true;
     this.chkdlistFilter.ItemCheck       += new System.Windows.Forms.ItemCheckEventHandler(this.chkdlistFilter_ItemCheck);
     //
     // formItems
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1195, 827);
     this.Controls.Add(this.chkdlistFilter);
     this.Controls.Add(this.gridMain);
     this.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     this.Name         = "formItems";
     this.Text         = "formItems";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.formItems_FormClosing);
     this.Load        += new System.EventHandler(this.formItems_Load);
     this.Controls.SetChildIndex(this.btnClose, 0);
     this.Controls.SetChildIndex(this.gridMain, 0);
     this.Controls.SetChildIndex(this.chkdlistFilter, 0);
     ((System.ComponentModel.ISupportInitialize)(this.gridMain)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 53
0
    /// <summary>
    /// Overrides Paint
    /// </summary>
    /// <param name="graphics"></param>
    /// <param name="clipBounds"></param>
    /// <param name="cellBounds"></param>
    /// <param name="rowIndex"></param>
    /// <param name="cellState"></param>
    /// <param name="value"></param>
    /// <param name="formattedValue"></param>
    /// <param name="errorText"></param>
    /// <param name="cellStyle"></param>
    /// <param name="advancedBorderStyle"></param>
    /// <param name="paintParts"></param>
    protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle,
                                  System.Windows.Forms.DataGridViewPaintParts paintParts)
    {
        //Draw the bar
        int barWidth;

        if ((double)value >= 1.0)
        {
            barWidth = (int)(cellBounds.Width - 10);
        }
        else
        {
            barWidth = (int)((cellBounds.Width - 10) * (double)value);
        }

        if ((double)value > 0 && barWidth > 0)
        {
            Rectangle r = new Rectangle(cellBounds.X + 3, cellBounds.Y + 3, barWidth, cellBounds.Height - 8);

            using (LinearGradientBrush linearBrush = new LinearGradientBrush(r, KryptonManager.CurrentGlobalPalette.GetBackColor1(PaletteBackStyle.GridHeaderColumnList, PaletteState.Normal), KryptonManager.CurrentGlobalPalette.GetBackColor2(PaletteBackStyle.GridHeaderColumnList, PaletteState.Normal), LinearGradientMode.Vertical))
            {
                graphics.FillRectangle(linearBrush, r);
            }

            using (Pen pen = new Pen(KryptonManager.CurrentGlobalPalette.GetBorderColor1(PaletteBorderStyle.GridHeaderColumnList, PaletteState.Normal)))
            {
                graphics.DrawRectangle(pen, r);
            }

            //TODO : implement customization like conditional formatting
            //using (LinearGradientBrush linearBrush = new LinearGradientBrush(r, Color.FromArgb(255, 140, 197, 66), Color.FromArgb(255, 247, 251, 242), LinearGradientMode.Horizontal))
            //{
            //    graphics.FillRectangle(linearBrush, r);
            //}

            //using (Pen pen = new Pen(Color.FromArgb(255, 140, 197, 66)))
            //{
            //    graphics.DrawRectangle(pen, r);

            //}
        }

        base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState, value, formattedValue, errorText, cellStyle, advancedBorderStyle,
                   DataGridViewPaintParts.None | DataGridViewPaintParts.ContentForeground);
    }
Esempio n. 54
0
        // Clone DataGridView made in Designer
        public DataGridView cloneDataGridView()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            DataGridView dGridFields2                 = new DataGridView();
            DataGridViewCheckBoxColumn Key            = new DataGridViewCheckBoxColumn();
            DataGridViewTextBoxColumn  colField       = new DataGridViewTextBoxColumn();
            DataGridViewComboBoxColumn colDataType    = new DataGridViewComboBoxColumn();
            DataGridViewTextBoxColumn  colDescription = new DataGridViewTextBoxColumn();

            //
            // dGridFields2
            //
            dGridFields2.AllowDrop                       = true;
            dataGridViewCellStyle1.BackColor             = Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            dGridFields2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            dGridFields2.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                                    | AnchorStyles.Left)
                                                   | AnchorStyles.Right)));
            dGridFields2.AutoSizeColumnsMode         = DataGridViewAutoSizeColumnsMode.Fill;
            dGridFields2.AutoSizeRowsMode            = DataGridViewAutoSizeRowsMode.AllCells;
            dGridFields2.BackgroundColor             = SystemColors.Info;
            dGridFields2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
            dGridFields2.Columns.AddRange(new DataGridViewColumn[] {
                Key,
                colField,
                colDataType,
                colDescription
            });
            dGridFields2.Location = new Point(0, 0);
            dGridFields2.Name     = "dGridFields2";
            dGridFields2.Size     = new Size(357, 192);
            dGridFields2.TabIndex = 0;
            dGridFields2.Visible  = true;
            //
            // Key
            //
            Key.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
            Key.FalseValue   = "false";
            Key.HeaderText   = "PK";
            Key.Name         = "Key";
            Key.Resizable    = System.Windows.Forms.DataGridViewTriState.True;
            Key.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            Key.TrueValue    = "true";
            Key.Width        = 46;
            //
            // colField
            //
            colField.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
            colField.HeaderText   = "Field Name";
            colField.Name         = "colField";
            colField.Width        = 85;
            //
            // colDataType
            //
            colDataType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
            colDataType.HeaderText   = "Data Type";
            colDataType.Name         = "colDataType";
            colDataType.Width        = 63;
            // Charge DataGridView comboboxes
            int i = 1;

            foreach (DataTypeEnum temp in Enum.GetValues(typeof(DataTypeEnum)))
            {
                if (i < 16) // Only including 15 Data Types Supported
                {
                    colDataType.Items.Add(temp.ToString());
                }

                i++;
            }
            //
            // colDescription
            //
            colDescription.HeaderText = "Description";
            colDescription.Name       = "colDescription";

            return(dGridFields2);
        }
Esempio n. 55
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.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     this.groupBox1               = new System.Windows.Forms.GroupBox();
     this.screenThresholdSpin     = new System.Windows.Forms.NumericUpDown();
     this.mutationRateSpin        = new System.Windows.Forms.NumericUpDown();
     this.reproductionPercentSpin = new System.Windows.Forms.NumericUpDown();
     this.populationSizeSpin      = new System.Windows.Forms.NumericUpDown();
     this.label5          = new System.Windows.Forms.Label();
     this.generationsSpin = new System.Windows.Forms.NumericUpDown();
     this.label6          = new System.Windows.Forms.Label();
     this.saveLogCheckbox = new System.Windows.Forms.CheckBox();
     this.label3          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.label1          = new System.Windows.Forms.Label();
     this.groupBox2       = new System.Windows.Forms.GroupBox();
     this.errorLabel      = new System.Windows.Forms.Label();
     this.strategyParameterConditionsGrid = new System.Windows.Forms.DataGridView();
     this.Condition               = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.minimumTradesSpin       = new System.Windows.Forms.NumericUpDown();
     this.label4                  = new System.Windows.Forms.Label();
     this.linkLabel1              = new System.Windows.Forms.LinkLabel();
     this.btnOk                   = new System.Windows.Forms.Button();
     this.groupBox3               = new System.Windows.Forms.GroupBox();
     this.fitnessFunctionComboBox = new System.Windows.Forms.ComboBox();
     this.label11                 = new System.Windows.Forms.Label();
     this.maximumTradesSpin       = new System.Windows.Forms.NumericUpDown();
     this.label7                  = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.screenThresholdSpin)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mutationRateSpin)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.reproductionPercentSpin)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.populationSizeSpin)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.generationsSpin)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.strategyParameterConditionsGrid)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.minimumTradesSpin)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.maximumTradesSpin)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.screenThresholdSpin);
     this.groupBox1.Controls.Add(this.mutationRateSpin);
     this.groupBox1.Controls.Add(this.reproductionPercentSpin);
     this.groupBox1.Controls.Add(this.populationSizeSpin);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.generationsSpin);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.saveLogCheckbox);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(18, 16);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(257, 184);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Genetic optimiser";
     //
     // screenThresholdSpin
     //
     this.screenThresholdSpin.DecimalPlaces = 2;
     this.screenThresholdSpin.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.screenThresholdSpin.Location = new System.Drawing.Point(181, 122);
     this.screenThresholdSpin.Maximum  = new decimal(new int[] {
         100000,
         0,
         0,
         0
     });
     this.screenThresholdSpin.Name               = "screenThresholdSpin";
     this.screenThresholdSpin.Size               = new System.Drawing.Size(60, 20);
     this.screenThresholdSpin.TabIndex           = 10;
     this.screenThresholdSpin.ThousandsSeparator = true;
     //
     // mutationRateSpin
     //
     this.mutationRateSpin.Location = new System.Drawing.Point(181, 96);
     this.mutationRateSpin.Name     = "mutationRateSpin";
     this.mutationRateSpin.Size     = new System.Drawing.Size(60, 20);
     this.mutationRateSpin.TabIndex = 10;
     this.mutationRateSpin.Value    = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     //
     // reproductionPercentSpin
     //
     this.reproductionPercentSpin.Location = new System.Drawing.Point(181, 70);
     this.reproductionPercentSpin.Maximum  = new decimal(new int[] {
         95,
         0,
         0,
         0
     });
     this.reproductionPercentSpin.Minimum = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.reproductionPercentSpin.Name     = "reproductionPercentSpin";
     this.reproductionPercentSpin.Size     = new System.Drawing.Size(60, 20);
     this.reproductionPercentSpin.TabIndex = 10;
     this.reproductionPercentSpin.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     //
     // populationSizeSpin
     //
     this.populationSizeSpin.Location = new System.Drawing.Point(181, 45);
     this.populationSizeSpin.Maximum  = new decimal(new int[] {
         100000,
         0,
         0,
         0
     });
     this.populationSizeSpin.Minimum = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.populationSizeSpin.Name               = "populationSizeSpin";
     this.populationSizeSpin.Size               = new System.Drawing.Size(60, 20);
     this.populationSizeSpin.TabIndex           = 10;
     this.populationSizeSpin.ThousandsSeparator = true;
     this.populationSizeSpin.Value              = new decimal(new int[] {
         256,
         0,
         0,
         0
     });
     //
     // label5
     //
     this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label5.Location   = new System.Drawing.Point(1, 124);
     this.label5.Name       = "label5";
     this.label5.Size       = new System.Drawing.Size(172, 13);
     this.label5.TabIndex   = 9;
     this.label5.Text       = "Stop threshold (0 = none)";
     this.label5.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // generationsSpin
     //
     this.generationsSpin.Location = new System.Drawing.Point(181, 21);
     this.generationsSpin.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.generationsSpin.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.generationsSpin.Name     = "generationsSpin";
     this.generationsSpin.Size     = new System.Drawing.Size(40, 20);
     this.generationsSpin.TabIndex = 1;
     this.generationsSpin.Value    = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(1, 98);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(172, 13);
     this.label6.TabIndex  = 5;
     this.label6.Text      = "Mutation rate (%)";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // saveLogCheckbox
     //
     this.saveLogCheckbox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.saveLogCheckbox.Location   = new System.Drawing.Point(98, 153);
     this.saveLogCheckbox.Name       = "saveLogCheckbox";
     this.saveLogCheckbox.Size       = new System.Drawing.Size(97, 17);
     this.saveLogCheckbox.TabIndex   = 6;
     this.saveLogCheckbox.Text       = "Save all trials";
     this.saveLogCheckbox.TextAlign  = System.Drawing.ContentAlignment.TopCenter;
     this.saveLogCheckbox.UseVisualStyleBackColor = true;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(1, 72);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(172, 13);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "Reproduction rate (%)";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(1, 46);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(172, 13);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Population size";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(1, 22);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(172, 13);
     this.label1.TabIndex  = 5;
     this.label1.Text      = "Maximum generations";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.errorLabel);
     this.groupBox2.Controls.Add(this.strategyParameterConditionsGrid);
     this.groupBox2.Location = new System.Drawing.Point(290, 16);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(345, 292);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Strategy parameter constraints";
     //
     // errorLabel
     //
     this.errorLabel.AutoSize  = true;
     this.errorLabel.ForeColor = System.Drawing.Color.Red;
     this.errorLabel.Location  = new System.Drawing.Point(39, 270);
     this.errorLabel.Name      = "errorLabel";
     this.errorLabel.Size      = new System.Drawing.Size(266, 13);
     this.errorLabel.TabIndex  = 1;
     this.errorLabel.Text      = "There are one or more errors in the selected expression";
     this.errorLabel.Visible   = false;
     //
     // strategyParameterConditionsGrid
     //
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(255)))));
     this.strategyParameterConditionsGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.strategyParameterConditionsGrid.AutoSizeColumnsMode             = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.strategyParameterConditionsGrid.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.strategyParameterConditionsGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.strategyParameterConditionsGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Condition
     });
     this.strategyParameterConditionsGrid.Location = new System.Drawing.Point(19, 22);
     this.strategyParameterConditionsGrid.Name     = "strategyParameterConditionsGrid";
     this.strategyParameterConditionsGrid.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     this.strategyParameterConditionsGrid.RowHeadersWidth       = 30;
     this.strategyParameterConditionsGrid.Size     = new System.Drawing.Size(307, 239);
     this.strategyParameterConditionsGrid.TabIndex = 0;
     //
     // Condition
     //
     this.Condition.HeaderText = "Expression";
     this.Condition.Name       = "Condition";
     //
     // minimumTradesSpin
     //
     this.minimumTradesSpin.Location = new System.Drawing.Point(181, 65);
     this.minimumTradesSpin.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.minimumTradesSpin.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.minimumTradesSpin.Name     = "minimumTradesSpin";
     this.minimumTradesSpin.Size     = new System.Drawing.Size(60, 20);
     this.minimumTradesSpin.TabIndex = 10;
     this.minimumTradesSpin.Value    = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(0, 67);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(172, 13);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "Minimum Trades";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // linkLabel1
     //
     this.linkLabel1.AutoSize         = true;
     this.linkLabel1.LinkColor        = System.Drawing.Color.Blue;
     this.linkLabel1.Location         = new System.Drawing.Point(537, 322);
     this.linkLabel1.Name             = "linkLabel1";
     this.linkLabel1.Size             = new System.Drawing.Size(89, 13);
     this.linkLabel1.TabIndex         = 2;
     this.linkLabel1.TabStop          = true;
     this.linkLabel1.Text             = "MoGo homepage";
     this.linkLabel1.VisitedLinkColor = System.Drawing.Color.Blue;
     this.linkLabel1.LinkClicked     += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // btnOk
     //
     this.btnOk.Location = new System.Drawing.Point(290, 319);
     this.btnOk.Name     = "btnOk";
     this.btnOk.Size     = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex = 3;
     this.btnOk.Text     = "OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.maximumTradesSpin);
     this.groupBox3.Controls.Add(this.label7);
     this.groupBox3.Controls.Add(this.minimumTradesSpin);
     this.groupBox3.Controls.Add(this.label4);
     this.groupBox3.Controls.Add(this.fitnessFunctionComboBox);
     this.groupBox3.Controls.Add(this.label11);
     this.groupBox3.Location = new System.Drawing.Point(18, 206);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(257, 129);
     this.groupBox3.TabIndex = 0;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Fitness function";
     //
     // fitnessFunctionComboBox
     //
     this.fitnessFunctionComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.fitnessFunctionComboBox.FormattingEnabled = true;
     this.fitnessFunctionComboBox.Location          = new System.Drawing.Point(17, 38);
     this.fitnessFunctionComboBox.Name     = "fitnessFunctionComboBox";
     this.fitnessFunctionComboBox.Size     = new System.Drawing.Size(224, 21);
     this.fitnessFunctionComboBox.TabIndex = 6;
     //
     // label11
     //
     this.label11.Location  = new System.Drawing.Point(14, 22);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(90, 13);
     this.label11.TabIndex  = 5;
     this.label11.Text      = "Fitness function";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // maximumTradesSpin
     //
     this.maximumTradesSpin.Location = new System.Drawing.Point(181, 93);
     this.maximumTradesSpin.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.maximumTradesSpin.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.maximumTradesSpin.Name     = "maximumTradesSpin";
     this.maximumTradesSpin.Size     = new System.Drawing.Size(60, 20);
     this.maximumTradesSpin.TabIndex = 12;
     this.maximumTradesSpin.Value    = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(0, 95);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(172, 13);
     this.label7.TabIndex  = 12;
     this.label7.Text      = "Maximum Trades";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ParametersForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(652, 352);
     this.ControlBox          = false;
     this.Controls.Add(this.btnOk);
     this.Controls.Add(this.linkLabel1);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "ParametersForm";
     this.ShowInTaskbar   = false;
     this.Text            = "- MoGo - 1.1";
     this.TopMost         = true;
     this.Load           += new System.EventHandler(this.ParametersForm_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.screenThresholdSpin)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mutationRateSpin)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.reproductionPercentSpin)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.populationSizeSpin)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.generationsSpin)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.strategyParameterConditionsGrid)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.minimumTradesSpin)).EndInit();
     this.groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.maximumTradesSpin)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 56
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido de este método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     this.dataGridView1          = new System.Windows.Forms.DataGridView();
     this.newButtom              = new System.Windows.Forms.Button();
     this.submitButtom           = new System.Windows.Forms.Button();
     this.defaultHourlyRateLabel = new System.Windows.Forms.Label();
     this.defaultHourlyRateBox   = new System.Windows.Forms.TextBox();
     this.panel1      = new System.Windows.Forms.Panel();
     this.state       = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.title       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.type        = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.duration    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.hourlyRate  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.total       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.leftButton  = new System.Windows.Forms.DataGridViewButtonColumn();
     this.rightButton = new System.Windows.Forms.DataGridViewButtonColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGridView1.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.state,
         this.title,
         this.type,
         this.duration,
         this.hourlyRate,
         this.total,
         this.leftButton,
         this.rightButton
     });
     this.dataGridView1.Location             = new System.Drawing.Point(0, 34);
     this.dataGridView1.Name                 = "dataGridView1";
     this.dataGridView1.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.dataGridView1.RowHeadersWidth      = 49;
     this.dataGridView1.RowTemplate.Height   = 24;
     this.dataGridView1.Size                 = new System.Drawing.Size(1134, 539);
     this.dataGridView1.TabIndex             = 0;
     this.dataGridView1.CellContentClick    += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
     this.dataGridView1.CellValueChanged    += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellValueChanged);
     this.dataGridView1.DefaultValuesNeeded += new System.Windows.Forms.DataGridViewRowEventHandler(this.dataGridView1_DefaultValuesNeeded);
     //
     // newButtom
     //
     this.newButtom.Location = new System.Drawing.Point(0, 0);
     this.newButtom.Name     = "newButtom";
     this.newButtom.Size     = new System.Drawing.Size(96, 34);
     this.newButtom.TabIndex = 1;
     this.newButtom.Text     = "New";
     this.newButtom.UseVisualStyleBackColor = true;
     this.newButtom.Click += new System.EventHandler(this.newButtom_Click);
     //
     // submitButtom
     //
     this.submitButtom.Location = new System.Drawing.Point(102, 0);
     this.submitButtom.Name     = "submitButtom";
     this.submitButtom.Size     = new System.Drawing.Size(203, 34);
     this.submitButtom.TabIndex = 2;
     this.submitButtom.Text     = "Submit";
     this.submitButtom.UseVisualStyleBackColor = true;
     this.submitButtom.Click += new System.EventHandler(this.submitButtom_Click);
     //
     // defaultHourlyRateLabel
     //
     this.defaultHourlyRateLabel.AutoSize = true;
     this.defaultHourlyRateLabel.Location = new System.Drawing.Point(636, 9);
     this.defaultHourlyRateLabel.Name     = "defaultHourlyRateLabel";
     this.defaultHourlyRateLabel.Size     = new System.Drawing.Size(132, 17);
     this.defaultHourlyRateLabel.TabIndex = 3;
     this.defaultHourlyRateLabel.Text     = "Default Hourly Rate";
     //
     // defaultHourlyRateBox
     //
     this.defaultHourlyRateBox.Location = new System.Drawing.Point(774, 9);
     this.defaultHourlyRateBox.Name     = "defaultHourlyRateBox";
     this.defaultHourlyRateBox.Size     = new System.Drawing.Size(104, 22);
     this.defaultHourlyRateBox.TabIndex = 4;
     this.defaultHourlyRateBox.Text     = "250.50";
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.newButtom);
     this.panel1.Controls.Add(this.defaultHourlyRateBox);
     this.panel1.Controls.Add(this.submitButtom);
     this.panel1.Controls.Add(this.defaultHourlyRateLabel);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1134, 34);
     this.panel1.TabIndex = 5;
     //
     // state
     //
     this.state.HeaderText = "State";
     this.state.Items.AddRange(new object[] {
         "Active",
         "Submitted"
     });
     this.state.MinimumWidth = 6;
     this.state.Name         = "state";
     this.state.ReadOnly     = true;
     //
     // title
     //
     this.title.HeaderText   = "Title";
     this.title.MinimumWidth = 6;
     this.title.Name         = "title";
     //
     // type
     //
     this.type.HeaderText = "Type";
     this.type.Items.AddRange(new object[] {
         "Telephone Call",
         "Research",
         "Drafting Document"
     });
     this.type.MinimumWidth = 6;
     this.type.Name         = "type";
     //
     // duration
     //
     dataGridViewCellStyle3.Format    = "h:mm";
     dataGridViewCellStyle3.NullValue = null;
     this.duration.DefaultCellStyle   = dataGridViewCellStyle3;
     this.duration.HeaderText         = "Duration";
     this.duration.MinimumWidth       = 6;
     this.duration.Name = "duration";
     //
     // hourlyRate
     //
     dataGridViewCellStyle4.Format    = "t";
     dataGridViewCellStyle4.NullValue = null;
     this.hourlyRate.DefaultCellStyle = dataGridViewCellStyle4;
     this.hourlyRate.HeaderText       = "Hourly Rate";
     this.hourlyRate.MinimumWidth     = 6;
     this.hourlyRate.Name             = "hourlyRate";
     //
     // total
     //
     this.total.HeaderText   = "Total";
     this.total.MinimumWidth = 6;
     this.total.Name         = "total";
     //
     // leftButton
     //
     this.leftButton.HeaderText   = "Column1";
     this.leftButton.MinimumWidth = 6;
     this.leftButton.Name         = "leftButton";
     this.leftButton.Text         = "";
     //
     // rightButton
     //
     this.rightButton.HeaderText   = "";
     this.rightButton.MinimumWidth = 6;
     this.rightButton.Name         = "rightButton";
     this.rightButton.Text         = "";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1134, 569);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.dataGridView1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 57
0
 public override void PositionEditingControl(bool setLocation, bool setSize, sd.Rectangle cellBounds, sd.Rectangle cellClip, swf.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow)
 {
     Handler.PositionEditingControl(RowIndex, ref cellClip, ref cellBounds);
     base.PositionEditingControl(setLocation, setSize, cellBounds, cellClip, cellStyle, singleVerticalBorderAdded, singleHorizontalBorderAdded, isFirstDisplayedColumn, isFirstDisplayedRow);
 }
 /// <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.DataGridViewCellStyle     dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     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     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();
     this.tabControl1       = new System.Windows.Forms.TabControl();
     this.tabPage1          = new System.Windows.Forms.TabPage();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.lblDomain         = new System.Windows.Forms.Label();
     this.cbDomains         = new System.Windows.Forms.ComboBox();
     this.lblGroup          = new System.Windows.Forms.Label();
     this.txtGroup          = new System.Windows.Forms.TextBox();
     this.dgvResult         = new System.Windows.Forms.DataGridView();
     this.pbWait            = new System.Windows.Forms.PictureBox();
     this.btnGrpMembership  = new System.Windows.Forms.Button();
     this.tabPage2          = new System.Windows.Forms.TabPage();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.pictureBox1       = new System.Windows.Forms.PictureBox();
     this.lblUsrDomain      = new System.Windows.Forms.Label();
     this.cbUserDomains     = new System.Windows.Forms.ComboBox();
     this.lblUserName       = new System.Windows.Forms.Label();
     this.txtUserName       = new System.Windows.Forms.TextBox();
     this.dgbUserGroups     = new System.Windows.Forms.DataGridView();
     this.GroupName         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.btnUserGroups     = new System.Windows.Forms.Button();
     this.lblWarning        = new System.Windows.Forms.Label();
     this.DomainName        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NEP = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.displayNameDataGridViewTextBoxColumn    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.samAccountNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.enabledDataGridViewTextBoxColumn        = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.lastLogonDataGridViewTextBoxColumn      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.groupMembershipModelBindingSource       = new System.Windows.Forms.BindingSource(this.components);
     this.userMembershipModelBindingSource        = new System.Windows.Forms.BindingSource(this.components);
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvResult)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbWait)).BeginInit();
     this.tabPage2.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgbUserGroups)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMembershipModelBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.userMembershipModelBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // 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.Name                  = "tabControl1";
     this.tabControl1.SelectedIndex         = 0;
     this.tabControl1.Size                  = new System.Drawing.Size(878, 601);
     this.tabControl1.TabIndex              = 0;
     this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.tableLayoutPanel1);
     this.tabPage1.Location = new System.Drawing.Point(4, 25);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(870, 572);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Group Membership";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 4;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel1.Controls.Add(this.lblDomain, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.cbDomains, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.lblGroup, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.txtGroup, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.dgvResult, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.pbWait, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnGrpMembership, 0, 2);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(13, 21);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 4;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(845, 536);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // lblDomain
     //
     this.lblDomain.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lblDomain.AutoSize = true;
     this.lblDomain.Font     = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDomain.Location = new System.Drawing.Point(3, 30);
     this.lblDomain.Name     = "lblDomain";
     this.lblDomain.Size     = new System.Drawing.Size(120, 23);
     this.lblDomain.TabIndex = 0;
     this.lblDomain.Text     = "Select Domain";
     //
     // cbDomains
     //
     this.cbDomains.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cbDomains.Font              = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbDomains.FormattingEnabled = true;
     this.cbDomains.Location          = new System.Drawing.Point(256, 19);
     this.cbDomains.Name              = "cbDomains";
     this.cbDomains.Size              = new System.Drawing.Size(247, 31);
     this.cbDomains.TabIndex          = 1;
     //
     // lblGroup
     //
     this.lblGroup.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lblGroup.AutoSize = true;
     this.lblGroup.Font     = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblGroup.Location = new System.Drawing.Point(3, 83);
     this.lblGroup.Name     = "lblGroup";
     this.lblGroup.Size     = new System.Drawing.Size(109, 23);
     this.lblGroup.TabIndex = 2;
     this.lblGroup.Text     = "Group Name";
     //
     // txtGroup
     //
     this.txtGroup.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtGroup.Font     = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtGroup.Location = new System.Drawing.Point(256, 73);
     this.txtGroup.Name     = "txtGroup";
     this.txtGroup.Size     = new System.Drawing.Size(247, 30);
     this.txtGroup.TabIndex = 3;
     //
     // dgvResult
     //
     this.dgvResult.AllowUserToAddRows              = false;
     this.dgvResult.AllowUserToDeleteRows           = false;
     this.dgvResult.AllowUserToResizeRows           = false;
     dataGridViewCellStyle1.BackColor               = System.Drawing.Color.LightGray;
     dataGridViewCellStyle1.Font                    = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgvResult.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvResult.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.dgvResult.AutoGenerateColumns           = false;
     this.dgvResult.AutoSizeColumnsMode           = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     dataGridViewCellStyle2.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, 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.dgvResult.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgvResult.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvResult.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.DomainName,
         this.displayNameDataGridViewTextBoxColumn,
         this.samAccountNameDataGridViewTextBoxColumn,
         this.NEP,
         this.enabledDataGridViewTextBoxColumn,
         this.lastLogonDataGridViewTextBoxColumn
     });
     this.tableLayoutPanel1.SetColumnSpan(this.dgvResult, 4);
     this.dgvResult.DataSource                 = this.groupMembershipModelBindingSource;
     dataGridViewCellStyle7.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle7.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle7.Font               = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle7.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle7.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvResult.DefaultCellStyle           = dataGridViewCellStyle7;
     this.dgvResult.Location = new System.Drawing.Point(3, 162);
     this.dgvResult.Name     = "dgvResult";
     this.dgvResult.ReadOnly = true;
     this.dgvResult.RowHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle8.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle8.BackColor          = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle8.Font               = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle8.ForeColor          = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle8.WrapMode           = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvResult.RowHeadersDefaultCellStyle = dataGridViewCellStyle8;
     this.dgvResult.RowTemplate.Height         = 24;
     this.dgvResult.Size     = new System.Drawing.Size(832, 371);
     this.dgvResult.TabIndex = 5;
     //
     // pbWait
     //
     this.tableLayoutPanel1.SetColumnSpan(this.pbWait, 2);
     this.pbWait.Image    = ((System.Drawing.Image)(resources.GetObject("pbWait.Image")));
     this.pbWait.Location = new System.Drawing.Point(509, 3);
     this.pbWait.Name     = "pbWait";
     this.tableLayoutPanel1.SetRowSpan(this.pbWait, 2);
     this.pbWait.Size     = new System.Drawing.Size(307, 100);
     this.pbWait.TabIndex = 6;
     this.pbWait.TabStop  = false;
     this.pbWait.Visible  = false;
     //
     // btnGrpMembership
     //
     this.btnGrpMembership.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tableLayoutPanel1.SetColumnSpan(this.btnGrpMembership, 2);
     this.btnGrpMembership.Font     = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnGrpMembership.Location = new System.Drawing.Point(3, 109);
     this.btnGrpMembership.Name     = "btnGrpMembership";
     this.btnGrpMembership.Size     = new System.Drawing.Size(246, 47);
     this.btnGrpMembership.TabIndex = 4;
     this.btnGrpMembership.Text     = "Group Membership";
     this.btnGrpMembership.UseVisualStyleBackColor = true;
     this.btnGrpMembership.Click += new System.EventHandler(this.btnGrpMembership_Click);
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.tableLayoutPanel2);
     this.tabPage2.Location = new System.Drawing.Point(4, 25);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(870, 572);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "User Groups";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.ColumnCount = 4;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel2.Controls.Add(this.pictureBox1, 2, 0);
     this.tableLayoutPanel2.Controls.Add(this.lblUsrDomain, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.cbUserDomains, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.lblUserName, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.txtUserName, 1, 1);
     this.tableLayoutPanel2.Controls.Add(this.dgbUserGroups, 0, 3);
     this.tableLayoutPanel2.Controls.Add(this.btnUserGroups, 0, 2);
     this.tableLayoutPanel2.Controls.Add(this.lblWarning, 1, 2);
     this.tableLayoutPanel2.Location = new System.Drawing.Point(16, 19);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 4;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(846, 545);
     this.tableLayoutPanel2.TabIndex = 0;
     this.tableLayoutPanel2.Paint   += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel2_Paint);
     //
     // pictureBox1
     //
     this.tableLayoutPanel2.SetColumnSpan(this.pictureBox1, 2);
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(509, 3);
     this.pictureBox1.Name     = "pictureBox1";
     this.tableLayoutPanel2.SetRowSpan(this.pictureBox1, 2);
     this.pictureBox1.Size     = new System.Drawing.Size(307, 100);
     this.pictureBox1.TabIndex = 7;
     this.pictureBox1.TabStop  = false;
     this.pictureBox1.Visible  = false;
     //
     // lblUsrDomain
     //
     this.lblUsrDomain.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lblUsrDomain.AutoSize = true;
     this.lblUsrDomain.Font     = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblUsrDomain.Location = new System.Drawing.Point(3, 31);
     this.lblUsrDomain.Name     = "lblUsrDomain";
     this.lblUsrDomain.Size     = new System.Drawing.Size(120, 23);
     this.lblUsrDomain.TabIndex = 0;
     this.lblUsrDomain.Text     = "Select Domain";
     //
     // cbUserDomains
     //
     this.cbUserDomains.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cbUserDomains.Font              = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbUserDomains.FormattingEnabled = true;
     this.cbUserDomains.Location          = new System.Drawing.Point(256, 23);
     this.cbUserDomains.Name              = "cbUserDomains";
     this.cbUserDomains.Size              = new System.Drawing.Size(247, 28);
     this.cbUserDomains.TabIndex          = 1;
     //
     // lblUserName
     //
     this.lblUserName.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lblUserName.AutoSize = true;
     this.lblUserName.Font     = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblUserName.Location = new System.Drawing.Point(3, 85);
     this.lblUserName.Name     = "lblUserName";
     this.lblUserName.Size     = new System.Drawing.Size(206, 23);
     this.lblUserName.TabIndex = 2;
     this.lblUserName.Text     = "User Name (SamAccount)";
     //
     // txtUserName
     //
     this.txtUserName.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtUserName.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtUserName.Location = new System.Drawing.Point(256, 79);
     this.txtUserName.Name     = "txtUserName";
     this.txtUserName.Size     = new System.Drawing.Size(247, 26);
     this.txtUserName.TabIndex = 3;
     //
     // dgbUserGroups
     //
     this.dgbUserGroups.AllowUserToAddRows    = false;
     this.dgbUserGroups.AllowUserToDeleteRows = false;
     this.dgbUserGroups.AllowUserToResizeRows = false;
     dataGridViewCellStyle9.BackColor         = System.Drawing.Color.LightGray;
     dataGridViewCellStyle9.Font = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgbUserGroups.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
     this.dgbUserGroups.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.dgbUserGroups.AutoSizeColumnsMode           = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     dataGridViewCellStyle10.Alignment                = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle10.BackColor                = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle10.Font                     = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle10.ForeColor                = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle10.SelectionBackColor       = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle10.SelectionForeColor       = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle10.WrapMode                 = System.Windows.Forms.DataGridViewTriState.True;
     this.dgbUserGroups.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
     this.dgbUserGroups.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgbUserGroups.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.GroupName
     });
     this.tableLayoutPanel2.SetColumnSpan(this.dgbUserGroups, 4);
     dataGridViewCellStyle11.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle11.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle11.Font               = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle11.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle11.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgbUserGroups.DefaultCellStyle        = dataGridViewCellStyle11;
     this.dgbUserGroups.Location                   = new System.Drawing.Point(3, 165);
     this.dgbUserGroups.Name                       = "dgbUserGroups";
     this.dgbUserGroups.ReadOnly                   = true;
     dataGridViewCellStyle12.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle12.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle12.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle12.ForeColor             = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle12.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle12.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle12.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dgbUserGroups.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
     this.dgbUserGroups.RowTemplate.Height         = 24;
     this.dgbUserGroups.Size                       = new System.Drawing.Size(830, 377);
     this.dgbUserGroups.TabIndex                   = 5;
     //
     // GroupName
     //
     this.GroupName.DataPropertyName = "GroupName";
     this.GroupName.HeaderText       = "Group Name";
     this.GroupName.Name             = "GroupName";
     this.GroupName.ReadOnly         = true;
     //
     // btnUserGroups
     //
     this.btnUserGroups.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tableLayoutPanel2.SetColumnSpan(this.btnUserGroups, 2);
     this.btnUserGroups.Font     = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnUserGroups.Location = new System.Drawing.Point(3, 111);
     this.btnUserGroups.Name     = "btnUserGroups";
     this.btnUserGroups.Size     = new System.Drawing.Size(249, 48);
     this.btnUserGroups.TabIndex = 4;
     this.btnUserGroups.Text     = "User Groups";
     this.btnUserGroups.UseVisualStyleBackColor = true;
     this.btnUserGroups.Click += new System.EventHandler(this.btnUserGroups_Click);
     //
     // lblWarning
     //
     this.lblWarning.Location = new System.Drawing.Point(509, 108);
     this.lblWarning.Name     = "lblWarning";
     this.lblWarning.Size     = new System.Drawing.Size(100, 23);
     this.lblWarning.TabIndex = 8;
     //
     // DomainName
     //
     this.DomainName.DataPropertyName = "DomainName";
     this.DomainName.HeaderText       = "Domain";
     this.DomainName.Name             = "DomainName";
     this.DomainName.ReadOnly         = true;
     this.DomainName.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // NEP
     //
     this.NEP.DataPropertyName = "NEP";
     this.NEP.HeaderText       = "NEP";
     this.NEP.Name             = "NEP";
     this.NEP.ReadOnly         = true;
     //
     // displayNameDataGridViewTextBoxColumn
     //
     this.displayNameDataGridViewTextBoxColumn.DataPropertyName = "DisplayName";
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.displayNameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
     this.displayNameDataGridViewTextBoxColumn.HeaderText       = "DisplayName";
     this.displayNameDataGridViewTextBoxColumn.Name             = "displayNameDataGridViewTextBoxColumn";
     this.displayNameDataGridViewTextBoxColumn.ReadOnly         = true;
     this.displayNameDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // samAccountNameDataGridViewTextBoxColumn
     //
     this.samAccountNameDataGridViewTextBoxColumn.DataPropertyName = "SamAccountName";
     dataGridViewCellStyle4.Font = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.samAccountNameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
     this.samAccountNameDataGridViewTextBoxColumn.HeaderText       = "SamAccountName";
     this.samAccountNameDataGridViewTextBoxColumn.Name             = "samAccountNameDataGridViewTextBoxColumn";
     this.samAccountNameDataGridViewTextBoxColumn.ReadOnly         = true;
     this.samAccountNameDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // enabledDataGridViewTextBoxColumn
     //
     this.enabledDataGridViewTextBoxColumn.DataPropertyName = "Enabled";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle5.Font      = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle5.NullValue = false;
     this.enabledDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
     this.enabledDataGridViewTextBoxColumn.HeaderText       = "Enabled";
     this.enabledDataGridViewTextBoxColumn.Name             = "enabledDataGridViewTextBoxColumn";
     this.enabledDataGridViewTextBoxColumn.ReadOnly         = true;
     this.enabledDataGridViewTextBoxColumn.Resizable        = System.Windows.Forms.DataGridViewTriState.True;
     //
     // lastLogonDataGridViewTextBoxColumn
     //
     this.lastLogonDataGridViewTextBoxColumn.DataPropertyName = "LastLogon";
     dataGridViewCellStyle6.Font = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lastLogonDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
     this.lastLogonDataGridViewTextBoxColumn.HeaderText       = "LastLogon";
     this.lastLogonDataGridViewTextBoxColumn.Name             = "lastLogonDataGridViewTextBoxColumn";
     this.lastLogonDataGridViewTextBoxColumn.ReadOnly         = true;
     this.lastLogonDataGridViewTextBoxColumn.SortMode         = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // groupMembershipModelBindingSource
     //
     this.groupMembershipModelBindingSource.DataSource = typeof(GetGroupMembership.GroupMembershipModel);
     //
     // userMembershipModelBindingSource
     //
     this.userMembershipModelBindingSource.DataSource = typeof(GetGroupMembership.UserMembershipModel);
     //
     // MainForm
     //
     this.AcceptButton        = this.btnGrpMembership;
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(878, 601);
     this.Controls.Add(this.tabControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "Find User and Group Information";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvResult)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbWait)).EndInit();
     this.tabPage2.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgbUserGroups)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMembershipModelBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.userMembershipModelBindingSource)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 59
0
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     this.newRentalButton          = new System.Windows.Forms.Button();
     this.mainPanel                = new System.Windows.Forms.Panel();
     this.label1                   = new System.Windows.Forms.Label();
     this.ReturnRentalButton       = new System.Windows.Forms.Button();
     this.rentalLog                = new System.Windows.Forms.DataGridView();
     this.rentalPanel              = new System.Windows.Forms.Panel();
     this.RentalBackButton         = new System.Windows.Forms.Button();
     this.RentalConfirmButton      = new System.Windows.Forms.Button();
     this.label7                   = new System.Windows.Forms.Label();
     this.label6                   = new System.Windows.Forms.Label();
     this.label5                   = new System.Windows.Forms.Label();
     this.label4                   = new System.Windows.Forms.Label();
     this.label3                   = new System.Windows.Forms.Label();
     this.label2                   = new System.Windows.Forms.Label();
     this.CarCategoryInput         = new System.Windows.Forms.ComboBox();
     this.CustomerBirthDateInput   = new System.Windows.Forms.TextBox();
     this.MilageInput              = new System.Windows.Forms.TextBox();
     this.RentalDateInput          = new System.Windows.Forms.TextBox();
     this.BookingNumberInput       = new System.Windows.Forms.TextBox();
     this.returnPanel              = new System.Windows.Forms.Panel();
     this.ReturnBackButton         = new System.Windows.Forms.Button();
     this.ReturnConfimButton       = new System.Windows.Forms.Button();
     this.label11                  = new System.Windows.Forms.Label();
     this.ReturnMilageInput        = new System.Windows.Forms.TextBox();
     this.ReturnDateInput          = new System.Windows.Forms.TextBox();
     this.label10                  = new System.Windows.Forms.Label();
     this.label9                   = new System.Windows.Forms.Label();
     this.priceLabel               = new System.Windows.Forms.Label();
     this.label8                   = new System.Windows.Forms.Label();
     this.ReturnBookingNumberInput = new System.Windows.Forms.ComboBox();
     this.mainPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.rentalLog)).BeginInit();
     this.rentalPanel.SuspendLayout();
     this.returnPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // newRentalButton
     //
     this.newRentalButton.Location = new System.Drawing.Point(376, 388);
     this.newRentalButton.Name     = "newRentalButton";
     this.newRentalButton.Size     = new System.Drawing.Size(75, 23);
     this.newRentalButton.TabIndex = 0;
     this.newRentalButton.Text     = "New Rental";
     this.newRentalButton.UseVisualStyleBackColor = true;
     this.newRentalButton.Click += new System.EventHandler(this.NewRentalButton_Click);
     //
     // mainPanel
     //
     this.mainPanel.Controls.Add(this.label1);
     this.mainPanel.Controls.Add(this.ReturnRentalButton);
     this.mainPanel.Controls.Add(this.newRentalButton);
     this.mainPanel.Controls.Add(this.rentalLog);
     this.mainPanel.Location = new System.Drawing.Point(57, 56);
     this.mainPanel.Name     = "mainPanel";
     this.mainPanel.Size     = new System.Drawing.Size(615, 424);
     this.mainPanel.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(256, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(56, 17);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Rentals";
     //
     // ReturnRentalButton
     //
     this.ReturnRentalButton.Location = new System.Drawing.Point(102, 388);
     this.ReturnRentalButton.Name     = "ReturnRentalButton";
     this.ReturnRentalButton.Size     = new System.Drawing.Size(80, 23);
     this.ReturnRentalButton.TabIndex = 1;
     this.ReturnRentalButton.Text     = "Return rental";
     this.ReturnRentalButton.UseVisualStyleBackColor = true;
     this.ReturnRentalButton.Click += new System.EventHandler(this.ReturnRentalButton_Click);
     //
     // rentalLog
     //
     this.rentalLog.AllowUserToAddRows          = false;
     this.rentalLog.AllowUserToDeleteRows       = false;
     this.rentalLog.AllowUserToResizeRows       = false;
     this.rentalLog.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle1.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor           = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle1.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.rentalLog.DefaultCellStyle           = dataGridViewCellStyle1;
     this.rentalLog.Location             = new System.Drawing.Point(0, 40);
     this.rentalLog.MultiSelect          = false;
     this.rentalLog.Name                 = "rentalLog";
     this.rentalLog.ReadOnly             = true;
     this.rentalLog.RowHeadersVisible    = false;
     this.rentalLog.RowTemplate.ReadOnly = true;
     this.rentalLog.ShowCellToolTips     = false;
     this.rentalLog.ShowEditingIcon      = false;
     this.rentalLog.Size                 = new System.Drawing.Size(615, 328);
     this.rentalLog.TabIndex             = 2;
     //
     // rentalPanel
     //
     this.rentalPanel.Controls.Add(this.RentalBackButton);
     this.rentalPanel.Controls.Add(this.RentalConfirmButton);
     this.rentalPanel.Controls.Add(this.label7);
     this.rentalPanel.Controls.Add(this.label6);
     this.rentalPanel.Controls.Add(this.label5);
     this.rentalPanel.Controls.Add(this.label4);
     this.rentalPanel.Controls.Add(this.label3);
     this.rentalPanel.Controls.Add(this.label2);
     this.rentalPanel.Controls.Add(this.CarCategoryInput);
     this.rentalPanel.Controls.Add(this.CustomerBirthDateInput);
     this.rentalPanel.Controls.Add(this.MilageInput);
     this.rentalPanel.Controls.Add(this.RentalDateInput);
     this.rentalPanel.Controls.Add(this.BookingNumberInput);
     this.rentalPanel.Location = new System.Drawing.Point(57, 56);
     this.rentalPanel.Name     = "rentalPanel";
     this.rentalPanel.Size     = new System.Drawing.Size(615, 424);
     this.rentalPanel.TabIndex = 2;
     this.rentalPanel.Visible  = false;
     //
     // RentalBackButton
     //
     this.RentalBackButton.Location = new System.Drawing.Point(376, 388);
     this.RentalBackButton.Name     = "RentalBackButton";
     this.RentalBackButton.Size     = new System.Drawing.Size(75, 23);
     this.RentalBackButton.TabIndex = 12;
     this.RentalBackButton.Text     = "Back";
     this.RentalBackButton.UseVisualStyleBackColor = true;
     this.RentalBackButton.Click += new System.EventHandler(this.RentalBackButton_Click);
     //
     // RentalConfirmButton
     //
     this.RentalConfirmButton.Location = new System.Drawing.Point(102, 388);
     this.RentalConfirmButton.Name     = "RentalConfirmButton";
     this.RentalConfirmButton.Size     = new System.Drawing.Size(75, 23);
     this.RentalConfirmButton.TabIndex = 11;
     this.RentalConfirmButton.Text     = "Confirm";
     this.RentalConfirmButton.UseVisualStyleBackColor = true;
     this.RentalConfirmButton.Click += new System.EventHandler(this.RentalConfirmButton_Click);
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(37, 184);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(62, 13);
     this.label7.TabIndex = 10;
     this.label7.Text     = "Rental date";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(270, 184);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(75, 13);
     this.label6.TabIndex = 9;
     this.label6.Text     = "Current Milage";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(449, 71);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(65, 13);
     this.label5.TabIndex = 8;
     this.label5.Text     = "CarCategory";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(263, 71);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(110, 13);
     this.label4.TabIndex = 7;
     this.label4.Text     = "Customer date of birth";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(37, 71);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(84, 13);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Booking number";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(256, 20);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 17);
     this.label2.TabIndex = 5;
     this.label2.Text     = "New Rental";
     //
     // CarCategoryInput
     //
     this.CarCategoryInput.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CarCategoryInput.FormattingEnabled = true;
     this.CarCategoryInput.Location          = new System.Drawing.Point(452, 88);
     this.CarCategoryInput.Name     = "CarCategoryInput";
     this.CarCategoryInput.Size     = new System.Drawing.Size(121, 21);
     this.CarCategoryInput.TabIndex = 4;
     //
     // CustomerBirthDateInput
     //
     this.CustomerBirthDateInput.Location = new System.Drawing.Point(266, 88);
     this.CustomerBirthDateInput.Name     = "CustomerBirthDateInput";
     this.CustomerBirthDateInput.Size     = new System.Drawing.Size(124, 20);
     this.CustomerBirthDateInput.TabIndex = 3;
     //
     // MilageInput
     //
     this.MilageInput.Location = new System.Drawing.Point(273, 200);
     this.MilageInput.Name     = "MilageInput";
     this.MilageInput.Size     = new System.Drawing.Size(117, 20);
     this.MilageInput.TabIndex = 2;
     //
     // RentalDateInput
     //
     this.RentalDateInput.Location = new System.Drawing.Point(40, 200);
     this.RentalDateInput.Name     = "RentalDateInput";
     this.RentalDateInput.Size     = new System.Drawing.Size(124, 20);
     this.RentalDateInput.TabIndex = 1;
     //
     // BookingNumberInput
     //
     this.BookingNumberInput.Location = new System.Drawing.Point(40, 88);
     this.BookingNumberInput.Name     = "BookingNumberInput";
     this.BookingNumberInput.Size     = new System.Drawing.Size(124, 20);
     this.BookingNumberInput.TabIndex = 0;
     //
     // returnPanel
     //
     this.returnPanel.Controls.Add(this.ReturnBackButton);
     this.returnPanel.Controls.Add(this.ReturnConfimButton);
     this.returnPanel.Controls.Add(this.label11);
     this.returnPanel.Controls.Add(this.ReturnMilageInput);
     this.returnPanel.Controls.Add(this.ReturnDateInput);
     this.returnPanel.Controls.Add(this.label10);
     this.returnPanel.Controls.Add(this.label9);
     this.returnPanel.Controls.Add(this.priceLabel);
     this.returnPanel.Controls.Add(this.label8);
     this.returnPanel.Controls.Add(this.ReturnBookingNumberInput);
     this.returnPanel.Location = new System.Drawing.Point(57, 56);
     this.returnPanel.Name     = "returnPanel";
     this.returnPanel.Size     = new System.Drawing.Size(615, 424);
     this.returnPanel.TabIndex = 13;
     this.returnPanel.Visible  = false;
     //
     // ReturnBackButton
     //
     this.ReturnBackButton.Location = new System.Drawing.Point(376, 388);
     this.ReturnBackButton.Name     = "ReturnBackButton";
     this.ReturnBackButton.Size     = new System.Drawing.Size(75, 23);
     this.ReturnBackButton.TabIndex = 14;
     this.ReturnBackButton.Text     = "Back";
     this.ReturnBackButton.UseVisualStyleBackColor = true;
     this.ReturnBackButton.Click += new System.EventHandler(this.ReturnBackButton_Click);
     //
     // ReturnConfimButton
     //
     this.ReturnConfimButton.Location = new System.Drawing.Point(102, 388);
     this.ReturnConfimButton.Name     = "ReturnConfimButton";
     this.ReturnConfimButton.Size     = new System.Drawing.Size(92, 23);
     this.ReturnConfimButton.TabIndex = 13;
     this.ReturnConfimButton.Text     = "Confirm return";
     this.ReturnConfimButton.UseVisualStyleBackColor = true;
     this.ReturnConfimButton.Click += new System.EventHandler(this.ReturnConfimButton_Click);
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(229, 91);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(83, 13);
     this.label11.TabIndex = 12;
     this.label11.Text     = "Milage on return";
     //
     // ReturnMilageInput
     //
     this.ReturnMilageInput.Location = new System.Drawing.Point(229, 110);
     this.ReturnMilageInput.Name     = "ReturnMilageInput";
     this.ReturnMilageInput.Size     = new System.Drawing.Size(100, 20);
     this.ReturnMilageInput.TabIndex = 11;
     //
     // ReturnDateInput
     //
     this.ReturnDateInput.Location = new System.Drawing.Point(376, 114);
     this.ReturnDateInput.Name     = "ReturnDateInput";
     this.ReturnDateInput.Size     = new System.Drawing.Size(138, 20);
     this.ReturnDateInput.TabIndex = 10;
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(373, 88);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(63, 13);
     this.label10.TabIndex = 9;
     this.label10.Text     = "Return date";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(40, 91);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(84, 13);
     this.label9.TabIndex = 8;
     this.label9.Text     = "Booking number";
     //
     // priceLabel
     //
     this.priceLabel.AutoSize = true;
     this.priceLabel.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.priceLabel.Location = new System.Drawing.Point(256, 238);
     this.priceLabel.Name     = "priceLabel";
     this.priceLabel.Size     = new System.Drawing.Size(0, 16);
     this.priceLabel.TabIndex = 7;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(270, 25);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(89, 16);
     this.label8.TabIndex = 6;
     this.label8.Text     = "Return Rental";
     //
     // ReturnBookingNumberInput
     //
     this.ReturnBookingNumberInput.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ReturnBookingNumberInput.FormattingEnabled = true;
     this.ReturnBookingNumberInput.Location          = new System.Drawing.Point(43, 114);
     this.ReturnBookingNumberInput.Name                  = "ReturnBookingNumberInput";
     this.ReturnBookingNumberInput.Size                  = new System.Drawing.Size(121, 21);
     this.ReturnBookingNumberInput.TabIndex              = 5;
     this.ReturnBookingNumberInput.SelectedIndexChanged += new System.EventHandler(this.ReturnBookingNumberInput_SelectedIndexChanged);
     //
     // GUI
     //
     this.ClientSize = new System.Drawing.Size(746, 528);
     this.Controls.Add(this.rentalPanel);
     this.Controls.Add(this.mainPanel);
     this.Controls.Add(this.returnPanel);
     this.Name = "GUI";
     this.mainPanel.ResumeLayout(false);
     this.mainPanel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.rentalLog)).EndInit();
     this.rentalPanel.ResumeLayout(false);
     this.rentalPanel.PerformLayout();
     this.returnPanel.ResumeLayout(false);
     this.returnPanel.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 60
0
 protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, swf.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, swf.DataGridViewCellStyle cellStyle, swf.DataGridViewAdvancedBorderStyle advancedBorderStyle, swf.DataGridViewPaintParts paintParts)
 {
     Handler.Paint(graphics, clipBounds, ref cellBounds, rowIndex, cellState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, ref paintParts);
     base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, paintParts);
 }