Inheritance: Button
Ejemplo n.º 1
3
        public Control MakeControl(Size panelSize)
        {
            _flagButton = new CheckBox();
            _flagButton.Appearance = Appearance.Button;
            _flagButton.AutoCheck = true;
            _flagButton.Size = new Size(22, 22);
            _flagButton.ThreeState = false;
            _flagButton.Text = string.Empty;
            _flagButton.FlatStyle = FlatStyle.Flat;
            _flagButton.FlatAppearance.BorderSize = 0;
            _flagButton.FlatAppearance.MouseOverBackColor = Color.White;
            _flagButton.FlatAppearance.MouseDownBackColor = Color.White;

            _flagButton.Location = new Point(-1 + panelSize.Width - _flagButton.Width, 1);
            //          _flagButton.Location = new Point(
            //              -1 + panelSize.Width - _flagButton.Width,
            //              -1 + panelSize.Height - _flagButton.Height);

            _flagButton.Anchor = AnchorStyles.Top | AnchorStyles.Right;
            _flagButton.TabStop = false;
            _flagButton.Checked = FlagIsOn;
            _flagButton.Name = _nameForTesting;
            _flagButton.MouseEnter += _flagButton_MouseEnter;
            _flagButton.MouseLeave += _flagButton_MouseLeave;
            _flagButton.CheckedChanged += OnFlagButtonCheckedChanged;

            SetFlagImage();

            return _flagButton;
        }
    public void TestConstructor() {
      using(ContainerListView listView = new ContainerListView()) {

        // Let the control create its window handle
        listView.CreateControl();
        listView.Columns.Add("Numeric");
        listView.Columns.Add("Spelled");
        listView.Columns.Add("Nonsense");

        addRow(listView, "1", "One");
        addRow(listView, "2", "Two");
        addRow(listView, "3", "Three");

        using(CheckBox checkBox = new CheckBox()) {
          listView.EmbeddedControls.Add(new ListViewEmbeddedControl(checkBox, 2, 0));
          listView.EmbeddedControls.Clear();

          listView.Refresh();

          ListViewEmbeddedControl embeddedControl = new ListViewEmbeddedControl(
            checkBox, 2, 0
          );
          listView.EmbeddedControls.Add(embeddedControl);
          listView.EmbeddedControls.Remove(embeddedControl);

          listView.Refresh();
        }

      }
    }
Ejemplo n.º 3
1
        public ChangeSettings()
        {
            InitializeComponent();

            for (int i = 0; i < Types.Length; i++)
            {
                if (Types[i] != typeof(bool))
                {
                    TextBox tb = new TextBox();
                    tb.Text = set[Names[i, 0]].ToString();
                    tb.Size = new Size(100, lineDist);
                    tb.Location = new Point(185, i * (lineDist + 5) + 20);
                    Controls.Add(tb);
                    controlList.Add(tb);
                    toolTip1.SetToolTip(tb, Names[i, 2]);
                }
                else
                {
                    CheckBox cb = new CheckBox();
                    cb.Checked = (bool)set[Names[i, 0]];
                    cb.Location = new Point(185, i * (lineDist + 5) + 20);
                    Controls.Add(cb);
                    controlList.Add(cb);
                    toolTip1.SetToolTip(cb, Names[i, 2]);
                }

                Label l = new Label();
                l.Text = Names[i, 1];
                l.AutoSize = true;
                l.Location = new Point(180 - TextRenderer.MeasureText(l.Text, new Font(l.Font.FontFamily, l.Font.Size, l.Font.Style)).Width, i * (lineDist + 5) + 20);
                Controls.Add(l);
                toolTip1.SetToolTip(l, Names[i, 2]);
            }
        }
Ejemplo n.º 4
0
        public ListaProductos()
        {
            InitializeComponent();

            lineas = new Label[] { linea1, linea2, linea3, linea4, linea5, linea6, linea7, linea8, linea9,
                                   linea10, linea11, linea12, linea13, linea14, linea15, linea16, linea17, linea18, linea19,
                                   linea20, linea21, linea22, linea23, linea24, linea25, linea26, linea27, linea28, linea29,
                                   linea30, linea31, linea32, linea33, linea34, linea35, linea36, linea37, linea38, linea39,
                                   linea40, linea41, linea42, linea43, linea44, linea45, linea46, linea47, linea48 };
            pesos = new Label[] { peso1, peso2, peso3, peso4, peso5, peso6, peso7, peso8, peso9,
                                  peso10, peso11, peso12, peso13, peso14, peso15, peso16, peso17, peso18, peso19,
                                  peso20, peso21, peso22, peso23, peso24, peso25, peso26, peso27, peso28, peso29,
                                  peso30, peso31, peso32, peso33, peso34, peso35, peso36, peso37, peso38, peso39,
                                  peso40, peso41, peso42, peso43, peso44, peso45, peso46, peso47, peso48 };
            cantidades = new Label[] { cantidad1, cantidad2, cantidad3, cantidad4, cantidad5, cantidad6, cantidad7, cantidad8, cantidad9,
                                  cantidad10, cantidad11, cantidad12, cantidad13, cantidad14, cantidad15, cantidad16, cantidad17, cantidad18, cantidad19,
                                  cantidad20, cantidad21, cantidad22, cantidad23, cantidad24, cantidad25, cantidad26, cantidad27, cantidad28, cantidad29,
                                  cantidad30, cantidad31, cantidad32, cantidad33, cantidad34, cantidad35, cantidad36, cantidad37, cantidad38, cantidad39,
                                  cantidad40, cantidad41, cantidad42, cantidad43, cantidad44, cantidad45, cantidad46, cantidad47, cantidad48 };
            armadores = new CheckBox[] { armador1, armador2, armador3, armador4, armador5, armador6, armador7, armador8, armador9,
                                         armador10, armador11, armador12, armador13, armador14, armador15, armador16, armador17, armador18, armador19,
                                         armador20, armador21, armador22, armador23, armador24, armador25, armador26, armador27, armador28, armador29,
                                         armador30, armador31, armador32, armador33, armador34, armador35, armador36, armador37, armador38, armador39,
                                         armador40, armador41, armador42, armador43, armador44, armador45, armador46, armador47, armador48 };
            chequeadores = new CheckBox[] { chequeador1, chequeador2, chequeador3, chequeador4, chequeador5, chequeador6, chequeador7, chequeador8, chequeador9,
                                            chequeador10, chequeador11, chequeador12, chequeador13, chequeador14, chequeador15, chequeador16, chequeador17, chequeador18, chequeador19,
                                            chequeador20, chequeador21, chequeador22, chequeador23, chequeador24, chequeador25, chequeador26, chequeador27, chequeador28, chequeador29,
                                            chequeador30, chequeador31, chequeador32, chequeador33, chequeador34, chequeador35, chequeador36, chequeador37, chequeador38, chequeador39,
                                            chequeador40, chequeador41, chequeador42, chequeador43, chequeador44, chequeador45, chequeador46, chequeador47, chequeador48 };

        }
Ejemplo n.º 5
0
        public ByteArrayPanel( ResourceContentControl parentControl )
        {
            textHexCheckBox = new CheckBox( );
            textBox = new TextBox( );

            SuspendLayout( );

            Dock = DockStyle.Fill;
            DockPadding.All = 5;

            textHexCheckBox.FlatStyle = FlatStyle.System;
            textHexCheckBox.Location = new Point( 3, 3 );
            textHexCheckBox.TabIndex = 1;
            textHexCheckBox.Text = "Show as Hex";
            textHexCheckBox.Checked = false;
            textHexCheckBox.CheckedChanged += new EventHandler( OnCheckedChangedTextCheckBox );

            textBox.Location = new Point( 3, 30 );
            textBox.Multiline = true;
            textBox.ReadOnly = true;
            textBox.ScrollBars = ScrollBars.Vertical;
            textBox.Font = new Font( FontFamily.GenericMonospace, 8 );
            textBox.WordWrap = true;

            Controls.Add( textBox );
            Controls.Add( textHexCheckBox );

            ResumeLayout( false );
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.cbMouseActive = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(0, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(240, 176);
     this.label1.TabIndex = 2;
     this.label1.Text = "label1";
     //
     // cbMouseActive
     //
     this.cbMouseActive.Location = new System.Drawing.Point(16, 176);
     this.cbMouseActive.Name = "cbMouseActive";
     this.cbMouseActive.Size = new System.Drawing.Size(128, 24);
     this.cbMouseActive.TabIndex = 3;
     this.cbMouseActive.Text = "Only MouseActive";
     //
     // SpritesUnderCursor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(240, 197);
     this.Controls.Add(this.cbMouseActive);
     this.Controls.Add(this.label1);
     this.Name = "SpritesUnderCursor";
     this.Text = "SpritesUnderCursor";
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.SpritesUnderCursor_Paint);
     this.ResumeLayout(false);
 }
Ejemplo n.º 7
0
        public OpFlagsControl(BHAVEditor master, EditorScope scope, VMPrimitiveOperand operand, string title, OpFlag[] flags)
        {
            InitializeComponent();
            this.FlagsPanel.Controls.Clear();
            Master = master;
            Scope = scope;
            Operand = operand;
            Flags = flags;
            FlagChecks = new CheckBox[flags.Length];

            int i = 0;
            foreach (var flag in flags)
            {
                var check = new CheckBox();
                check.AutoSize = true;
                check.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
                check.Size = new System.Drawing.Size(195, 17);
                check.Text = flag.Title;
                check.UseVisualStyleBackColor = true;
                check.CheckedChanged += Check_CheckedChanged;

                FlagChecks[i++] = check;
                CheckToFlag.Add(check, flag);
                this.FlagsPanel.Controls.Add(check);
            }

            OperandUpdated();
        }
Ejemplo n.º 8
0
		public osd_screen (int num, OSD aosd)
		{
			number=num;
			osd=aosd;
			
			num+=1;
			
			this.tabPage = new System.Windows.Forms.TabPage();		
			this.panelItems=new Panel[64];
			this.panelItems_default = new Panel[64];
			this.LIST_items=new System.Windows.Forms.TreeView();
			this.rbtSortCategory = new System.Windows.Forms.RadioButton();
            this.rbtSortAlphabetic = new System.Windows.Forms.RadioButton();
			this.groupBox = new System.Windows.Forms.GroupBox();
			this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.NUM_Y = new System.Windows.Forms.NumericUpDown();
            this.NUM_X = new System.Windows.Forms.NumericUpDown();
			this.pictureBox = new System.Windows.Forms.PictureBox();
			this.chkSign = new System.Windows.Forms.CheckBox();
			
			this.tabPage.SuspendLayout();
			this.groupBox.SuspendLayout();
			this.pictureBox.SuspendLayout();
		}
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="AFilterFindPanelObject">The FilterFindPanel Object on the main form</param>
        /// <param name="ASuspenseAccountsAllowed">Used to determine if the suspense accounts control be shown.</param>
        public TUC_AccountsListFilterFind(TFilterAndFindPanel AFilterFindPanelObject, bool ASuspenseAccountsAllowed)
        {
            FSuspenseAccountsAllowed = ASuspenseAccountsAllowed;

            FFilterTxtAccountCode = (TextBox)AFilterFindPanelObject.FilterPanelControls.FindControlByName("txtAccountCode");
            FFilterCmbAccountType = (TCmbAutoComplete)AFilterFindPanelObject.FilterPanelControls.FindControlByName("cmbAccountType");
            FFilterTxtDescrEnglish = (TextBox)AFilterFindPanelObject.FilterPanelControls.FindControlByName("txtDescrEnglish");
            FFilterTxtDescrLocal = (TextBox)AFilterFindPanelObject.FilterPanelControls.FindControlByName("txtDescrLocal");
            FFilterChkBankAccount = (CheckBox)AFilterFindPanelObject.FilterPanelControls.FindControlByName("chkBankAccount");

            if (ASuspenseAccountsAllowed)
            {
                FFilterChkSuspenseAccount = (CheckBox)AFilterFindPanelObject.FilterPanelControls.FindControlByName("chkSuspenseAccount");
            }

            FFilterChkActive = (CheckBox)AFilterFindPanelObject.FilterPanelControls.FindControlByName("chkActive");
            FFilterChkSummary = (CheckBox)AFilterFindPanelObject.FilterPanelControls.FindControlByName("chkSummary");
            FFilterChkForeign = (CheckBox)AFilterFindPanelObject.FilterPanelControls.FindControlByName("chkForeign");

            FFindTxtAccountCode = (TextBox)AFilterFindPanelObject.FindPanelControls.FindControlByName("txtAccountCode");
            FFindCmbAccountType = (TCmbAutoComplete)AFilterFindPanelObject.FindPanelControls.FindControlByName("cmbAccountType");
            FFindTxtDescrEnglish = (TextBox)AFilterFindPanelObject.FindPanelControls.FindControlByName("txtDescrEnglish");
            FFindTxtDescrLocal = (TextBox)AFilterFindPanelObject.FindPanelControls.FindControlByName("txtDescrLocal");
            FFindChkBankAccount = (CheckBox)AFilterFindPanelObject.FindPanelControls.FindControlByName("chkBankAccount");

            if (ASuspenseAccountsAllowed)
            {
                FFindChkSuspenseAccount = (CheckBox)AFilterFindPanelObject.FindPanelControls.FindControlByName("chkSuspenseAccount");
            }

            FFindChkActive = (CheckBox)AFilterFindPanelObject.FindPanelControls.FindControlByName("chkActive");
            FFindChkSummary = (CheckBox)AFilterFindPanelObject.FindPanelControls.FindControlByName("chkSummary");
            FFindChkForeign = (CheckBox)AFilterFindPanelObject.FindPanelControls.FindControlByName("chkForeign");
        }
Ejemplo n.º 10
0
		private void SetLabel()
		{
			XCore.ChoiceRelatedClass choice = (XCore.ChoiceRelatedClass)this.Tag;
			UIItemDisplayProperties display = choice.GetDisplayProperties();

			const int checkBoxWidth = 17;
			string s = display.Text.Replace("_", "&");
			this.Text = s;

			using (Graphics g = this.CreateGraphics())
			{
				int labelWidth = (int)(g.MeasureString(s + "_", this.Font).Width);
				this.Width = labelWidth;
			}

			// Simulate a mouse enter or leave event to get the correct highlighting
			if(mouseOverControl)
				this.panelButton_MouseEnter(null, null);
			else
				this.panelButton_MouseLeave(null, null);

			this.Controls.Clear(); // Clear out any previous checkboxes and images

			// Add in a checkbox that reflects the "checked" status of the button
			CheckBox checkBox = new CheckBox();
			checkBox.Checked = display.Checked;
			checkBox.Click +=new EventHandler(PanelButton_Click);
			checkBox.Location = new Point(0,0);
			checkBox.Anchor = System.Windows.Forms.AnchorStyles.Left;
			checkBox.Dock = System.Windows.Forms.DockStyle.Left;
			checkBox.Width = checkBoxWidth;
			checkBox.MouseEnter += new EventHandler(panelButton_MouseEnter);
			checkBox.MouseLeave += new EventHandler(panelButton_MouseLeave);
			checkBox.MouseDown += new MouseEventHandler(panelButton_MouseDown);
			checkBox.BackColor = Color.Transparent;
			this.Controls.Add(checkBox);

			this.Width += checkBox.Width;


			if(display.ImageLabel != null && display.ImageLabel !="" && display.ImageLabel !="default")
			{

				PanelEx p = new PanelEx();
				Image i = m_images.GetImage(display.ImageLabel);
				p.BackgroundImage = i;
				p.BackgroundImageLayout = ImageLayout.Center;
				p.Location = new Point(checkBox.Width, 0);
				p.Anchor = System.Windows.Forms.AnchorStyles.Left;
				p.Dock = System.Windows.Forms.DockStyle.None;
				p.Size = new Size(17, this.Height);
				this.Width += p.Size.Width;
				this.Controls.Add(p);
				p.Click += new EventHandler(PanelButton_Click);
				p.MouseEnter += new EventHandler(panelButton_MouseEnter);
				p.MouseLeave += new EventHandler(panelButton_MouseLeave);
				p.MouseDown += new MouseEventHandler(panelButton_MouseDown);
			}
			this.Refresh();
		}
Ejemplo n.º 11
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="panel"></param>
        /// <param name="labels"></param>
        /// <param name="xOffset"></param>
        /// <param name="yOffset"></param>
        /// <param name="height"></param>
        /// <param name="widthFactor"></param>
        /// <returns></returns>
        public static CheckBox[] CreateCheckBoxControls(
			Panel panel, string[] labels, int xOffset, int yOffset, int height, int widthFactor)
        {
            Rectangle rect = panel.DisplayRectangle;

            int numOfCheckBoxes = labels.Length;

            int w = GetMaxItemLableLength(labels)*widthFactor;

            int colSize = (rect.Width - xOffset*2)/w;

            xOffset = (rect.Width - w*colSize)/2;
            CheckBox[] controls = new CheckBox[numOfCheckBoxes];

            for (int i = 0; i < numOfCheckBoxes; i++)
            {
                int row = i / colSize;
                int col = i % colSize;
                CheckBox checkBox = new System.Windows.Forms.CheckBox();
                checkBox.Width = w;
                checkBox.Location = new Point(xOffset + col*w, yOffset + row*height);
                checkBox.Name = "checkBox" + i;
                checkBox.TabIndex = i;
                checkBox.Height = height;
                checkBox.Text = labels[i];
                controls[i] = checkBox;
            }

            panel.Controls.AddRange(controls);
            return controls;
        }
Ejemplo n.º 12
0
        private void GetGebelikBilgileri()
        {
            int rownumber = 0;
            //tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20));
            tableLayoutPanel1.RowStyles.Clear();

            tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F));
            tableLayoutPanel1.RowCount = dthastalikbilgileri.Rows.Count;

            tableLayoutPanel1.Controls.Clear();
            foreach (DataRow hastalikrow in dthastalikbilgileri.Rows)
            {
                Label lbl = new Label();
                lbl.Text = hastalikrow["Hastalik"].ToString();
                lbl.Name = "Label" +hastalikrow["Id"].ToString();

                CheckBox cbkronik = new CheckBox();
                cbkronik.Checked =Convert.ToBoolean(hastalikrow["Kronik"]);
                cbkronik.Name = "CheckBox" +hastalikrow["Id"].ToString();

                CheckBox cbalerjik = new CheckBox();
                cbalerjik.Checked = Convert.ToBoolean(hastalikrow["Alerjik"]);
                cbalerjik.Name = "CheckBox" + hastalikrow["Id"].ToString();

                tableLayoutPanel1.Controls.Add(lbl,0,rownumber);
                tableLayoutPanel1.Controls.Add(cbalerjik,1,rownumber);
                tableLayoutPanel1.Controls.Add(cbkronik,2,rownumber);
                rownumber++;

            }

            //BaseEntity.Id
        }
Ejemplo n.º 13
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.btnRun = new System.Windows.Forms.Button();
			this.btnAbout = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.checkBox1 = new System.Windows.Forms.CheckBox();
			this.SuspendLayout();
			// 
			// btnRun
			// 
			this.btnRun.Location = new System.Drawing.Point(448, 56);
			this.btnRun.Name = "btnRun";
			this.btnRun.Size = new System.Drawing.Size(72, 23);
			this.btnRun.TabIndex = 2;
			this.btnRun.Text = "Run";
			this.btnRun.Click += new System.EventHandler(this.btnRun_Click);
			// 
			// btnAbout
			// 
			this.btnAbout.Location = new System.Drawing.Point(528, 56);
			this.btnAbout.Name = "btnAbout";
			this.btnAbout.TabIndex = 3;
			this.btnAbout.Text = "Close";
			this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click);
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label1.Location = new System.Drawing.Point(16, 16);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(558, 18);
			this.label1.TabIndex = 4;
			this.label1.Text = "The sample demonstrates how to create percent stacked line chart in an excel work" +
				"book.";
			// 
			// checkBox1
			// 
			this.checkBox1.Location = new System.Drawing.Point(24, 48);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(160, 24);
			this.checkBox1.TabIndex = 5;
			this.checkBox1.Text = "Stacked markers chart";
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(616, 94);
			this.Controls.Add(this.checkBox1);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.btnAbout);
			this.Controls.Add(this.btnRun);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "Form1";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "Chart sample";
			this.ResumeLayout(false);

		}
Ejemplo n.º 14
0
        /// <summary>
        /// Configure After Capture Tasks UI
        /// </summary>
        /// <param name="config">Initial config</param>
        /// <param name="chkAfterCaptureTask_CheckedChanged">Event handler of the parent form</param>
        public void ConfigUI(Subtask config, EventHandler chkAfterCaptureTask_CheckedChanged)
        {
            var tasks = Enum.GetValues(typeof(Subtask)).Cast<Subtask>().Select(x => new
            {
                Description = x.GetDescription(),
                Enum = x
            });

            flpTasks.Controls.Clear();

            foreach (var job in tasks)
            {
                switch (job.Enum)
                {
                    case Subtask.None:
                        continue;
                }

                CheckBox chkAfterCaptureTask = new CheckBox();
                chkAfterCaptureTask.Tag = job.Enum;
                chkAfterCaptureTask.Text = job.Description;
                chkAfterCaptureTask.AutoSize = true;
                chkAfterCaptureTask.CheckedChanged += chkAfterCaptureTask_CheckedChanged;
                chkAfterCaptureTask.Checked = config.HasFlag(job.Enum);
                flpTasks.Controls.Add(chkAfterCaptureTask);
            }
        }
Ejemplo n.º 15
0
 private void InitializeComponent()
 {
     this.ShowLineNumbers = new System.Windows.Forms.CheckBox();
     this.FlatTabs = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // ShowLineNumbers
     //
     this.ShowLineNumbers.Location = new System.Drawing.Point(10, 10);
     this.ShowLineNumbers.Name = "ShowLineNumbers";
     this.ShowLineNumbers.Size = new System.Drawing.Size(200, 24);
     this.ShowLineNumbers.TabIndex = 0;
     this.ShowLineNumbers.Text = "Show Line Numbers";
     this.ShowLineNumbers.UseVisualStyleBackColor = true;
     //
     // FlatTabs
     //
     this.FlatTabs.Location = new System.Drawing.Point(10, 30);
     this.FlatTabs.Name = "FlatTabs";
     this.FlatTabs.Size = new System.Drawing.Size(150, 24);
     this.FlatTabs.TabIndex = 1;
     this.FlatTabs.Text = "Use Flat Tabs";
     this.FlatTabs.UseVisualStyleBackColor = true;
     //
     // EditorOptionPage
     //
     this.Controls.Add(this.ShowLineNumbers);
     this.Controls.Add(this.FlatTabs);
     this.Text = "Editor";
     this.ResumeLayout(false);
 }
 private void CheckBoxText(CheckBox box)
 {
     if (box.Text == "Да")
         box.Text = "Нет";
     else
         box.Text = "Да";
 }
Ejemplo n.º 17
0
		public void NamePropertyTest ()
		{
			CheckBox checkbox = new CheckBox ();
			IRawElementProviderSimple provider = ProviderFactory.GetProvider (checkbox);
			checkbox.Text = "first";
			
			bridge.ResetEventLists ();
			
			string oldState = checkbox.Text;;
			string newState = "second";
			
			checkbox.Text = newState;
			
			// Test NameProperty
			Assert.AreEqual (newState,
			                 provider.GetPropertyValue (AutomationElementIdentifiers.NameProperty.Id), 
			                 "NameProperty");
			
			// Test event was fired as expected
			Assert.AreEqual (1,
			                 bridge.AutomationPropertyChangedEvents.Count,
			                 "event count");
			
			AutomationPropertyChangedEventArgs eventArgs =
				bridge.AutomationPropertyChangedEvents [0].e;
			Assert.AreEqual (AutomationElementIdentifiers.NameProperty,
			                 eventArgs.Property,
			                 "event args property");
			Assert.AreEqual (oldState,
			                 eventArgs.OldValue,
			                 "old value");
			Assert.AreEqual (newState,
			                 eventArgs.NewValue,
			                 "new value");
		}
Ejemplo n.º 18
0
        public MainForm(string[] files)
        {
            InitializeComponent();

            Data.Init("items.txt");

            labelVersion.Text = Data.mcVersion;

            boxItems.LargeImageList = Data.list;
            boxItems.ItemDrag += ItemDrag;

            foreach (Data.Group group in Data.groups.Values) {
                CheckBox box = new CheckBox();
                box.Size = new Size(26, 26);
                box.Location = new Point(Width-205 + (groups.Count / 12) * 27, 29 + (groups.Count % 12) * 27);
                box.ImageList = Data.list;
                box.ImageIndex = group.imageIndex;
                box.Appearance = Appearance.Button;
                box.Checked = true;
                box.Tag = group;
                box.MouseDown += ItemMouseDown;
                Controls.Add(box);
                groups.Add(box);
            }
            Width += ((groups.Count-1) / 12) * 27;

            UpdateItems();

            foreach (string file in files)
                if (File.Exists(file)) Open(file);
        }
Ejemplo n.º 19
0
 /// <summary>
 /// Konstruktor obiektu. Inicjalizuje jego pola.
 /// </summary>
 /// <param name="tabPageIndex">Numer karty, której listView ma być filtrowane.</param>
 /// <param name="fieldsNames">Nagłówki kolumn filtrowanego listView.</param>
 public ListViewFilter(int tabPageIndex, string[] fieldsNames)
 {
     this.tabPageIndex = tabPageIndex;
     this.fieldsNames = fieldsNames;
     filterTextBoxes = InitializeTextBoxes();
     emptyForeignKeyCheckBox = InitializeCheckBox();
 }
Ejemplo n.º 20
0
        private void AddItem(string file)
        {
            CheckBox item = new System.Windows.Forms.CheckBox();
            item.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            item.Location = new System.Drawing.Point(3, 3);
            item.Name = file;
            item.Size = new System.Drawing.Size(180, 24);
            item.TabIndex = 37;
            item.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            item.UseVisualStyleBackColor = true;

            Bitmap image = global::NXTLibTesterGUI.Properties.Resources.StatusAnnotations_Play_16xLG_color;
            item.Checked = true;

            if (file.Contains(Brick.FormFilename("", Protocol.FileType.TryMe)))
            {
                image = global::NXTLibTesterGUI.Properties.Resources.StatusAnnotations_Play_16xLG;
                item.Checked = false;
            }
            if (file.Contains(Brick.FormFilename("", Protocol.FileType.Image)))
            {
                image = global::NXTLibTesterGUI.Properties.Resources.resource_16xLG;
                item.Checked = false;
            }
            if (file.Contains(Brick.FormFilename("", Protocol.FileType.TextFile)))
            {
                image = global::NXTLibTesterGUI.Properties.Resources.pencil_005_16xLG;
                item.Checked = false;
            }

            item.Text = file;
            item.Image = image;
            this.FileList.Controls.Add(item);
        }
Ejemplo n.º 21
0
        private void btnBrowse_Click(object sender, EventArgs e)
        {
            int drive = sender == btnBrowseD ? 3 :
                sender == btnBrowseC ? 2 :
                sender == btnBrowseB ? 1 : 0;
            TextBox[] pathTxt = new TextBox[] { txtPathA, txtPathB, txtPathC, txtPathD };
            CheckBox[] wpChk = new CheckBox[] { chkProtectA, chkProtectB, chkProtectC, chkProtectD };

            OpenFileDialog loadDialog = new OpenFileDialog();
            loadDialog.InitialDirectory = ".";
            loadDialog.SupportMultiDottedExtensions = true;
            loadDialog.Title = "Open...";
            loadDialog.Filter = m_device.FDD[0].SerializeManager.GetOpenExtFilter();
            loadDialog.DefaultExt = ""; //m_betaDisk.BetaDisk.FDD[drive].Serializer.GetDefaultExtension();
            loadDialog.FileName = "";
            loadDialog.ShowReadOnly = true;
            loadDialog.ReadOnlyChecked = true;
            loadDialog.CheckFileExists = true;
            loadDialog.FileOk += new CancelEventHandler(loadDialog_FileOk);
            if (loadDialog.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;

            pathTxt[drive].Text = loadDialog.FileName;
            pathTxt[drive].SelectionStart = pathTxt[drive].Text.Length;
            wpChk[drive].Checked = loadDialog.ReadOnlyChecked;
        }
		public void Test_03_Clear()
		{
			IActionPropertySet actionProps = GetTestPropertySet();
			ActionPropertyController controller = new ActionPropertyController();

			TextBox edPassword = new TextBox();
			CheckBox cbConvert = new CheckBox();

			IActionProperty propConvert1 = actionProps["Convert"];
			IActionProperty propPassword1 = actionProps["Password"];

			controller.Associate(cbConvert, propConvert1);
			controller.Associate(edPassword, propPassword1);

			edPassword.Text = "Hello";
			Assert.AreEqual("Hello", Convert.ToString(propPassword1.Value), "Should be linked at this stage");
			cbConvert.Checked = false;
			Assert.IsFalse(Convert.ToBoolean(propConvert1.Value), "Should be linked at this stage");

			controller.Clear();

			edPassword.Text = "Excellent";
			Assert.AreEqual("Hello", Convert.ToString(propPassword1.Value), "After Clear() these should no longer be linked");
			cbConvert.Checked = true;
			Assert.IsFalse(Convert.ToBoolean(propConvert1.Value), "After Clear() these should no longer be linked");
		}
        private string matchCheckbox(CheckBox checkbox)
        {

            string name;

            if (checkbox == tcpCheckbox) {
                name = BandwidthAnalyzer.TCP;
            } else if (checkbox == udpCheckbox) {
                name = BandwidthAnalyzer.UDP;
            } else if (checkbox == eethCheckbox) {
                name = BandwidthAnalyzer.EETH;
            } else if (checkbox == ethernetCheckbox) {
                name = BandwidthAnalyzer.ETHERNET;
            } else if (checkbox == ipCheckbox) {
                name = BandwidthAnalyzer.IP;
            } else if (checkbox == icmpv6Checkbox) {
                name = BandwidthAnalyzer.ICMPV6;
            } else if (checkbox == arpCheckbox) {
                name = BandwidthAnalyzer.ARP;
            } else if (checkbox == icmpCheckbox) {
                name = BandwidthAnalyzer.ICMP;
            } else if (checkbox == dnsCheckbox) {
                name = BandwidthAnalyzer.DNS;
            } else if (checkbox == dhcpCheckbox) {
                name = BandwidthAnalyzer.DHCP;
            } else if (checkbox == snmpCheckbox) {
                name = BandwidthAnalyzer.SNMP;
            } else {
                name = null;
            }

            return name;
        }
Ejemplo n.º 24
0
        private void VersionManager_Load(object sender, EventArgs e)
        {
            System.Type type = MainPage.GetAssembly().GetType("PB.Version");

            int index = 0;
            foreach (int enum_value in Enum.GetValues(type))
            {
                String name = Enum.GetName(type, enum_value);

                CheckBox check = new CheckBox();
                check.Text = name;
                check.Location = new Point(30 * (index % 2 == 0 ? 1 : 4), 35 * (index / 2 + 1) );
                check.Size = new System.Drawing.Size(78, 20);

                //int version = Enum.Parse(type, check.Text.ToString()).GetHashCode();

                if (name == "GLOBAL" || MainPage.m_ConfigPath.version.Contains(enum_value))
                {
                    check.Checked = true;
                }

                index++;

                this.Controls.Add(check);
            }
        }
Ejemplo n.º 25
0
        public MainForm(string[] files)
        {
            InitializeComponent();

            Data.Init("items.txt");

            boxItems.LargeImageList = Data.list;
            boxItems.ItemDrag += ItemDrag;

            foreach (Data.Group group in Data.groups.Values) {
                CheckBox box = new CheckBox();
                box.Size = new Size(26, 26);
                box.Location = new Point(Width-189, 29 + groups.Count*27);
                box.ImageList = Data.list;
                box.ImageIndex = group.imageIndex;
                box.Appearance = Appearance.Button;
                box.Anchor = AnchorStyles.Top | AnchorStyles.Right;
                box.Checked = true;
                box.Tag = group;
                box.MouseDown += ItemMouseDown;
                Controls.Add(box);
                groups.Add(box);
            }

            UpdateItems();

            foreach (string file in files)
                if (File.Exists(file)) Open(file);
        }
Ejemplo n.º 26
0
 public bool GetTime(ComboBox cmb_Hour, ComboBox cmb_Minute,CheckBox chb,GroupBox gbx)
 {
     using (ds=new DataSet())
     {
         ds = tpdal.GetTime();
         if (ds != null && ds.Tables.Count > 0)
         {
             if (ds.Tables.Count > 0)
             {
                 string str = ds.Tables[0].Rows[0][0].ToString();
                 if (str.Equals("0"))
                 {
                     chb.Checked = false;
                     gbx.Enabled = false;
                     cmb_Hour.Text = "00";
                     cmb_Minute.Text = "00";
                 }
                 else
                 {
                     chb.Checked = true;
                     gbx.Enabled = true;
                     cmb_Hour.Text = str.Substring(0, 2);
                     cmb_Minute.Text = str.Substring(3, 2);
                 }
                 return true;
             }
         }
     }
     return false;
 }
Ejemplo n.º 27
0
        private void loadConfig(String file)
        {
            XmlDocument xDoc = new XmlDocument();
            xDoc.Load(file==null?"config.xml":file);
            int wait=0;
            String sWait=xDoc.DocumentElement.GetAttribute("wait");
            if (sWait!=null && (sWait=sWait.Trim()).Length>0) wait=Convert.ToInt32(sWait);

            XmlNodeList apps = xDoc.GetElementsByTagName("app");

            Run.runners=new List<Run>();
            int i=0;
            int w=0;
            int h=0;
            foreach (XmlElement nodo in apps) {
                CheckBox chkList =new CheckBox();
                chkList.Text = nodo.GetAttribute("nombre");
                chkList.Left=5;
                chkList.Top=chkList.Height*(i++);
                this.Controls.Add(chkList);
                w=Math.Max(w,chkList.Width);
                h=chkList.Bottom;
                Run r=new Run(nodo,chkList);
                r.Seg=r.Seg+wait;
                Run.runners.Add(r);
            }

            this.Width=w+5;
            this.Height=h+25;

            if (!Run.starTimer()) this.Text=this.Text+'.';
            Run.form=this;
        }
Ejemplo n.º 28
0
 public OptionFileCheckBoxAdaptor(CheckBox cbValue, string key, bool defaultValue)
   : base(key)
 {
   this.cbValue = cbValue;
   this.key = key;
   this.defaultValue = defaultValue;
 }
        public void MakeControlls()
        {
            for(int i= 0 ; i < ClipBoardData.id_max; i++)
            {
                LinkLabel label = new LinkLabel();
                label.AutoSize = true;
                label.Location = new System.Drawing.Point(22, i * 25);
                label.Name = "lblLink_" + i;
                label.Size = new System.Drawing.Size(55, 13);
                label.TabStop = true;
                label.Visible = true;
                label.Tag = i;
                label.LinkBehavior = LinkBehavior.HoverUnderline;
                label.Click += new EventHandler(ClipBoardEntery_Click);

                CheckBox chkBox = new CheckBox();
                chkBox.Location = new System.Drawing.Point(5, i * 25);
                chkBox.Size = new System.Drawing.Size(14, 14);
                chkBox.Name = "chkBox_" + i;
                chkBox.TabStop = true;
                chkBox.Tag = i;
                chkBox.CheckedChanged +=new EventHandler(ClipBoardChkBox_CheckedChanged);

                panel1.Controls.Add(label);
                panel1.Controls.Add(chkBox);

            }
        }
Ejemplo n.º 30
0
		/// <summary>
		/// Constructor
		/// </summary>
		public ViewFieldControl()
		{
			InitializeComponent();

			ControlBoxes = new CheckBox[]
			{
				ABox,
				BBox,
				CBox,
				DBox,
				EBox,
				FBox,
				GBox,
				HBox,
				IBox,
				JBox,
				KBox,
				LBox,
				MBox,
				NBox,
				TeamBox,
				OBox,
			};


			LBox.Checked = true;
		}
Ejemplo 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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(formWmsPreview));
     this.textBoxURL              = new System.Windows.Forms.TextBox();
     this.comboBoxImageFormat     = new System.Windows.Forms.ComboBox();
     this.labelImageFormat        = new System.Windows.Forms.Label();
     this.comboBoxServers         = new System.Windows.Forms.ComboBox();
     this.labelServerURL          = new System.Windows.Forms.Label();
     this.labelWMSServer          = new System.Windows.Forms.Label();
     this.groupBoxCRS             = new System.Windows.Forms.GroupBox();
     this.comboBoxProjection      = new System.Windows.Forms.ComboBox();
     this.textBoxSrsDescription   = new System.Windows.Forms.TextBox();
     this.groupBoxImageBackground = new System.Windows.Forms.GroupBox();
     this.pictureBoxColor         = new System.Windows.Forms.PictureBox();
     this.checkBoxTransparent     = new System.Windows.Forms.CheckBox();
     this.groupBoxWMSLayers       = new System.Windows.Forms.GroupBox();
     this.treeViewServerLayers    = new System.Windows.Forms.TreeView();
     this.textBoxStyle            = new System.Windows.Forms.TextBox();
     this.labelStyle              = new System.Windows.Forms.Label();
     this.comboBoxStyle           = new System.Windows.Forms.ComboBox();
     this.buttonAdd            = new System.Windows.Forms.Button();
     this.listBoxClientLayers  = new System.Windows.Forms.ListBox();
     this.buttonMoveDown       = new System.Windows.Forms.Button();
     this.buttonMoveUp         = new System.Windows.Forms.Button();
     this.buttonRemove         = new System.Windows.Forms.Button();
     this.mapControlWms        = new MapInfo.Windows.Controls.MapControl();
     this.groupBoxWmsClient    = new System.Windows.Forms.GroupBox();
     this.comboBoxLayerStyle   = new System.Windows.Forms.ComboBox();
     this.labelLayerStyle      = new System.Windows.Forms.Label();
     this.textBoxLayerStyle    = new System.Windows.Forms.TextBox();
     this.textBoxVersion       = new System.Windows.Forms.TextBox();
     this.toolBarMap           = new System.Windows.Forms.ToolBar();
     this.toolBarButtonZoomIn  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonZoomOut = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonPan     = new System.Windows.Forms.ToolBarButton();
     this.imageListTools       = new System.Windows.Forms.ImageList(this.components);
     this.buttonViewEntire     = new System.Windows.Forms.Button();
     this.groupBoxCRS.SuspendLayout();
     this.groupBoxImageBackground.SuspendLayout();
     this.groupBoxWMSLayers.SuspendLayout();
     this.groupBoxWmsClient.SuspendLayout();
     this.SuspendLayout();
     //
     // textBoxURL
     //
     this.textBoxURL.Location = new System.Drawing.Point(112, 48);
     this.textBoxURL.Name     = "textBoxURL";
     this.textBoxURL.ReadOnly = true;
     this.textBoxURL.Size     = new System.Drawing.Size(600, 20);
     this.textBoxURL.TabIndex = 23;
     this.textBoxURL.Text     = "";
     //
     // comboBoxImageFormat
     //
     this.comboBoxImageFormat.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxImageFormat.Location              = new System.Drawing.Point(384, 432);
     this.comboBoxImageFormat.Name                  = "comboBoxImageFormat";
     this.comboBoxImageFormat.Size                  = new System.Drawing.Size(121, 21);
     this.comboBoxImageFormat.Sorted                = true;
     this.comboBoxImageFormat.TabIndex              = 28;
     this.comboBoxImageFormat.SelectedIndexChanged += new System.EventHandler(this.comboBoxImageFormat_SelectedIndexChanged);
     //
     // labelImageFormat
     //
     this.labelImageFormat.Location = new System.Drawing.Point(296, 432);
     this.labelImageFormat.Name     = "labelImageFormat";
     this.labelImageFormat.Size     = new System.Drawing.Size(88, 23);
     this.labelImageFormat.TabIndex = 27;
     this.labelImageFormat.Text     = "&Image Format:";
     //
     // comboBoxServers
     //
     this.comboBoxServers.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxServers.Location              = new System.Drawing.Point(112, 16);
     this.comboBoxServers.Name                  = "comboBoxServers";
     this.comboBoxServers.Size                  = new System.Drawing.Size(600, 21);
     this.comboBoxServers.Sorted                = true;
     this.comboBoxServers.TabIndex              = 22;
     this.comboBoxServers.SelectedIndexChanged += new System.EventHandler(this.comboBoxServers_SelectedIndexChanged);
     //
     // labelServerURL
     //
     this.labelServerURL.Location = new System.Drawing.Point(16, 48);
     this.labelServerURL.Name     = "labelServerURL";
     this.labelServerURL.Size     = new System.Drawing.Size(88, 23);
     this.labelServerURL.TabIndex = 18;
     this.labelServerURL.Text     = "Ser&ver URL:";
     //
     // labelWMSServer
     //
     this.labelWMSServer.Location = new System.Drawing.Point(16, 16);
     this.labelWMSServer.Name     = "labelWMSServer";
     this.labelWMSServer.Size     = new System.Drawing.Size(88, 23);
     this.labelWMSServer.TabIndex = 17;
     this.labelWMSServer.Text     = "&WMS Server:";
     //
     // groupBoxCRS
     //
     this.groupBoxCRS.Controls.Add(this.comboBoxProjection);
     this.groupBoxCRS.Controls.Add(this.textBoxSrsDescription);
     this.groupBoxCRS.Location = new System.Drawing.Point(286, 536);
     this.groupBoxCRS.Name     = "groupBoxCRS";
     this.groupBoxCRS.Size     = new System.Drawing.Size(300, 96);
     this.groupBoxCRS.TabIndex = 30;
     this.groupBoxCRS.TabStop  = false;
     this.groupBoxCRS.Text     = "Coordinate Reference System:";
     //
     // comboBoxProjection
     //
     this.comboBoxProjection.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxProjection.Location              = new System.Drawing.Point(16, 24);
     this.comboBoxProjection.Name                  = "comboBoxProjection";
     this.comboBoxProjection.Size                  = new System.Drawing.Size(224, 21);
     this.comboBoxProjection.Sorted                = true;
     this.comboBoxProjection.TabIndex              = 0;
     this.comboBoxProjection.SelectedIndexChanged += new System.EventHandler(this.comboBoxProjection_SelectedIndexChanged);
     //
     // textBoxSrsDescription
     //
     this.textBoxSrsDescription.Location = new System.Drawing.Point(8, 64);
     this.textBoxSrsDescription.Name     = "textBoxSrsDescription";
     this.textBoxSrsDescription.ReadOnly = true;
     this.textBoxSrsDescription.Size     = new System.Drawing.Size(280, 20);
     this.textBoxSrsDescription.TabIndex = 3;
     this.textBoxSrsDescription.Text     = "";
     //
     // groupBoxImageBackground
     //
     this.groupBoxImageBackground.Controls.Add(this.pictureBoxColor);
     this.groupBoxImageBackground.Controls.Add(this.checkBoxTransparent);
     this.groupBoxImageBackground.Location = new System.Drawing.Point(288, 464);
     this.groupBoxImageBackground.Name     = "groupBoxImageBackground";
     this.groupBoxImageBackground.Size     = new System.Drawing.Size(168, 64);
     this.groupBoxImageBackground.TabIndex = 29;
     this.groupBoxImageBackground.TabStop  = false;
     this.groupBoxImageBackground.Text     = "Image Background:";
     //
     // pictureBoxColor
     //
     this.pictureBoxColor.Location = new System.Drawing.Point(120, 16);
     this.pictureBoxColor.Name     = "pictureBoxColor";
     this.pictureBoxColor.Size     = new System.Drawing.Size(32, 32);
     this.pictureBoxColor.TabIndex = 2;
     this.pictureBoxColor.TabStop  = false;
     this.pictureBoxColor.Click   += new System.EventHandler(this.pictureBoxColor_Click);
     //
     // checkBoxTransparent
     //
     this.checkBoxTransparent.Checked         = true;
     this.checkBoxTransparent.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxTransparent.Location        = new System.Drawing.Point(8, 24);
     this.checkBoxTransparent.Name            = "checkBoxTransparent";
     this.checkBoxTransparent.Size            = new System.Drawing.Size(96, 24);
     this.checkBoxTransparent.TabIndex        = 0;
     this.checkBoxTransparent.Text            = "&Transparent";
     this.checkBoxTransparent.CheckedChanged += new System.EventHandler(this.checkBoxTransparent_CheckedChanged);
     //
     // groupBoxWMSLayers
     //
     this.groupBoxWMSLayers.Controls.Add(this.treeViewServerLayers);
     this.groupBoxWMSLayers.Controls.Add(this.textBoxStyle);
     this.groupBoxWMSLayers.Controls.Add(this.labelStyle);
     this.groupBoxWMSLayers.Controls.Add(this.comboBoxStyle);
     this.groupBoxWMSLayers.Controls.Add(this.buttonAdd);
     this.groupBoxWMSLayers.Location = new System.Drawing.Point(8, 88);
     this.groupBoxWMSLayers.Name     = "groupBoxWMSLayers";
     this.groupBoxWMSLayers.Size     = new System.Drawing.Size(264, 488);
     this.groupBoxWMSLayers.TabIndex = 26;
     this.groupBoxWMSLayers.TabStop  = false;
     this.groupBoxWMSLayers.Text     = "Available WMS Layers";
     //
     // treeViewServerLayers
     //
     this.treeViewServerLayers.HideSelection      = false;
     this.treeViewServerLayers.ImageIndex         = -1;
     this.treeViewServerLayers.Location           = new System.Drawing.Point(8, 24);
     this.treeViewServerLayers.Name               = "treeViewServerLayers";
     this.treeViewServerLayers.SelectedImageIndex = -1;
     this.treeViewServerLayers.Size               = new System.Drawing.Size(250, 336);
     this.treeViewServerLayers.TabIndex           = 20;
     this.treeViewServerLayers.EnabledChanged    += new System.EventHandler(this.treeViewServerLayers_EnabledChanged);
     this.treeViewServerLayers.DoubleClick       += new System.EventHandler(this.treeViewServerLayers_DoubleClick);
     this.treeViewServerLayers.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.treeViewServerLayers_AfterSelect);
     //
     // textBoxStyle
     //
     this.textBoxStyle.Location = new System.Drawing.Point(8, 448);
     this.textBoxStyle.Name     = "textBoxStyle";
     this.textBoxStyle.ReadOnly = true;
     this.textBoxStyle.Size     = new System.Drawing.Size(248, 20);
     this.textBoxStyle.TabIndex = 17;
     this.textBoxStyle.Text     = "";
     //
     // labelStyle
     //
     this.labelStyle.Location = new System.Drawing.Point(16, 408);
     this.labelStyle.Name     = "labelStyle";
     this.labelStyle.Size     = new System.Drawing.Size(48, 23);
     this.labelStyle.TabIndex = 16;
     this.labelStyle.Text     = "St&yle:";
     //
     // comboBoxStyle
     //
     this.comboBoxStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxStyle.Location      = new System.Drawing.Point(72, 408);
     this.comboBoxStyle.Name          = "comboBoxStyle";
     this.comboBoxStyle.Size          = new System.Drawing.Size(176, 21);
     this.comboBoxStyle.TabIndex      = 15;
     //
     // buttonAdd
     //
     this.buttonAdd.Enabled  = false;
     this.buttonAdd.Location = new System.Drawing.Point(72, 376);
     this.buttonAdd.Name     = "buttonAdd";
     this.buttonAdd.TabIndex = 11;
     this.buttonAdd.Text     = "&Add>>";
     this.buttonAdd.Click   += new System.EventHandler(this.buttonAdd_Click);
     //
     // listBoxClientLayers
     //
     this.listBoxClientLayers.AllowDrop             = true;
     this.listBoxClientLayers.Location              = new System.Drawing.Point(608, 112);
     this.listBoxClientLayers.Name                  = "listBoxClientLayers";
     this.listBoxClientLayers.Size                  = new System.Drawing.Size(250, 225);
     this.listBoxClientLayers.TabIndex              = 19;
     this.listBoxClientLayers.EnabledChanged       += new System.EventHandler(this.listBoxTableLayers_EnabledChanged);
     this.listBoxClientLayers.SelectedIndexChanged += new System.EventHandler(this.listBoxTableLayers_SelectedIndexChanged);
     //
     // buttonMoveDown
     //
     this.buttonMoveDown.Enabled  = false;
     this.buttonMoveDown.Location = new System.Drawing.Point(696, 488);
     this.buttonMoveDown.Name     = "buttonMoveDown";
     this.buttonMoveDown.TabIndex = 14;
     this.buttonMoveDown.Text     = "Move &Down";
     this.buttonMoveDown.Click   += new System.EventHandler(this.buttonMoveDown_Click);
     //
     // buttonMoveUp
     //
     this.buttonMoveUp.Enabled  = false;
     this.buttonMoveUp.Location = new System.Drawing.Point(696, 456);
     this.buttonMoveUp.Name     = "buttonMoveUp";
     this.buttonMoveUp.TabIndex = 13;
     this.buttonMoveUp.Text     = "Move &Up";
     this.buttonMoveUp.Click   += new System.EventHandler(this.buttonMoveUp_Click);
     //
     // buttonRemove
     //
     this.buttonRemove.Enabled  = false;
     this.buttonRemove.Location = new System.Drawing.Point(696, 424);
     this.buttonRemove.Name     = "buttonRemove";
     this.buttonRemove.TabIndex = 12;
     this.buttonRemove.Text     = "&Remove<<";
     this.buttonRemove.Click   += new System.EventHandler(this.buttonRemove_Click);
     //
     // mapControlWms
     //
     this.mapControlWms.Location             = new System.Drawing.Point(288, 120);
     this.mapControlWms.Name                 = "mapControlWms";
     this.mapControlWms.Size                 = new System.Drawing.Size(300, 300);
     this.mapControlWms.TabIndex             = 31;
     this.mapControlWms.TabStop              = false;
     this.mapControlWms.Text                 = "mapControlWms";
     this.mapControlWms.Tools.LeftButtonTool = "Arrow";
     //
     // groupBoxWmsClient
     //
     this.groupBoxWmsClient.Controls.Add(this.comboBoxLayerStyle);
     this.groupBoxWmsClient.Controls.Add(this.labelLayerStyle);
     this.groupBoxWmsClient.Controls.Add(this.textBoxLayerStyle);
     this.groupBoxWmsClient.Location = new System.Drawing.Point(600, 88);
     this.groupBoxWmsClient.Name     = "groupBoxWmsClient";
     this.groupBoxWmsClient.Size     = new System.Drawing.Size(264, 448);
     this.groupBoxWmsClient.TabIndex = 32;
     this.groupBoxWmsClient.TabStop  = false;
     this.groupBoxWmsClient.Text     = "Layer Control";
     //
     // comboBoxLayerStyle
     //
     this.comboBoxLayerStyle.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxLayerStyle.Location              = new System.Drawing.Point(80, 264);
     this.comboBoxLayerStyle.Name                  = "comboBoxLayerStyle";
     this.comboBoxLayerStyle.Size                  = new System.Drawing.Size(121, 21);
     this.comboBoxLayerStyle.TabIndex              = 33;
     this.comboBoxLayerStyle.SelectedIndexChanged += new System.EventHandler(this.comboBoxLayerStyle_SelectedIndexChanged);
     //
     // labelLayerStyle
     //
     this.labelLayerStyle.Location = new System.Drawing.Point(16, 264);
     this.labelLayerStyle.Name     = "labelLayerStyle";
     this.labelLayerStyle.Size     = new System.Drawing.Size(48, 23);
     this.labelLayerStyle.TabIndex = 33;
     this.labelLayerStyle.Text     = "St&yle:";
     //
     // textBoxLayerStyle
     //
     this.textBoxLayerStyle.Location = new System.Drawing.Point(8, 296);
     this.textBoxLayerStyle.Name     = "textBoxLayerStyle";
     this.textBoxLayerStyle.ReadOnly = true;
     this.textBoxLayerStyle.Size     = new System.Drawing.Size(248, 20);
     this.textBoxLayerStyle.TabIndex = 33;
     this.textBoxLayerStyle.Text     = "";
     //
     // textBoxVersion
     //
     this.textBoxVersion.Location = new System.Drawing.Point(728, 48);
     this.textBoxVersion.Name     = "textBoxVersion";
     this.textBoxVersion.ReadOnly = true;
     this.textBoxVersion.TabIndex = 33;
     this.textBoxVersion.Text     = "";
     //
     // toolBarMap
     //
     this.toolBarMap.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButtonZoomIn,
         this.toolBarButtonZoomOut,
         this.toolBarButtonPan
     });
     this.toolBarMap.Dock           = System.Windows.Forms.DockStyle.None;
     this.toolBarMap.DropDownArrows = true;
     this.toolBarMap.ImageList      = this.imageListTools;
     this.toolBarMap.Location       = new System.Drawing.Point(288, 80);
     this.toolBarMap.Name           = "toolBarMap";
     this.toolBarMap.ShowToolTips   = true;
     this.toolBarMap.Size           = new System.Drawing.Size(296, 28);
     this.toolBarMap.TabIndex       = 34;
     this.toolBarMap.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarMap_ButtonClick);
     //
     // toolBarButtonZoomIn
     //
     this.toolBarButtonZoomIn.Pushed      = true;
     this.toolBarButtonZoomIn.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButtonZoomIn.Tag         = "ZoomIn";
     this.toolBarButtonZoomIn.ToolTipText = "Zoom In";
     //
     // toolBarButtonZoomOut
     //
     this.toolBarButtonZoomOut.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButtonZoomOut.Tag         = "ZoomOut";
     this.toolBarButtonZoomOut.ToolTipText = "Zoom Out";
     //
     // toolBarButtonPan
     //
     this.toolBarButtonPan.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButtonPan.Tag         = "Pan";
     this.toolBarButtonPan.ToolTipText = "Pan";
     //
     // imageListTools
     //
     this.imageListTools.ColorDepth       = System.Windows.Forms.ColorDepth.Depth4Bit;
     this.imageListTools.ImageSize        = new System.Drawing.Size(18, 16);
     this.imageListTools.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListTools.ImageStream")));
     this.imageListTools.TransparentColor = System.Drawing.Color.Transparent;
     //
     // buttonViewEntire
     //
     this.buttonViewEntire.Location = new System.Drawing.Point(480, 480);
     this.buttonViewEntire.Name     = "buttonViewEntire";
     this.buttonViewEntire.TabIndex = 34;
     this.buttonViewEntire.Text     = "View Entire";
     this.buttonViewEntire.Click   += new System.EventHandler(this.buttonViewEntire_Click);
     //
     // formWmsPreview
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(872, 646);
     this.Controls.Add(this.toolBarMap);
     this.Controls.Add(this.textBoxVersion);
     this.Controls.Add(this.mapControlWms);
     this.Controls.Add(this.textBoxURL);
     this.Controls.Add(this.comboBoxImageFormat);
     this.Controls.Add(this.labelImageFormat);
     this.Controls.Add(this.comboBoxServers);
     this.Controls.Add(this.labelServerURL);
     this.Controls.Add(this.labelWMSServer);
     this.Controls.Add(this.groupBoxCRS);
     this.Controls.Add(this.groupBoxImageBackground);
     this.Controls.Add(this.groupBoxWMSLayers);
     this.Controls.Add(this.buttonRemove);
     this.Controls.Add(this.buttonMoveUp);
     this.Controls.Add(this.buttonMoveDown);
     this.Controls.Add(this.listBoxClientLayers);
     this.Controls.Add(this.groupBoxWmsClient);
     this.Controls.Add(this.buttonViewEntire);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "formWmsPreview";
     this.Text            = "WMS Preview";
     this.groupBoxCRS.ResumeLayout(false);
     this.groupBoxImageBackground.ResumeLayout(false);
     this.groupBoxWMSLayers.ResumeLayout(false);
     this.groupBoxWmsClient.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 32
0
 /// <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(DialogToolOptions));
     this.bOK              = new System.Windows.Forms.Button();
     this.bCancel          = new System.Windows.Forms.Button();
     this.tabControl1      = new System.Windows.Forms.TabControl();
     this.tpGeneral        = new System.Windows.Forms.TabPage();
     this.cbTabInterface   = new System.Windows.Forms.CheckBox();
     this.cbOutline        = new System.Windows.Forms.CheckBox();
     this.cbEditLines      = new System.Windows.Forms.CheckBox();
     this.tbHelpUrl        = new System.Windows.Forms.TextBox();
     this.label3           = new System.Windows.Forms.Label();
     this.label2           = new System.Windows.Forms.Label();
     this.tbRecentFilesMax = new System.Windows.Forms.TextBox();
     this.label1           = new System.Windows.Forms.Label();
     this.tpToolbar        = new System.Windows.Forms.TabPage();
     this.bRemove          = new System.Windows.Forms.Button();
     this.bReset           = new System.Windows.Forms.Button();
     this.bDown            = new System.Windows.Forms.Button();
     this.bUp              = new System.Windows.Forms.Button();
     this.bCopyItem        = new System.Windows.Forms.Button();
     this.label5           = new System.Windows.Forms.Label();
     this.label4           = new System.Windows.Forms.Label();
     this.lbToolbar        = new System.Windows.Forms.ListBox();
     this.lbOperation      = new System.Windows.Forms.ListBox();
     this.tpDesktop        = new System.Windows.Forms.TabPage();
     this.bBrowse          = new System.Windows.Forms.Button();
     this.tbDirectory      = new System.Windows.Forms.TextBox();
     this.label9           = new System.Windows.Forms.Label();
     this.label8           = new System.Windows.Forms.Label();
     this.label7           = new System.Windows.Forms.Label();
     this.ckLocal          = new System.Windows.Forms.CheckBox();
     this.tbPort           = new System.Windows.Forms.TextBox();
     this.label6           = new System.Windows.Forms.Label();
     this.bApply           = new System.Windows.Forms.Button();
     this.tabControl1.SuspendLayout();
     this.tpGeneral.SuspendLayout();
     this.tpToolbar.SuspendLayout();
     this.tpDesktop.SuspendLayout();
     this.SuspendLayout();
     //
     // bOK
     //
     this.bOK.Location = new System.Drawing.Point(210, 275);
     this.bOK.Name     = "bOK";
     this.bOK.Size     = new System.Drawing.Size(75, 23);
     this.bOK.TabIndex = 1;
     this.bOK.Text     = "OK";
     this.bOK.Click   += new System.EventHandler(this.bOK_Click);
     //
     // bCancel
     //
     this.bCancel.CausesValidation = false;
     this.bCancel.DialogResult     = System.Windows.Forms.DialogResult.Cancel;
     this.bCancel.Location         = new System.Drawing.Point(298, 275);
     this.bCancel.Name             = "bCancel";
     this.bCancel.Size             = new System.Drawing.Size(75, 23);
     this.bCancel.TabIndex         = 2;
     this.bCancel.Text             = "Cancel";
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tpGeneral);
     this.tabControl1.Controls.Add(this.tpToolbar);
     this.tabControl1.Controls.Add(this.tpDesktop);
     this.tabControl1.Location      = new System.Drawing.Point(3, 3);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(466, 269);
     this.tabControl1.TabIndex      = 0;
     //
     // tpGeneral
     //
     this.tpGeneral.Controls.Add(this.cbTabInterface);
     this.tpGeneral.Controls.Add(this.cbOutline);
     this.tpGeneral.Controls.Add(this.cbEditLines);
     this.tpGeneral.Controls.Add(this.tbHelpUrl);
     this.tpGeneral.Controls.Add(this.label3);
     this.tpGeneral.Controls.Add(this.label2);
     this.tpGeneral.Controls.Add(this.tbRecentFilesMax);
     this.tpGeneral.Controls.Add(this.label1);
     this.tpGeneral.Location = new System.Drawing.Point(4, 22);
     this.tpGeneral.Name     = "tpGeneral";
     this.tpGeneral.Size     = new System.Drawing.Size(458, 243);
     this.tpGeneral.TabIndex = 0;
     this.tpGeneral.Tag      = "general";
     this.tpGeneral.Text     = "General";
     //
     // cbTabInterface
     //
     this.cbTabInterface.AutoSize = true;
     this.cbTabInterface.Location = new System.Drawing.Point(14, 189);
     this.cbTabInterface.Name     = "cbTabInterface";
     this.cbTabInterface.Size     = new System.Drawing.Size(133, 17);
     this.cbTabInterface.TabIndex = 7;
     this.cbTabInterface.Text     = "Show tabbed interface";
     this.cbTabInterface.UseVisualStyleBackColor = true;
     this.cbTabInterface.CheckedChanged         += new System.EventHandler(this.cbTabInterface_CheckedChanged);
     //
     // cbOutline
     //
     this.cbOutline.AutoSize = true;
     this.cbOutline.Location = new System.Drawing.Point(14, 146);
     this.cbOutline.Name     = "cbOutline";
     this.cbOutline.Size     = new System.Drawing.Size(172, 17);
     this.cbOutline.TabIndex = 6;
     this.cbOutline.Text     = "Outline report items in Designer";
     this.cbOutline.UseVisualStyleBackColor = true;
     //
     // cbEditLines
     //
     this.cbEditLines.AutoSize = true;
     this.cbEditLines.Location = new System.Drawing.Point(14, 105);
     this.cbEditLines.Name     = "cbEditLines";
     this.cbEditLines.Size     = new System.Drawing.Size(175, 17);
     this.cbEditLines.TabIndex = 5;
     this.cbEditLines.Text     = "Show line numbers in RDL Text";
     this.cbEditLines.UseVisualStyleBackColor = true;
     //
     // tbHelpUrl
     //
     this.tbHelpUrl.Location = new System.Drawing.Point(27, 60);
     this.tbHelpUrl.Name     = "tbHelpUrl";
     this.tbHelpUrl.Size     = new System.Drawing.Size(404, 20);
     this.tbHelpUrl.TabIndex = 4;
     this.tbHelpUrl.Text     = "tbHelpUrl";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(11, 40);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(404, 23);
     this.label3.TabIndex = 3;
     this.label3.Text     = "Help System URL  (Empty string means use default help url.)";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(100, 15);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(174, 23);
     this.label2.TabIndex = 2;
     this.label2.Text     = "items in most recently used lists.";
     //
     // tbRecentFilesMax
     //
     this.tbRecentFilesMax.Location = new System.Drawing.Point(58, 11);
     this.tbRecentFilesMax.Name     = "tbRecentFilesMax";
     this.tbRecentFilesMax.Size     = new System.Drawing.Size(31, 20);
     this.tbRecentFilesMax.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(11, 13);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(45, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Display";
     //
     // tpToolbar
     //
     this.tpToolbar.Controls.Add(this.bRemove);
     this.tpToolbar.Controls.Add(this.bReset);
     this.tpToolbar.Controls.Add(this.bDown);
     this.tpToolbar.Controls.Add(this.bUp);
     this.tpToolbar.Controls.Add(this.bCopyItem);
     this.tpToolbar.Controls.Add(this.label5);
     this.tpToolbar.Controls.Add(this.label4);
     this.tpToolbar.Controls.Add(this.lbToolbar);
     this.tpToolbar.Controls.Add(this.lbOperation);
     this.tpToolbar.Location = new System.Drawing.Point(4, 22);
     this.tpToolbar.Name     = "tpToolbar";
     this.tpToolbar.Size     = new System.Drawing.Size(458, 243);
     this.tpToolbar.TabIndex = 1;
     this.tpToolbar.Tag      = "toolbar";
     this.tpToolbar.Text     = "Toolbar";
     //
     // bRemove
     //
     this.bRemove.Location = new System.Drawing.Point(179, 74);
     this.bRemove.Name     = "bRemove";
     this.bRemove.Size     = new System.Drawing.Size(23, 23);
     this.bRemove.TabIndex = 2;
     this.bRemove.Text     = "<";
     this.bRemove.Click   += new System.EventHandler(this.bRemove_Click);
     //
     // bReset
     //
     this.bReset.Location = new System.Drawing.Point(374, 104);
     this.bReset.Name     = "bReset";
     this.bReset.Size     = new System.Drawing.Size(53, 23);
     this.bReset.TabIndex = 6;
     this.bReset.Text     = "Reset";
     this.bReset.Click   += new System.EventHandler(this.bReset_Click);
     //
     // bDown
     //
     this.bDown.Location = new System.Drawing.Point(374, 65);
     this.bDown.Name     = "bDown";
     this.bDown.Size     = new System.Drawing.Size(53, 23);
     this.bDown.TabIndex = 5;
     this.bDown.Text     = "Down";
     this.bDown.Click   += new System.EventHandler(this.bDown_Click);
     //
     // bUp
     //
     this.bUp.Location = new System.Drawing.Point(374, 35);
     this.bUp.Name     = "bUp";
     this.bUp.Size     = new System.Drawing.Size(53, 23);
     this.bUp.TabIndex = 4;
     this.bUp.Text     = "Up";
     this.bUp.Click   += new System.EventHandler(this.bUp_Click);
     //
     // bCopyItem
     //
     this.bCopyItem.Location = new System.Drawing.Point(179, 40);
     this.bCopyItem.Name     = "bCopyItem";
     this.bCopyItem.Size     = new System.Drawing.Size(23, 23);
     this.bCopyItem.TabIndex = 1;
     this.bCopyItem.Text     = ">";
     this.bCopyItem.Click   += new System.EventHandler(this.bCopyItem_Click);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(213, 8);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 8;
     this.label5.Text     = "Toolbar Layout";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(15, 8);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(112, 23);
     this.label4.TabIndex = 7;
     this.label4.Text     = "ToolBar Operations";
     //
     // lbToolbar
     //
     this.lbToolbar.Location = new System.Drawing.Point(213, 33);
     this.lbToolbar.Name     = "lbToolbar";
     this.lbToolbar.Size     = new System.Drawing.Size(152, 199);
     this.lbToolbar.TabIndex = 3;
     //
     // lbOperation
     //
     this.lbOperation.Location = new System.Drawing.Point(14, 33);
     this.lbOperation.Name     = "lbOperation";
     this.lbOperation.Size     = new System.Drawing.Size(152, 199);
     this.lbOperation.TabIndex = 0;
     //
     // tpDesktop
     //
     this.tpDesktop.Controls.Add(this.bBrowse);
     this.tpDesktop.Controls.Add(this.tbDirectory);
     this.tpDesktop.Controls.Add(this.label9);
     this.tpDesktop.Controls.Add(this.label8);
     this.tpDesktop.Controls.Add(this.label7);
     this.tpDesktop.Controls.Add(this.ckLocal);
     this.tpDesktop.Controls.Add(this.tbPort);
     this.tpDesktop.Controls.Add(this.label6);
     this.tpDesktop.Location = new System.Drawing.Point(4, 22);
     this.tpDesktop.Name     = "tpDesktop";
     this.tpDesktop.Size     = new System.Drawing.Size(458, 243);
     this.tpDesktop.TabIndex = 2;
     this.tpDesktop.Tag      = "desktop";
     this.tpDesktop.Text     = "Desktop Server";
     //
     // bBrowse
     //
     this.bBrowse.Location = new System.Drawing.Point(411, 102);
     this.bBrowse.Name     = "bBrowse";
     this.bBrowse.Size     = new System.Drawing.Size(26, 19);
     this.bBrowse.TabIndex = 2;
     this.bBrowse.Text     = "...";
     this.bBrowse.Click   += new System.EventHandler(this.bBrowse_Click);
     //
     // tbDirectory
     //
     this.tbDirectory.Location     = new System.Drawing.Point(68, 100);
     this.tbDirectory.Name         = "tbDirectory";
     this.tbDirectory.Size         = new System.Drawing.Size(334, 20);
     this.tbDirectory.TabIndex     = 1;
     this.tbDirectory.Text         = "textBox1";
     this.tbDirectory.TextChanged += new System.EventHandler(this.Desktop_Changed);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(13, 101);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(56, 23);
     this.label9.TabIndex = 5;
     this.label9.Text     = "Directory:";
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(33, 156);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(414, 26);
     this.label8.TabIndex = 4;
     this.label8.Text     = "Important: Desktop server is not intended to be used as a production web server. " +
                            " Use an ASP enabled server for anything other than local desktop use.";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(10, 6);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(435, 57);
     this.label7.TabIndex = 3;
     this.label7.Text     = resources.GetString("label7.Text");
     //
     // ckLocal
     //
     this.ckLocal.Location        = new System.Drawing.Point(15, 131);
     this.ckLocal.Name            = "ckLocal";
     this.ckLocal.Size            = new System.Drawing.Size(190, 24);
     this.ckLocal.TabIndex        = 3;
     this.ckLocal.Text            = "Restrict access to local machine";
     this.ckLocal.CheckedChanged += new System.EventHandler(this.Desktop_Changed);
     //
     // tbPort
     //
     this.tbPort.Location     = new System.Drawing.Point(44, 66);
     this.tbPort.Name         = "tbPort";
     this.tbPort.Size         = new System.Drawing.Size(50, 20);
     this.tbPort.TabIndex     = 0;
     this.tbPort.TextChanged += new System.EventHandler(this.Desktop_Changed);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 68);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(33, 23);
     this.label6.TabIndex = 0;
     this.label6.Text     = "Port";
     //
     // bApply
     //
     this.bApply.Location = new System.Drawing.Point(386, 275);
     this.bApply.Name     = "bApply";
     this.bApply.Size     = new System.Drawing.Size(75, 23);
     this.bApply.TabIndex = 3;
     this.bApply.Text     = "Apply";
     this.bApply.Click   += new System.EventHandler(this.bApply_Click);
     //
     // DialogToolOptions
     //
     this.AcceptButton      = this.bOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.bCancel;
     this.ClientSize        = new System.Drawing.Size(466, 304);
     this.Controls.Add(this.bApply);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.bCancel);
     this.Controls.Add(this.bOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "DialogToolOptions";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Options";
     this.tabControl1.ResumeLayout(false);
     this.tpGeneral.ResumeLayout(false);
     this.tpGeneral.PerformLayout();
     this.tpToolbar.ResumeLayout(false);
     this.tpDesktop.ResumeLayout(false);
     this.tpDesktop.PerformLayout();
     this.ResumeLayout(false);
 }
Ejemplo n.º 33
0
 public abstract void DrawCheckBox(Graphics dc, Rectangle clip_area, CheckBox checkbox);
Ejemplo n.º 34
0
 public abstract void DrawCheckBox(Graphics g, CheckBox cb, Rectangle glyphArea, Rectangle textBounds, Rectangle imageBounds, Rectangle clipRectangle);
Ejemplo n.º 35
0
 public abstract Size CalculateCheckBoxAutoSize(CheckBox checkBox);
 private void InitializeComponent()
 {
     this.chkPreview        = new System.Windows.Forms.CheckBox();
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.numLOD            = new System.Windows.Forms.NumericUpDown();
     this.label5            = new System.Windows.Forms.Label();
     this.cboFormat         = new System.Windows.Forms.ComboBox();
     this.label4            = new System.Windows.Forms.Label();
     this.btnRecommend      = new System.Windows.Forms.Button();
     this.groupBox2         = new System.Windows.Forms.GroupBox();
     this.label9            = new System.Windows.Forms.Label();
     this.lblTransparencies = new System.Windows.Forms.Label();
     this.lblDataSize       = new System.Windows.Forms.Label();
     this.lblColors         = new System.Windows.Forms.Label();
     this.lblSize           = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.label1            = new System.Windows.Forms.Label();
     this.btnOkay           = new System.Windows.Forms.Button();
     this.btnCancel         = new System.Windows.Forms.Button();
     this.grpPalette        = new System.Windows.Forms.GroupBox();
     this.cboAlgorithm      = new System.Windows.Forms.ComboBox();
     this.label8            = new System.Windows.Forms.Label();
     this.numPaletteCount   = new System.Windows.Forms.NumericUpDown();
     this.label7            = new System.Windows.Forms.Label();
     this.cboPaletteFormat  = new System.Windows.Forms.ComboBox();
     this.label6            = new System.Windows.Forms.Label();
     this.groupBox4         = new System.Windows.Forms.GroupBox();
     this.pictureBox1       = new System.Windows.Forms.GoodPictureBox();
     this.panel1            = new System.Windows.Forms.Panel();
     this.txtPath           = new System.Windows.Forms.TextBox();
     this.panel2            = new System.Windows.Forms.Panel();
     this.button1           = new System.Windows.Forms.Button();
     this.dlgOpen           = new System.Windows.Forms.OpenFileDialog();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numLOD)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.grpPalette.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numPaletteCount)).BeginInit();
     this.groupBox4.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // chkPreview
     //
     this.chkPreview.Checked    = true;
     this.chkPreview.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkPreview.Location   = new System.Drawing.Point(9, 15);
     this.chkPreview.Name       = "chkPreview";
     this.chkPreview.Size       = new System.Drawing.Size(66, 21);
     this.chkPreview.TabIndex   = 0;
     this.chkPreview.Text       = "Preview";
     this.chkPreview.UseVisualStyleBackColor = true;
     this.chkPreview.CheckedChanged         += new System.EventHandler(this.chkPreview_CheckedChanged);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.numLOD);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.cboFormat);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Location = new System.Drawing.Point(3, 108);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(179, 71);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Image";
     //
     // numLOD
     //
     this.numLOD.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.numLOD.Location = new System.Drawing.Point(75, 42);
     this.numLOD.Minimum  = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numLOD.Name     = "numLOD";
     this.numLOD.Size     = new System.Drawing.Size(98, 20);
     this.numLOD.TabIndex = 9;
     this.numLOD.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numLOD.ValueChanged += new System.EventHandler(this.numLOD_ValueChanged);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(6, 42);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(63, 20);
     this.label5.TabIndex  = 8;
     this.label5.Text      = "MIP Levels:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboFormat
     //
     this.cboFormat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.cboFormat.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboFormat.FormattingEnabled = true;
     this.cboFormat.Location          = new System.Drawing.Point(75, 15);
     this.cboFormat.Name                  = "cboFormat";
     this.cboFormat.Size                  = new System.Drawing.Size(98, 21);
     this.cboFormat.TabIndex              = 7;
     this.cboFormat.SelectedIndexChanged += new System.EventHandler(this.cboFormat_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(6, 16);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(63, 20);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Format:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnRecommend
     //
     this.btnRecommend.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.btnRecommend.Location = new System.Drawing.Point(75, 14);
     this.btnRecommend.Name     = "btnRecommend";
     this.btnRecommend.Size     = new System.Drawing.Size(98, 21);
     this.btnRecommend.TabIndex = 5;
     this.btnRecommend.Text     = "Recommend";
     this.btnRecommend.UseVisualStyleBackColor = true;
     this.btnRecommend.Click += new System.EventHandler(this.btnRecommend_Click);
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.label9);
     this.groupBox2.Controls.Add(this.lblTransparencies);
     this.groupBox2.Controls.Add(this.lblDataSize);
     this.groupBox2.Controls.Add(this.lblColors);
     this.groupBox2.Controls.Add(this.lblSize);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(3, 3);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(179, 99);
     this.groupBox2.TabIndex = 2;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Info";
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(6, 71);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(85, 20);
     this.label9.TabIndex  = 7;
     this.label9.Text      = "Data Size:";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblTransparencies
     //
     this.lblTransparencies.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.lblTransparencies.Location  = new System.Drawing.Point(97, 51);
     this.lblTransparencies.Name      = "lblTransparencies";
     this.lblTransparencies.Size      = new System.Drawing.Size(76, 20);
     this.lblTransparencies.TabIndex  = 5;
     this.lblTransparencies.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblDataSize
     //
     this.lblDataSize.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.lblDataSize.Location  = new System.Drawing.Point(97, 71);
     this.lblDataSize.Name      = "lblDataSize";
     this.lblDataSize.Size      = new System.Drawing.Size(76, 20);
     this.lblDataSize.TabIndex  = 6;
     this.lblDataSize.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblColors
     //
     this.lblColors.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.lblColors.Location  = new System.Drawing.Point(97, 31);
     this.lblColors.Name      = "lblColors";
     this.lblColors.Size      = new System.Drawing.Size(76, 20);
     this.lblColors.TabIndex  = 4;
     this.lblColors.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblSize
     //
     this.lblSize.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lblSize.Location  = new System.Drawing.Point(94, 11);
     this.lblSize.Name      = "lblSize";
     this.lblSize.Size      = new System.Drawing.Size(79, 20);
     this.lblSize.TabIndex  = 3;
     this.lblSize.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(6, 51);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(85, 20);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "Transparent:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(6, 31);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(85, 20);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "Colors:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(6, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(85, 20);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Size:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnOkay
     //
     this.btnOkay.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.btnOkay.Location = new System.Drawing.Point(8, 95);
     this.btnOkay.Name     = "btnOkay";
     this.btnOkay.Size     = new System.Drawing.Size(79, 23);
     this.btnOkay.TabIndex = 3;
     this.btnOkay.Text     = "Okay";
     this.btnOkay.UseVisualStyleBackColor = true;
     this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.btnCancel.Location = new System.Drawing.Point(92, 95);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(79, 23);
     this.btnCancel.TabIndex = 4;
     this.btnCancel.Text     = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // grpPalette
     //
     this.grpPalette.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.grpPalette.Controls.Add(this.cboAlgorithm);
     this.grpPalette.Controls.Add(this.label8);
     this.grpPalette.Controls.Add(this.numPaletteCount);
     this.grpPalette.Controls.Add(this.label7);
     this.grpPalette.Controls.Add(this.cboPaletteFormat);
     this.grpPalette.Controls.Add(this.label6);
     this.grpPalette.Location    = new System.Drawing.Point(3, 185);
     this.grpPalette.Name        = "grpPalette";
     this.grpPalette.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.grpPalette.Size        = new System.Drawing.Size(179, 99);
     this.grpPalette.TabIndex    = 5;
     this.grpPalette.TabStop     = false;
     this.grpPalette.Text        = "Palette";
     //
     // cboAlgorithm
     //
     this.cboAlgorithm.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.cboAlgorithm.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboAlgorithm.FormattingEnabled = true;
     this.cboAlgorithm.Location          = new System.Drawing.Point(75, 68);
     this.cboAlgorithm.Name                  = "cboAlgorithm";
     this.cboAlgorithm.Size                  = new System.Drawing.Size(98, 21);
     this.cboAlgorithm.TabIndex              = 13;
     this.cboAlgorithm.SelectedIndexChanged += new System.EventHandler(this.formatChanged);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(6, 69);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(63, 20);
     this.label8.TabIndex  = 12;
     this.label8.Text      = "Algorithm:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numPaletteCount
     //
     this.numPaletteCount.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.numPaletteCount.Increment = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.numPaletteCount.Location = new System.Drawing.Point(75, 42);
     this.numPaletteCount.Maximum  = new decimal(new int[] {
         256,
         0,
         0,
         0
     });
     this.numPaletteCount.Minimum = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.numPaletteCount.Name     = "numPaletteCount";
     this.numPaletteCount.Size     = new System.Drawing.Size(97, 20);
     this.numPaletteCount.TabIndex = 10;
     this.numPaletteCount.Value    = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.numPaletteCount.ValueChanged += new System.EventHandler(this.formatChanged);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(6, 42);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(63, 20);
     this.label7.TabIndex  = 11;
     this.label7.Text      = "Colors:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboPaletteFormat
     //
     this.cboPaletteFormat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.cboPaletteFormat.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboPaletteFormat.FormattingEnabled = true;
     this.cboPaletteFormat.Location          = new System.Drawing.Point(75, 15);
     this.cboPaletteFormat.Name                  = "cboPaletteFormat";
     this.cboPaletteFormat.Size                  = new System.Drawing.Size(98, 21);
     this.cboPaletteFormat.TabIndex              = 10;
     this.cboPaletteFormat.SelectedIndexChanged += new System.EventHandler(this.formatChanged);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(6, 16);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(63, 20);
     this.label6.TabIndex  = 10;
     this.label6.Text      = "Format:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupBox4
     //
     this.groupBox4.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.groupBox4.Controls.Add(this.btnOkay);
     this.groupBox4.Controls.Add(this.btnRecommend);
     this.groupBox4.Controls.Add(this.chkPreview);
     this.groupBox4.Controls.Add(this.btnCancel);
     this.groupBox4.Location = new System.Drawing.Point(3, 290);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(179, 124);
     this.groupBox4.TabIndex = 7;
     this.groupBox4.TabStop  = false;
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox1.Location = new System.Drawing.Point(0, 20);
     this.pictureBox1.Margin   = new System.Windows.Forms.Padding(0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Picture  = null;
     this.pictureBox1.Size     = new System.Drawing.Size(379, 397);
     this.pictureBox1.TabIndex = 8;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.groupBox2);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.groupBox4);
     this.panel1.Controls.Add(this.grpPalette);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(379, 0);
     this.panel1.Margin   = new System.Windows.Forms.Padding(3, 3, 0, 3);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(185, 417);
     this.panel1.TabIndex = 9;
     //
     // txtPath
     //
     this.txtPath.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.txtPath.Location = new System.Drawing.Point(0, 0);
     this.txtPath.Name     = "txtPath";
     this.txtPath.ReadOnly = true;
     this.txtPath.Size     = new System.Drawing.Size(304, 20);
     this.txtPath.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.txtPath);
     this.panel2.Controls.Add(this.button1);
     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(379, 20);
     this.panel2.TabIndex = 1;
     //
     // button1
     //
     this.button1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.button1.Location = new System.Drawing.Point(304, 0);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 20);
     this.button1.TabIndex = 10;
     this.button1.Text     = "Browse...";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // TextureConverterDialog
     //
     this.AcceptButton = this.btnOkay;
     this.ClientSize   = new System.Drawing.Size(564, 417);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.MinimumSize     = new System.Drawing.Size(0, 435);
     this.Name            = "TextureConverterDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Advanced Texture Converter";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numLOD)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.grpPalette.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numPaletteCount)).EndInit();
     this.groupBox4.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
Ejemplo n.º 37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DlgTreeParameters));
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.tbInitialXCoord     = new System.Windows.Forms.TextBox();
     this.tbInitialYCoord     = new System.Windows.Forms.TextBox();
     this.tbHorizontalGap     = new System.Windows.Forms.TextBox();
     this.tbVerticalGap       = new System.Windows.Forms.TextBox();
     this.tbLexGlossGap       = new System.Windows.Forms.TextBox();
     this.lblLexGlossGap      = new System.Windows.Forms.Label();
     this.lblVerticalGap      = new System.Windows.Forms.Label();
     this.lblHorizontalGap    = new System.Windows.Forms.Label();
     this.lblInitialYCoord    = new System.Windows.Forms.Label();
     this.lblInitialXCoord    = new System.Windows.Forms.Label();
     this.btnOK               = new System.Windows.Forms.Button();
     this.btnCancel           = new System.Windows.Forms.Button();
     this.groupBox2           = new System.Windows.Forms.GroupBox();
     this.cbPixelOffset       = new System.Windows.Forms.CheckBox();
     this.cbSmoothing         = new System.Windows.Forms.CheckBox();
     this.btnBackgroundColor  = new System.Windows.Forms.Button();
     this.lblBackgroundColor  = new System.Windows.Forms.Label();
     this.lblBackgroundColor1 = new System.Windows.Forms.Label();
     this.tbLineWidth         = new System.Windows.Forms.TextBox();
     this.lblLineWidth        = new System.Windows.Forms.Label();
     this.btnLineColor        = new System.Windows.Forms.Button();
     this.lblLineColor        = new System.Windows.Forms.Label();
     this.lblLineColor1       = new System.Windows.Forms.Label();
     this.btnGlossFont        = new System.Windows.Forms.Button();
     this.btnLexFont          = new System.Windows.Forms.Button();
     this.btnNTFont           = new System.Windows.Forms.Button();
     this.lblGlossFont        = new System.Windows.Forms.Label();
     this.lblLexFont          = new System.Windows.Forms.Label();
     this.lblNTFont           = new System.Windows.Forms.Label();
     this.lblGlossFont1       = new System.Windows.Forms.Label();
     this.lblLexFont1         = new System.Windows.Forms.Label();
     this.lblNTFont1          = new System.Windows.Forms.Label();
     this.cbFlat              = new System.Windows.Forms.CheckBox();
     this.cbDefault           = new System.Windows.Forms.CheckBox();
     this.helpProvider        = new System.Windows.Forms.HelpProvider();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.tbInitialXCoord);
     this.groupBox1.Controls.Add(this.tbInitialYCoord);
     this.groupBox1.Controls.Add(this.tbHorizontalGap);
     this.groupBox1.Controls.Add(this.tbVerticalGap);
     this.groupBox1.Controls.Add(this.tbLexGlossGap);
     this.groupBox1.Controls.Add(this.lblLexGlossGap);
     this.groupBox1.Controls.Add(this.lblVerticalGap);
     this.groupBox1.Controls.Add(this.lblHorizontalGap);
     this.groupBox1.Controls.Add(this.lblInitialYCoord);
     this.groupBox1.Controls.Add(this.lblInitialXCoord);
     this.groupBox1.Location = new System.Drawing.Point(16, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(304, 168);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "(X, Y) Parameters (units are in .01 mm)";
     //
     // tbInitialXCoord
     //
     this.tbInitialXCoord.Location  = new System.Drawing.Point(240, 24);
     this.tbInitialXCoord.MaxLength = 8;
     this.tbInitialXCoord.Name      = "tbInitialXCoord";
     this.tbInitialXCoord.Size      = new System.Drawing.Size(48, 20);
     this.tbInitialXCoord.TabIndex  = 1;
     this.tbInitialXCoord.Text      = "xCoord";
     this.tbInitialXCoord.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbInitialXCoord.WordWrap  = false;
     //
     // tbInitialYCoord
     //
     this.tbInitialYCoord.Location  = new System.Drawing.Point(240, 52);
     this.tbInitialYCoord.MaxLength = 8;
     this.tbInitialYCoord.Name      = "tbInitialYCoord";
     this.tbInitialYCoord.Size      = new System.Drawing.Size(48, 20);
     this.tbInitialYCoord.TabIndex  = 3;
     this.tbInitialYCoord.Text      = "yCoord";
     this.tbInitialYCoord.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbInitialYCoord.WordWrap  = false;
     //
     // tbHorizontalGap
     //
     this.tbHorizontalGap.Location  = new System.Drawing.Point(240, 80);
     this.tbHorizontalGap.MaxLength = 8;
     this.tbHorizontalGap.Name      = "tbHorizontalGap";
     this.tbHorizontalGap.Size      = new System.Drawing.Size(48, 20);
     this.tbHorizontalGap.TabIndex  = 5;
     this.tbHorizontalGap.Text      = "hgap";
     this.tbHorizontalGap.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbHorizontalGap.WordWrap  = false;
     //
     // tbVerticalGap
     //
     this.tbVerticalGap.Location  = new System.Drawing.Point(240, 108);
     this.tbVerticalGap.MaxLength = 8;
     this.tbVerticalGap.Name      = "tbVerticalGap";
     this.tbVerticalGap.Size      = new System.Drawing.Size(48, 20);
     this.tbVerticalGap.TabIndex  = 7;
     this.tbVerticalGap.Text      = "vgap";
     this.tbVerticalGap.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbVerticalGap.WordWrap  = false;
     //
     // tbLexGlossGap
     //
     this.tbLexGlossGap.Location  = new System.Drawing.Point(240, 136);
     this.tbLexGlossGap.MaxLength = 8;
     this.tbLexGlossGap.Name      = "tbLexGlossGap";
     this.tbLexGlossGap.Size      = new System.Drawing.Size(48, 20);
     this.tbLexGlossGap.TabIndex  = 9;
     this.tbLexGlossGap.Text      = "lgGap";
     this.tbLexGlossGap.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbLexGlossGap.WordWrap  = false;
     //
     // lblLexGlossGap
     //
     this.lblLexGlossGap.Location = new System.Drawing.Point(16, 136);
     this.lblLexGlossGap.Name     = "lblLexGlossGap";
     this.lblLexGlossGap.Size     = new System.Drawing.Size(208, 16);
     this.lblLexGlossGap.TabIndex = 8;
     this.lblLexGlossGap.Text     = "Gap &adjustment between Lex and Gloss:";
     //
     // lblVerticalGap
     //
     this.lblVerticalGap.Location = new System.Drawing.Point(16, 108);
     this.lblVerticalGap.Name     = "lblVerticalGap";
     this.lblVerticalGap.Size     = new System.Drawing.Size(208, 16);
     this.lblVerticalGap.TabIndex = 6;
     this.lblVerticalGap.Text     = "&Vertical gap between nodes:";
     //
     // lblHorizontalGap
     //
     this.lblHorizontalGap.Location = new System.Drawing.Point(16, 80);
     this.lblHorizontalGap.Name     = "lblHorizontalGap";
     this.lblHorizontalGap.Size     = new System.Drawing.Size(208, 16);
     this.lblHorizontalGap.TabIndex = 4;
     this.lblHorizontalGap.Text     = "&Horizontal gap between terminal nodes:";
     //
     // lblInitialYCoord
     //
     this.lblInitialYCoord.Location = new System.Drawing.Point(16, 52);
     this.lblInitialYCoord.Name     = "lblInitialYCoord";
     this.lblInitialYCoord.Size     = new System.Drawing.Size(120, 16);
     this.lblInitialYCoord.TabIndex = 2;
     this.lblInitialYCoord.Text     = "Topmost &Y-coordinate:";
     //
     // lblInitialXCoord
     //
     this.lblInitialXCoord.Location = new System.Drawing.Point(16, 24);
     this.lblInitialXCoord.Name     = "lblInitialXCoord";
     this.helpProvider.SetShowHelp(this.lblInitialXCoord, true);
     this.lblInitialXCoord.Size     = new System.Drawing.Size(120, 16);
     this.lblInitialXCoord.TabIndex = 0;
     this.lblInitialXCoord.Text     = "Leftmost &X-coordinate:";
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(360, 16);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new System.Drawing.Size(80, 24);
     this.btnOK.TabIndex = 4;
     this.btnOK.Text     = "OK";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.Location = new System.Drawing.Point(360, 48);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(80, 24);
     this.btnCancel.TabIndex = 5;
     this.btnCancel.Text     = "Cancel";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.cbPixelOffset);
     this.groupBox2.Controls.Add(this.cbSmoothing);
     this.groupBox2.Controls.Add(this.btnBackgroundColor);
     this.groupBox2.Controls.Add(this.lblBackgroundColor);
     this.groupBox2.Controls.Add(this.lblBackgroundColor1);
     this.groupBox2.Controls.Add(this.tbLineWidth);
     this.groupBox2.Controls.Add(this.lblLineWidth);
     this.groupBox2.Controls.Add(this.btnLineColor);
     this.groupBox2.Controls.Add(this.lblLineColor);
     this.groupBox2.Controls.Add(this.lblLineColor1);
     this.groupBox2.Controls.Add(this.btnGlossFont);
     this.groupBox2.Controls.Add(this.btnLexFont);
     this.groupBox2.Controls.Add(this.btnNTFont);
     this.groupBox2.Controls.Add(this.lblGlossFont);
     this.groupBox2.Controls.Add(this.lblLexFont);
     this.groupBox2.Controls.Add(this.lblNTFont);
     this.groupBox2.Controls.Add(this.lblGlossFont1);
     this.groupBox2.Controls.Add(this.lblLexFont1);
     this.groupBox2.Controls.Add(this.lblNTFont1);
     this.groupBox2.Location = new System.Drawing.Point(16, 192);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(440, 256);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Fonts";
     //
     // cbPixelOffset
     //
     this.cbPixelOffset.Enabled  = false;
     this.cbPixelOffset.Location = new System.Drawing.Point(16, 232);
     this.cbPixelOffset.Name     = "cbPixelOffset";
     this.cbPixelOffset.Size     = new System.Drawing.Size(280, 16);
     this.cbPixelOffset.TabIndex = 18;
     this.cbPixelOffset.Text     = "Also try to enhance the smoothing of slanted lines";
     //
     // cbSmoothing
     //
     this.cbSmoothing.Location        = new System.Drawing.Point(16, 208);
     this.cbSmoothing.Name            = "cbSmoothing";
     this.cbSmoothing.Size            = new System.Drawing.Size(224, 16);
     this.cbSmoothing.TabIndex        = 17;
     this.cbSmoothing.Text            = "Try to smooth slanted lines ";
     this.cbSmoothing.CheckedChanged += new System.EventHandler(this.cbSmoothing_CheckedChanged);
     //
     // btnBackgroundColor
     //
     this.btnBackgroundColor.Location = new System.Drawing.Point(344, 120);
     this.btnBackgroundColor.Name     = "btnBackgroundColor";
     this.btnBackgroundColor.Size     = new System.Drawing.Size(88, 24);
     this.btnBackgroundColor.TabIndex = 11;
     this.btnBackgroundColor.Text     = "&Background...";
     this.btnBackgroundColor.Click   += new System.EventHandler(this.btnBackgroundColor_Click);
     //
     // lblBackgroundColor
     //
     this.lblBackgroundColor.Location = new System.Drawing.Point(144, 120);
     this.lblBackgroundColor.Name     = "lblBackgroundColor";
     this.lblBackgroundColor.Size     = new System.Drawing.Size(192, 16);
     this.lblBackgroundColor.TabIndex = 10;
     this.lblBackgroundColor.Text     = "BackgroundColor";
     //
     // lblBackgroundColor1
     //
     this.lblBackgroundColor1.Location = new System.Drawing.Point(16, 120);
     this.lblBackgroundColor1.Name     = "lblBackgroundColor1";
     this.lblBackgroundColor1.Size     = new System.Drawing.Size(112, 16);
     this.lblBackgroundColor1.TabIndex = 9;
     this.lblBackgroundColor1.Text     = "Background color:";
     //
     // tbLineWidth
     //
     this.tbLineWidth.Location  = new System.Drawing.Point(144, 176);
     this.tbLineWidth.MaxLength = 8;
     this.tbLineWidth.Name      = "tbLineWidth";
     this.tbLineWidth.Size      = new System.Drawing.Size(48, 20);
     this.tbLineWidth.TabIndex  = 16;
     this.tbLineWidth.Text      = "width";
     this.tbLineWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // lblLineWidth
     //
     this.lblLineWidth.Location = new System.Drawing.Point(16, 184);
     this.lblLineWidth.Name     = "lblLineWidth";
     this.lblLineWidth.Size     = new System.Drawing.Size(112, 16);
     this.lblLineWidth.TabIndex = 15;
     this.lblLineWidth.Text     = "Line thickness:";
     //
     // btnLineColor
     //
     this.btnLineColor.Location = new System.Drawing.Point(344, 152);
     this.btnLineColor.Name     = "btnLineColor";
     this.btnLineColor.Size     = new System.Drawing.Size(88, 24);
     this.btnLineColor.TabIndex = 14;
     this.btnLineColor.Text     = "Line &Color...";
     this.btnLineColor.Click   += new System.EventHandler(this.btnLineColor_Click);
     //
     // lblLineColor
     //
     this.lblLineColor.Location = new System.Drawing.Point(144, 152);
     this.lblLineColor.Name     = "lblLineColor";
     this.lblLineColor.Size     = new System.Drawing.Size(192, 16);
     this.lblLineColor.TabIndex = 13;
     this.lblLineColor.Text     = "LineColor";
     //
     // lblLineColor1
     //
     this.lblLineColor1.Location = new System.Drawing.Point(16, 152);
     this.lblLineColor1.Name     = "lblLineColor1";
     this.lblLineColor1.Size     = new System.Drawing.Size(112, 16);
     this.lblLineColor1.TabIndex = 12;
     this.lblLineColor1.Text     = "Color of lines:";
     //
     // btnGlossFont
     //
     this.btnGlossFont.Location = new System.Drawing.Point(344, 88);
     this.btnGlossFont.Name     = "btnGlossFont";
     this.btnGlossFont.Size     = new System.Drawing.Size(88, 24);
     this.btnGlossFont.TabIndex = 8;
     this.btnGlossFont.Text     = "&Gloss Font...";
     this.btnGlossFont.Click   += new System.EventHandler(this.btnGlossFont_Click);
     //
     // btnLexFont
     //
     this.btnLexFont.Location = new System.Drawing.Point(344, 56);
     this.btnLexFont.Name     = "btnLexFont";
     this.btnLexFont.Size     = new System.Drawing.Size(88, 24);
     this.btnLexFont.TabIndex = 5;
     this.btnLexFont.Text     = "&Lex Font...";
     this.btnLexFont.Click   += new System.EventHandler(this.btnLexFont_Click);
     //
     // btnNTFont
     //
     this.btnNTFont.Location = new System.Drawing.Point(344, 24);
     this.btnNTFont.Name     = "btnNTFont";
     this.btnNTFont.Size     = new System.Drawing.Size(88, 24);
     this.btnNTFont.TabIndex = 2;
     this.btnNTFont.Text     = "&NT Font...";
     this.btnNTFont.Click   += new System.EventHandler(this.btnNTFont_Click);
     //
     // lblGlossFont
     //
     this.lblGlossFont.Location = new System.Drawing.Point(144, 88);
     this.lblGlossFont.Name     = "lblGlossFont";
     this.lblGlossFont.Size     = new System.Drawing.Size(192, 16);
     this.lblGlossFont.TabIndex = 7;
     this.lblGlossFont.Text     = "GlossFont";
     //
     // lblLexFont
     //
     this.lblLexFont.Location = new System.Drawing.Point(144, 56);
     this.lblLexFont.Name     = "lblLexFont";
     this.lblLexFont.Size     = new System.Drawing.Size(192, 16);
     this.lblLexFont.TabIndex = 4;
     this.lblLexFont.Text     = "LexFont";
     //
     // lblNTFont
     //
     this.lblNTFont.Location = new System.Drawing.Point(144, 24);
     this.lblNTFont.Name     = "lblNTFont";
     this.lblNTFont.Size     = new System.Drawing.Size(192, 16);
     this.lblNTFont.TabIndex = 1;
     this.lblNTFont.Text     = "NTFont";
     //
     // lblGlossFont1
     //
     this.lblGlossFont1.Location = new System.Drawing.Point(16, 88);
     this.lblGlossFont1.Name     = "lblGlossFont1";
     this.lblGlossFont1.Size     = new System.Drawing.Size(112, 16);
     this.lblGlossFont1.TabIndex = 6;
     this.lblGlossFont1.Text     = "Glosses:";
     //
     // lblLexFont1
     //
     this.lblLexFont1.Location = new System.Drawing.Point(16, 56);
     this.lblLexFont1.Name     = "lblLexFont1";
     this.lblLexFont1.Size     = new System.Drawing.Size(112, 16);
     this.lblLexFont1.TabIndex = 3;
     this.lblLexFont1.Text     = "Lexical items:";
     //
     // lblNTFont1
     //
     this.lblNTFont1.Location = new System.Drawing.Point(16, 24);
     this.lblNTFont1.Name     = "lblNTFont1";
     this.lblNTFont1.Size     = new System.Drawing.Size(112, 16);
     this.lblNTFont1.TabIndex = 0;
     this.lblNTFont1.Text     = "Non-terminal nodes:";
     //
     // cbFlat
     //
     this.cbFlat.Location = new System.Drawing.Point(24, 456);
     this.cbFlat.Name     = "cbFlat";
     this.cbFlat.Size     = new System.Drawing.Size(240, 16);
     this.cbFlat.TabIndex = 2;
     this.cbFlat.Text     = "Show\"&flat\" view of lexical and gloss items";
     //
     // cbDefault
     //
     this.cbDefault.Location = new System.Drawing.Point(24, 480);
     this.cbDefault.Name     = "cbDefault";
     this.cbDefault.Size     = new System.Drawing.Size(280, 16);
     this.cbDefault.TabIndex = 3;
     this.cbDefault.Text     = "Use these parameters as the &default for new trees";
     //
     // DlgTreeParameters
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(464, 501);
     this.Controls.Add(this.cbDefault);
     this.Controls.Add(this.cbFlat);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.groupBox1);
     this.HelpButton  = true;
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "DlgTreeParameters";
     this.Text        = "Tree Parameters";
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 38
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._lblCampaignName = new System.Windows.Forms.Label();
     this._txtCampName     = new System.Windows.Forms.TextBox();
     this._lblCode         = new System.Windows.Forms.Label();
     this._txtCode         = new System.Windows.Forms.TextBox();
     this._chkActive       = new System.Windows.Forms.CheckBox();
     this._lblFileDays     = new System.Windows.Forms.Label();
     this._txtfileexp      = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // _lblCampaignName
     //
     this._lblCampaignName.Location = new System.Drawing.Point(16, 16);
     this._lblCampaignName.Name     = "_lblCampaignName";
     this._lblCampaignName.Size     = new System.Drawing.Size(96, 16);
     this._lblCampaignName.TabIndex = 0;
     this._lblCampaignName.Text     = "Campaign Name:";
     //
     // _txtCampName
     //
     this._txtCampName.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                 | System.Windows.Forms.AnchorStyles.Right);
     this._txtCampName.Location = new System.Drawing.Point(144, 16);
     this._txtCampName.Name     = "_txtCampName";
     this._txtCampName.Size     = new System.Drawing.Size(224, 21);
     this._txtCampName.TabIndex = 1;
     this._txtCampName.Text     = "";
     //
     // _lblCode
     //
     this._lblCode.Location = new System.Drawing.Point(16, 48);
     this._lblCode.Name     = "_lblCode";
     this._lblCode.Size     = new System.Drawing.Size(88, 16);
     this._lblCode.TabIndex = 2;
     this._lblCode.Text     = "Campaign Code:";
     //
     // _txtCode
     //
     this._txtCode.Location = new System.Drawing.Point(144, 48);
     this._txtCode.Name     = "_txtCode";
     this._txtCode.Size     = new System.Drawing.Size(80, 21);
     this._txtCode.TabIndex = 3;
     this._txtCode.Text     = "";
     //
     // _chkActive
     //
     this._chkActive.Location = new System.Drawing.Point(16, 112);
     this._chkActive.Name     = "_chkActive";
     this._chkActive.Size     = new System.Drawing.Size(136, 16);
     this._chkActive.TabIndex = 4;
     this._chkActive.Text     = "Active";
     //
     // _lblFileDays
     //
     this._lblFileDays.Location = new System.Drawing.Point(16, 80);
     this._lblFileDays.Name     = "_lblFileDays";
     this._lblFileDays.Size     = new System.Drawing.Size(112, 16);
     this._lblFileDays.TabIndex = 5;
     this._lblFileDays.Text     = "File Expiration Days:";
     //
     // _txtfileexp
     //
     this._txtfileexp.Location = new System.Drawing.Point(144, 80);
     this._txtfileexp.Name     = "_txtfileexp";
     this._txtfileexp.Size     = new System.Drawing.Size(80, 21);
     this._txtfileexp.TabIndex = 6;
     this._txtfileexp.Text     = "";
     //
     // ctlGeneral
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this._txtfileexp,
         this._lblFileDays,
         this._chkActive,
         this._txtCode,
         this._lblCode,
         this._txtCampName,
         this._lblCampaignName
     });
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name = "ctlGeneral";
     this.Size = new System.Drawing.Size(376, 288);
     this.ResumeLayout(false);
 }
Ejemplo n.º 39
0
 /// <summary>
 /// デザイナ サポートに必要なメソッドです。このメソッドの内容を
 /// コード エディタで変更しないでください。
 /// </summary>
 private void InitializeComponent()
 {
     this.textDataName           = new System.Windows.Forms.TextBox();
     this.textReferenceName      = new System.Windows.Forms.TextBox();
     this.buttonData             = new System.Windows.Forms.Button();
     this.buttonReference        = new System.Windows.Forms.Button();
     this.checkRemoveSilent      = new System.Windows.Forms.CheckBox();
     this.textThreshold          = new System.Windows.Forms.TextBox();
     this.labelThreshold         = new System.Windows.Forms.Label();
     this.checkRelativeThreshold = new System.Windows.Forms.CheckBox();
     this.groupRemoveSilent      = new System.Windows.Forms.GroupBox();
     this.labelDataName          = new System.Windows.Forms.Label();
     this.groupData                 = new System.Windows.Forms.GroupBox();
     this.groupRange                = new System.Windows.Forms.GroupBox();
     this.textSkipLength            = new System.Windows.Forms.TextBox();
     this.labelReadLength           = new System.Windows.Forms.Label();
     this.labelSkipLength           = new System.Windows.Forms.Label();
     this.textReadLength            = new System.Windows.Forms.TextBox();
     this.checkUseReference         = new System.Windows.Forms.CheckBox();
     this.groupReference            = new System.Windows.Forms.GroupBox();
     this.comboReferenceType        = new System.Windows.Forms.ComboBox();
     this.labelReferenceType        = new System.Windows.Forms.Label();
     this.checkNormalize            = new System.Windows.Forms.CheckBox();
     this.labelReferenceName        = new System.Windows.Forms.Label();
     this.groupRemoveSilentRef      = new System.Windows.Forms.GroupBox();
     this.textThresholdRef          = new System.Windows.Forms.TextBox();
     this.labelThresholdRef         = new System.Windows.Forms.Label();
     this.checkRelativeThresholdRef = new System.Windows.Forms.CheckBox();
     this.checkRemoveSilentRef      = new System.Windows.Forms.CheckBox();
     this.groupRangeRef             = new System.Windows.Forms.GroupBox();
     this.textSkipLengthRef         = new System.Windows.Forms.TextBox();
     this.labelSkipLengthRef        = new System.Windows.Forms.Label();
     this.buttonOk     = new System.Windows.Forms.Button();
     this.buttonCancel = new System.Windows.Forms.Button();
     this.groupRemoveSilent.SuspendLayout();
     this.groupData.SuspendLayout();
     this.groupRange.SuspendLayout();
     this.groupReference.SuspendLayout();
     this.groupRemoveSilentRef.SuspendLayout();
     this.groupRangeRef.SuspendLayout();
     this.SuspendLayout();
     //
     // textDataName
     //
     this.textDataName.Location = new System.Drawing.Point(64, 16);
     this.textDataName.Name     = "textDataName";
     this.textDataName.Size     = new System.Drawing.Size(192, 19);
     this.textDataName.TabIndex = 0;
     this.textDataName.Text     = "";
     //
     // textReferenceName
     //
     this.textReferenceName.Location = new System.Drawing.Point(64, 64);
     this.textReferenceName.Name     = "textReferenceName";
     this.textReferenceName.Size     = new System.Drawing.Size(192, 19);
     this.textReferenceName.TabIndex = 12;
     this.textReferenceName.Text     = "";
     //
     // buttonData
     //
     this.buttonData.Location = new System.Drawing.Point(264, 16);
     this.buttonData.Name     = "buttonData";
     this.buttonData.Size     = new System.Drawing.Size(40, 23);
     this.buttonData.TabIndex = 1;
     this.buttonData.Text     = "参照";
     this.buttonData.Click   += new System.EventHandler(this.buttonData_Click);
     //
     // buttonReference
     //
     this.buttonReference.Location = new System.Drawing.Point(264, 64);
     this.buttonReference.Name     = "buttonReference";
     this.buttonReference.Size     = new System.Drawing.Size(40, 23);
     this.buttonReference.TabIndex = 13;
     this.buttonReference.Text     = "参照";
     this.buttonReference.Click   += new System.EventHandler(this.buttonReference_Click);
     //
     // checkRemoveSilent
     //
     this.checkRemoveSilent.Location        = new System.Drawing.Point(8, 16);
     this.checkRemoveSilent.Name            = "checkRemoveSilent";
     this.checkRemoveSilent.Size            = new System.Drawing.Size(128, 24);
     this.checkRemoveSilent.TabIndex        = 4;
     this.checkRemoveSilent.Text            = "無音区間を除去する";
     this.checkRemoveSilent.CheckedChanged += new System.EventHandler(this.checkRemoveSilent_CheckedChanged);
     //
     // textThreshold
     //
     this.textThreshold.Enabled   = false;
     this.textThreshold.Location  = new System.Drawing.Point(144, 40);
     this.textThreshold.Name      = "textThreshold";
     this.textThreshold.Size      = new System.Drawing.Size(56, 19);
     this.textThreshold.TabIndex  = 6;
     this.textThreshold.Text      = "0";
     this.textThreshold.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // labelThreshold
     //
     this.labelThreshold.Location  = new System.Drawing.Point(144, 24);
     this.labelThreshold.Name      = "labelThreshold";
     this.labelThreshold.Size      = new System.Drawing.Size(32, 16);
     this.labelThreshold.TabIndex  = 1;
     this.labelThreshold.Text      = "閾値";
     this.labelThreshold.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // checkRelativeThreshold
     //
     this.checkRelativeThreshold.Enabled  = false;
     this.checkRelativeThreshold.Location = new System.Drawing.Point(8, 40);
     this.checkRelativeThreshold.Name     = "checkRelativeThreshold";
     this.checkRelativeThreshold.Size     = new System.Drawing.Size(128, 24);
     this.checkRelativeThreshold.TabIndex = 5;
     this.checkRelativeThreshold.Text     = "閾値に相対値を使う";
     //
     // groupRemoveSilent
     //
     this.groupRemoveSilent.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textThreshold,
         this.labelThreshold,
         this.checkRelativeThreshold,
         this.checkRemoveSilent
     });
     this.groupRemoveSilent.Location = new System.Drawing.Point(176, 56);
     this.groupRemoveSilent.Name     = "groupRemoveSilent";
     this.groupRemoveSilent.Size     = new System.Drawing.Size(208, 72);
     this.groupRemoveSilent.TabIndex = 5;
     this.groupRemoveSilent.TabStop  = false;
     this.groupRemoveSilent.Text     = "無音区間の除去";
     //
     // labelDataName
     //
     this.labelDataName.Location  = new System.Drawing.Point(8, 16);
     this.labelDataName.Name      = "labelDataName";
     this.labelDataName.Size      = new System.Drawing.Size(56, 16);
     this.labelDataName.TabIndex  = 18;
     this.labelDataName.Text      = "ファイル名";
     this.labelDataName.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // groupData
     //
     this.groupData.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.labelDataName,
         this.textDataName,
         this.buttonData,
         this.groupRange,
         this.groupRemoveSilent,
         this.checkUseReference
     });
     this.groupData.Location = new System.Drawing.Point(8, 8);
     this.groupData.Name     = "groupData";
     this.groupData.Size     = new System.Drawing.Size(392, 160);
     this.groupData.TabIndex = 7;
     this.groupData.TabStop  = false;
     this.groupData.Text     = "データファイル";
     //
     // groupRange
     //
     this.groupRange.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textSkipLength,
         this.labelReadLength,
         this.labelSkipLength,
         this.textReadLength
     });
     this.groupRange.Location = new System.Drawing.Point(8, 56);
     this.groupRange.Name     = "groupRange";
     this.groupRange.Size     = new System.Drawing.Size(160, 72);
     this.groupRange.TabIndex = 9;
     this.groupRange.TabStop  = false;
     this.groupRange.Text     = "読込み区間";
     //
     // textSkipLength
     //
     this.textSkipLength.Location  = new System.Drawing.Point(72, 16);
     this.textSkipLength.Name      = "textSkipLength";
     this.textSkipLength.Size      = new System.Drawing.Size(80, 19);
     this.textSkipLength.TabIndex  = 2;
     this.textSkipLength.Text      = "0";
     this.textSkipLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // labelReadLength
     //
     this.labelReadLength.Location  = new System.Drawing.Point(8, 40);
     this.labelReadLength.Name      = "labelReadLength";
     this.labelReadLength.Size      = new System.Drawing.Size(64, 16);
     this.labelReadLength.TabIndex  = 1;
     this.labelReadLength.Text      = "読込み長";
     this.labelReadLength.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // labelSkipLength
     //
     this.labelSkipLength.Location  = new System.Drawing.Point(8, 16);
     this.labelSkipLength.Name      = "labelSkipLength";
     this.labelSkipLength.Size      = new System.Drawing.Size(64, 16);
     this.labelSkipLength.TabIndex  = 0;
     this.labelSkipLength.Text      = "読飛ばし長";
     this.labelSkipLength.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // textReadLength
     //
     this.textReadLength.Location  = new System.Drawing.Point(72, 40);
     this.textReadLength.Name      = "textReadLength";
     this.textReadLength.Size      = new System.Drawing.Size(80, 19);
     this.textReadLength.TabIndex  = 3;
     this.textReadLength.Text      = "1024";
     this.textReadLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // checkUseReference
     //
     this.checkUseReference.Location        = new System.Drawing.Point(8, 128);
     this.checkUseReference.Name            = "checkUseReference";
     this.checkUseReference.Size            = new System.Drawing.Size(160, 24);
     this.checkUseReference.TabIndex        = 7;
     this.checkUseReference.Text            = "リファレンスデータを使用する";
     this.checkUseReference.CheckedChanged += new System.EventHandler(this.checkUseReference_CheckedChanged);
     //
     // groupReference
     //
     this.groupReference.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.comboReferenceType,
         this.labelReferenceType,
         this.checkNormalize,
         this.labelReferenceName,
         this.buttonReference,
         this.textReferenceName,
         this.groupRemoveSilentRef,
         this.groupRangeRef
     });
     this.groupReference.Enabled  = false;
     this.groupReference.Location = new System.Drawing.Point(8, 168);
     this.groupReference.Name     = "groupReference";
     this.groupReference.Size     = new System.Drawing.Size(392, 176);
     this.groupReference.TabIndex = 8;
     this.groupReference.TabStop  = false;
     this.groupReference.Text     = "リファレンスデータ";
     //
     // comboReferenceType
     //
     this.comboReferenceType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboReferenceType.Items.AddRange(new object[] {
         "両側チャネル",
         "左チャネル",
         "右チャネル",
         "逆側チャネル",
         "クロストーク"
     });
     this.comboReferenceType.Location = new System.Drawing.Point(96, 40);
     this.comboReferenceType.Name     = "comboReferenceType";
     this.comboReferenceType.Size     = new System.Drawing.Size(121, 20);
     this.comboReferenceType.TabIndex = 15;
     //
     // labelReferenceType
     //
     this.labelReferenceType.Location  = new System.Drawing.Point(16, 40);
     this.labelReferenceType.Name      = "labelReferenceType";
     this.labelReferenceType.Size      = new System.Drawing.Size(88, 16);
     this.labelReferenceType.TabIndex  = 14;
     this.labelReferenceType.Text      = "リファレンスタイプ";
     this.labelReferenceType.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // checkNormalize
     //
     this.checkNormalize.Location = new System.Drawing.Point(8, 16);
     this.checkNormalize.Name     = "checkNormalize";
     this.checkNormalize.Size     = new System.Drawing.Size(176, 24);
     this.checkNormalize.TabIndex = 8;
     this.checkNormalize.Text     = "リファレンスデータを正規化する";
     //
     // labelReferenceName
     //
     this.labelReferenceName.Location  = new System.Drawing.Point(8, 64);
     this.labelReferenceName.Name      = "labelReferenceName";
     this.labelReferenceName.Size      = new System.Drawing.Size(56, 16);
     this.labelReferenceName.TabIndex  = 7;
     this.labelReferenceName.Text      = "ファイル名";
     this.labelReferenceName.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // groupRemoveSilentRef
     //
     this.groupRemoveSilentRef.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textThresholdRef,
         this.labelThresholdRef,
         this.checkRelativeThresholdRef,
         this.checkRemoveSilentRef
     });
     this.groupRemoveSilentRef.Location = new System.Drawing.Point(176, 96);
     this.groupRemoveSilentRef.Name     = "groupRemoveSilentRef";
     this.groupRemoveSilentRef.Size     = new System.Drawing.Size(208, 72);
     this.groupRemoveSilentRef.TabIndex = 10;
     this.groupRemoveSilentRef.TabStop  = false;
     this.groupRemoveSilentRef.Text     = "無音区間の除去";
     //
     // textThresholdRef
     //
     this.textThresholdRef.Enabled   = false;
     this.textThresholdRef.Location  = new System.Drawing.Point(144, 40);
     this.textThresholdRef.Name      = "textThresholdRef";
     this.textThresholdRef.Size      = new System.Drawing.Size(56, 19);
     this.textThresholdRef.TabIndex  = 17;
     this.textThresholdRef.Text      = "0";
     this.textThresholdRef.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // labelThresholdRef
     //
     this.labelThresholdRef.Location  = new System.Drawing.Point(144, 24);
     this.labelThresholdRef.Name      = "labelThresholdRef";
     this.labelThresholdRef.Size      = new System.Drawing.Size(32, 16);
     this.labelThresholdRef.TabIndex  = 1;
     this.labelThresholdRef.Text      = "閾値";
     this.labelThresholdRef.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // checkRelativeThresholdRef
     //
     this.checkRelativeThresholdRef.Enabled  = false;
     this.checkRelativeThresholdRef.Location = new System.Drawing.Point(8, 40);
     this.checkRelativeThresholdRef.Name     = "checkRelativeThresholdRef";
     this.checkRelativeThresholdRef.Size     = new System.Drawing.Size(128, 24);
     this.checkRelativeThresholdRef.TabIndex = 16;
     this.checkRelativeThresholdRef.Text     = "閾値に相対値を使う";
     //
     // checkRemoveSilentRef
     //
     this.checkRemoveSilentRef.Location        = new System.Drawing.Point(8, 16);
     this.checkRemoveSilentRef.Name            = "checkRemoveSilentRef";
     this.checkRemoveSilentRef.Size            = new System.Drawing.Size(128, 24);
     this.checkRemoveSilentRef.TabIndex        = 15;
     this.checkRemoveSilentRef.Text            = "無音区間を除去する";
     this.checkRemoveSilentRef.CheckedChanged += new System.EventHandler(this.checkRemoveSilentRef_CheckedChanged);
     //
     // groupRangeRef
     //
     this.groupRangeRef.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textSkipLengthRef,
         this.labelSkipLengthRef
     });
     this.groupRangeRef.Location = new System.Drawing.Point(8, 96);
     this.groupRangeRef.Name     = "groupRangeRef";
     this.groupRangeRef.Size     = new System.Drawing.Size(160, 72);
     this.groupRangeRef.TabIndex = 11;
     this.groupRangeRef.TabStop  = false;
     this.groupRangeRef.Text     = "読込み区間";
     //
     // textSkipLengthRef
     //
     this.textSkipLengthRef.Location  = new System.Drawing.Point(72, 16);
     this.textSkipLengthRef.Name      = "textSkipLengthRef";
     this.textSkipLengthRef.Size      = new System.Drawing.Size(80, 19);
     this.textSkipLengthRef.TabIndex  = 14;
     this.textSkipLengthRef.Text      = "0";
     this.textSkipLengthRef.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // labelSkipLengthRef
     //
     this.labelSkipLengthRef.Location  = new System.Drawing.Point(8, 16);
     this.labelSkipLengthRef.Name      = "labelSkipLengthRef";
     this.labelSkipLengthRef.Size      = new System.Drawing.Size(64, 16);
     this.labelSkipLengthRef.TabIndex  = 0;
     this.labelSkipLengthRef.Text      = "読飛ばし長";
     this.labelSkipLengthRef.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // buttonOk
     //
     this.buttonOk.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.buttonOk.Location = new System.Drawing.Point(248, 352);
     this.buttonOk.Name     = "buttonOk";
     this.buttonOk.TabIndex = 9;
     this.buttonOk.Text     = "OK";
     this.buttonOk.Click   += new System.EventHandler(this.buttonOk_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor       = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location     = new System.Drawing.Point(328, 352);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.TabIndex     = 10;
     this.buttonCancel.Text         = "cancel";
     this.buttonCancel.Click       += new System.EventHandler(this.buttonCancel_Click);
     //
     // WaveLoadForm
     //
     this.AcceptButton      = this.buttonOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.CancelButton      = this.buttonCancel;
     this.ClientSize        = new System.Drawing.Size(410, 383);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.buttonCancel,
         this.buttonOk,
         this.groupReference,
         this.groupData
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "WaveLoadForm";
     this.Text            = "Wave ファイル読込み設定";
     this.groupRemoveSilent.ResumeLayout(false);
     this.groupData.ResumeLayout(false);
     this.groupRange.ResumeLayout(false);
     this.groupReference.ResumeLayout(false);
     this.groupRemoveSilentRef.ResumeLayout(false);
     this.groupRangeRef.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PageGroupEditorForm));
     System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Group");
     this.panel1          = new System.Windows.Forms.Panel();
     this.ChkRepeat       = new System.Windows.Forms.CheckBox();
     this.BtnReset        = new System.Windows.Forms.Button();
     this.C_ChangeGroup   = new System.Windows.Forms.Button();
     this.C_Remove        = new System.Windows.Forms.Button();
     this.C_NewGroup      = new System.Windows.Forms.Button();
     this.C_ImageList     = new System.Windows.Forms.ImageList(this.components);
     this.panel2          = new System.Windows.Forms.Panel();
     this.BtnCancel       = new System.Windows.Forms.Button();
     this.BtnOk           = new System.Windows.Forms.Button();
     this.panel3          = new System.Windows.Forms.Panel();
     this.C_PropertyGrid  = new System.Windows.Forms.PropertyGrid();
     this.splitter1       = new System.Windows.Forms.Splitter();
     this.C_GroupInfoTree = new System.Windows.Forms.TreeView();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.ChkRepeat);
     this.panel1.Controls.Add(this.BtnReset);
     this.panel1.Controls.Add(this.C_ChangeGroup);
     this.panel1.Controls.Add(this.C_Remove);
     this.panel1.Controls.Add(this.C_NewGroup);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(609, 43);
     this.panel1.TabIndex = 0;
     //
     // ChkRepeat
     //
     this.ChkRepeat.Location = new System.Drawing.Point(10, 9);
     this.ChkRepeat.Name     = "ChkRepeat";
     this.ChkRepeat.Size     = new System.Drawing.Size(153, 25);
     this.ChkRepeat.TabIndex = 11;
     this.ChkRepeat.Text     = "OneValuePerPage";
     //
     // BtnReset
     //
     this.BtnReset.Location = new System.Drawing.Point(533, 9);
     this.BtnReset.Name     = "BtnReset";
     this.BtnReset.Size     = new System.Drawing.Size(67, 25);
     this.BtnReset.TabIndex = 10;
     this.BtnReset.Text     = "Reset";
     this.BtnReset.Click   += new System.EventHandler(this.BtnReset_Click);
     //
     // C_ChangeGroup
     //
     this.C_ChangeGroup.Location = new System.Drawing.Point(312, 9);
     this.C_ChangeGroup.Name     = "C_ChangeGroup";
     this.C_ChangeGroup.Size     = new System.Drawing.Size(105, 25);
     this.C_ChangeGroup.TabIndex = 9;
     this.C_ChangeGroup.Text     = "Change Group";
     this.C_ChangeGroup.Click   += new System.EventHandler(this.C_ChangeGroup_Click);
     //
     // C_Remove
     //
     this.C_Remove.BackColor = System.Drawing.SystemColors.Control;
     this.C_Remove.Location  = new System.Drawing.Point(427, 9);
     this.C_Remove.Name      = "C_Remove";
     this.C_Remove.Size      = new System.Drawing.Size(96, 24);
     this.C_Remove.TabIndex  = 1;
     this.C_Remove.Text      = "Remove Item";
     this.C_Remove.UseVisualStyleBackColor = false;
     this.C_Remove.Click += new System.EventHandler(this.Menu_RemoveGroup_Click);
     //
     // C_NewGroup
     //
     this.C_NewGroup.BackColor = System.Drawing.SystemColors.Control;
     this.C_NewGroup.Location  = new System.Drawing.Point(206, 9);
     this.C_NewGroup.Name      = "C_NewGroup";
     this.C_NewGroup.Size      = new System.Drawing.Size(96, 24);
     this.C_NewGroup.TabIndex  = 0;
     this.C_NewGroup.Text      = "Add Group";
     this.C_NewGroup.UseVisualStyleBackColor = false;
     this.C_NewGroup.Click += new System.EventHandler(this.Menu_AddGroup_Click);
     //
     // C_ImageList
     //
     this.C_ImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("C_ImageList.ImageStream")));
     this.C_ImageList.TransparentColor = System.Drawing.Color.White;
     this.C_ImageList.Images.SetKeyName(0, "");
     this.C_ImageList.Images.SetKeyName(1, "");
     //
     // panel2
     //
     this.panel2.Controls.Add(this.BtnCancel);
     this.panel2.Controls.Add(this.BtnOk);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 331);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(609, 51);
     this.panel2.TabIndex = 4;
     //
     // BtnCancel
     //
     this.BtnCancel.Location = new System.Drawing.Point(496, 15);
     this.BtnCancel.Name     = "BtnCancel";
     this.BtnCancel.Size     = new System.Drawing.Size(87, 26);
     this.BtnCancel.TabIndex = 1;
     this.BtnCancel.Text     = "Cancel";
     this.BtnCancel.Click   += new System.EventHandler(this.BtnCancel_Click);
     //
     // BtnOk
     //
     this.BtnOk.Location = new System.Drawing.Point(362, 15);
     this.BtnOk.Name     = "BtnOk";
     this.BtnOk.Size     = new System.Drawing.Size(96, 26);
     this.BtnOk.TabIndex = 0;
     this.BtnOk.Text     = "OK";
     this.BtnOk.Click   += new System.EventHandler(this.BtnOk_Click);
     //
     // panel3
     //
     this.panel3.Controls.Add(this.C_PropertyGrid);
     this.panel3.Controls.Add(this.splitter1);
     this.panel3.Controls.Add(this.C_GroupInfoTree);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 43);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(609, 288);
     this.panel3.TabIndex = 5;
     //
     // C_PropertyGrid
     //
     this.C_PropertyGrid.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.C_PropertyGrid.LineColor = System.Drawing.SystemColors.Control;
     this.C_PropertyGrid.Location  = new System.Drawing.Point(346, 0);
     this.C_PropertyGrid.Name      = "C_PropertyGrid";
     this.C_PropertyGrid.Size      = new System.Drawing.Size(263, 288);
     this.C_PropertyGrid.TabIndex  = 10;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(336, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(10, 288);
     this.splitter1.TabIndex = 9;
     this.splitter1.TabStop  = false;
     //
     // C_GroupInfoTree
     //
     this.C_GroupInfoTree.AllowDrop  = true;
     this.C_GroupInfoTree.Dock       = System.Windows.Forms.DockStyle.Left;
     this.C_GroupInfoTree.Font       = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.C_GroupInfoTree.ForeColor  = System.Drawing.Color.Black;
     this.C_GroupInfoTree.ImageIndex = 0;
     this.C_GroupInfoTree.ImageList  = this.C_ImageList;
     this.C_GroupInfoTree.Location   = new System.Drawing.Point(0, 0);
     this.C_GroupInfoTree.Name       = "C_GroupInfoTree";
     treeNode2.Name = "";
     treeNode2.Text = "Group";
     this.C_GroupInfoTree.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode2
     });
     this.C_GroupInfoTree.SelectedImageIndex = 0;
     this.C_GroupInfoTree.Size          = new System.Drawing.Size(336, 288);
     this.C_GroupInfoTree.TabIndex      = 8;
     this.C_GroupInfoTree.DragDrop     += new System.Windows.Forms.DragEventHandler(this.C_GroupInfoTree_DragDrop);
     this.C_GroupInfoTree.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.C_GroupInfoTree_AfterSelect);
     this.C_GroupInfoTree.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.C_GroupInfoTree_BeforeSelect);
     this.C_GroupInfoTree.DragOver     += new System.Windows.Forms.DragEventHandler(this.C_GroupInfoTree_DragOver);
     this.C_GroupInfoTree.Click        += new System.EventHandler(this.C_GroupInfoTree_Click);
     //
     // PageGroupEditorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(609, 382);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Name = "PageGroupEditorForm";
     this.Text = "Group Setting";
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 41
0
 private void InitializeComponent()
 {
     this.questionLabel = new System.Windows.Forms.Label();
     this.infoLabel     = new System.Windows.Forms.Label();
     this.options       = new System.Windows.Forms.ComboBox();
     this.okayButton    = new System.Windows.Forms.Button();
     this.checkBox      = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // questionLabel
     //
     this.questionLabel.Location = new System.Drawing.Point(16, 16);
     this.questionLabel.Name     = "questionLabel";
     this.questionLabel.Size     = new System.Drawing.Size(288, 40);
     this.questionLabel.TabIndex = 0;
     this.questionLabel.Text     = "<Label>";
     //
     // infoLabel
     //
     this.infoLabel.Location  = new System.Drawing.Point(16, 64);
     this.infoLabel.Name      = "infoLabel";
     this.infoLabel.Size      = new System.Drawing.Size(288, 16);
     this.infoLabel.TabIndex  = 0;
     this.infoLabel.Text      = "<Label>";
     this.infoLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // options
     //
     this.options.Location  = new System.Drawing.Point(16, 88);
     this.options.Name      = "options";
     this.options.Size      = new System.Drawing.Size(288, 21);
     this.options.Sorted    = true;
     this.options.TabIndex  = 1;
     this.options.Text      = "<Combo Box>";
     this.options.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.options_KeyPress);
     //
     // okayButton
     //
     this.okayButton.Location = new System.Drawing.Point(232, 160);
     this.okayButton.Name     = "okayButton";
     this.okayButton.Size     = new System.Drawing.Size(64, 24);
     this.okayButton.TabIndex = 3;
     this.okayButton.Text     = "Okay";
     this.okayButton.Click   += new System.EventHandler(this.okayClicked);
     //
     // checkBox
     //
     this.checkBox.Location = new System.Drawing.Point(16, 128);
     this.checkBox.Name     = "checkBox";
     this.checkBox.Size     = new System.Drawing.Size(280, 24);
     this.checkBox.TabIndex = 2;
     this.checkBox.Text     = "<Checkbox>";
     //
     // OptionsDialog
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(314, 200);
     this.Controls.Add(this.checkBox);
     this.Controls.Add(this.okayButton);
     this.Controls.Add(this.options);
     this.Controls.Add(this.infoLabel);
     this.Controls.Add(this.questionLabel);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name            = "OptionsDialog";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "OneNote Importer";
     this.TopMost         = true;
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.OptionsDialog_Closing);
     this.ResumeLayout(false);
 }
Ejemplo n.º 42
0
 /// <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(txtSoBenhAn));
     this.label1        = new System.Windows.Forms.Label();
     this.tu            = new System.Windows.Forms.DateTimePicker();
     this.label2        = new System.Windows.Forms.Label();
     this.den           = new System.Windows.Forms.DateTimePicker();
     this.label3        = new System.Windows.Forms.Label();
     this.cbKhoa        = new System.Windows.Forms.ComboBox();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.label4        = new System.Windows.Forms.Label();
     this.txtTim        = new System.Windows.Forms.TextBox();
     this.chkPhatQua    = new System.Windows.Forms.CheckBox();
     this.btExcel       = new System.Windows.Forms.Button();
     this.btReport      = new System.Windows.Forms.Button();
     this.butKetthuc    = new System.Windows.Forms.Button();
     this.btTonghop     = new System.Windows.Forms.Button();
     this.button1       = new System.Windows.Forms.Button();
     this.Column1       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column3       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column5       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.benhan        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.hoten         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column6       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column7       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column21      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column22      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column17      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column19      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column15      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column4       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column9       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column2       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column8       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column10      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column11      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column12      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column13      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column14      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column16      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column18      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column20      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column23      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column24      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column25      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column26      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column27      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column28      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(12, 18);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(32, 20);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(49, 18);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(86, 20);
     this.tu.TabIndex     = 0;
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(177, 20);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(32, 20);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Đến:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // den
     //
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(207, 19);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(86, 20);
     this.den.TabIndex     = 1;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(306, 19);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(48, 20);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Khoa:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cbKhoa
     //
     this.cbKhoa.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.cbKhoa.Location = new System.Drawing.Point(357, 19);
     this.cbKhoa.Name     = "cbKhoa";
     this.cbKhoa.Size     = new System.Drawing.Size(329, 21);
     this.cbKhoa.TabIndex = 2;
     this.cbKhoa.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows    = false;
     this.dataGridView1.AllowUserToDeleteRows = false;
     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.SystemColors.Window;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Column1,
         this.Column3,
         this.Column5,
         this.benhan,
         this.hoten,
         this.Column6,
         this.Column7,
         this.Column21,
         this.Column22,
         this.Column17,
         this.Column19,
         this.Column15,
         this.Column4,
         this.Column9,
         this.Column2,
         this.Column8,
         this.Column10,
         this.Column11,
         this.Column12,
         this.Column13,
         this.Column14,
         this.Column16,
         this.Column18,
         this.Column20,
         this.Column23,
         this.Column24,
         this.Column25,
         this.Column26,
         this.Column27,
         this.Column28
     });
     this.dataGridView1.Location          = new System.Drawing.Point(-2, 69);
     this.dataGridView1.MultiSelect       = false;
     this.dataGridView1.Name              = "dataGridView1";
     this.dataGridView1.RowHeadersVisible = false;
     this.dataGridView1.Size              = new System.Drawing.Size(702, 357);
     this.dataGridView1.TabIndex          = 8;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(153, 40);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(57, 20);
     this.label4.TabIndex  = 10;
     this.label4.Text      = "Tìm kiếm:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtTim
     //
     this.txtTim.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTim.Location     = new System.Drawing.Point(207, 44);
     this.txtTim.Name         = "txtTim";
     this.txtTim.Size         = new System.Drawing.Size(479, 20);
     this.txtTim.TabIndex     = 5;
     this.txtTim.TextChanged += new System.EventHandler(this.txtTim_TextChanged);
     this.txtTim.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.txthoten_KeyDown);
     //
     // chkPhatQua
     //
     this.chkPhatQua.Location        = new System.Drawing.Point(49, 43);
     this.chkPhatQua.Name            = "chkPhatQua";
     this.chkPhatQua.Size            = new System.Drawing.Size(126, 16);
     this.chkPhatQua.TabIndex        = 95;
     this.chkPhatQua.Text            = "Phát quà thôi nôi";
     this.chkPhatQua.CheckedChanged += new System.EventHandler(this.chkPhatQua_CheckedChanged);
     //
     // btExcel
     //
     this.btExcel.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btExcel.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.btExcel.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btExcel.ForeColor  = System.Drawing.Color.Black;
     this.btExcel.Image      = ((System.Drawing.Image)(resources.GetObject("btExcel.Image")));
     this.btExcel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btExcel.Location   = new System.Drawing.Point(433, 445);
     this.btExcel.Name       = "btExcel";
     this.btExcel.Size       = new System.Drawing.Size(84, 25);
     this.btExcel.TabIndex   = 7;
     this.btExcel.Text       = "   &Excel";
     this.btExcel.Click     += new System.EventHandler(this.btExcel_Click);
     //
     // btReport
     //
     this.btReport.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btReport.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.btReport.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btReport.ForeColor  = System.Drawing.Color.Black;
     this.btReport.Image      = global::Medisoft.Properties.Resources.chonkhoa;
     this.btReport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btReport.Location   = new System.Drawing.Point(518, 445);
     this.btReport.Name       = "btReport";
     this.btReport.Size       = new System.Drawing.Size(84, 25);
     this.btReport.TabIndex   = 8;
     this.btReport.Text       = "   &Report";
     this.btReport.Click     += new System.EventHandler(this.btReport_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butKetthuc.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.butKetthuc.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.butKetthuc.ForeColor  = System.Drawing.Color.Black;
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(603, 445);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(84, 25);
     this.butKetthuc.TabIndex   = 9;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // btTonghop
     //
     this.btTonghop.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btTonghop.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.btTonghop.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btTonghop.ForeColor  = System.Drawing.Color.Black;
     this.btTonghop.Image      = global::Medisoft.Properties.Resources.ok;
     this.btTonghop.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btTonghop.Location   = new System.Drawing.Point(263, 445);
     this.btTonghop.Name       = "btTonghop";
     this.btTonghop.Size       = new System.Drawing.Size(84, 25);
     this.btTonghop.TabIndex   = 6;
     this.btTonghop.Text       = "  &Tổng hợp";
     this.btTonghop.Click     += new System.EventHandler(this.butIN_Click);
     //
     // button1
     //
     this.button1.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.button1.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor  = System.Drawing.Color.Black;
     this.button1.Image      = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
     this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.button1.Location   = new System.Drawing.Point(348, 445);
     this.button1.Name       = "button1";
     this.button1.Size       = new System.Drawing.Size(84, 25);
     this.button1.TabIndex   = 96;
     this.button1.Text       = "   &Excel";
     //
     // Column1
     //
     this.Column1.DataPropertyName = "stt";
     this.Column1.HeaderText       = "STT";
     this.Column1.Name             = "Column1";
     this.Column1.Width            = 30;
     //
     // Column3
     //
     this.Column3.DataPropertyName = "mabn";
     this.Column3.HeaderText       = "Mã BN";
     this.Column3.Name             = "Column3";
     //
     // Column5
     //
     this.Column5.DataPropertyName = "sovaovien";
     this.Column5.HeaderText       = "Số vào viện";
     this.Column5.Name             = "Column5";
     //
     // benhan
     //
     this.benhan.DataPropertyName = "benhan";
     this.benhan.HeaderText       = "Thuộc bệnh án";
     this.benhan.Name             = "benhan";
     this.benhan.Width            = 130;
     //
     // hoten
     //
     this.hoten.DataPropertyName = "hoten";
     this.hoten.HeaderText       = "Họ tên";
     this.hoten.Name             = "hoten";
     this.hoten.Width            = 170;
     //
     // Column6
     //
     this.Column6.DataPropertyName = "nam";
     this.Column6.HeaderText       = "Nam";
     this.Column6.Name             = "Column6";
     this.Column6.Width            = 50;
     //
     // Column7
     //
     this.Column7.DataPropertyName = "nu";
     this.Column7.HeaderText       = "Nữ";
     this.Column7.Name             = "Column7";
     this.Column7.Width            = 50;
     //
     // Column21
     //
     this.Column21.DataPropertyName = "CDvao";
     this.Column21.HeaderText       = "CD vào";
     this.Column21.Name             = "Column21";
     this.Column21.Width            = 150;
     //
     // Column22
     //
     this.Column22.DataPropertyName = "CDra";
     this.Column22.HeaderText       = "CD ra";
     this.Column22.Name             = "Column22";
     this.Column22.Width            = 150;
     //
     // Column17
     //
     this.Column17.DataPropertyName = "vaovien";
     this.Column17.HeaderText       = "Vào viện";
     this.Column17.Name             = "Column17";
     this.Column17.Width            = 80;
     //
     // Column19
     //
     this.Column19.DataPropertyName = "ravien";
     this.Column19.HeaderText       = "Ra viện";
     this.Column19.Name             = "Column19";
     this.Column19.Width            = 80;
     //
     // Column15
     //
     this.Column15.DataPropertyName = "diachi";
     this.Column15.HeaderText       = "Địa chỉ";
     this.Column15.Name             = "Column15";
     //
     // Column4
     //
     this.Column4.DataPropertyName = "dienthoai";
     this.Column4.HeaderText       = "Điện thoại";
     this.Column4.Name             = "Column4";
     this.Column4.Width            = 50;
     //
     // Column9
     //
     this.Column9.DataPropertyName = "bhyt";
     this.Column9.HeaderText       = "Có BHYT";
     this.Column9.Name             = "Column9";
     this.Column9.Width            = 50;
     //
     // Column2
     //
     this.Column2.DataPropertyName = "soluutru";
     this.Column2.HeaderText       = "Số lưu trữ";
     this.Column2.Name             = "Column2";
     //
     // Column8
     //
     this.Column8.DataPropertyName = "CVC";
     this.Column8.HeaderText       = "Công nhân viên";
     this.Column8.Name             = "Column8";
     this.Column8.Width            = 130;
     //
     // Column10
     //
     this.Column10.DataPropertyName = "thanhthi";
     this.Column10.HeaderText       = "Thành thị";
     this.Column10.Name             = "Column10";
     //
     // Column11
     //
     this.Column11.DataPropertyName = "nongthon";
     this.Column11.HeaderText       = "Nông thôn";
     this.Column11.Name             = "Column11";
     //
     // Column12
     //
     this.Column12.DataPropertyName = "TEduoi12";
     this.Column12.HeaderText       = "TE < 12 tháng";
     this.Column12.Name             = "Column12";
     //
     // Column13
     //
     this.Column13.DataPropertyName = "TE1-15";
     this.Column13.HeaderText       = "TE 1-15 tuổi";
     this.Column13.Name             = "Column13";
     this.Column13.Width            = 80;
     //
     // Column14
     //
     this.Column14.DataPropertyName = "nghenghiep";
     this.Column14.HeaderText       = "Nghề nghiệp";
     this.Column14.Name             = "Column14";
     this.Column14.Width            = 120;
     //
     // Column16
     //
     this.Column16.DataPropertyName = "noigioithieu";
     this.Column16.HeaderText       = "Nơi giới thiệu";
     this.Column16.Name             = "Column16";
     //
     // Column18
     //
     this.Column18.DataPropertyName = "chuyenvien";
     this.Column18.HeaderText       = "Chuyển viện";
     this.Column18.Name             = "Column18";
     this.Column18.Width            = 80;
     //
     // Column20
     //
     this.Column20.DataPropertyName = "CDGioithieu";
     this.Column20.HeaderText       = "CD giới thiệu";
     this.Column20.Name             = "Column20";
     this.Column20.Width            = 150;
     //
     // Column23
     //
     this.Column23.DataPropertyName = "kq_1";
     this.Column23.HeaderText       = "Khỏi";
     this.Column23.Name             = "Column23";
     this.Column23.Width            = 30;
     //
     // Column24
     //
     this.Column24.DataPropertyName = "kq_2";
     this.Column24.HeaderText       = "Đỡ, giảm";
     this.Column24.Name             = "Column24";
     this.Column24.Width            = 80;
     //
     // Column25
     //
     this.Column25.DataPropertyName = "kq_3";
     this.Column25.HeaderText       = "Không thay đổi";
     this.Column25.Name             = "Column25";
     //
     // Column26
     //
     this.Column26.DataPropertyName = "kq_4";
     this.Column26.HeaderText       = "Nặng hơn";
     this.Column26.Name             = "Column26";
     this.Column26.Width            = 50;
     //
     // Column27
     //
     this.Column27.DataPropertyName = "kq_5";
     this.Column27.HeaderText       = "Tử vong";
     this.Column27.Name             = "Column27";
     this.Column27.Width            = 50;
     //
     // Column28
     //
     this.Column28.DataPropertyName = "phatqua";
     this.Column28.HeaderText       = "Phát quà";
     this.Column28.Name             = "Column28";
     this.Column28.Visible          = false;
     //
     // txtSoBenhAn
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(698, 482);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.txtTim);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.chkPhatQua);
     this.Controls.Add(this.btExcel);
     this.Controls.Add(this.btReport);
     this.Controls.Add(this.dataGridView1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.btTonghop);
     this.Controls.Add(this.cbKhoa);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.den);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "txtSoBenhAn";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Sổ lưu trữ hồ sơ bệnh án";
     this.Load           += new System.EventHandler(this.frmSoluutruhosobenhan_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo 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.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37622D, 345D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37623D, 634D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37624D, 154D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37625D, 765D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37626D, 376D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37627D, 600D);
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend2     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series2     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37622D, 345D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37623D, 634D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37624D, 154D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37625D, 765D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37626D, 376D);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37627D, 457D);
     this.label9               = new System.Windows.Forms.Label();
     this.panel1               = new System.Windows.Forms.Panel();
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.checkBoxFontSize     = new System.Windows.Forms.CheckBox();
     this.labelAngle           = new System.Windows.Forms.Label();
     this.checkBoxWordWrap     = new System.Windows.Forms.CheckBox();
     this.checkBoxOffsetLabels = new System.Windows.Forms.CheckBox();
     this.comboBoInclination   = new System.Windows.Forms.ComboBox();
     this.checkBoxAutoFit      = new System.Windows.Forms.CheckBox();
     this.Chart1               = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.chart2               = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label2               = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font      = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(16, 8);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(702, 34);
     this.label9.TabIndex  = 0;
     this.label9.Text      = "This sample demonstrates how to automatically fit labels along an axis. ";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.checkBoxAutoFit);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.checkBoxFontSize);
     this.groupBox1.Controls.Add(this.labelAngle);
     this.groupBox1.Controls.Add(this.checkBoxWordWrap);
     this.groupBox1.Controls.Add(this.checkBoxOffsetLabels);
     this.groupBox1.Controls.Add(this.comboBoInclination);
     this.groupBox1.Location = new System.Drawing.Point(16, 40);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(272, 160);
     this.groupBox1.TabIndex = 11;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Automatic Fitting Style:";
     //
     // checkBoxFontSize
     //
     this.checkBoxFontSize.Checked         = true;
     this.checkBoxFontSize.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxFontSize.Enabled         = false;
     this.checkBoxFontSize.Location        = new System.Drawing.Point(32, 24);
     this.checkBoxFontSize.Name            = "checkBoxFontSize";
     this.checkBoxFontSize.Size            = new System.Drawing.Size(216, 24);
     this.checkBoxFontSize.TabIndex        = 2;
     this.checkBoxFontSize.Text            = "Modify Font &Size";
     this.checkBoxFontSize.CheckedChanged += new System.EventHandler(this.checkBoxFontSize_CheckedChanged);
     //
     // labelAngle
     //
     this.labelAngle.Enabled   = false;
     this.labelAngle.Location  = new System.Drawing.Point(24, 120);
     this.labelAngle.Name      = "labelAngle";
     this.labelAngle.Size      = new System.Drawing.Size(96, 23);
     this.labelAngle.TabIndex  = 5;
     this.labelAngle.Text      = "Labels &Angle:";
     this.labelAngle.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // checkBoxWordWrap
     //
     this.checkBoxWordWrap.Checked         = true;
     this.checkBoxWordWrap.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxWordWrap.Enabled         = false;
     this.checkBoxWordWrap.Location        = new System.Drawing.Point(32, 88);
     this.checkBoxWordWrap.Name            = "checkBoxWordWrap";
     this.checkBoxWordWrap.Size            = new System.Drawing.Size(216, 24);
     this.checkBoxWordWrap.TabIndex        = 4;
     this.checkBoxWordWrap.Text            = "Use Word &Wrap";
     this.checkBoxWordWrap.CheckedChanged += new System.EventHandler(this.checkBoxWordWrap_CheckedChanged);
     //
     // checkBoxOffsetLabels
     //
     this.checkBoxOffsetLabels.Checked         = true;
     this.checkBoxOffsetLabels.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxOffsetLabels.Enabled         = false;
     this.checkBoxOffsetLabels.Location        = new System.Drawing.Point(32, 56);
     this.checkBoxOffsetLabels.Name            = "checkBoxOffsetLabels";
     this.checkBoxOffsetLabels.Size            = new System.Drawing.Size(216, 24);
     this.checkBoxOffsetLabels.TabIndex        = 3;
     this.checkBoxOffsetLabels.Text            = "Use &Offset Labels";
     this.checkBoxOffsetLabels.CheckedChanged += new System.EventHandler(this.checkBoxOffsetLabels_CheckedChanged);
     //
     // comboBoInclination
     //
     this.comboBoInclination.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoInclination.Enabled       = false;
     this.comboBoInclination.Items.AddRange(new object[] {
         "Not Changed",
         "0-30-60-90",
         "0-45-90",
         "0-90"
     });
     this.comboBoInclination.Location              = new System.Drawing.Point(128, 120);
     this.comboBoInclination.Name                  = "comboBoInclination";
     this.comboBoInclination.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoInclination.TabIndex              = 6;
     this.comboBoInclination.SelectedIndexChanged += new System.EventHandler(this.comboBoInclination_SelectedIndexChanged);
     //
     // checkBoxAutoFit
     //
     this.checkBoxAutoFit.Checked         = true;
     this.checkBoxAutoFit.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAutoFit.Location        = new System.Drawing.Point(48, 8);
     this.checkBoxAutoFit.Name            = "checkBoxAutoFit";
     this.checkBoxAutoFit.Size            = new System.Drawing.Size(228, 24);
     this.checkBoxAutoFit.TabIndex        = 0;
     this.checkBoxAutoFit.Text            = "Automatically Fit &X Axis Labels";
     this.checkBoxAutoFit.CheckedChanged += new System.EventHandler(this.checkBoxAutoFit_CheckedChanged);
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Format      = "ddd, MMM dd";
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX2.Enabled               = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisY.IsLabelAutoFit         = false;
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LabelStyle.Format      = "C";
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY2.Enabled               = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.Legend       = "Default";
     series1.Name         = "Series1";
     dataPoint1.AxisLabel = "";
     dataPoint2.AxisLabel = "";
     dataPoint3.AxisLabel = "";
     dataPoint4.AxisLabel = "";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.DateTime;
     this.Chart1.Series.Add(series1);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     this.Chart1.Click   += new System.EventHandler(this.Chart1_Click);
     //
     // chart2
     //
     this.chart2.BorderlineColor               = System.Drawing.Color.DimGray;
     this.chart2.BorderlineDashStyle           = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart2.BorderSkin.BackSecondaryColor = System.Drawing.Color.White;
     this.chart2.BorderSkin.PageColor          = System.Drawing.SystemColors.Control;
     chartArea2.AxisX.IsLabelAutoFit           = false;
     chartArea2.AxisX.LabelStyle.Format        = "ddd, MMM dd";
     chartArea2.AxisX2.Enabled          = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea2.AxisY.LabelStyle.Format = "C";
     chartArea2.AxisY2.Enabled          = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea2.BackColor       = System.Drawing.Color.LightGray;
     chartArea2.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea2.Name            = "Default";
     chartArea2.ShadowOffset    = 1;
     this.chart2.ChartAreas.Add(chartArea2);
     legend2.BackColor   = System.Drawing.Color.White;
     legend2.BorderColor = System.Drawing.Color.Black;
     legend2.Enabled     = false;
     legend2.Name        = "Default";
     this.chart2.Legends.Add(legend2);
     this.chart2.Location       = new System.Drawing.Point(16, 48);
     this.chart2.Name           = "chart2";
     this.chart2.Palette        = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Excel;
     series2.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.VerticalCenter;
     series2.BackSecondaryColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     series2.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     series2.ChartArea          = "Default";
     series2.Legend             = "Default";
     series2.Name          = "Series1";
     dataPoint7.AxisLabel  = "";
     dataPoint8.AxisLabel  = "";
     dataPoint9.AxisLabel  = "";
     dataPoint10.AxisLabel = "";
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series2.Points.Add(dataPoint9);
     series2.Points.Add(dataPoint10);
     series2.Points.Add(dataPoint11);
     series2.Points.Add(dataPoint12);
     series2.ShadowOffset = 1;
     series2.XValueType   = System.Windows.Forms.DataVisualization.Charting.ChartValueType.DateTime;
     this.chart2.Series.Add(series2);
     this.chart2.Size     = new System.Drawing.Size(360, 260);
     this.chart2.TabIndex = 0;
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Font     = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(20, 360);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(692, 34);
     this.label2.TabIndex = 3;
     this.label2.Text     = "For more information on this sample, Click the Overview tab at the top of this fr" +
                            "ame.";
     //
     // AutoFitAxesLabels
     //
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.chart2);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "AutoFitAxesLabels";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.CustomLabels_Load);
     this.panel1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 44
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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FCompetition));
     this.lblName              = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.txtName              = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.btnCancel            = new System.Windows.Forms.Button();
     this.lblStartDate         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.dateTimePicker1      = new System.Windows.Forms.DateTimePicker();
     this.lblStartTime         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numStartHour         = new System.Windows.Forms.NumericUpDown();
     this.lblPatrolTime        = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numPatrolTime        = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel1           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numPatrolTimeBetween = new System.Windows.Forms.NumericUpDown();
     this.numPatrolSize        = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel2           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.SafeLabel3           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numPatrolRest        = new System.Windows.Forms.NumericUpDown();
     this.btnSave              = new System.Windows.Forms.Button();
     this.chkNorwegianCount    = new System.Windows.Forms.CheckBox();
     this.numStartMinute       = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel4           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.SafeLabel5           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.SafeLabel6           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.SafeLabel7           = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
     this.chkFinal             = new System.Windows.Forms.CheckBox();
     this.chkUsePriceMoney     = new System.Windows.Forms.CheckBox();
     this.numPriceMoneyReturn  = new System.Windows.Forms.NumericUpDown();
     this.label1    = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.numShoterPercentWithPrice = new System.Windows.Forms.NumericUpDown();
     this.label4        = new System.Windows.Forms.Label();
     this.txtFirstPrice = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.txtShooterFee = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.numStartHour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolTime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolTimeBetween)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolSize)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolRest)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numStartMinute)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPriceMoneyReturn)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numShoterPercentWithPrice)).BeginInit();
     this.SuspendLayout();
     //
     // lblName
     //
     this.lblName.Location = new System.Drawing.Point(8, 8);
     this.lblName.Name     = "lblName";
     this.lblName.TabIndex = 0;
     this.lblName.Text     = "Namn";
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(112, 8);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(296, 20);
     this.txtName.TabIndex = 1;
     this.txtName.Text     = "";
     this.toolTip1.SetToolTip(this.txtName, "Fyll i namnet på tävlingen. Detta kommer att bl.a. visas på utskrifter.");
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(328, 192);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 17;
     this.btnCancel.Text         = "Stäng";
     this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret utan att spara.");
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // lblStartDate
     //
     this.lblStartDate.Location = new System.Drawing.Point(8, 32);
     this.lblStartDate.Name     = "lblStartDate";
     this.lblStartDate.TabIndex = 3;
     this.lblStartDate.Text     = "Startdatum";
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Location = new System.Drawing.Point(112, 32);
     this.dateTimePicker1.Name     = "dateTimePicker1";
     this.dateTimePicker1.Size     = new System.Drawing.Size(152, 20);
     this.dateTimePicker1.TabIndex = 2;
     this.toolTip1.SetToolTip(this.dateTimePicker1, "Fyll i datum för tävlingen");
     //
     // lblStartTime
     //
     this.lblStartTime.Location = new System.Drawing.Point(8, 56);
     this.lblStartTime.Name     = "lblStartTime";
     this.lblStartTime.TabIndex = 5;
     this.lblStartTime.Text     = "Starttid";
     //
     // numStartHour
     //
     this.numStartHour.Location = new System.Drawing.Point(112, 56);
     this.numStartHour.Maximum  = new System.Decimal(new int[] {
         23,
         0,
         0,
         0
     });
     this.numStartHour.Name      = "numStartHour";
     this.numStartHour.Size      = new System.Drawing.Size(40, 20);
     this.numStartHour.TabIndex  = 3;
     this.numStartHour.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numStartHour, "Fyll i första patrullens starttid (timme)");
     this.numStartHour.Value = new System.Decimal(new int[] {
         8,
         0,
         0,
         0
     });
     this.numStartHour.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numStartHour_KeyUp);
     //
     // lblPatrolTime
     //
     this.lblPatrolTime.Location = new System.Drawing.Point(8, 80);
     this.lblPatrolTime.Name     = "lblPatrolTime";
     this.lblPatrolTime.TabIndex = 7;
     this.lblPatrolTime.Text     = "Patrulltid";
     //
     // numPatrolTime
     //
     this.numPatrolTime.Location = new System.Drawing.Point(112, 80);
     this.numPatrolTime.Maximum  = new System.Decimal(new int[] {
         240,
         0,
         0,
         0
     });
     this.numPatrolTime.Name      = "numPatrolTime";
     this.numPatrolTime.Size      = new System.Drawing.Size(40, 20);
     this.numPatrolTime.TabIndex  = 5;
     this.numPatrolTime.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numPatrolTime, "Fyll i hur lång tid en patrull beräknas ta på sig för att gå ett varv");
     this.numPatrolTime.Value = new System.Decimal(new int[] {
         60,
         0,
         0,
         0
     });
     this.numPatrolTime.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolTime_KeyUp);
     //
     // SafeLabel1
     //
     this.SafeLabel1.Location = new System.Drawing.Point(8, 104);
     this.SafeLabel1.Name     = "SafeLabel1";
     this.SafeLabel1.Size     = new System.Drawing.Size(104, 23);
     this.SafeLabel1.TabIndex = 9;
     this.SafeLabel1.Text     = "Tid mellan patruller";
     //
     // numPatrolTimeBetween
     //
     this.numPatrolTimeBetween.Location  = new System.Drawing.Point(112, 104);
     this.numPatrolTimeBetween.Name      = "numPatrolTimeBetween";
     this.numPatrolTimeBetween.Size      = new System.Drawing.Size(40, 20);
     this.numPatrolTimeBetween.TabIndex  = 6;
     this.numPatrolTimeBetween.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numPatrolTimeBetween, "Fyll i hur lång tid det ska vara mellan patrullerna");
     this.numPatrolTimeBetween.Value = new System.Decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numPatrolTimeBetween.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolTimeBetween_KeyUp);
     //
     // numPatrolSize
     //
     this.numPatrolSize.Location = new System.Drawing.Point(112, 128);
     this.numPatrolSize.Maximum  = new System.Decimal(new int[] {
         15,
         0,
         0,
         0
     });
     this.numPatrolSize.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numPatrolSize.Name      = "numPatrolSize";
     this.numPatrolSize.Size      = new System.Drawing.Size(40, 20);
     this.numPatrolSize.TabIndex  = 7;
     this.numPatrolSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numPatrolSize, "Fyll i patrullens maxstorlek");
     this.numPatrolSize.Value = new System.Decimal(new int[] {
         8,
         0,
         0,
         0
     });
     this.numPatrolSize.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolSize_KeyUp);
     //
     // SafeLabel2
     //
     this.SafeLabel2.Location = new System.Drawing.Point(8, 128);
     this.SafeLabel2.Name     = "SafeLabel2";
     this.SafeLabel2.TabIndex = 12;
     this.SafeLabel2.Text     = "Patrullstorlek";
     //
     // SafeLabel3
     //
     this.SafeLabel3.Location = new System.Drawing.Point(8, 152);
     this.SafeLabel3.Name     = "SafeLabel3";
     this.SafeLabel3.TabIndex = 13;
     this.SafeLabel3.Text     = "Vilotid";
     //
     // numPatrolRest
     //
     this.numPatrolRest.Location  = new System.Drawing.Point(112, 152);
     this.numPatrolRest.Name      = "numPatrolRest";
     this.numPatrolRest.Size      = new System.Drawing.Size(40, 20);
     this.numPatrolRest.TabIndex  = 8;
     this.numPatrolRest.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numPatrolRest, "Fyll i vilotiden. Det är tiden från att en patrull ska vara tillbaka tills en sky" +
                              "tt kan planeras in i nästa patrull");
     this.numPatrolRest.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numPatrolRest_KeyUp);
     //
     // btnSave
     //
     this.btnSave.Location = new System.Drawing.Point(248, 192);
     this.btnSave.Name     = "btnSave";
     this.btnSave.TabIndex = 16;
     this.btnSave.Text     = "Spara";
     this.toolTip1.SetToolTip(this.btnSave, "Spara tävlingsinformation samt stäng fönstret");
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // chkNorwegianCount
     //
     this.chkNorwegianCount.Location = new System.Drawing.Point(72, 176);
     this.chkNorwegianCount.Name     = "chkNorwegianCount";
     this.chkNorwegianCount.Size     = new System.Drawing.Size(136, 24);
     this.chkNorwegianCount.TabIndex = 9;
     this.chkNorwegianCount.Text     = "Poängfältskjutning";
     this.toolTip1.SetToolTip(this.chkNorwegianCount, "Här väljer du om det ska vara poängfältskjutning, vilket också kallas för norsk r" +
                              "äkning");
     //
     // numStartMinute
     //
     this.numStartMinute.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numStartMinute.Location = new System.Drawing.Point(160, 56);
     this.numStartMinute.Maximum  = new System.Decimal(new int[] {
         55,
         0,
         0,
         0
     });
     this.numStartMinute.Name      = "numStartMinute";
     this.numStartMinute.Size      = new System.Drawing.Size(40, 20);
     this.numStartMinute.TabIndex  = 4;
     this.numStartMinute.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numStartMinute, "Fyll i första patrullens starttid (minut)");
     this.numStartMinute.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numStartMinute_KeyUp);
     //
     // SafeLabel4
     //
     this.SafeLabel4.Location = new System.Drawing.Point(160, 80);
     this.SafeLabel4.Name     = "SafeLabel4";
     this.SafeLabel4.Size     = new System.Drawing.Size(48, 23);
     this.SafeLabel4.TabIndex = 14;
     this.SafeLabel4.Text     = "minuter";
     //
     // SafeLabel5
     //
     this.SafeLabel5.Location = new System.Drawing.Point(160, 104);
     this.SafeLabel5.Name     = "SafeLabel5";
     this.SafeLabel5.Size     = new System.Drawing.Size(48, 23);
     this.SafeLabel5.TabIndex = 15;
     this.SafeLabel5.Text     = "minuter";
     //
     // SafeLabel6
     //
     this.SafeLabel6.Location = new System.Drawing.Point(160, 152);
     this.SafeLabel6.Name     = "SafeLabel6";
     this.SafeLabel6.Size     = new System.Drawing.Size(48, 23);
     this.SafeLabel6.TabIndex = 16;
     this.SafeLabel6.Text     = "minuter";
     //
     // SafeLabel7
     //
     this.SafeLabel7.Location = new System.Drawing.Point(160, 128);
     this.SafeLabel7.Name     = "SafeLabel7";
     this.SafeLabel7.Size     = new System.Drawing.Size(48, 23);
     this.SafeLabel7.TabIndex = 17;
     this.SafeLabel7.Text     = "stycken";
     //
     // chkFinal
     //
     this.chkFinal.Location = new System.Drawing.Point(72, 200);
     this.chkFinal.Name     = "chkFinal";
     this.chkFinal.Size     = new System.Drawing.Size(136, 24);
     this.chkFinal.TabIndex = 10;
     this.chkFinal.Text     = "Särskjutning";
     this.toolTip1.SetToolTip(this.chkFinal, "Här väljer du om det ska vara särskjutning");
     //
     // chkUsePriceMoney
     //
     this.chkUsePriceMoney.Location        = new System.Drawing.Point(8, 16);
     this.chkUsePriceMoney.Name            = "chkUsePriceMoney";
     this.chkUsePriceMoney.Size            = new System.Drawing.Size(88, 24);
     this.chkUsePriceMoney.TabIndex        = 11;
     this.chkUsePriceMoney.Text            = "Prispengar";
     this.chkUsePriceMoney.CheckedChanged += new System.EventHandler(this.chkUsePriceMoney_CheckedChanged);
     //
     // numPriceMoneyReturn
     //
     this.numPriceMoneyReturn.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numPriceMoneyReturn.Location = new System.Drawing.Point(136, 32);
     this.numPriceMoneyReturn.Minimum  = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numPriceMoneyReturn.Name      = "numPriceMoneyReturn";
     this.numPriceMoneyReturn.ReadOnly  = true;
     this.numPriceMoneyReturn.Size      = new System.Drawing.Size(48, 20);
     this.numPriceMoneyReturn.TabIndex  = 12;
     this.numPriceMoneyReturn.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numPriceMoneyReturn.Value     = new System.Decimal(new int[] {
         40,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 40);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(96, 23);
     this.label1.TabIndex = 21;
     this.label1.Text     = "Återbetalning (%)";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.numShoterPercentWithPrice);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.txtFirstPrice);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtShooterFee);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.chkUsePriceMoney);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.numPriceMoneyReturn);
     this.groupBox1.Location = new System.Drawing.Point(216, 56);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(192, 128);
     this.groupBox1.TabIndex = 22;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Prispengar";
     //
     // numShoterPercentWithPrice
     //
     this.numShoterPercentWithPrice.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numShoterPercentWithPrice.Location = new System.Drawing.Point(136, 56);
     this.numShoterPercentWithPrice.Minimum  = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numShoterPercentWithPrice.Name      = "numShoterPercentWithPrice";
     this.numShoterPercentWithPrice.ReadOnly  = true;
     this.numShoterPercentWithPrice.Size      = new System.Drawing.Size(48, 20);
     this.numShoterPercentWithPrice.TabIndex  = 13;
     this.numShoterPercentWithPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numShoterPercentWithPrice.Value     = new System.Decimal(new int[] {
         25,
         0,
         0,
         0
     });
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 56);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(112, 16);
     this.label4.TabIndex = 26;
     this.label4.Text     = "Skyttar med pris (%)";
     //
     // txtFirstPrice
     //
     this.txtFirstPrice.Location  = new System.Drawing.Point(120, 104);
     this.txtFirstPrice.Name      = "txtFirstPrice";
     this.txtFirstPrice.ReadOnly  = true;
     this.txtFirstPrice.Size      = new System.Drawing.Size(64, 20);
     this.txtFirstPrice.TabIndex  = 15;
     this.txtFirstPrice.Text      = "250";
     this.txtFirstPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 104);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 20);
     this.label3.TabIndex = 24;
     this.label3.Text     = "Förstapris";
     //
     // txtShooterFee
     //
     this.txtShooterFee.Location  = new System.Drawing.Point(120, 80);
     this.txtShooterFee.Name      = "txtShooterFee";
     this.txtShooterFee.ReadOnly  = true;
     this.txtShooterFee.Size      = new System.Drawing.Size(64, 20);
     this.txtShooterFee.TabIndex  = 14;
     this.txtShooterFee.Text      = "100";
     this.txtShooterFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 80);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 22;
     this.label2.Text     = "Anmälningsavgift";
     //
     // FCompetition
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(416, 230);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.chkFinal);
     this.Controls.Add(this.SafeLabel7);
     this.Controls.Add(this.SafeLabel6);
     this.Controls.Add(this.SafeLabel5);
     this.Controls.Add(this.SafeLabel4);
     this.Controls.Add(this.numStartMinute);
     this.Controls.Add(this.chkNorwegianCount);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.numPatrolRest);
     this.Controls.Add(this.SafeLabel3);
     this.Controls.Add(this.SafeLabel2);
     this.Controls.Add(this.numPatrolSize);
     this.Controls.Add(this.numPatrolTimeBetween);
     this.Controls.Add(this.SafeLabel1);
     this.Controls.Add(this.numPatrolTime);
     this.Controls.Add(this.lblPatrolTime);
     this.Controls.Add(this.numStartHour);
     this.Controls.Add(this.lblStartTime);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.lblStartDate);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.txtName);
     this.Controls.Add(this.lblName);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "FCompetition";
     this.Text        = "Tävlingsinfo";
     ((System.ComponentModel.ISupportInitialize)(this.numStartHour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolTime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolTimeBetween)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolSize)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPatrolRest)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numStartMinute)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numPriceMoneyReturn)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numShoterPercentWithPrice)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 45
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.checkBox2 = new System.Windows.Forms.CheckBox();
     this.label1    = new System.Windows.Forms.Label();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.button1   = new System.Windows.Forms.Button();
     this.windRose1 = new Steema.TeeChart.Styles.WindRose();
     this.windRose2 = new Steema.TeeChart.Styles.WindRose();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(466, 63);
     this.textBox1.Text = "Wind-Rose series is a polar chart showing geographical coordinates around the cir" +
                          "cle. ( N = North, S = South, W = West, E = East ).\r\n\r\nDisplays more than one ser" +
                          "ies at the same time, each one with specific properties.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Location = new System.Drawing.Point(0, 63);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(466, 41);
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.Elevation         = 315;
     this.tChart1.Aspect.Orthogonal        = false;
     this.tChart1.Aspect.Perspective       = 0;
     this.tChart1.Aspect.Rotation          = 360;
     this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
     this.tChart1.Aspect.View3D            = false;
     //
     // tChart1.Axes
     //
     //
     // tChart1.Axes.Bottom
     //
     //
     // tChart1.Axes.Bottom.Labels
     //
     //
     // tChart1.Axes.Bottom.Labels.Font
     //
     //
     // tChart1.Axes.Bottom.Labels.Font.Shadow
     //
     this.tChart1.Axes.Bottom.Labels.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Bottom.Labels.Shadow
     //
     this.tChart1.Axes.Bottom.Labels.Shadow.Visible = false;
     //
     // tChart1.Axes.Bottom.Title
     //
     //
     // tChart1.Axes.Bottom.Title.Font
     //
     //
     // tChart1.Axes.Bottom.Title.Font.Shadow
     //
     this.tChart1.Axes.Bottom.Title.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Bottom.Title.Shadow
     //
     this.tChart1.Axes.Bottom.Title.Shadow.Visible = false;
     //
     // tChart1.Axes.Depth
     //
     //
     // tChart1.Axes.Depth.Labels
     //
     //
     // tChart1.Axes.Depth.Labels.Font
     //
     //
     // tChart1.Axes.Depth.Labels.Font.Shadow
     //
     this.tChart1.Axes.Depth.Labels.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Depth.Labels.Shadow
     //
     this.tChart1.Axes.Depth.Labels.Shadow.Visible = false;
     //
     // tChart1.Axes.Depth.Title
     //
     //
     // tChart1.Axes.Depth.Title.Font
     //
     //
     // tChart1.Axes.Depth.Title.Font.Shadow
     //
     this.tChart1.Axes.Depth.Title.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Depth.Title.Shadow
     //
     this.tChart1.Axes.Depth.Title.Shadow.Visible = false;
     //
     // tChart1.Axes.DepthTop
     //
     //
     // tChart1.Axes.DepthTop.Labels
     //
     //
     // tChart1.Axes.DepthTop.Labels.Font
     //
     //
     // tChart1.Axes.DepthTop.Labels.Font.Shadow
     //
     this.tChart1.Axes.DepthTop.Labels.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.DepthTop.Labels.Shadow
     //
     this.tChart1.Axes.DepthTop.Labels.Shadow.Visible = false;
     //
     // tChart1.Axes.DepthTop.Title
     //
     //
     // tChart1.Axes.DepthTop.Title.Font
     //
     //
     // tChart1.Axes.DepthTop.Title.Font.Shadow
     //
     this.tChart1.Axes.DepthTop.Title.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.DepthTop.Title.Shadow
     //
     this.tChart1.Axes.DepthTop.Title.Shadow.Visible = false;
     //
     // tChart1.Axes.Left
     //
     //
     // tChart1.Axes.Left.Labels
     //
     //
     // tChart1.Axes.Left.Labels.Font
     //
     //
     // tChart1.Axes.Left.Labels.Font.Shadow
     //
     this.tChart1.Axes.Left.Labels.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Left.Labels.Shadow
     //
     this.tChart1.Axes.Left.Labels.Shadow.Visible = false;
     this.tChart1.Axes.Left.LogarithmicBase       = 2;
     //
     // tChart1.Axes.Left.Title
     //
     //
     // tChart1.Axes.Left.Title.Font
     //
     //
     // tChart1.Axes.Left.Title.Font.Shadow
     //
     this.tChart1.Axes.Left.Title.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Left.Title.Shadow
     //
     this.tChart1.Axes.Left.Title.Shadow.Visible = false;
     //
     // tChart1.Axes.Right
     //
     //
     // tChart1.Axes.Right.Labels
     //
     //
     // tChart1.Axes.Right.Labels.Font
     //
     //
     // tChart1.Axes.Right.Labels.Font.Shadow
     //
     this.tChart1.Axes.Right.Labels.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Right.Labels.Shadow
     //
     this.tChart1.Axes.Right.Labels.Shadow.Visible = false;
     //
     // tChart1.Axes.Right.Title
     //
     //
     // tChart1.Axes.Right.Title.Font
     //
     //
     // tChart1.Axes.Right.Title.Font.Shadow
     //
     this.tChart1.Axes.Right.Title.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Right.Title.Shadow
     //
     this.tChart1.Axes.Right.Title.Shadow.Visible = false;
     //
     // tChart1.Axes.Top
     //
     //
     // tChart1.Axes.Top.Labels
     //
     //
     // tChart1.Axes.Top.Labels.Font
     //
     //
     // tChart1.Axes.Top.Labels.Font.Shadow
     //
     this.tChart1.Axes.Top.Labels.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Top.Labels.Shadow
     //
     this.tChart1.Axes.Top.Labels.Shadow.Visible = false;
     //
     // tChart1.Axes.Top.Title
     //
     //
     // tChart1.Axes.Top.Title.Font
     //
     //
     // tChart1.Axes.Top.Title.Font.Shadow
     //
     this.tChart1.Axes.Top.Title.Font.Shadow.Visible = false;
     //
     // tChart1.Axes.Top.Title.Shadow
     //
     this.tChart1.Axes.Top.Title.Shadow.Visible = false;
     this.tChart1.BackColor = System.Drawing.Color.Gray;
     //
     // tChart1.Footer
     //
     //
     // tChart1.Footer.Font
     //
     //
     // tChart1.Footer.Font.Shadow
     //
     this.tChart1.Footer.Font.Shadow.Visible = false;
     //
     // tChart1.Footer.Shadow
     //
     this.tChart1.Footer.Shadow.Visible = false;
     //
     // tChart1.Header
     //
     //
     // tChart1.Header.Brush
     //
     this.tChart1.Header.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0)));
     //
     // tChart1.Header.Font
     //
     this.tChart1.Header.Font.Bold = true;
     //
     // tChart1.Header.Font.Brush
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     //
     // tChart1.Header.Font.Shadow
     //
     this.tChart1.Header.Font.Shadow.Visible = false;
     this.tChart1.Header.Font.Size           = 7;
     this.tChart1.Header.Lines = new string[] {
         "Wind rose series"
     };
     //
     // tChart1.Header.Shadow
     //
     this.tChart1.Header.Shadow.Visible = false;
     //
     // tChart1.Legend
     //
     //
     // tChart1.Legend.Font
     //
     //
     // tChart1.Legend.Font.Shadow
     //
     this.tChart1.Legend.Font.Shadow.Visible = false;
     //
     // tChart1.Legend.Title
     //
     //
     // tChart1.Legend.Title.Font
     //
     this.tChart1.Legend.Title.Font.Bold = true;
     //
     // tChart1.Legend.Title.Font.Shadow
     //
     this.tChart1.Legend.Title.Font.Shadow.Visible = false;
     //
     // tChart1.Legend.Title.Pen
     //
     this.tChart1.Legend.Title.Pen.Visible = false;
     //
     // tChart1.Legend.Title.Shadow
     //
     this.tChart1.Legend.Title.Shadow.Visible = false;
     this.tChart1.Legend.Visible = false;
     this.tChart1.Location       = new System.Drawing.Point(0, 104);
     this.tChart1.Name           = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Bevel
     //
     this.tChart1.Panel.Bevel.ColorOne = System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128)));
     //
     // tChart1.Panel.Brush
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.Gray;
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(128)));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128)));
     this.tChart1.Panel.Brush.Gradient.UseMiddle   = true;
     this.tChart1.Panel.Brush.Gradient.Visible     = true;
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(128)));
     this.tChart1.Panel.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128)));
     this.tChart1.Panel.Gradient.UseMiddle   = true;
     this.tChart1.Panel.Gradient.Visible     = true;
     //
     // tChart1.Panel.Shadow
     //
     this.tChart1.Panel.Shadow.Visible = false;
     this.tChart1.Series.Add(this.windRose1);
     this.tChart1.Series.Add(this.windRose2);
     this.tChart1.Size = new System.Drawing.Size(466, 182);
     //
     // tChart1.SubFooter
     //
     //
     // tChart1.SubFooter.Font
     //
     //
     // tChart1.SubFooter.Font.Shadow
     //
     this.tChart1.SubFooter.Font.Shadow.Visible = false;
     //
     // tChart1.SubFooter.Shadow
     //
     this.tChart1.SubFooter.Shadow.Visible = false;
     //
     // tChart1.SubHeader
     //
     //
     // tChart1.SubHeader.Font
     //
     //
     // tChart1.SubHeader.Font.Shadow
     //
     this.tChart1.SubHeader.Font.Shadow.Visible = false;
     //
     // tChart1.SubHeader.Shadow
     //
     this.tChart1.SubHeader.Shadow.Visible = false;
     //
     // tChart1.Walls
     //
     //
     // tChart1.Walls.Back
     //
     //
     // tChart1.Walls.Back.Shadow
     //
     this.tChart1.Walls.Back.Shadow.Visible = false;
     //
     // tChart1.Walls.Bottom
     //
     //
     // tChart1.Walls.Bottom.Shadow
     //
     this.tChart1.Walls.Bottom.Shadow.Visible = false;
     //
     // tChart1.Walls.Left
     //
     //
     // tChart1.Walls.Left.Shadow
     //
     this.tChart1.Walls.Left.Shadow.Visible = false;
     //
     // tChart1.Walls.Right
     //
     //
     // tChart1.Walls.Right.Shadow
     //
     this.tChart1.Walls.Right.Shadow.Visible = false;
     //
     // checkBox1
     //
     this.checkBox1.Checked         = true;
     this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Location        = new System.Drawing.Point(13, 7);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(47, 21);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "&Axes";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.Checked         = true;
     this.checkBox2.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox2.Location        = new System.Drawing.Point(73, 7);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(67, 21);
     this.checkBox2.TabIndex        = 1;
     this.checkBox2.Text            = "&Circled";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(160, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(44, 16);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "&Labels :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Items.AddRange(new object[] {
         "15",
         "30",
         "45",
         "90"
     });
     this.comboBox1.Location              = new System.Drawing.Point(207, 7);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(100, 21);
     this.comboBox1.TabIndex              = 3;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(333, 6);
     this.button1.Name      = "button1";
     this.button1.TabIndex  = 4;
     this.button1.Text      = "&Edit...";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // windRose1
     //
     //
     // windRose1.Brush
     //
     this.windRose1.Brush.Color  = System.Drawing.Color.Red;
     this.windRose1.Circled      = true;
     this.windRose1.CircleLabels = true;
     //
     // windRose1.CircleLabelsFont
     //
     //
     // windRose1.CircleLabelsFont.Shadow
     //
     this.windRose1.CircleLabelsFont.Shadow.Visible = false;
     //
     // windRose1.Font
     //
     //
     // windRose1.Font.Shadow
     //
     this.windRose1.Font.Shadow.Visible = false;
     //
     // windRose1.Marks
     //
     //
     // windRose1.Marks.Callout
     //
     this.windRose1.Marks.Callout.Arrow         = this.windRose1.Marks.Arrow;
     this.windRose1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.windRose1.Marks.Callout.ArrowHeadSize = 8;
     //
     // windRose1.Marks.Callout.Brush
     //
     this.windRose1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.windRose1.Marks.Callout.Distance    = 0;
     this.windRose1.Marks.Callout.Draw3D      = false;
     this.windRose1.Marks.Callout.Length      = 10;
     this.windRose1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     //
     // windRose1.Marks.Font
     //
     //
     // windRose1.Marks.Font.Shadow
     //
     this.windRose1.Marks.Font.Shadow.Visible = false;
     //
     // windRose1.Pen
     //
     this.windRose1.Pen.Color = System.Drawing.Color.Red;
     //
     // windRose1.Pointer
     //
     this.windRose1.Pointer.Style   = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.windRose1.Pointer.Visible = true;
     this.windRose1.RotationAngle   = 90;
     this.windRose1.Title           = "windRose1";
     //
     // windRose1.XValues
     //
     this.windRose1.XValues.DataMember = "Angle";
     this.windRose1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // windRose1.YValues
     //
     this.windRose1.YValues.DataMember = "Y";
     //
     // windRose2
     //
     //
     // windRose2.Brush
     //
     this.windRose2.Brush.Color  = System.Drawing.Color.Green;
     this.windRose2.Circled      = true;
     this.windRose2.CircleLabels = true;
     //
     // windRose2.CircleLabelsFont
     //
     //
     // windRose2.CircleLabelsFont.Shadow
     //
     this.windRose2.CircleLabelsFont.Shadow.Visible = false;
     //
     // windRose2.Font
     //
     //
     // windRose2.Font.Shadow
     //
     this.windRose2.Font.Shadow.Visible = false;
     //
     // windRose2.Marks
     //
     //
     // windRose2.Marks.Callout
     //
     this.windRose2.Marks.Callout.Arrow         = this.windRose2.Marks.Arrow;
     this.windRose2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.windRose2.Marks.Callout.ArrowHeadSize = 8;
     //
     // windRose2.Marks.Callout.Brush
     //
     this.windRose2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.windRose2.Marks.Callout.Distance    = 0;
     this.windRose2.Marks.Callout.Draw3D      = false;
     this.windRose2.Marks.Callout.Length      = 10;
     this.windRose2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     //
     // windRose2.Marks.Font
     //
     //
     // windRose2.Marks.Font.Shadow
     //
     this.windRose2.Marks.Font.Shadow.Visible = false;
     //
     // windRose2.Pen
     //
     this.windRose2.Pen.Color = System.Drawing.Color.Green;
     //
     // windRose2.Pointer
     //
     this.windRose2.Pointer.Style   = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.windRose2.Pointer.Visible = true;
     this.windRose2.RotationAngle   = 90;
     this.windRose2.Title           = "windRose2";
     //
     // windRose2.XValues
     //
     this.windRose2.XValues.DataMember = "Angle";
     this.windRose2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // windRose2.YValues
     //
     this.windRose2.YValues.DataMember = "Y";
     //
     // WindRose_Series
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(466, 286);
     this.Name  = "WindRose_Series";
     this.Load += new System.EventHandler(this.SeriesType_WindRose_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 46
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lblText   = new System.Windows.Forms.Label();
     this.btnOk     = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.txtSystem = new System.Windows.Forms.TextBox();
     this.chkTrack  = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // lblText
     //
     this.lblText.AutoSize = true;
     this.lblText.Location = new System.Drawing.Point(8, 8);
     this.lblText.Name     = "lblText";
     this.lblText.Size     = new System.Drawing.Size(169, 13);
     this.lblText.TabIndex = 3;
     this.lblText.Text     = "Which system are you looking for?";
     //
     // btnOk
     //
     this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOk.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnOk.Location     = new System.Drawing.Point(43, 68);
     this.btnOk.Name         = "btnOk";
     this.btnOk.Size         = new System.Drawing.Size(40, 22);
     this.btnOk.TabIndex     = 3;
     this.btnOk.Text         = "Ok";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.Location     = new System.Drawing.Point(91, 68);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(50, 22);
     this.btnCancel.TabIndex     = 4;
     this.btnCancel.Text         = "Cancel";
     //
     // txtSystem
     //
     this.txtSystem.Location = new System.Drawing.Point(8, 24);
     this.txtSystem.Name     = "txtSystem";
     this.txtSystem.Size     = new System.Drawing.Size(168, 20);
     this.txtSystem.TabIndex = 1;
     //
     // chkTrack
     //
     this.chkTrack.Location = new System.Drawing.Point(8, 48);
     this.chkTrack.Name     = "chkTrack";
     this.chkTrack.Size     = new System.Drawing.Size(112, 16);
     this.chkTrack.TabIndex = 2;
     this.chkTrack.Text     = "Track this system";
     //
     // FormFind
     //
     this.AcceptButton      = this.btnOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(184, 113);
     this.ControlBox        = false;
     this.Controls.Add(this.chkTrack);
     this.Controls.Add(this.txtSystem);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOk);
     this.Controls.Add(this.lblText);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "FormFind";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Find System";
     this.Closed         += new System.EventHandler(this.FormFind_Closed);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 47
0
 private void InitializeComponent()
 {
     this.enabledBox         = new System.Windows.Forms.CheckBox();
     this.channelNumberLabel = new System.Windows.Forms.Label();
     this.dutyCycleBar       = new System.Windows.Forms.TrackBar();
     this.label1             = new System.Windows.Forms.Label();
     this.label2             = new System.Windows.Forms.Label();
     this.label3             = new System.Windows.Forms.Label();
     this.valueLabel         = new System.Windows.Forms.Label();
     this.calibrationLabel   = new System.Windows.Forms.Label();
     this.centerBox          = new System.Windows.Forms.TextBox();
     this.deviationBox       = new System.Windows.Forms.TextBox();
     this.centerTextLabel    = new System.Windows.Forms.Label();
     this.centerMsLabel      = new System.Windows.Forms.Label();
     this.deviationMsLabel   = new System.Windows.Forms.Label();
     this.deviationTextLabel = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dutyCycleBar)).BeginInit();
     this.SuspendLayout();
     //
     // enabledBox
     //
     this.enabledBox.AutoSize = true;
     this.enabledBox.Location = new System.Drawing.Point(24, 19);
     this.enabledBox.Name     = "enabledBox";
     this.enabledBox.Size     = new System.Drawing.Size(15, 14);
     this.enabledBox.TabIndex = 3;
     this.enabledBox.UseVisualStyleBackColor = true;
     this.enabledBox.CheckedChanged         += new System.EventHandler(this.enabledBox_CheckedChanged);
     //
     // channelNumberLabel
     //
     this.channelNumberLabel.AutoSize = true;
     this.channelNumberLabel.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.channelNumberLabel.Location = new System.Drawing.Point(3, 19);
     this.channelNumberLabel.Name     = "channelNumberLabel";
     this.channelNumberLabel.Size     = new System.Drawing.Size(16, 13);
     this.channelNumberLabel.TabIndex = 2;
     this.channelNumberLabel.Text     = "N";
     //
     // dutyCycleBar
     //
     this.dutyCycleBar.AutoSize      = false;
     this.dutyCycleBar.LargeChange   = 20;
     this.dutyCycleBar.Location      = new System.Drawing.Point(45, 5);
     this.dutyCycleBar.Maximum       = 100;
     this.dutyCycleBar.Minimum       = -100;
     this.dutyCycleBar.Name          = "dutyCycleBar";
     this.dutyCycleBar.Size          = new System.Drawing.Size(378, 38);
     this.dutyCycleBar.TabIndex      = 7;
     this.dutyCycleBar.TickFrequency = 25;
     this.dutyCycleBar.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.dutyCycleBar.ValueChanged += new System.EventHandler(this.dutyCycleBar_ValueChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(228, 42);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(13, 13);
     this.label1.TabIndex = 8;
     this.label1.Text     = "0";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(42, 42);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(42, 13);
     this.label2.TabIndex = 9;
     this.label2.Text     = "- 100 %";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(398, 42);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(36, 13);
     this.label3.TabIndex = 10;
     this.label3.Text     = "100 %";
     //
     // valueLabel
     //
     this.valueLabel.AutoSize = true;
     this.valueLabel.Location = new System.Drawing.Point(429, 19);
     this.valueLabel.Name     = "valueLabel";
     this.valueLabel.Size     = new System.Drawing.Size(13, 13);
     this.valueLabel.TabIndex = 11;
     this.valueLabel.Text     = "0";
     //
     // calibrationLabel
     //
     this.calibrationLabel.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.calibrationLabel.ForeColor    = System.Drawing.Color.Gray;
     this.calibrationLabel.Location     = new System.Drawing.Point(497, 14);
     this.calibrationLabel.Name         = "calibrationLabel";
     this.calibrationLabel.Size         = new System.Drawing.Size(98, 34);
     this.calibrationLabel.TabIndex     = 13;
     this.calibrationLabel.Text         = "1.42 ms \r\n+/- 0.563 ms";
     this.calibrationLabel.TextAlign    = System.Drawing.ContentAlignment.MiddleCenter;
     this.calibrationLabel.DoubleClick += new System.EventHandler(this.calibrationLabel_DoubleClick);
     //
     // centerBox
     //
     this.centerBox.Location  = new System.Drawing.Point(526, 9);
     this.centerBox.Name      = "centerBox";
     this.centerBox.Size      = new System.Drawing.Size(50, 20);
     this.centerBox.TabIndex  = 14;
     this.centerBox.Text      = "1,123";
     this.centerBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.calBox_KeyPress);
     //
     // deviationBox
     //
     this.deviationBox.Location  = new System.Drawing.Point(526, 35);
     this.deviationBox.Name      = "deviationBox";
     this.deviationBox.Size      = new System.Drawing.Size(50, 20);
     this.deviationBox.TabIndex  = 15;
     this.deviationBox.Text      = "1,123";
     this.deviationBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.calBox_KeyPress);
     //
     // centerTextLabel
     //
     this.centerTextLabel.AutoSize = true;
     this.centerTextLabel.Location = new System.Drawing.Point(479, 12);
     this.centerTextLabel.Name     = "centerTextLabel";
     this.centerTextLabel.Size     = new System.Drawing.Size(41, 13);
     this.centerTextLabel.TabIndex = 16;
     this.centerTextLabel.Text     = "Center:";
     //
     // centerMsLabel
     //
     this.centerMsLabel.AutoSize = true;
     this.centerMsLabel.Location = new System.Drawing.Point(582, 12);
     this.centerMsLabel.Name     = "centerMsLabel";
     this.centerMsLabel.Size     = new System.Drawing.Size(23, 13);
     this.centerMsLabel.TabIndex = 17;
     this.centerMsLabel.Text     = "ms.";
     //
     // deviationMsLabel
     //
     this.deviationMsLabel.AutoSize = true;
     this.deviationMsLabel.Location = new System.Drawing.Point(582, 38);
     this.deviationMsLabel.Name     = "deviationMsLabel";
     this.deviationMsLabel.Size     = new System.Drawing.Size(23, 13);
     this.deviationMsLabel.TabIndex = 18;
     this.deviationMsLabel.Text     = "ms.";
     //
     // deviationTextLabel
     //
     this.deviationTextLabel.AutoSize = true;
     this.deviationTextLabel.Location = new System.Drawing.Point(441, 38);
     this.deviationTextLabel.Name     = "deviationTextLabel";
     this.deviationTextLabel.Size     = new System.Drawing.Size(79, 13);
     this.deviationTextLabel.TabIndex = 19;
     this.deviationTextLabel.Text     = "Max. deviation:";
     //
     // RcChannelControl
     //
     this.Controls.Add(this.deviationTextLabel);
     this.Controls.Add(this.deviationMsLabel);
     this.Controls.Add(this.centerMsLabel);
     this.Controls.Add(this.centerTextLabel);
     this.Controls.Add(this.deviationBox);
     this.Controls.Add(this.centerBox);
     this.Controls.Add(this.calibrationLabel);
     this.Controls.Add(this.valueLabel);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dutyCycleBar);
     this.Controls.Add(this.enabledBox);
     this.Controls.Add(this.channelNumberLabel);
     this.Name = "RcChannelControl";
     this.Size = new System.Drawing.Size(616, 61);
     this.ChannelNumberChanged += new System.EventHandler(this.RcChannelControl_ChannelNumberChanged);
     this.Load += new System.EventHandler(this.RcChannelControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dutyCycleBar)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo 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.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 8);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(7, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(8, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(11, 8);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(12, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(13, 4);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(14, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(15, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(16, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(17, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(21, 1);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(24, 5);
     System.Windows.Forms.DataVisualization.Charting.Title     title1      = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.label9           = new System.Windows.Forms.Label();
     this.panel1           = new System.Windows.Forms.Panel();
     this.btnZoomOut       = new System.Windows.Forms.Button();
     this.AutoZoomCursor   = new System.Windows.Forms.CheckBox();
     this.AutoScrollCursor = new System.Windows.Forms.CheckBox();
     this.label8           = new System.Windows.Forms.Label();
     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.label15          = new System.Windows.Forms.Label();
     this.Chart1           = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 14);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(702, 43);
     this.label9.TabIndex = 0;
     this.label9.Text     = "This sample demonstrates how to scroll or zoom automatically using the cursor. Le" +
                            "ft-click and drag the mouse beyond a chart area boundary.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.btnZoomOut);
     this.panel1.Controls.Add(this.AutoZoomCursor);
     this.panel1.Controls.Add(this.AutoScrollCursor);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label15);
     this.panel1.Location = new System.Drawing.Point(432, 73);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     //
     // btnZoomOut
     //
     this.btnZoomOut.BackColor = System.Drawing.SystemColors.Control;
     this.btnZoomOut.Location  = new System.Drawing.Point(48, 64);
     this.btnZoomOut.Name      = "btnZoomOut";
     this.btnZoomOut.Size      = new System.Drawing.Size(152, 23);
     this.btnZoomOut.TabIndex  = 8;
     this.btnZoomOut.Text      = "&Zoom Out";
     this.btnZoomOut.UseVisualStyleBackColor = false;
     this.btnZoomOut.Click += new System.EventHandler(this.btnZoomOut_Click);
     //
     // AutoZoomCursor
     //
     this.AutoZoomCursor.Location        = new System.Drawing.Point(48, 32);
     this.AutoZoomCursor.Name            = "AutoZoomCursor";
     this.AutoZoomCursor.Size            = new System.Drawing.Size(192, 24);
     this.AutoZoomCursor.TabIndex        = 1;
     this.AutoZoomCursor.Text            = "Enable Auto &Zooming";
     this.AutoZoomCursor.CheckedChanged += new System.EventHandler(this.ACheckChanged);
     //
     // AutoScrollCursor
     //
     this.AutoScrollCursor.Checked         = true;
     this.AutoScrollCursor.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.AutoScrollCursor.Location        = new System.Drawing.Point(48, 0);
     this.AutoScrollCursor.Name            = "AutoScrollCursor";
     this.AutoScrollCursor.Size            = new System.Drawing.Size(176, 24);
     this.AutoScrollCursor.TabIndex        = 0;
     this.AutoScrollCursor.Text            = "Enable Auto &Scrolling";
     this.AutoScrollCursor.CheckedChanged += new System.EventHandler(this.ACheckChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(64, 472);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(100, 23);
     this.label8.TabIndex = 7;
     this.label8.Text     = "Shadow Offset:";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(64, 449);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(100, 23);
     this.label7.TabIndex = 6;
     this.label7.Text     = "Border Style:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(64, 403);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 23);
     this.label6.TabIndex = 5;
     this.label6.Text     = "Border Size:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(64, 380);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Border Color:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(64, 357);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Hatch Style:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(64, 334);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Gradient:";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(64, 426);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(100, 23);
     this.label15.TabIndex = 5;
     this.label15.Text     = "Border Size:";
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelAutoFitStyle      = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)(((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                      | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font              = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Interval          = 0;
     chartArea1.AxisX.LabelStyle.IntervalType      = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisX.LabelStyle.IsEndLabelVisible = false;
     chartArea1.AxisX.LineColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.Interval               = 0;
     chartArea1.AxisX.MajorGrid.IntervalType           = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisX.MajorGrid.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorTickMark.Interval           = 0;
     chartArea1.AxisX.MajorTickMark.IntervalType       = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisX.ScrollBar.ButtonColor            = System.Drawing.SystemColors.Control;
     chartArea1.AxisX.ScrollBar.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsLabelAutoFit                   = false;
     chartArea1.AxisY.LabelStyle.Font                  = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LabelStyle.Format                = "N0";
     chartArea1.AxisY.LabelStyle.Interval              = 0;
     chartArea1.AxisY.LabelStyle.IntervalType          = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisY.LineColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.Interval               = 0;
     chartArea1.AxisY.MajorGrid.IntervalType           = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisY.MajorGrid.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorTickMark.Interval           = 0;
     chartArea1.AxisY.MajorTickMark.IntervalType       = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisY.MinorTickMark.Interval           = 0.5;
     chartArea1.AxisY.MinorTickMark.IntervalOffsetType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisY.ScrollBar.ButtonColor            = System.Drawing.SystemColors.Control;
     chartArea1.AxisY.ScrollBar.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor                      = System.Drawing.Color.OldLace;
     chartArea1.BackGradientStyle              = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor             = System.Drawing.Color.White;
     chartArea1.BorderColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.CursorX.IsUserEnabled          = true;
     chartArea1.CursorX.IsUserSelectionEnabled = true;
     chartArea1.CursorX.SelectionColor         = System.Drawing.SystemColors.Highlight;
     chartArea1.CursorY.IsUserEnabled          = true;
     chartArea1.CursorY.IsUserSelectionEnabled = true;
     chartArea1.CursorY.SelectionColor         = System.Drawing.SystemColors.Highlight;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 65);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     series1.Legend       = "Default";
     series1.MarkerSize   = 7;
     series1.MarkerStyle  = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
     series1.Name         = "Series1";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series1.Points.Add(dataPoint8);
     series1.Points.Add(dataPoint9);
     series1.Points.Add(dataPoint10);
     series1.Points.Add(dataPoint11);
     series1.Points.Add(dataPoint12);
     series1.Points.Add(dataPoint13);
     series1.Points.Add(dataPoint14);
     series1.Points.Add(dataPoint15);
     series1.ShadowOffset = 1;
     this.Chart1.Series.Add(series1);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "Auto Scrolling and Zooming";
     this.Chart1.Titles.Add(title1);
     //
     // CursorAutoZoomScroll
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "CursorAutoZoomScroll";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.CursorAutoZoomScroll_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 49
0
 /// <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(FormTaskListEdit));
     this.butCancel        = new OpenDental.UI.Button();
     this.butOK            = new OpenDental.UI.Button();
     this.label1           = new System.Windows.Forms.Label();
     this.textDescript     = new System.Windows.Forms.TextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     this.label4           = new System.Windows.Forms.Label();
     this.listDateType     = new System.Windows.Forms.ListBox();
     this.checkFromNum     = new System.Windows.Forms.CheckBox();
     this.textDateTL       = new OpenDental.ValidDate();
     this.listObjectType   = new System.Windows.Forms.ListBox();
     this.label6           = new System.Windows.Forms.Label();
     this.textTaskListNum  = new System.Windows.Forms.TextBox();
     this.labelTaskListNum = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize     = true;
     this.butCancel.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location     = new System.Drawing.Point(395, 191);
     this.butCancel.Name         = "butCancel";
     this.butCancel.Size         = new System.Drawing.Size(75, 26);
     this.butCancel.TabIndex     = 5;
     this.butCancel.Text         = "&Cancel";
     this.butCancel.Click       += new System.EventHandler(this.butCancel_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize     = true;
     this.butOK.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location     = new System.Drawing.Point(395, 150);
     this.butOK.Name         = "butOK";
     this.butOK.Size         = new System.Drawing.Size(75, 26);
     this.butOK.TabIndex     = 4;
     this.butOK.Text         = "&OK";
     this.butOK.Click       += new System.EventHandler(this.butOK_Click);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 18);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(116, 19);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Description";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textDescript
     //
     this.textDescript.Location = new System.Drawing.Point(127, 18);
     this.textDescript.Name     = "textDescript";
     this.textDescript.Size     = new System.Drawing.Size(293, 20);
     this.textDescript.TabIndex = 0;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 50);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(116, 19);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Date";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(218, 47);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(185, 32);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Leave blank unless you want this list to show on a dated list";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(8, 82);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(116, 19);
     this.label4.TabIndex  = 7;
     this.label4.Text      = "Date Type";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // listDateType
     //
     this.listDateType.Location = new System.Drawing.Point(127, 83);
     this.listDateType.Name     = "listDateType";
     this.listDateType.Size     = new System.Drawing.Size(120, 56);
     this.listDateType.TabIndex = 2;
     //
     // checkFromNum
     //
     this.checkFromNum.CheckAlign = System.Drawing.ContentAlignment.TopRight;
     this.checkFromNum.FlatStyle  = System.Windows.Forms.FlatStyle.System;
     this.checkFromNum.Location   = new System.Drawing.Point(8, 149);
     this.checkFromNum.Name       = "checkFromNum";
     this.checkFromNum.Size       = new System.Drawing.Size(133, 21);
     this.checkFromNum.TabIndex   = 3;
     this.checkFromNum.Text       = "Is From Repeating";
     this.checkFromNum.TextAlign  = System.Drawing.ContentAlignment.TopRight;
     //
     // textDateTL
     //
     this.textDateTL.Location = new System.Drawing.Point(127, 50);
     this.textDateTL.Name     = "textDateTL";
     this.textDateTL.Size     = new System.Drawing.Size(87, 20);
     this.textDateTL.TabIndex = 1;
     //
     // listObjectType
     //
     this.listObjectType.Location = new System.Drawing.Point(127, 173);
     this.listObjectType.Name     = "listObjectType";
     this.listObjectType.Size     = new System.Drawing.Size(120, 43);
     this.listObjectType.TabIndex = 15;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(8, 172);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(116, 19);
     this.label6.TabIndex  = 16;
     this.label6.Text      = "Object Type";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textTaskListNum
     //
     this.textTaskListNum.Location = new System.Drawing.Point(366, 94);
     this.textTaskListNum.Name     = "textTaskListNum";
     this.textTaskListNum.ReadOnly = true;
     this.textTaskListNum.Size     = new System.Drawing.Size(54, 20);
     this.textTaskListNum.TabIndex = 136;
     this.textTaskListNum.Visible  = false;
     //
     // labelTaskListNum
     //
     this.labelTaskListNum.Location  = new System.Drawing.Point(276, 95);
     this.labelTaskListNum.Name      = "labelTaskListNum";
     this.labelTaskListNum.Size      = new System.Drawing.Size(88, 16);
     this.labelTaskListNum.TabIndex  = 135;
     this.labelTaskListNum.Text      = "TaskListNum";
     this.labelTaskListNum.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.labelTaskListNum.Visible   = false;
     //
     // FormTaskListEdit
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(503, 242);
     this.Controls.Add(this.textTaskListNum);
     this.Controls.Add(this.labelTaskListNum);
     this.Controls.Add(this.listObjectType);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.textDateTL);
     this.Controls.Add(this.textDescript);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.checkFromNum);
     this.Controls.Add(this.listDateType);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FormTaskListEdit";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Task List";
     this.Load         += new System.EventHandler(this.FormTaskListEdit_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 50
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.mnuMain        = new System.Windows.Forms.MainMenu(this.components);
     this.mnuFile        = new System.Windows.Forms.MenuItem();
     this.mnuExit        = new System.Windows.Forms.MenuItem();
     this.mnuTools       = new System.Windows.Forms.MenuItem();
     this.mnuRelist      = new System.Windows.Forms.MenuItem();
     this.MenuItem3      = new System.Windows.Forms.MenuItem();
     this.mnuRefresh     = new System.Windows.Forms.MenuItem();
     this.mnuHelp        = new System.Windows.Forms.MenuItem();
     this.mnuAbout       = new System.Windows.Forms.MenuItem();
     this.sbInfo         = new System.Windows.Forms.StatusBar();
     this.pnlCommands    = new System.Windows.Forms.Panel();
     this.chkAutoRefresh = new System.Windows.Forms.CheckBox();
     this.cmdResume      = new System.Windows.Forms.Button();
     this.cmdPause       = new System.Windows.Forms.Button();
     this.cmdStop        = new System.Windows.Forms.Button();
     this.cmdStart       = new System.Windows.Forms.Button();
     this.lvServices     = new System.Windows.Forms.ListView();
     this.chName         = new System.Windows.Forms.ColumnHeader();
     this.chStatus       = new System.Windows.Forms.ColumnHeader();
     this.chSvcType      = new System.Windows.Forms.ColumnHeader();
     this.tmrStatus      = new System.Windows.Forms.Timer(this.components);
     this.menuItem1      = new System.Windows.Forms.MenuItem();
     this.menuItem2      = new System.Windows.Forms.MenuItem();
     this.pnlCommands.SuspendLayout();
     this.SuspendLayout();
     //
     // mnuMain
     //
     this.mnuMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFile,
         this.mnuTools,
         this.mnuHelp
     });
     //
     // mnuFile
     //
     this.mnuFile.Index = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2,
         this.mnuExit
     });
     this.mnuFile.Text = "&Arquivo";
     //
     // mnuExit
     //
     this.mnuExit.Index  = 2;
     this.mnuExit.Text   = "E&xit";
     this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
     //
     // mnuTools
     //
     this.mnuTools.Index = 1;
     this.mnuTools.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuRelist,
         this.MenuItem3,
         this.mnuRefresh
     });
     this.mnuTools.Text = "&Feramentas";
     //
     // mnuRelist
     //
     this.mnuRelist.Index  = 0;
     this.mnuRelist.Text   = "Relistar &Todos Serviços";
     this.mnuRelist.Click += new System.EventHandler(this.mnuRelist_Click);
     //
     // MenuItem3
     //
     this.MenuItem3.Index = 1;
     this.MenuItem3.Text  = "-";
     //
     // mnuRefresh
     //
     this.mnuRefresh.Index    = 2;
     this.mnuRefresh.Shortcut = System.Windows.Forms.Shortcut.F5;
     this.mnuRefresh.Text     = "&Atualizar";
     this.mnuRefresh.Click   += new System.EventHandler(this.mnuRefresh_Click);
     //
     // mnuHelp
     //
     this.mnuHelp.Index = 2;
     this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuAbout
     });
     this.mnuHelp.Text = "&Ajuda";
     //
     // mnuAbout
     //
     this.mnuAbout.Index  = 0;
     this.mnuAbout.Text   = "Text Comes from AssemblyInfo";
     this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
     //
     // sbInfo
     //
     this.sbInfo.Location = new System.Drawing.Point(0, 192);
     this.sbInfo.Name     = "sbInfo";
     this.sbInfo.Size     = new System.Drawing.Size(552, 22);
     this.sbInfo.TabIndex = 2;
     this.sbInfo.Text     = "Lendo";
     //
     // pnlCommands
     //
     this.pnlCommands.Controls.Add(this.chkAutoRefresh);
     this.pnlCommands.Controls.Add(this.cmdResume);
     this.pnlCommands.Controls.Add(this.cmdPause);
     this.pnlCommands.Controls.Add(this.cmdStop);
     this.pnlCommands.Controls.Add(this.cmdStart);
     this.pnlCommands.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.pnlCommands.Location = new System.Drawing.Point(0, 152);
     this.pnlCommands.Name     = "pnlCommands";
     this.pnlCommands.Size     = new System.Drawing.Size(552, 40);
     this.pnlCommands.TabIndex = 1;
     this.pnlCommands.Paint   += new System.Windows.Forms.PaintEventHandler(this.pnlCommands_Paint);
     //
     // chkAutoRefresh
     //
     this.chkAutoRefresh.Checked         = true;
     this.chkAutoRefresh.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.chkAutoRefresh.Location        = new System.Drawing.Point(336, 8);
     this.chkAutoRefresh.Name            = "chkAutoRefresh";
     this.chkAutoRefresh.Size            = new System.Drawing.Size(104, 24);
     this.chkAutoRefresh.TabIndex        = 4;
     this.chkAutoRefresh.Text            = "&Atualizar";
     this.chkAutoRefresh.CheckedChanged += new System.EventHandler(this.chkAutoRefresh_CheckedChanged);
     //
     // cmdResume
     //
     this.cmdResume.Location = new System.Drawing.Point(248, 8);
     this.cmdResume.Name     = "cmdResume";
     this.cmdResume.Size     = new System.Drawing.Size(75, 23);
     this.cmdResume.TabIndex = 3;
     this.cmdResume.Text     = "&Resume";
     this.cmdResume.Click   += new System.EventHandler(this.cmdResume_Click);
     //
     // cmdPause
     //
     this.cmdPause.Location = new System.Drawing.Point(168, 8);
     this.cmdPause.Name     = "cmdPause";
     this.cmdPause.Size     = new System.Drawing.Size(75, 23);
     this.cmdPause.TabIndex = 2;
     this.cmdPause.Text     = "&Pause";
     this.cmdPause.Click   += new System.EventHandler(this.cmdPause_Click);
     //
     // cmdStop
     //
     this.cmdStop.Location = new System.Drawing.Point(88, 8);
     this.cmdStop.Name     = "cmdStop";
     this.cmdStop.Size     = new System.Drawing.Size(75, 23);
     this.cmdStop.TabIndex = 1;
     this.cmdStop.Text     = "S&top";
     this.cmdStop.Click   += new System.EventHandler(this.cmdStop_Click);
     //
     // cmdStart
     //
     this.cmdStart.Location = new System.Drawing.Point(8, 8);
     this.cmdStart.Name     = "cmdStart";
     this.cmdStart.Size     = new System.Drawing.Size(75, 23);
     this.cmdStart.TabIndex = 0;
     this.cmdStart.Text     = "&Start";
     this.cmdStart.Click   += new System.EventHandler(this.cmdStart_Click);
     //
     // lvServices
     //
     this.lvServices.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.chName,
         this.chStatus,
         this.chSvcType
     });
     this.lvServices.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.lvServices.FullRowSelect = true;
     this.lvServices.HideSelection = false;
     this.lvServices.Location      = new System.Drawing.Point(0, 0);
     this.lvServices.MultiSelect   = false;
     this.lvServices.Name          = "lvServices";
     this.lvServices.Size          = new System.Drawing.Size(552, 152);
     this.lvServices.Sorting       = System.Windows.Forms.SortOrder.Ascending;
     this.lvServices.TabIndex      = 0;
     this.lvServices.UseCompatibleStateImageBehavior = false;
     this.lvServices.View = System.Windows.Forms.View.Details;
     this.lvServices.SelectedIndexChanged += new System.EventHandler(this.lvServices_SelectedIndexChanged);
     //
     // chName
     //
     this.chName.Text  = "Nome";
     this.chName.Width = 200;
     //
     // chStatus
     //
     this.chStatus.Text  = "Estado";
     this.chStatus.Width = 100;
     //
     // chSvcType
     //
     this.chSvcType.Text  = "Tipo de Serviço";
     this.chSvcType.Width = 225;
     //
     // tmrStatus
     //
     this.tmrStatus.Enabled  = true;
     this.tmrStatus.Interval = 5000;
     this.tmrStatus.Tick    += new System.EventHandler(this.tmrStatus_Tick);
     //
     // menuItem1
     //
     this.menuItem1.Index  = 0;
     this.menuItem1.Text   = "Conectar-se a outro computador";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text  = "-";
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(552, 214);
     this.Controls.Add(this.lvServices);
     this.Controls.Add(this.pnlCommands);
     this.Controls.Add(this.sbInfo);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.Menu          = this.mnuMain;
     this.Name          = "frmMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Serviços SmartDoc";
     this.Load         += new System.EventHandler(this.frmMain_Load);
     this.pnlCommands.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmThkhoa_bhyt));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.kho        = new System.Windows.Forms.CheckedListBox();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.chkChitiet = new System.Windows.Forms.CheckBox();
     this.label3     = new System.Windows.Forms.Label();
     this.madoituong = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 6);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(136, 6);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "đến :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.Image      = global::Duoc.Properties.Resources.Print1;
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(69, 186);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 7;
     this.butIn.Text       = "      &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Duoc.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(139, 186);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 8;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // kho
     //
     this.kho.CheckOnClick = true;
     this.kho.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kho.Location     = new System.Drawing.Point(59, 53);
     this.kho.Name         = "kho";
     this.kho.Size         = new System.Drawing.Size(192, 100);
     this.kho.TabIndex     = 6;
     this.kho.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(59, 6);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(80, 21);
     this.tu.TabIndex     = 1;
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // den
     //
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(171, 6);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(80, 21);
     this.den.TabIndex     = 3;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // chkChitiet
     //
     this.chkChitiet.Location = new System.Drawing.Point(61, 157);
     this.chkChitiet.Name     = "chkChitiet";
     this.chkChitiet.Size     = new System.Drawing.Size(155, 24);
     this.chkChitiet.TabIndex = 9;
     this.chkChitiet.Text     = "Số lượng && đơn giá";
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(-4, 29);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Đối tượng :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madoituong
     //
     this.madoituong.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madoituong.Location = new System.Drawing.Point(59, 29);
     this.madoituong.Name     = "madoituong";
     this.madoituong.Size     = new System.Drawing.Size(192, 21);
     this.madoituong.TabIndex = 5;
     this.madoituong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // frmThkhoa_bhyt
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(266, 231);
     this.Controls.Add(this.madoituong);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.chkChitiet);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmThkhoa_bhyt";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Tổng hợp phiếu xuất";
     this.Load           += new System.EventHandler(this.frmThkhoa_bhyt_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 52
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmGeneraCiclos));
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.ChkBCerrar   = new System.Windows.Forms.CheckBox();
     this.ChkBAbrir    = new System.Windows.Forms.CheckBox();
     this.btnAceptar   = new System.Windows.Forms.Button();
     this.btnCancelar  = new System.Windows.Forms.Button();
     this.label1       = new System.Windows.Forms.Label();
     this.dtpCiclos    = new System.Windows.Forms.DateTimePicker();
     this.cboCamioneta = new System.Windows.Forms.ComboBox();
     this.cbxCamioneta = new System.Windows.Forms.CheckBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.ChkBCerrar,
         this.ChkBAbrir
     });
     this.groupBox1.Location = new System.Drawing.Point(16, 88);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(336, 64);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Operación";
     //
     // ChkBCerrar
     //
     this.ChkBCerrar.Location        = new System.Drawing.Point(200, 24);
     this.ChkBCerrar.Name            = "ChkBCerrar";
     this.ChkBCerrar.TabIndex        = 1;
     this.ChkBCerrar.Text            = "Cerrar Ciclos";
     this.ChkBCerrar.CheckedChanged += new System.EventHandler(this.ChkBCerrar_CheckedChanged);
     //
     // ChkBAbrir
     //
     this.ChkBAbrir.Location        = new System.Drawing.Point(48, 24);
     this.ChkBAbrir.Name            = "ChkBAbrir";
     this.ChkBAbrir.TabIndex        = 0;
     this.ChkBAbrir.Text            = "Abrir Ciclos";
     this.ChkBAbrir.CheckedChanged += new System.EventHandler(this.ChkBAbrir_CheckedChanged);
     //
     // btnAceptar
     //
     this.btnAceptar.Image      = ((System.Drawing.Bitmap)(resources.GetObject("btnAceptar.Image")));
     this.btnAceptar.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnAceptar.Location   = new System.Drawing.Point(400, 16);
     this.btnAceptar.Name       = "btnAceptar";
     this.btnAceptar.Size       = new System.Drawing.Size(80, 24);
     this.btnAceptar.TabIndex   = 9;
     this.btnAceptar.Text       = "Aceptar";
     this.btnAceptar.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnAceptar.Click     += new System.EventHandler(this.btnAceptar_Click);
     //
     // btnCancelar
     //
     this.btnCancelar.Image      = ((System.Drawing.Bitmap)(resources.GetObject("btnCancelar.Image")));
     this.btnCancelar.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancelar.Location   = new System.Drawing.Point(400, 56);
     this.btnCancelar.Name       = "btnCancelar";
     this.btnCancelar.Size       = new System.Drawing.Size(80, 24);
     this.btnCancelar.TabIndex   = 10;
     this.btnCancelar.Text       = "Cancelar";
     this.btnCancelar.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnCancelar.Click     += new System.EventHandler(this.btnCancelar_Click);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 15);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(168, 23);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Fecha de Generación de ciclos:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dtpCiclos
     //
     this.dtpCiclos.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dtpCiclos.Location = new System.Drawing.Point(208, 16);
     this.dtpCiclos.Name     = "dtpCiclos";
     this.dtpCiclos.Size     = new System.Drawing.Size(152, 20);
     this.dtpCiclos.TabIndex = 2;
     //
     // cboCamioneta
     //
     this.cboCamioneta.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboCamioneta.Location      = new System.Drawing.Point(208, 48);
     this.cboCamioneta.Name          = "cboCamioneta";
     this.cboCamioneta.Size          = new System.Drawing.Size(152, 21);
     this.cboCamioneta.TabIndex      = 3;
     //
     // cbxCamioneta
     //
     this.cbxCamioneta.Location        = new System.Drawing.Point(11, 47);
     this.cbxCamioneta.Name            = "cbxCamioneta";
     this.cbxCamioneta.Size            = new System.Drawing.Size(189, 24);
     this.cbxCamioneta.TabIndex        = 13;
     this.cbxCamioneta.Text            = "Apertura y cierre por camioneta:";
     this.cbxCamioneta.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // frmGeneraCiclos
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.YellowGreen;
     this.ClientSize        = new System.Drawing.Size(498, 162);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.cbxCamioneta,
         this.cboCamioneta,
         this.dtpCiclos,
         this.btnCancelar,
         this.btnAceptar,
         this.groupBox1,
         this.label1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frmGeneraCiclos";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Generación de Ciclos Automáticos";
     this.Load           += new System.EventHandler(this.frmGeneraCiclos_Load);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 53
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.treeViewSymbols   = new System.Windows.Forms.TreeView();
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.label12           = new System.Windows.Forms.Label();
     this.tbAdsPort         = new System.Windows.Forms.TextBox();
     this.cbFlat            = new System.Windows.Forms.CheckBox();
     this.btnLoad           = new System.Windows.Forms.Button();
     this.label3            = new System.Windows.Forms.Label();
     this.tbDatatype        = new System.Windows.Forms.TextBox();
     this.label9            = new System.Windows.Forms.Label();
     this.tbSize            = new System.Windows.Forms.TextBox();
     this.label2            = new System.Windows.Forms.Label();
     this.tbIndexGroup      = new System.Windows.Forms.TextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.tbIndexOffset     = new System.Windows.Forms.TextBox();
     this.btnFindSymbol     = new System.Windows.Forms.Button();
     this.btnReadSymbolInfo = new System.Windows.Forms.Button();
     this.tbSymbolname      = new System.Windows.Forms.TextBox();
     this.groupBox2         = new System.Windows.Forms.GroupBox();
     this.label4            = new System.Windows.Forms.Label();
     this.label5            = new System.Windows.Forms.Label();
     this.tbDatatypeId      = new System.Windows.Forms.TextBox();
     this.label6            = new System.Windows.Forms.Label();
     this.tbValue           = new System.Windows.Forms.TextBox();
     this.btnWrite          = new System.Windows.Forms.Button();
     this.tbName            = new System.Windows.Forms.TextBox();
     this.label7            = new System.Windows.Forms.Label();
     this.tbWriteWatch      = new System.Windows.Forms.TextBox();
     this.btnWriteWatch     = new System.Windows.Forms.Button();
     this.tbWatch           = new System.Windows.Forms.TextBox();
     this.btnWatch          = new System.Windows.Forms.Button();
     this.gbWatch           = new System.Windows.Forms.GroupBox();
     this.label11           = new System.Windows.Forms.Label();
     this.label10           = new System.Windows.Forms.Label();
     this.tbWatchSymbolName = new System.Windows.Forms.TextBox();
     this.label8            = new System.Windows.Forms.Label();
     this.gpCurrentSymbol   = new System.Windows.Forms.GroupBox();
     this.label13           = new System.Windows.Forms.Label();
     this.tbNetID           = new System.Windows.Forms.TextBox();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.gbWatch.SuspendLayout();
     this.gpCurrentSymbol.SuspendLayout();
     this.SuspendLayout();
     //
     // treeViewSymbols
     //
     this.treeViewSymbols.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.treeViewSymbols.Location     = new System.Drawing.Point(8, 16);
     this.treeViewSymbols.Name         = "treeViewSymbols";
     this.treeViewSymbols.Size         = new System.Drawing.Size(429, 218);
     this.treeViewSymbols.TabIndex     = 0;
     this.treeViewSymbols.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewSymbols_AfterSelect);
     //
     // groupBox1
     //
     this.groupBox1.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.groupBox1.Controls.Add(this.label13);
     this.groupBox1.Controls.Add(this.tbNetID);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.tbAdsPort);
     this.groupBox1.Controls.Add(this.cbFlat);
     this.groupBox1.Controls.Add(this.btnLoad);
     this.groupBox1.Controls.Add(this.treeViewSymbols);
     this.groupBox1.Location = new System.Drawing.Point(8, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(445, 274);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Symbols";
     //
     // label12
     //
     this.label12.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(343, 247);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(54, 13);
     this.label12.TabIndex = 4;
     this.label12.Text     = "ADS Port:";
     //
     // tbAdsPort
     //
     this.tbAdsPort.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tbAdsPort.Location = new System.Drawing.Point(395, 244);
     this.tbAdsPort.Name     = "tbAdsPort";
     this.tbAdsPort.Size     = new System.Drawing.Size(40, 20);
     this.tbAdsPort.TabIndex = 3;
     this.tbAdsPort.Text     = "350";
     //
     // cbFlat
     //
     this.cbFlat.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cbFlat.Location = new System.Drawing.Point(120, 242);
     this.cbFlat.Name     = "cbFlat";
     this.cbFlat.Size     = new System.Drawing.Size(72, 24);
     this.cbFlat.TabIndex = 2;
     this.cbFlat.Text     = "flat";
     //
     // btnLoad
     //
     this.btnLoad.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnLoad.Location = new System.Drawing.Point(8, 242);
     this.btnLoad.Name     = "btnLoad";
     this.btnLoad.Size     = new System.Drawing.Size(104, 23);
     this.btnLoad.TabIndex = 1;
     this.btnLoad.Text     = "Load Symbols";
     this.btnLoad.Click   += new System.EventHandler(this.btnLoad_Click);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(13, 149);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(72, 23);
     this.label3.TabIndex = 17;
     this.label3.Text     = "Datatype:";
     //
     // tbDatatype
     //
     this.tbDatatype.Location = new System.Drawing.Point(93, 149);
     this.tbDatatype.Name     = "tbDatatype";
     this.tbDatatype.ReadOnly = true;
     this.tbDatatype.Size     = new System.Drawing.Size(144, 20);
     this.tbDatatype.TabIndex = 16;
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(13, 117);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(72, 23);
     this.label9.TabIndex = 15;
     this.label9.Text     = "Size:";
     //
     // tbSize
     //
     this.tbSize.Location = new System.Drawing.Point(93, 117);
     this.tbSize.Name     = "tbSize";
     this.tbSize.ReadOnly = true;
     this.tbSize.Size     = new System.Drawing.Size(144, 20);
     this.tbSize.TabIndex = 14;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(13, 53);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 23);
     this.label2.TabIndex = 13;
     this.label2.Text     = "Index Group:";
     //
     // tbIndexGroup
     //
     this.tbIndexGroup.Location = new System.Drawing.Point(93, 53);
     this.tbIndexGroup.Name     = "tbIndexGroup";
     this.tbIndexGroup.ReadOnly = true;
     this.tbIndexGroup.Size     = new System.Drawing.Size(144, 20);
     this.tbIndexGroup.TabIndex = 12;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(13, 85);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 23);
     this.label1.TabIndex = 11;
     this.label1.Text     = "Index Offset:";
     //
     // tbIndexOffset
     //
     this.tbIndexOffset.Location = new System.Drawing.Point(93, 85);
     this.tbIndexOffset.Name     = "tbIndexOffset";
     this.tbIndexOffset.ReadOnly = true;
     this.tbIndexOffset.Size     = new System.Drawing.Size(144, 20);
     this.tbIndexOffset.TabIndex = 10;
     //
     // btnFindSymbol
     //
     this.btnFindSymbol.Location = new System.Drawing.Point(120, 56);
     this.btnFindSymbol.Name     = "btnFindSymbol";
     this.btnFindSymbol.Size     = new System.Drawing.Size(104, 23);
     this.btnFindSymbol.TabIndex = 18;
     this.btnFindSymbol.Text     = "Find Symbol";
     this.btnFindSymbol.Click   += new System.EventHandler(this.btnFindSymbol_Click);
     //
     // btnReadSymbolInfo
     //
     this.btnReadSymbolInfo.Location = new System.Drawing.Point(8, 56);
     this.btnReadSymbolInfo.Name     = "btnReadSymbolInfo";
     this.btnReadSymbolInfo.Size     = new System.Drawing.Size(104, 23);
     this.btnReadSymbolInfo.TabIndex = 19;
     this.btnReadSymbolInfo.Text     = "Read Symbol Info";
     this.btnReadSymbolInfo.Click   += new System.EventHandler(this.btnReadSymbolInfo_Click);
     //
     // tbSymbolname
     //
     this.tbSymbolname.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.tbSymbolname.Location = new System.Drawing.Point(88, 24);
     this.tbSymbolname.Name     = "tbSymbolname";
     this.tbSymbolname.Size     = new System.Drawing.Size(600, 20);
     this.tbSymbolname.TabIndex = 20;
     this.tbSymbolname.Text     = "MAIN.INT32_1";
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.btnReadSymbolInfo);
     this.groupBox2.Controls.Add(this.tbSymbolname);
     this.groupBox2.Controls.Add(this.btnFindSymbol);
     this.groupBox2.Location = new System.Drawing.Point(8, 397);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(697, 88);
     this.groupBox2.TabIndex = 21;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Symbol Info";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 24);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(80, 23);
     this.label4.TabIndex = 21;
     this.label4.Text     = "Symbol Name:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(13, 181);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(72, 23);
     this.label5.TabIndex = 23;
     this.label5.Text     = "Datatype Id:";
     //
     // tbDatatypeId
     //
     this.tbDatatypeId.Location = new System.Drawing.Point(93, 181);
     this.tbDatatypeId.Name     = "tbDatatypeId";
     this.tbDatatypeId.ReadOnly = true;
     this.tbDatatypeId.Size     = new System.Drawing.Size(144, 20);
     this.tbDatatypeId.TabIndex = 22;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(13, 213);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(72, 23);
     this.label6.TabIndex = 25;
     this.label6.Text     = "Value:";
     //
     // tbValue
     //
     this.tbValue.Location = new System.Drawing.Point(93, 213);
     this.tbValue.Name     = "tbValue";
     this.tbValue.Size     = new System.Drawing.Size(144, 20);
     this.tbValue.TabIndex = 24;
     //
     // btnWrite
     //
     this.btnWrite.Location = new System.Drawing.Point(16, 239);
     this.btnWrite.Name     = "btnWrite";
     this.btnWrite.Size     = new System.Drawing.Size(221, 23);
     this.btnWrite.TabIndex = 26;
     this.btnWrite.Text     = "Write using WriteSymbol";
     this.btnWrite.Click   += new System.EventHandler(this.btnWrite_Click);
     //
     // tbName
     //
     this.tbName.Location = new System.Drawing.Point(93, 21);
     this.tbName.Name     = "tbName";
     this.tbName.ReadOnly = true;
     this.tbName.Size     = new System.Drawing.Size(144, 20);
     this.tbName.TabIndex = 27;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(13, 21);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(72, 23);
     this.label7.TabIndex = 28;
     this.label7.Text     = "Name:";
     //
     // tbWriteWatch
     //
     this.tbWriteWatch.Location = new System.Drawing.Point(88, 62);
     this.tbWriteWatch.Name     = "tbWriteWatch";
     this.tbWriteWatch.Size     = new System.Drawing.Size(144, 20);
     this.tbWriteWatch.TabIndex = 32;
     //
     // btnWriteWatch
     //
     this.btnWriteWatch.Location = new System.Drawing.Point(238, 60);
     this.btnWriteWatch.Name     = "btnWriteWatch";
     this.btnWriteWatch.Size     = new System.Drawing.Size(166, 23);
     this.btnWriteWatch.TabIndex = 31;
     this.btnWriteWatch.Text     = "Write using Variable Handle";
     this.btnWriteWatch.UseVisualStyleBackColor = true;
     this.btnWriteWatch.Click += new System.EventHandler(this.btnWriteWatch_Click_1);
     //
     // tbWatch
     //
     this.tbWatch.Location = new System.Drawing.Point(88, 37);
     this.tbWatch.Name     = "tbWatch";
     this.tbWatch.Size     = new System.Drawing.Size(144, 20);
     this.tbWatch.TabIndex = 30;
     //
     // btnWatch
     //
     this.btnWatch.Location = new System.Drawing.Point(238, 34);
     this.btnWatch.Name     = "btnWatch";
     this.btnWatch.Size     = new System.Drawing.Size(166, 23);
     this.btnWatch.TabIndex = 29;
     this.btnWatch.Text     = "Watch Current Symbol";
     this.btnWatch.UseVisualStyleBackColor = true;
     this.btnWatch.Click += new System.EventHandler(this.btnWatch_Click);
     //
     // gbWatch
     //
     this.gbWatch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gbWatch.Controls.Add(this.label11);
     this.gbWatch.Controls.Add(this.tbWatch);
     this.gbWatch.Controls.Add(this.tbWriteWatch);
     this.gbWatch.Controls.Add(this.btnWatch);
     this.gbWatch.Controls.Add(this.btnWriteWatch);
     this.gbWatch.Controls.Add(this.label10);
     this.gbWatch.Controls.Add(this.tbWatchSymbolName);
     this.gbWatch.Controls.Add(this.label8);
     this.gbWatch.Location = new System.Drawing.Point(8, 291);
     this.gbWatch.Name     = "gbWatch";
     this.gbWatch.Size     = new System.Drawing.Size(697, 100);
     this.gbWatch.TabIndex = 30;
     this.gbWatch.TabStop  = false;
     this.gbWatch.Text     = "Watch";
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(4, 65);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(80, 23);
     this.label11.TabIndex = 33;
     this.label11.Text     = "New Value:";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(5, 39);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(80, 23);
     this.label10.TabIndex = 23;
     this.label10.Text     = "Value:";
     //
     // tbWatchSymbolName
     //
     this.tbWatchSymbolName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.tbWatchSymbolName.Location = new System.Drawing.Point(88, 13);
     this.tbWatchSymbolName.Name     = "tbWatchSymbolName";
     this.tbWatchSymbolName.Size     = new System.Drawing.Size(601, 20);
     this.tbWatchSymbolName.TabIndex = 22;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(4, 16);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(80, 23);
     this.label8.TabIndex = 22;
     this.label8.Text     = "Symbol Name:";
     //
     // gpCurrentSymbol
     //
     this.gpCurrentSymbol.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.gpCurrentSymbol.Controls.Add(this.label1);
     this.gpCurrentSymbol.Controls.Add(this.tbSize);
     this.gpCurrentSymbol.Controls.Add(this.tbIndexGroup);
     this.gpCurrentSymbol.Controls.Add(this.tbName);
     this.gpCurrentSymbol.Controls.Add(this.tbDatatype);
     this.gpCurrentSymbol.Controls.Add(this.tbIndexOffset);
     this.gpCurrentSymbol.Controls.Add(this.label7);
     this.gpCurrentSymbol.Controls.Add(this.tbDatatypeId);
     this.gpCurrentSymbol.Controls.Add(this.label2);
     this.gpCurrentSymbol.Controls.Add(this.label5);
     this.gpCurrentSymbol.Controls.Add(this.btnWrite);
     this.gpCurrentSymbol.Controls.Add(this.tbValue);
     this.gpCurrentSymbol.Controls.Add(this.label9);
     this.gpCurrentSymbol.Controls.Add(this.label3);
     this.gpCurrentSymbol.Controls.Add(this.label6);
     this.gpCurrentSymbol.Location = new System.Drawing.Point(459, 8);
     this.gpCurrentSymbol.Name     = "gpCurrentSymbol";
     this.gpCurrentSymbol.Size     = new System.Drawing.Size(246, 274);
     this.gpCurrentSymbol.TabIndex = 31;
     this.gpCurrentSymbol.TabStop  = false;
     this.gpCurrentSymbol.Text     = "Current Symbol";
     //
     // label13
     //
     this.label13.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(200, 247);
     this.label13.Name     = "label13";
     this.label13.Size     = new System.Drawing.Size(38, 13);
     this.label13.TabIndex = 6;
     this.label13.Text     = "NetID:";
     this.label13.Click   += new System.EventHandler(this.label13_Click);
     //
     // tbNetID
     //
     this.tbNetID.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tbNetID.Location     = new System.Drawing.Point(238, 244);
     this.tbNetID.Name         = "tbNetID";
     this.tbNetID.Size         = new System.Drawing.Size(100, 20);
     this.tbNetID.TabIndex     = 5;
     this.tbNetID.Text         = "127.0.0.1.1.1";
     this.tbNetID.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(708, 493);
     this.Controls.Add(this.gpCurrentSymbol);
     this.Controls.Add(this.gbWatch);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.MinimumSize = new System.Drawing.Size(640, 480);
     this.Name        = "Form1";
     this.Text        = "Sample06";
     this.Load       += new System.EventHandler(this.Form1_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.gbWatch.ResumeLayout(false);
     this.gbWatch.PerformLayout();
     this.gpCurrentSymbol.ResumeLayout(false);
     this.gpCurrentSymbol.PerformLayout();
     this.ResumeLayout(false);
 }
Ejemplo n.º 54
0
 /// <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(MainForm));
     this.pbTerrain   = new System.Windows.Forms.PictureBox();
     this.btnStep     = new System.Windows.Forms.Button();
     this.btnRun      = new System.Windows.Forms.Button();
     this.txtInterval = new System.Windows.Forms.TextBox();
     this.cbLasers    = new System.Windows.Forms.CheckBox();
     this.groupBox1   = new System.Windows.Forms.GroupBox();
     this.txtRight    = new System.Windows.Forms.Label();
     this.txtLeft     = new System.Windows.Forms.Label();
     this.txtFront    = new System.Windows.Forms.Label();
     this.lbl         = 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.label3      = new System.Windows.Forms.Label();
     this.txtAngle    = new System.Windows.Forms.Label();
     this.gbComandos  = new System.Windows.Forms.GroupBox();
     this.cbTrajeto   = new System.Windows.Forms.CheckBox();
     this.btnReset    = new System.Windows.Forms.Button();
     this.label4      = new System.Windows.Forms.Label();
     this.pbRobot     = new System.Windows.Forms.PictureBox();
     this.groupBox3   = new System.Windows.Forms.GroupBox();
     this.label5      = new System.Windows.Forms.Label();
     this.aboutButton = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.pbTerrain)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.gbComandos.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pbRobot)).BeginInit();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // pbTerrain
     //
     this.pbTerrain.BackColor    = System.Drawing.SystemColors.ControlText;
     this.pbTerrain.ErrorImage   = null;
     this.pbTerrain.Image        = ((System.Drawing.Image)(resources.GetObject("pbTerrain.Image")));
     this.pbTerrain.InitialImage = null;
     this.pbTerrain.Location     = new System.Drawing.Point(256, 12);
     this.pbTerrain.Name         = "pbTerrain";
     this.pbTerrain.Size         = new System.Drawing.Size(500, 500);
     this.pbTerrain.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pbTerrain.TabIndex     = 10;
     this.pbTerrain.TabStop      = false;
     this.pbTerrain.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.pbTerrain_MouseDown);
     this.pbTerrain.MouseMove   += new System.Windows.Forms.MouseEventHandler(this.pbTerrain_MouseMove);
     //
     // btnStep
     //
     this.btnStep.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnStep.Location  = new System.Drawing.Point(10, 159);
     this.btnStep.Name      = "btnStep";
     this.btnStep.Size      = new System.Drawing.Size(120, 34);
     this.btnStep.TabIndex  = 14;
     this.btnStep.Text      = "&One Step";
     this.btnStep.Click    += new System.EventHandler(this.button3_Click);
     //
     // btnRun
     //
     this.btnRun.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnRun.Location  = new System.Drawing.Point(10, 202);
     this.btnRun.Name      = "btnRun";
     this.btnRun.Size      = new System.Drawing.Size(120, 33);
     this.btnRun.TabIndex  = 15;
     this.btnRun.Text      = "&Run";
     this.btnRun.Click    += new System.EventHandler(this.btnRun_Click);
     //
     // txtInterval
     //
     this.txtInterval.Location  = new System.Drawing.Point(10, 121);
     this.txtInterval.Name      = "txtInterval";
     this.txtInterval.Size      = new System.Drawing.Size(115, 26);
     this.txtInterval.TabIndex  = 16;
     this.txtInterval.Text      = "10";
     this.txtInterval.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // cbLasers
     //
     this.cbLasers.Checked    = true;
     this.cbLasers.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbLasers.Location   = new System.Drawing.Point(13, 58);
     this.cbLasers.Name       = "cbLasers";
     this.cbLasers.Size       = new System.Drawing.Size(192, 36);
     this.cbLasers.TabIndex   = 17;
     this.cbLasers.Text       = "&Show Beams";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.txtRight);
     this.groupBox1.Controls.Add(this.txtLeft);
     this.groupBox1.Controls.Add(this.txtFront);
     this.groupBox1.Controls.Add(this.lbl);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(13, 12);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(230, 105);
     this.groupBox1.TabIndex = 24;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Sensor readings::";
     //
     // txtRight
     //
     this.txtRight.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtRight.Location    = new System.Drawing.Point(166, 70);
     this.txtRight.Name        = "txtRight";
     this.txtRight.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.txtRight.Size        = new System.Drawing.Size(52, 24);
     this.txtRight.TabIndex    = 29;
     this.txtRight.Text        = "0";
     this.txtRight.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtLeft
     //
     this.txtLeft.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLeft.Location    = new System.Drawing.Point(166, 47);
     this.txtLeft.Name        = "txtLeft";
     this.txtLeft.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.txtLeft.Size        = new System.Drawing.Size(52, 23);
     this.txtLeft.TabIndex    = 28;
     this.txtLeft.Text        = "0";
     this.txtLeft.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtFront
     //
     this.txtFront.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFront.Location    = new System.Drawing.Point(166, 23);
     this.txtFront.Name        = "txtFront";
     this.txtFront.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.txtFront.Size        = new System.Drawing.Size(52, 24);
     this.txtFront.TabIndex    = 27;
     this.txtFront.Text        = "0";
     this.txtFront.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbl
     //
     this.lbl.Location = new System.Drawing.Point(13, 70);
     this.lbl.Name     = "lbl";
     this.lbl.Size     = new System.Drawing.Size(160, 24);
     this.lbl.TabIndex = 26;
     this.lbl.Text     = "Right (pixels):";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(13, 47);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(160, 23);
     this.label2.TabIndex = 25;
     this.label2.Text     = "Left (pixels):";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(13, 23);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(141, 24);
     this.label1.TabIndex = 24;
     this.label1.Text     = "Frontal (pixels):";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.txtAngle);
     this.groupBox2.Location = new System.Drawing.Point(13, 129);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(230, 58);
     this.groupBox2.TabIndex = 25;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Output:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(13, 23);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(141, 24);
     this.label3.TabIndex = 10;
     this.label3.Text     = "Angle (degrees):";
     //
     // txtAngle
     //
     this.txtAngle.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtAngle.Location  = new System.Drawing.Point(154, 23);
     this.txtAngle.Name      = "txtAngle";
     this.txtAngle.Size      = new System.Drawing.Size(64, 24);
     this.txtAngle.TabIndex  = 29;
     this.txtAngle.Text      = "0,00";
     this.txtAngle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // gbComandos
     //
     this.gbComandos.Controls.Add(this.cbTrajeto);
     this.gbComandos.Controls.Add(this.btnReset);
     this.gbComandos.Controls.Add(this.label4);
     this.gbComandos.Controls.Add(this.btnStep);
     this.gbComandos.Controls.Add(this.cbLasers);
     this.gbComandos.Controls.Add(this.btnRun);
     this.gbComandos.Controls.Add(this.txtInterval);
     this.gbComandos.Location = new System.Drawing.Point(13, 199);
     this.gbComandos.Name     = "gbComandos";
     this.gbComandos.Size     = new System.Drawing.Size(230, 292);
     this.gbComandos.TabIndex = 26;
     this.gbComandos.TabStop  = false;
     this.gbComandos.Text     = "Tools:";
     //
     // cbTrajeto
     //
     this.cbTrajeto.Location = new System.Drawing.Point(13, 23);
     this.cbTrajeto.Name     = "cbTrajeto";
     this.cbTrajeto.Size     = new System.Drawing.Size(192, 35);
     this.cbTrajeto.TabIndex = 19;
     this.cbTrajeto.Text     = "&Track Path";
     //
     // btnReset
     //
     this.btnReset.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnReset.Location  = new System.Drawing.Point(10, 244);
     this.btnReset.Name      = "btnReset";
     this.btnReset.Size      = new System.Drawing.Size(120, 34);
     this.btnReset.TabIndex  = 0;
     this.btnReset.Text      = "Rest&art";
     this.btnReset.Click    += new System.EventHandler(this.btnReset_Click);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(10, 98);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(200, 19);
     this.label4.TabIndex = 18;
     this.label4.Text     = "Move Interval (ms):";
     //
     // pbRobot
     //
     this.pbRobot.BackColor = System.Drawing.Color.Transparent;
     this.pbRobot.Image     = ((System.Drawing.Image)(resources.GetObject("pbRobot.Image")));
     this.pbRobot.Location  = new System.Drawing.Point(346, 690);
     this.pbRobot.Name      = "pbRobot";
     this.pbRobot.Size      = new System.Drawing.Size(16, 14);
     this.pbRobot.TabIndex  = 11;
     this.pbRobot.TabStop   = false;
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.label5);
     this.groupBox3.Location = new System.Drawing.Point(13, 500);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(230, 174);
     this.groupBox3.TabIndex = 27;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Hints:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(13, 23);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(200, 129);
     this.label5.TabIndex = 10;
     this.label5.Text     = "Left click the image to draw passages (white), right click the image to draw wall" +
                            "s (black).";
     //
     // aboutButton
     //
     this.aboutButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.aboutButton.Location  = new System.Drawing.Point(66, 691);
     this.aboutButton.Name      = "aboutButton";
     this.aboutButton.Size      = new System.Drawing.Size(120, 34);
     this.aboutButton.TabIndex  = 28;
     this.aboutButton.Text      = "About";
     this.aboutButton.UseVisualStyleBackColor = true;
     this.aboutButton.Click += new System.EventHandler(this.aboutButton_Click);
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
     this.ClientSize        = new System.Drawing.Size(981, 733);
     this.Controls.Add(this.aboutButton);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.gbComandos);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.pbRobot);
     this.Controls.Add(this.pbTerrain);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Fuzzy Auto Guided Vehicle Sample";
     ((System.ComponentModel.ISupportInitialize)(this.pbTerrain)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.gbComandos.ResumeLayout(false);
     this.gbComandos.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pbRobot)).EndInit();
     this.groupBox3.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo 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()
 {
     enabledLb_    = new System.Windows.Forms.Label();
     buttonsPn_    = new System.Windows.Forms.Panel();
     okBtn_        = new System.Windows.Forms.Button();
     cancelBtn_    = new System.Windows.Forms.Button();
     enabledChk_   = new System.Windows.Forms.CheckBox();
     recursiveChk_ = new System.Windows.Forms.CheckBox();
     recursiveLb_  = new System.Windows.Forms.Label();
     buttonsPn_.SuspendLayout();
     SuspendLayout();
     //
     // EnabledLB
     //
     enabledLb_.Location  = new System.Drawing.Point(4, 4);
     enabledLb_.Name      = "enabledLb_";
     enabledLb_.Size      = new System.Drawing.Size(68, 20);
     enabledLb_.TabIndex  = 1;
     enabledLb_.Text      = "Enabled";
     enabledLb_.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ButtonsPN
     //
     buttonsPn_.Controls.Add(okBtn_);
     buttonsPn_.Controls.Add(cancelBtn_);
     buttonsPn_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     buttonsPn_.Location = new System.Drawing.Point(0, 50);
     buttonsPn_.Name     = "buttonsPn_";
     buttonsPn_.Size     = new System.Drawing.Size(216, 36);
     buttonsPn_.TabIndex = 0;
     //
     // OkBTN
     //
     okBtn_.DialogResult = System.Windows.Forms.DialogResult.OK;
     okBtn_.Location     = new System.Drawing.Point(4, 8);
     okBtn_.Name         = "okBtn_";
     okBtn_.TabIndex     = 1;
     okBtn_.Text         = "OK";
     //
     // CancelBTN
     //
     cancelBtn_.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     cancelBtn_.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     cancelBtn_.Location     = new System.Drawing.Point(136, 8);
     cancelBtn_.Name         = "cancelBtn_";
     cancelBtn_.TabIndex     = 0;
     cancelBtn_.Text         = "Cancel";
     //
     // EnabledCHK
     //
     enabledChk_.Location = new System.Drawing.Point(80, 2);
     enabledChk_.Name     = "enabledChk_";
     enabledChk_.Size     = new System.Drawing.Size(24, 24);
     enabledChk_.TabIndex = 2;
     //
     // RecursiveCHK
     //
     recursiveChk_.Location = new System.Drawing.Point(80, 26);
     recursiveChk_.Name     = "recursiveChk_";
     recursiveChk_.Size     = new System.Drawing.Size(24, 24);
     recursiveChk_.TabIndex = 4;
     //
     // RecursiveLB
     //
     recursiveLb_.Location  = new System.Drawing.Point(4, 28);
     recursiveLb_.Name      = "recursiveLb_";
     recursiveLb_.Size      = new System.Drawing.Size(68, 20);
     recursiveLb_.TabIndex  = 3;
     recursiveLb_.Text      = "Recursive";
     recursiveLb_.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // SetEnabledStateDlg
     //
     AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     CancelButton      = cancelBtn_;
     ClientSize        = new System.Drawing.Size(216, 86);
     Controls.Add(recursiveChk_);
     Controls.Add(recursiveLb_);
     Controls.Add(enabledChk_);
     Controls.Add(buttonsPn_);
     Controls.Add(enabledLb_);
     MaximizeBox   = false;
     Name          = "SetEnabledStateDlg";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     Text          = "Set Enabled State";
     buttonsPn_.ResumeLayout(false);
     ResumeLayout(false);
 }
Ejemplo n.º 56
0
        public void loadItem(ref int id)
        {
            System.Windows.Forms.TextBox  oText  = null;
            System.Windows.Forms.CheckBox oCheck = null;
            // ERROR: Not supported in C#: OnErrorStatement


            gID = id;

            bool cBitA = false;
            bool cBitF = false;

            if (id)
            {
                adoPrimaryRS = modRecordSet.getRS(ref "select * from Supplier WHERE SupplierID = " + id);

                if (32 & My.MyProject.Forms.frmMenu.gBit)
                {
                    cBitA = true;
                }
                if (64 & My.MyProject.Forms.frmMenu.gBit)
                {
                    cBitF = true;
                }
                if (cBitA == true & cBitF == true)
                {
                    _txtFloat_13.Enabled = true;
                    _txtFloat_14.Enabled = true;
                    _txtFloat_15.Enabled = true;
                    _txtFloat_16.Enabled = true;
                    _txtFloat_17.Enabled = true;
                }
            }
            else
            {
                adoPrimaryRS = modRecordSet.getRS(ref "select * from Supplier");
                adoPrimaryRS.AddNew();
                this.Text    = this.Text + " [New record]";
                mbAddNewFlag = true;
            }
            //    If adoPrimaryRS.BOF Or adoPrimaryRS.EOF Then
            //    Else
            // ERROR: Not supported in C#: OnErrorStatement

            foreach (TextBox oText_loopVariable in txtFields)
            {
                oText = oText_loopVariable;
                oText.DataBindings.Add(adoPrimaryRS);
                oText.MaxLength = adoPrimaryRS.Fields(oText.DataBindings).DefinedSize;
            }
            //        For Each oText In Me.txtInteger
            //            Set oText.DataBindings.Add(adoPrimaryRS)
            //            txtInteger_LostFocus oText.Index
            //        Next
            foreach (TextBox oText_loopVariable in txtFloat)
            {
                oText = oText_loopVariable;
                oText.DataBindings.Add(adoPrimaryRS);
                if (string.IsNullOrEmpty(oText.Text))
                {
                    oText.Text = "0";
                }
                oText.Text   = Convert.ToString(Convert.ToDouble(oText.Text) * 100);
                oText.Leave += txtFloat_Leave;
            }
            foreach (TextBox oText_loopVariable in txtFloatNegative)
            {
                oText = oText_loopVariable;
                oText.DataBindings.Add(adoPrimaryRS);
                if (string.IsNullOrEmpty(oText.Text))
                {
                    oText.Text = "0";
                }
                oText.Text   = Convert.ToString(Convert.ToDouble(oText.Text) * 100);
                oText.Leave += txtFloatNegative_Leave;
            }
            //Bind the check boxes to the data provider
            foreach (CheckBox oCheck_loopVariable in this.chkFields)
            {
                oCheck = oCheck_loopVariable;
                oCheck.DataBindings.Add(adoPrimaryRS);
            }
            buildDataControls();
            mbDataChanged = false;

            loadLanguage();
            ShowDialog();
            //    End If
        }
Ejemplo n.º 57
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.Frame2             = new System.Windows.Forms.GroupBox();
     this.ReceivedTB         = new System.Windows.Forms.TextBox();
     this.SentTB             = new System.Windows.Forms.TextBox();
     this.Label6             = new System.Windows.Forms.Label();
     this.Label5             = new System.Windows.Forms.Label();
     this.PacketCounterTimer = new System.Windows.Forms.Timer(this.components);
     this.EchoCB             = new System.Windows.Forms.CheckBox();
     this.SendBtn            = new System.Windows.Forms.Button();
     this.SyncBtn            = new System.Windows.Forms.CheckBox();
     this.HexCB         = new System.Windows.Forms.CheckBox();
     this.StatusBtn     = new System.Windows.Forms.Button();
     this.Frame1        = new System.Windows.Forms.GroupBox();
     this.SendText      = new System.Windows.Forms.TextBox();
     this._Label1_1     = new System.Windows.Forms.Label();
     this.ReceivedText  = new System.Windows.Forms.TextBox();
     this.OpenBtn       = new System.Windows.Forms.Button();
     this.CloseBtn      = new System.Windows.Forms.Button();
     this.PropertiesBtn = new System.Windows.Forms.Button();
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     this.MinSizeTB     = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.EOPText       = new System.Windows.Forms.TextBox();
     this.WaitTimeTB    = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.Frame2.SuspendLayout();
     this.Frame1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // Frame2
     //
     this.Frame2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.Frame2.BackColor = System.Drawing.SystemColors.Control;
     this.Frame2.Controls.Add(this.ReceivedTB);
     this.Frame2.Controls.Add(this.SentTB);
     this.Frame2.Controls.Add(this.Label6);
     this.Frame2.Controls.Add(this.Label5);
     this.Frame2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Frame2.Location    = new System.Drawing.Point(3, 305);
     this.Frame2.Name        = "Frame2";
     this.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Frame2.Size        = new System.Drawing.Size(393, 49);
     this.Frame2.TabIndex    = 12;
     this.Frame2.TabStop     = false;
     this.Frame2.Text        = "Packet statistics";
     //
     // ReceivedTB
     //
     this.ReceivedTB.AcceptsReturn = true;
     this.ReceivedTB.BackColor     = System.Drawing.SystemColors.Window;
     this.ReceivedTB.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.ReceivedTB.Enabled       = false;
     this.ReceivedTB.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.ReceivedTB.Location      = new System.Drawing.Point(224, 16);
     this.ReceivedTB.MaxLength     = 0;
     this.ReceivedTB.Name          = "ReceivedTB";
     this.ReceivedTB.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.ReceivedTB.Size          = new System.Drawing.Size(105, 20);
     this.ReceivedTB.TabIndex      = 14;
     this.ReceivedTB.Text          = "0";
     //
     // SentTB
     //
     this.SentTB.AcceptsReturn = true;
     this.SentTB.BackColor     = System.Drawing.SystemColors.Window;
     this.SentTB.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.SentTB.Enabled       = false;
     this.SentTB.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.SentTB.Location      = new System.Drawing.Point(56, 16);
     this.SentTB.MaxLength     = 0;
     this.SentTB.Name          = "SentTB";
     this.SentTB.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.SentTB.Size          = new System.Drawing.Size(89, 20);
     this.SentTB.TabIndex      = 13;
     this.SentTB.Text          = "0";
     //
     // Label6
     //
     this.Label6.AutoSize    = true;
     this.Label6.BackColor   = System.Drawing.SystemColors.Control;
     this.Label6.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label6.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label6.Location    = new System.Drawing.Point(160, 16);
     this.Label6.Name        = "Label6";
     this.Label6.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label6.Size        = new System.Drawing.Size(56, 13);
     this.Label6.TabIndex    = 16;
     this.Label6.Text        = "Received:";
     //
     // Label5
     //
     this.Label5.AutoSize    = true;
     this.Label5.BackColor   = System.Drawing.SystemColors.Control;
     this.Label5.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label5.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label5.Location    = new System.Drawing.Point(8, 16);
     this.Label5.Name        = "Label5";
     this.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label5.Size        = new System.Drawing.Size(32, 13);
     this.Label5.TabIndex    = 15;
     this.Label5.Text        = "Sent:";
     //
     // PacketCounterTimer
     //
     this.PacketCounterTimer.Interval = 1000;
     this.PacketCounterTimer.Tick    += new System.EventHandler(this.PacketCounterTimer_Tick);
     //
     // EchoCB
     //
     this.EchoCB.BackColor               = System.Drawing.SystemColors.Control;
     this.EchoCB.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.EchoCB.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.EchoCB.Location                = new System.Drawing.Point(134, 103);
     this.EchoCB.Name                    = "EchoCB";
     this.EchoCB.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.EchoCB.Size                    = new System.Drawing.Size(57, 25);
     this.EchoCB.TabIndex                = 22;
     this.EchoCB.Text                    = "Echo";
     this.EchoCB.UseVisualStyleBackColor = false;
     //
     // SendBtn
     //
     this.SendBtn.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.SendBtn.BackColor               = System.Drawing.SystemColors.Control;
     this.SendBtn.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.SendBtn.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.SendBtn.Location                = new System.Drawing.Point(265, 102);
     this.SendBtn.Name                    = "SendBtn";
     this.SendBtn.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.SendBtn.Size                    = new System.Drawing.Size(73, 25);
     this.SendBtn.TabIndex                = 21;
     this.SendBtn.Text                    = "Send";
     this.SendBtn.UseVisualStyleBackColor = false;
     this.SendBtn.Click                  += new System.EventHandler(this.SendBtn_Click);
     //
     // SyncBtn
     //
     this.SyncBtn.BackColor               = System.Drawing.SystemColors.Control;
     this.SyncBtn.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.SyncBtn.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.SyncBtn.Location                = new System.Drawing.Point(71, 103);
     this.SyncBtn.Name                    = "SyncBtn";
     this.SyncBtn.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.SyncBtn.Size                    = new System.Drawing.Size(57, 25);
     this.SyncBtn.TabIndex                = 11;
     this.SyncBtn.Text                    = "Sync";
     this.SyncBtn.UseVisualStyleBackColor = false;
     this.SyncBtn.CheckedChanged         += new System.EventHandler(this.SyncBtn_CheckedChanged);
     //
     // HexCB
     //
     this.HexCB.BackColor               = System.Drawing.SystemColors.Control;
     this.HexCB.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.HexCB.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.HexCB.Location                = new System.Drawing.Point(8, 103);
     this.HexCB.Name                    = "HexCB";
     this.HexCB.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.HexCB.Size                    = new System.Drawing.Size(57, 25);
     this.HexCB.TabIndex                = 10;
     this.HexCB.Text                    = "Hex";
     this.HexCB.UseVisualStyleBackColor = false;
     //
     // StatusBtn
     //
     this.StatusBtn.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.StatusBtn.BackColor               = System.Drawing.SystemColors.Control;
     this.StatusBtn.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.StatusBtn.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.StatusBtn.Location                = new System.Drawing.Point(344, 104);
     this.StatusBtn.Name                    = "StatusBtn";
     this.StatusBtn.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.StatusBtn.Size                    = new System.Drawing.Size(73, 25);
     this.StatusBtn.TabIndex                = 8;
     this.StatusBtn.Text                    = "Status";
     this.StatusBtn.UseVisualStyleBackColor = false;
     this.StatusBtn.Click                  += new System.EventHandler(this.StatusBtn_Click);
     //
     // Frame1
     //
     this.Frame1.BackColor = System.Drawing.SystemColors.Control;
     this.Frame1.Controls.Add(this.EchoCB);
     this.Frame1.Controls.Add(this.SendText);
     this.Frame1.Controls.Add(this.SyncBtn);
     this.Frame1.Controls.Add(this.SendBtn);
     this.Frame1.Controls.Add(this.HexCB);
     this.Frame1.Controls.Add(this._Label1_1);
     this.Frame1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Frame1.Location    = new System.Drawing.Point(0, 0);
     this.Frame1.Name        = "Frame1";
     this.Frame1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Frame1.Size        = new System.Drawing.Size(337, 137);
     this.Frame1.TabIndex    = 6;
     this.Frame1.TabStop     = false;
     //
     // SendText
     //
     this.SendText.AcceptsReturn = true;
     this.SendText.Anchor        = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.SendText.BackColor   = System.Drawing.SystemColors.Window;
     this.SendText.Cursor      = System.Windows.Forms.Cursors.IBeam;
     this.SendText.ForeColor   = System.Drawing.SystemColors.WindowText;
     this.SendText.Location    = new System.Drawing.Point(8, 32);
     this.SendText.MaxLength   = 0;
     this.SendText.Multiline   = true;
     this.SendText.Name        = "SendText";
     this.SendText.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.SendText.Size        = new System.Drawing.Size(321, 33);
     this.SendText.TabIndex    = 4;
     //
     // _Label1_1
     //
     this._Label1_1.BackColor   = System.Drawing.SystemColors.Control;
     this._Label1_1.Cursor      = System.Windows.Forms.Cursors.Default;
     this._Label1_1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this._Label1_1.Location    = new System.Drawing.Point(8, 8);
     this._Label1_1.Name        = "_Label1_1";
     this._Label1_1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._Label1_1.Size        = new System.Drawing.Size(89, 17);
     this._Label1_1.TabIndex    = 0;
     this._Label1_1.Text        = "Send:";
     //
     // ReceivedText
     //
     this.ReceivedText.AcceptsReturn = true;
     this.ReceivedText.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.ReceivedText.BackColor   = System.Drawing.SystemColors.Window;
     this.ReceivedText.Cursor      = System.Windows.Forms.Cursors.IBeam;
     this.ReceivedText.ForeColor   = System.Drawing.SystemColors.WindowText;
     this.ReceivedText.Location    = new System.Drawing.Point(3, 189);
     this.ReceivedText.MaxLength   = 0;
     this.ReceivedText.Multiline   = true;
     this.ReceivedText.Name        = "ReceivedText";
     this.ReceivedText.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.ReceivedText.Size        = new System.Drawing.Size(414, 97);
     this.ReceivedText.TabIndex    = 5;
     this.ReceivedText.TabStop     = false;
     //
     // OpenBtn
     //
     this.OpenBtn.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.OpenBtn.BackColor               = System.Drawing.SystemColors.Control;
     this.OpenBtn.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.OpenBtn.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.OpenBtn.Location                = new System.Drawing.Point(344, 8);
     this.OpenBtn.Name                    = "OpenBtn";
     this.OpenBtn.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.OpenBtn.Size                    = new System.Drawing.Size(73, 25);
     this.OpenBtn.TabIndex                = 1;
     this.OpenBtn.Text                    = "Open";
     this.OpenBtn.UseVisualStyleBackColor = false;
     this.OpenBtn.Click                  += new System.EventHandler(this.OpenBtn_Click);
     //
     // CloseBtn
     //
     this.CloseBtn.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.CloseBtn.BackColor               = System.Drawing.SystemColors.Control;
     this.CloseBtn.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.CloseBtn.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.CloseBtn.Enabled                 = false;
     this.CloseBtn.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.CloseBtn.Location                = new System.Drawing.Point(344, 40);
     this.CloseBtn.Name                    = "CloseBtn";
     this.CloseBtn.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.CloseBtn.Size                    = new System.Drawing.Size(73, 25);
     this.CloseBtn.TabIndex                = 2;
     this.CloseBtn.Text                    = "Close";
     this.CloseBtn.UseVisualStyleBackColor = false;
     this.CloseBtn.Click                  += new System.EventHandler(this.CloseBtn_Click);
     //
     // PropertiesBtn
     //
     this.PropertiesBtn.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.PropertiesBtn.BackColor               = System.Drawing.SystemColors.Control;
     this.PropertiesBtn.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.PropertiesBtn.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.PropertiesBtn.Location                = new System.Drawing.Point(344, 72);
     this.PropertiesBtn.Name                    = "PropertiesBtn";
     this.PropertiesBtn.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.PropertiesBtn.Size                    = new System.Drawing.Size(73, 25);
     this.PropertiesBtn.TabIndex                = 3;
     this.PropertiesBtn.Text                    = "Properties";
     this.PropertiesBtn.UseVisualStyleBackColor = false;
     this.PropertiesBtn.Click                  += new System.EventHandler(this.PropertiesBtn_Click);
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.SystemColors.Control;
     this.groupBox1.Controls.Add(this.MinSizeTB);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.EOPText);
     this.groupBox1.Controls.Add(this.WaitTimeTB);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.groupBox1.Location    = new System.Drawing.Point(2, 134);
     this.groupBox1.Name        = "groupBox1";
     this.groupBox1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.groupBox1.Size        = new System.Drawing.Size(393, 49);
     this.groupBox1.TabIndex    = 18;
     this.groupBox1.TabStop     = false;
     this.groupBox1.Text        = "Synchronous settings";
     //
     // MinSizeTB
     //
     this.MinSizeTB.AcceptsReturn = true;
     this.MinSizeTB.BackColor     = System.Drawing.SystemColors.Window;
     this.MinSizeTB.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.MinSizeTB.Enabled       = false;
     this.MinSizeTB.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.MinSizeTB.Location      = new System.Drawing.Point(310, 15);
     this.MinSizeTB.MaxLength     = 0;
     this.MinSizeTB.Name          = "MinSizeTB";
     this.MinSizeTB.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.MinSizeTB.Size          = new System.Drawing.Size(72, 20);
     this.MinSizeTB.TabIndex      = 26;
     this.MinSizeTB.Text          = "0";
     //
     // label3
     //
     this.label3.AutoSize    = true;
     this.label3.BackColor   = System.Drawing.SystemColors.Control;
     this.label3.Cursor      = System.Windows.Forms.Cursors.Default;
     this.label3.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.label3.Location    = new System.Drawing.Point(272, 16);
     this.label3.Name        = "label3";
     this.label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.label3.Size        = new System.Drawing.Size(30, 13);
     this.label3.TabIndex    = 25;
     this.label3.Text        = "Size:";
     //
     // EOPText
     //
     this.EOPText.BackColor   = System.Drawing.SystemColors.Window;
     this.EOPText.Cursor      = System.Windows.Forms.Cursors.IBeam;
     this.EOPText.ForeColor   = System.Drawing.SystemColors.WindowText;
     this.EOPText.Location    = new System.Drawing.Point(192, 15);
     this.EOPText.MaxLength   = 0;
     this.EOPText.Name        = "EOPText";
     this.EOPText.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.EOPText.Size        = new System.Drawing.Size(72, 20);
     this.EOPText.TabIndex    = 24;
     this.EOPText.Text        = "\\r\\n";
     //
     // WaitTimeTB
     //
     this.WaitTimeTB.AcceptsReturn = true;
     this.WaitTimeTB.BackColor     = System.Drawing.SystemColors.Window;
     this.WaitTimeTB.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.WaitTimeTB.Enabled       = false;
     this.WaitTimeTB.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.WaitTimeTB.Location      = new System.Drawing.Point(80, 16);
     this.WaitTimeTB.MaxLength     = 0;
     this.WaitTimeTB.Name          = "WaitTimeTB";
     this.WaitTimeTB.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.WaitTimeTB.Size          = new System.Drawing.Size(61, 20);
     this.WaitTimeTB.TabIndex      = 13;
     this.WaitTimeTB.Text          = "5000";
     //
     // label1
     //
     this.label1.AutoSize    = true;
     this.label1.BackColor   = System.Drawing.SystemColors.Control;
     this.label1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.label1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.label1.Location    = new System.Drawing.Point(154, 16);
     this.label1.Name        = "label1";
     this.label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.label1.Size        = new System.Drawing.Size(32, 13);
     this.label1.TabIndex    = 16;
     this.label1.Text        = "EOP:";
     //
     // label2
     //
     this.label2.AutoSize    = true;
     this.label2.BackColor   = System.Drawing.SystemColors.Control;
     this.label2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.label2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.label2.Location    = new System.Drawing.Point(8, 18);
     this.label2.Name        = "label2";
     this.label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.label2.Size        = new System.Drawing.Size(58, 13);
     this.label2.TabIndex    = 15;
     this.label2.Text        = "Wait Time:";
     //
     // Form1
     //
     this.AcceptButton        = this.OpenBtn;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Control;
     this.CancelButton        = this.CloseBtn;
     this.ClientSize          = new System.Drawing.Size(422, 355);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.Frame2);
     this.Controls.Add(this.ReceivedText);
     this.Controls.Add(this.StatusBtn);
     this.Controls.Add(this.Frame1);
     this.Controls.Add(this.OpenBtn);
     this.Controls.Add(this.CloseBtn);
     this.Controls.Add(this.PropertiesBtn);
     this.Cursor        = System.Windows.Forms.Cursors.Default;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Location      = new System.Drawing.Point(226, 67);
     this.Name          = "Form1";
     this.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.Text          = "GXSerial Sample";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.Frame2.ResumeLayout(false);
     this.Frame2.PerformLayout();
     this.Frame1.ResumeLayout(false);
     this.Frame1.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 58
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1    = new System.Windows.Forms.Panel();
     this.G_0       = new System.Windows.Forms.GroupBox();
     this.R_Par     = new System.Windows.Forms.RadioButton();
     this.R_ALL     = new System.Windows.Forms.RadioButton();
     this.G_1       = new System.Windows.Forms.GroupBox();
     this.ck        = new System.Windows.Forms.CheckBox();
     this.R_NON     = new System.Windows.Forms.RadioButton();
     this.R_WID     = new System.Windows.Forms.RadioButton();
     this.R_DEP     = new System.Windows.Forms.RadioButton();
     this.G_DEP     = new System.Windows.Forms.GroupBox();
     this.cmd_NON   = new System.Windows.Forms.Button();
     this.CB_DEP    = new System.Windows.Forms.ComboBox();
     this.G_WID     = new System.Windows.Forms.GroupBox();
     this.txt_fr    = new System.Windows.Forms.TextBox();
     this.txt_to    = new System.Windows.Forms.TextBox();
     this.label1    = new System.Windows.Forms.Label();
     this.label2    = new System.Windows.Forms.Label();
     this.radChucVu = new System.Windows.Forms.RadioButton();
     this.panel1.SuspendLayout();
     this.G_0.SuspendLayout();
     this.G_1.SuspendLayout();
     this.G_DEP.SuspendLayout();
     this.G_WID.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.G_0);
     this.panel1.Controls.Add(this.G_1);
     this.panel1.Controls.Add(this.G_DEP);
     this.panel1.Controls.Add(this.G_WID);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(452, 176);
     this.panel1.TabIndex = 0;
     //
     // G_0
     //
     this.G_0.Controls.Add(this.R_Par);
     this.G_0.Controls.Add(this.R_ALL);
     this.G_0.Location = new System.Drawing.Point(6, 0);
     this.G_0.Name     = "G_0";
     this.G_0.Size     = new System.Drawing.Size(434, 44);
     this.G_0.TabIndex = 15;
     this.G_0.TabStop  = false;
     this.G_0.Tag      = "N";
     //
     // R_Par
     //
     this.R_Par.Location        = new System.Drawing.Point(216, 16);
     this.R_Par.Name            = "R_Par";
     this.R_Par.Size            = new System.Drawing.Size(172, 24);
     this.R_Par.TabIndex        = 2;
     this.R_Par.Text            = "Partial";
     this.R_Par.CheckedChanged += new System.EventHandler(this.R_Par_CheckedChanged);
     //
     // R_ALL
     //
     this.R_ALL.Checked         = true;
     this.R_ALL.Location        = new System.Drawing.Point(68, 16);
     this.R_ALL.Name            = "R_ALL";
     this.R_ALL.Size            = new System.Drawing.Size(128, 24);
     this.R_ALL.TabIndex        = 1;
     this.R_ALL.TabStop         = true;
     this.R_ALL.Text            = "All";
     this.R_ALL.CheckedChanged += new System.EventHandler(this.R_Par_CheckedChanged);
     //
     // G_1
     //
     this.G_1.Controls.Add(this.radChucVu);
     this.G_1.Controls.Add(this.ck);
     this.G_1.Controls.Add(this.R_NON);
     this.G_1.Controls.Add(this.R_WID);
     this.G_1.Controls.Add(this.R_DEP);
     this.G_1.Location = new System.Drawing.Point(6, 40);
     this.G_1.Name     = "G_1";
     this.G_1.Size     = new System.Drawing.Size(434, 44);
     this.G_1.TabIndex = 16;
     this.G_1.TabStop  = false;
     this.G_1.Tag      = "N";
     //
     // ck
     //
     this.ck.Location        = new System.Drawing.Point(348, 16);
     this.ck.Name            = "ck";
     this.ck.Size            = new System.Drawing.Size(72, 24);
     this.ck.TabIndex        = 4;
     this.ck.Text            = "MSBP";
     this.ck.CheckedChanged += new System.EventHandler(this.ck_CheckedChanged);
     //
     // R_NON
     //
     this.R_NON.Location        = new System.Drawing.Point(144, 14);
     this.R_NON.Name            = "R_NON";
     this.R_NON.Size            = new System.Drawing.Size(120, 24);
     this.R_NON.TabIndex        = 3;
     this.R_NON.Text            = "Không liên tục";
     this.R_NON.CheckedChanged += new System.EventHandler(this.R_Par_CheckedChanged);
     //
     // R_WID
     //
     this.R_WID.Location        = new System.Drawing.Point(80, 14);
     this.R_WID.Name            = "R_WID";
     this.R_WID.Size            = new System.Drawing.Size(64, 24);
     this.R_WID.TabIndex        = 2;
     this.R_WID.Text            = "MSNV";
     this.R_WID.CheckedChanged += new System.EventHandler(this.R_Par_CheckedChanged);
     //
     // R_DEP
     //
     this.R_DEP.Location        = new System.Drawing.Point(4, 14);
     this.R_DEP.Name            = "R_DEP";
     this.R_DEP.Size            = new System.Drawing.Size(76, 24);
     this.R_DEP.TabIndex        = 1;
     this.R_DEP.Text            = "Bộ phận";
     this.R_DEP.CheckedChanged += new System.EventHandler(this.R_Par_CheckedChanged);
     //
     // G_DEP
     //
     this.G_DEP.Controls.Add(this.cmd_NON);
     this.G_DEP.Controls.Add(this.CB_DEP);
     this.G_DEP.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(163)));
     this.G_DEP.Location = new System.Drawing.Point(6, 82);
     this.G_DEP.Name     = "G_DEP";
     this.G_DEP.Size     = new System.Drawing.Size(218, 76);
     this.G_DEP.TabIndex = 17;
     this.G_DEP.TabStop  = false;
     this.G_DEP.Text     = "Dept";
     //
     // cmd_NON
     //
     this.cmd_NON.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_NON.Location  = new System.Drawing.Point(13, 46);
     this.cmd_NON.Name      = "cmd_NON";
     this.cmd_NON.Size      = new System.Drawing.Size(192, 24);
     this.cmd_NON.TabIndex  = 1;
     this.cmd_NON.Text      = "Non-sequent WID";
     this.cmd_NON.Click    += new System.EventHandler(this.cmd_NON_Click);
     //
     // CB_DEP
     //
     this.CB_DEP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CB_DEP.Location      = new System.Drawing.Point(13, 20);
     this.CB_DEP.Name          = "CB_DEP";
     this.CB_DEP.Size          = new System.Drawing.Size(192, 24);
     this.CB_DEP.TabIndex      = 0;
     //
     // G_WID
     //
     this.G_WID.Controls.Add(this.txt_fr);
     this.G_WID.Controls.Add(this.txt_to);
     this.G_WID.Controls.Add(this.label1);
     this.G_WID.Controls.Add(this.label2);
     this.G_WID.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(163)));
     this.G_WID.Location = new System.Drawing.Point(228, 82);
     this.G_WID.Name     = "G_WID";
     this.G_WID.Size     = new System.Drawing.Size(212, 76);
     this.G_WID.TabIndex = 18;
     this.G_WID.TabStop  = false;
     this.G_WID.Text     = "WID";
     //
     // txt_fr
     //
     this.txt_fr.Location  = new System.Drawing.Point(64, 17);
     this.txt_fr.MaxLength = 20;
     this.txt_fr.Name      = "txt_fr";
     this.txt_fr.Size      = new System.Drawing.Size(140, 23);
     this.txt_fr.TabIndex  = 0;
     this.txt_fr.Text      = "";
     this.txt_fr.Leave    += new System.EventHandler(this.txt_fr_Leave);
     //
     // txt_to
     //
     this.txt_to.Location  = new System.Drawing.Point(64, 45);
     this.txt_to.MaxLength = 20;
     this.txt_to.Name      = "txt_to";
     this.txt_to.Size      = new System.Drawing.Size(140, 23);
     this.txt_to.TabIndex  = 0;
     this.txt_to.Text      = "";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(4, 21);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 23);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Fr";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(4, 46);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 23);
     this.label2.TabIndex = 1;
     this.label2.Text     = "To";
     //
     // radChucVu
     //
     this.radChucVu.Location        = new System.Drawing.Point(264, 16);
     this.radChucVu.Name            = "radChucVu";
     this.radChucVu.Size            = new System.Drawing.Size(84, 24);
     this.radChucVu.TabIndex        = 5;
     this.radChucVu.Text            = "Chức vụ";
     this.radChucVu.CheckedChanged += new System.EventHandler(this.radChucVu_CheckedChanged);
     //
     // CrtTaCondition2
     //
     this.Controls.Add(this.panel1);
     this.Font  = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "CrtTaCondition2";
     this.Size  = new System.Drawing.Size(452, 176);
     this.Load += new System.EventHandler(this.CrtTaCondition2_Load);
     this.panel1.ResumeLayout(false);
     this.G_0.ResumeLayout(false);
     this.G_1.ResumeLayout(false);
     this.G_DEP.ResumeLayout(false);
     this.G_WID.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 59
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1           = new System.Windows.Forms.GroupBox( );
     this.momentumBox         = new System.Windows.Forms.TextBox( );
     this.label6              = new System.Windows.Forms.Label( );
     this.stopButton          = new System.Windows.Forms.Button( );
     this.startButton         = new System.Windows.Forms.Button( );
     this.label5              = new System.Windows.Forms.Label( );
     this.currentErrorBox     = new System.Windows.Forms.TextBox( );
     this.label11             = new System.Windows.Forms.Label( );
     this.currentIterationBox = new System.Windows.Forms.TextBox( );
     this.label8              = new System.Windows.Forms.Label( );
     this.label7              = new System.Windows.Forms.Label( );
     this.sigmoidTypeCombo    = new System.Windows.Forms.ComboBox( );
     this.errorLimitBox       = new System.Windows.Forms.TextBox( );
     this.label3              = new System.Windows.Forms.Label( );
     this.alphaBox            = new System.Windows.Forms.TextBox( );
     this.label2              = new System.Windows.Forms.Label( );
     this.learningRateBox     = new System.Windows.Forms.TextBox( );
     this.label1              = new System.Windows.Forms.Label( );
     this.label4              = new System.Windows.Forms.Label( );
     this.groupBox2           = new System.Windows.Forms.GroupBox( );
     this.errorChart          = new AForge.Controls.Chart( );
     this.saveFilesCheck      = new System.Windows.Forms.CheckBox( );
     this.groupBox1.SuspendLayout( );
     this.groupBox2.SuspendLayout( );
     this.SuspendLayout( );
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.momentumBox);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.stopButton);
     this.groupBox1.Controls.Add(this.startButton);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.currentErrorBox);
     this.groupBox1.Controls.Add(this.label11);
     this.groupBox1.Controls.Add(this.currentIterationBox);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.sigmoidTypeCombo);
     this.groupBox1.Controls.Add(this.errorLimitBox);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.alphaBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.learningRateBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Location = new System.Drawing.Point(10, 10);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(195, 260);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Neural Network";
     //
     // momentumBox
     //
     this.momentumBox.Location = new System.Drawing.Point(125, 45);
     this.momentumBox.Name     = "momentumBox";
     this.momentumBox.Size     = new System.Drawing.Size(60, 20);
     this.momentumBox.TabIndex = 3;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 47);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(82, 17);
     this.label6.TabIndex = 2;
     this.label6.Text     = "Momentum:";
     //
     // stopButton
     //
     this.stopButton.Enabled  = false;
     this.stopButton.Location = new System.Drawing.Point(110, 225);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(75, 23);
     this.stopButton.TabIndex = 28;
     this.stopButton.Text     = "S&top";
     this.stopButton.Click   += new System.EventHandler(this.stopButton_Click);
     //
     // startButton
     //
     this.startButton.Location = new System.Drawing.Point(25, 225);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(75, 23);
     this.startButton.TabIndex = 27;
     this.startButton.Text     = "&Start";
     this.startButton.Click   += new System.EventHandler(this.startButton_Click);
     //
     // label5
     //
     this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label5.Location    = new System.Drawing.Point(10, 211);
     this.label5.Name        = "label5";
     this.label5.Size        = new System.Drawing.Size(175, 2);
     this.label5.TabIndex    = 26;
     //
     // currentErrorBox
     //
     this.currentErrorBox.Location = new System.Drawing.Point(125, 185);
     this.currentErrorBox.Name     = "currentErrorBox";
     this.currentErrorBox.ReadOnly = true;
     this.currentErrorBox.Size     = new System.Drawing.Size(60, 20);
     this.currentErrorBox.TabIndex = 25;
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(10, 187);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(121, 14);
     this.label11.TabIndex = 24;
     this.label11.Text     = "Current summary error:";
     //
     // currentIterationBox
     //
     this.currentIterationBox.Location = new System.Drawing.Point(125, 160);
     this.currentIterationBox.Name     = "currentIterationBox";
     this.currentIterationBox.ReadOnly = true;
     this.currentIterationBox.Size     = new System.Drawing.Size(60, 20);
     this.currentIterationBox.TabIndex = 23;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(10, 162);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(98, 16);
     this.label8.TabIndex = 22;
     this.label8.Text     = "Current iteration:";
     //
     // label7
     //
     this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label7.Location    = new System.Drawing.Point(10, 150);
     this.label7.Name        = "label7";
     this.label7.Size        = new System.Drawing.Size(175, 2);
     this.label7.TabIndex    = 21;
     //
     // sigmoidTypeCombo
     //
     this.sigmoidTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.sigmoidTypeCombo.Items.AddRange(new object[] {
         "Unipolar",
         "Bipolar"
     });
     this.sigmoidTypeCombo.Location = new System.Drawing.Point(125, 120);
     this.sigmoidTypeCombo.Name     = "sigmoidTypeCombo";
     this.sigmoidTypeCombo.Size     = new System.Drawing.Size(60, 21);
     this.sigmoidTypeCombo.TabIndex = 9;
     //
     // errorLimitBox
     //
     this.errorLimitBox.Location = new System.Drawing.Point(125, 95);
     this.errorLimitBox.Name     = "errorLimitBox";
     this.errorLimitBox.Size     = new System.Drawing.Size(60, 20);
     this.errorLimitBox.TabIndex = 7;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10, 97);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(110, 15);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Learning error limit:";
     //
     // alphaBox
     //
     this.alphaBox.Location = new System.Drawing.Point(125, 70);
     this.alphaBox.Name     = "alphaBox";
     this.alphaBox.Size     = new System.Drawing.Size(60, 20);
     this.alphaBox.TabIndex = 5;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 72);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(120, 15);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Sigmoid\'s alpha value:";
     //
     // learningRateBox
     //
     this.learningRateBox.Location = new System.Drawing.Point(125, 20);
     this.learningRateBox.Name     = "learningRateBox";
     this.learningRateBox.Size     = new System.Drawing.Size(60, 20);
     this.learningRateBox.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 22);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(78, 14);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Learning rate:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(10, 122);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 15);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Sigmoid\'s type:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.errorChart);
     this.groupBox2.Controls.Add(this.saveFilesCheck);
     this.groupBox2.Location = new System.Drawing.Point(215, 10);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(220, 260);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Error\'s dynamics";
     //
     // errorChart
     //
     this.errorChart.Location = new System.Drawing.Point(10, 20);
     this.errorChart.Name     = "errorChart";
     this.errorChart.Size     = new System.Drawing.Size(200, 205);
     this.errorChart.TabIndex = 2;
     this.errorChart.Text     = "chart1";
     //
     // saveFilesCheck
     //
     this.saveFilesCheck.Location = new System.Drawing.Point(10, 233);
     this.saveFilesCheck.Name     = "saveFilesCheck";
     this.saveFilesCheck.Size     = new System.Drawing.Size(200, 18);
     this.saveFilesCheck.TabIndex = 1;
     this.saveFilesCheck.Text     = "Save errors to files";
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(452, 278);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "XOR Problem";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout( );
     this.groupBox2.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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tools_ColorLine));
     this.checkBox1    = new System.Windows.Forms.CheckBox();
     this.checkBox2    = new System.Windows.Forms.CheckBox();
     this.checkBox3    = new System.Windows.Forms.CheckBox();
     this.checkBox4    = new System.Windows.Forms.CheckBox();
     this.checkBox5    = new System.Windows.Forms.CheckBox();
     this.checkBox6    = new System.Windows.Forms.CheckBox();
     this.checkBox7    = new System.Windows.Forms.CheckBox();
     this.lineSeries1  = new Steema.TeeChart.Styles.Line();
     this.colorLine1   = new Steema.TeeChart.Tools.ColorLine();
     this.colorLine2   = new Steema.TeeChart.Tools.ColorLine();
     this.buttonPen1   = new Steema.TeeChart.ButtonPen();
     this.buttonPen2   = new Steema.TeeChart.ButtonPen();
     this.pointSeries1 = new Steema.TeeChart.Styles.Points();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Size = new System.Drawing.Size(485, 63);
     this.textBox1.Text = resources.GetString("textBox1.Text");
     //
     // panel1
     //
     this.panel1.Controls.Add(this.buttonPen2);
     this.panel1.Controls.Add(this.buttonPen1);
     this.panel1.Controls.Add(this.checkBox7);
     this.panel1.Controls.Add(this.checkBox6);
     this.panel1.Controls.Add(this.checkBox5);
     this.panel1.Controls.Add(this.checkBox4);
     this.panel1.Controls.Add(this.checkBox3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location = new System.Drawing.Point(0, 63);
     this.panel1.Size     = new System.Drawing.Size(485, 57);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.MaximumOffset = 5;
     this.tChart1.Axes.Bottom.MinimumOffset = 5;
     //
     //
     //
     this.tChart1.Axes.Left.MaximumOffset = 5;
     this.tChart1.Axes.Left.MinimumOffset = 5;
     //
     //
     //
     this.tChart1.Header.Lines = new string[] {
         "tChart1"
     };
     this.tChart1.Header.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tChart1.Series.Add(this.pointSeries1);
     this.tChart1.Series.Add(this.lineSeries1);
     this.tChart1.Size = new System.Drawing.Size(485, 166);
     this.tChart1.Tools.Add(this.colorLine1);
     this.tChart1.Tools.Add(this.colorLine2);
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Bottom.Pen.Visible = false;
     this.tChart1.Walls.Bottom.Size        = 3;
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Left.Pen.Visible = false;
     this.tChart1.Walls.Left.Size        = 3;
     //
     // chartContainer
     //
     this.chartContainer.Location = new System.Drawing.Point(0, 120);
     this.chartContainer.Size     = new System.Drawing.Size(485, 166);
     //
     // checkBox1
     //
     this.checkBox1.Checked         = true;
     this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Location        = new System.Drawing.Point(13, 7);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(83, 20);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "&Show lines";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.Checked         = true;
     this.checkBox2.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox2.Location        = new System.Drawing.Point(13, 33);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(83, 20);
     this.checkBox2.TabIndex        = 1;
     this.checkBox2.Text            = "&Allow drag";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // checkBox3
     //
     this.checkBox3.Checked         = true;
     this.checkBox3.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox3.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox3.Location        = new System.Drawing.Point(100, 7);
     this.checkBox3.Name            = "checkBox3";
     this.checkBox3.Size            = new System.Drawing.Size(44, 20);
     this.checkBox3.TabIndex        = 2;
     this.checkBox3.Text            = "&3D";
     this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // checkBox4
     //
     this.checkBox4.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox4.Location        = new System.Drawing.Point(100, 33);
     this.checkBox4.Name            = "checkBox4";
     this.checkBox4.Size            = new System.Drawing.Size(100, 20);
     this.checkBox4.TabIndex        = 3;
     this.checkBox4.Text            = "Drag &repaint";
     this.checkBox4.CheckedChanged += new System.EventHandler(this.checkBox4_CheckedChanged);
     //
     // checkBox5
     //
     this.checkBox5.Checked         = true;
     this.checkBox5.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox5.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox5.Location        = new System.Drawing.Point(140, 7);
     this.checkBox5.Name            = "checkBox5";
     this.checkBox5.Size            = new System.Drawing.Size(73, 20);
     this.checkBox5.TabIndex        = 4;
     this.checkBox5.Text            = "3D &lines";
     this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBox5_CheckedChanged);
     //
     // checkBox6
     //
     this.checkBox6.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox6.Location        = new System.Drawing.Point(213, 7);
     this.checkBox6.Name            = "checkBox6";
     this.checkBox6.Size            = new System.Drawing.Size(123, 20);
     this.checkBox6.TabIndex        = 5;
     this.checkBox6.Text            = "&Draw behind";
     this.checkBox6.CheckedChanged += new System.EventHandler(this.checkBox6_CheckedChanged);
     //
     // checkBox7
     //
     this.checkBox7.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox7.Location        = new System.Drawing.Point(213, 33);
     this.checkBox7.Name            = "checkBox7";
     this.checkBox7.Size            = new System.Drawing.Size(107, 20);
     this.checkBox7.TabIndex        = 6;
     this.checkBox7.Text            = "&No limit drag";
     this.checkBox7.CheckedChanged += new System.EventHandler(this.checkBox7_CheckedChanged);
     //
     // lineSeries1
     //
     //
     //
     //
     this.lineSeries1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.lineSeries1.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.lineSeries1.ColorEach   = false;
     //
     //
     //
     this.lineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
     //
     //
     //
     //
     //
     //
     this.lineSeries1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.lineSeries1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.lineSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.lineSeries1.Marks.Callout.Distance    = 0;
     this.lineSeries1.Marks.Callout.Draw3D      = false;
     this.lineSeries1.Marks.Callout.Length      = 10;
     this.lineSeries1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries1.Marks.Callout.Visible     = false;
     //
     //
     //
     this.lineSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries1.Title         = "lineSeries1";
     //
     //
     //
     this.lineSeries1.XValues.DataMember = "X";
     this.lineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.lineSeries1.YValues.DataMember = "Y";
     //
     // colorLine1
     //
     this.colorLine1.Axis = this.tChart1.Axes.Left;
     //
     //
     //
     this.colorLine1.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     this.colorLine1.Value     = 680.46846846846847;
     //
     // colorLine2
     //
     this.colorLine2.Axis = this.tChart1.Axes.Bottom;
     //
     //
     //
     this.colorLine2.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.colorLine2.Pen.Width = 2;
     this.colorLine2.Value     = 10;
     //
     // buttonPen1
     //
     this.buttonPen1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonPen1.Location  = new System.Drawing.Point(326, 16);
     this.buttonPen1.Name      = "buttonPen1";
     this.buttonPen1.Size      = new System.Drawing.Size(61, 23);
     this.buttonPen1.TabIndex  = 7;
     this.buttonPen1.Text      = "Border";
     this.buttonPen1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // buttonPen2
     //
     this.buttonPen2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonPen2.Location  = new System.Drawing.Point(393, 16);
     this.buttonPen2.Name      = "buttonPen2";
     this.buttonPen2.Size      = new System.Drawing.Size(61, 23);
     this.buttonPen2.TabIndex  = 8;
     this.buttonPen2.Text      = "Border";
     this.buttonPen2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // points1
     //
     this.pointSeries1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.pointSeries1.ColorEach = false;
     //
     //
     //
     this.pointSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
     //
     //
     //
     //
     //
     //
     this.pointSeries1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.pointSeries1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.pointSeries1.Marks.Callout.Distance    = 0;
     this.pointSeries1.Marks.Callout.Draw3D      = false;
     this.pointSeries1.Marks.Callout.Length      = 0;
     this.pointSeries1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.pointSeries1.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     //
     //
     //
     this.pointSeries1.Pointer.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     //
     //
     //
     this.pointSeries1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
     this.pointSeries1.Pointer.Style     = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.pointSeries1.Title             = "pointSeries1";
     //
     //
     //
     this.pointSeries1.XValues.DataMember = "X";
     this.pointSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.pointSeries1.YValues.DataMember = "Y";
     //
     // Tools_ColorLine
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(485, 286);
     this.Name = "Tools_ColorLine";
     this.panel1.ResumeLayout(false);
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }