Inheritance: System.ComponentModel.Component, ICloneable
Esempio n. 1
0
		private void fillListViewDetails(ListView lv)
		{
			ColumnHeader header = null;
			ListViewItem item = null;

			header = new ColumnHeader();
			header.Text = "un";
			lv.Columns.Add(header);

			header = new ColumnHeader();
			header.Text = "deux";
			lv.Columns.Add(header);

			header = new ColumnHeader();
			header.Text = "trois";
			lv.Columns.Add(header);

			item = new ListViewItem("foo");
			item.SubItems.Add("bar");
			item.SubItems.Add("baz");
			lv.Items.Add(item);

			item = new ListViewItem("CA");
			item.SubItems.Add("MD");
			item.SubItems.Add("WI");
			lv.Items.Add(item);

			item = new ListViewItem("Sushi");
			item.SubItems.Add("Indian");
			item.SubItems.Add("Tex-Mex");
			lv.Items.Add(item);
		}
        public static void InitializeListView(ListView listview)
        {
            // ListViewコントロールのプロパティを設定
            listview.FullRowSelect = true;
            listview.GridLines = true;
            listview.Sorting = SortOrder.Ascending;
            listview.View = View.Details;

            // 列(コラム)ヘッダの作成
            ColumnHeader goods_barcode = new ColumnHeader();
            ColumnHeader goods_id = new ColumnHeader();
            ColumnHeader goods_order = new ColumnHeader();
            ColumnHeader goods_price = new ColumnHeader();

            goods_barcode.Text = "バーコード";
            goods_barcode.Tag = 3;
            goods_barcode.TextAlign = HorizontalAlignment.Center;

            goods_id.Text = "日時";
            goods_id.Tag = 6;
            goods_id.TextAlign = HorizontalAlignment.Center;

            goods_order.Text = "金額";
            goods_order.Tag = 2;
            goods_order.TextAlign = HorizontalAlignment.Center;

            goods_price.Text = "点数";
            goods_price.Tag = 2;
            goods_price.TextAlign = HorizontalAlignment.Right;

            ColumnHeader[] colHeaderRegValue = {goods_barcode, goods_id, goods_order,  goods_price };
            listview.Columns.AddRange(colHeaderRegValue);
        }
Esempio n. 3
0
        public Form1()
        {
            InitializeComponent();

            hostIP = getHostIPAddress();
            //每隔一段时间检查是否流量超出
            MainTimer2.Interval = 1000*60*5;
            MainTimer2.Elapsed += Over_Traffic_Flow;
            // 每秒处理数据
            MainTimer.Interval = 1000;
            MainTimer.Tick += update;
            //处理listview的表头
            ColumnHeader h1 = new ColumnHeader();
            h1.Text = "Protocol";
            //h1.Width = 150;
            ColumnHeader h2 = new ColumnHeader();
            h2.Text = "Source IP";
            h2.Width = 120;
            ColumnHeader h3 = new ColumnHeader();
            h3.Text = "Destination IP";
            h3.Width = 120;
            ColumnHeader h4 = new ColumnHeader();
            h4.Text = "Length(Byte)";
            h4.Width = 100;
            listView1.Columns.AddRange(new ColumnHeader[]{h1,h2,h3,h4});
            listView1.View = View.Details;
        }
Esempio n. 4
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(BinaryResults));
            this.listView1 = new System.Windows.Forms.ListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.SuspendLayout();
            // 
            // listView1
            // 
            this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2,
            this.columnHeader3,
            this.columnHeader4});
            this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.listView1.FullRowSelect = true;
            this.listView1.GridLines = true;
            this.listView1.Location = new System.Drawing.Point(0, 0);
            this.listView1.MultiSelect = false;
            this.listView1.Name = "listView1";
            this.listView1.Size = new System.Drawing.Size(368, 308);
            this.listView1.TabIndex = 0;
            this.listView1.UseCompatibleStateImageBehavior = false;
            this.listView1.View = System.Windows.Forms.View.Details;
            this.listView1.Resize += new System.EventHandler(this.listView1_Resize);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "Result";
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "Dest Index";
            this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "Source Index";
            this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "Length";
            this.columnHeader4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // BinaryResults
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(368, 308);
            this.Controls.Add(this.listView1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "BinaryResults";
            this.Text = "Website Scraper Binary Results";
            this.Load += new System.EventHandler(this.BinaryResults_Load);
            this.ResumeLayout(false);

		}
Esempio n. 5
0
        public DataSearchListView()
        {
            var colTableName = new ColumnHeader
            {
                Name = "TableName",
                Text = "Table Name",
                Width = 400
            };

            var colSearchStatus = new ColumnHeader
            {
                Name = "Status",
                Text = "Records",
                Width = 400,
            };
          

           Columns.AddRange(new[]
            {
                colTableName,
                colSearchStatus,
             
            });
            
        }
        public GridViewControl()
        {
            InitializeComponent();

            // this is the default, set it so we know for certain
            gridView.View = View.LargeIcon;

            // add the columns to the gridView
            var fileNameColumn = new ColumnHeader("File")
            {
                Text = "File",
                Width = 200
            };
            var extensionColumn = new ColumnHeader("Extension")
            {
                Text = "ext",
                Width = 50
            };
            var lengthColumn = new ColumnHeader("FrameRate")
            {
                Text = "Framerate",
                Width = 60
            };
            gridView.Columns.Add(fileNameColumn);
            gridView.Columns.Add(extensionColumn);
            gridView.Columns.Add(lengthColumn);

            // disable the icon view since we are already there
            iconViewButton.Enabled = false;
        }
Esempio n. 7
0
        public ResourceBrowser()
        {
            this.AllowDrop = true;
            this.View = View.Details;
            this.MultiSelect = true;
            this.AllowColumnReorder = true;
            this.FullRowSelect = true;
            this.HeaderStyle = ColumnHeaderStyle.Clickable;
            this.LabelEdit = true;
            this.HideSelection = false;
            this.TabIndex = 1;

            ColumnHeader nameHeader = new ColumnHeader();
            nameHeader.Text = "Name";
            nameHeader.Width = 240;
            this.Columns.Add(nameHeader);

            ColumnHeader valueHeader = new ColumnHeader();
            valueHeader.Text = "Value";
            valueHeader.Width = 300;
            this.Columns.Add(valueHeader);

            ColumnHeader typeHeader = new ColumnHeader();
            typeHeader.Text = "Type";
            typeHeader.Width = 500;
            this.Columns.Add(typeHeader);

            this.SmallImageList = new ImageList();
            this.SmallImageList.Images.AddStrip(new Bitmap(this.GetType().Assembly.GetManifestResourceStream("Resourcer.Browser.png")));
            this.SmallImageList.ColorDepth = ColorDepth.Depth32Bit;
            this.SmallImageList.TransparentColor = Color.FromArgb(255, 0, 128, 0);
        }
Esempio n. 8
0
 // add a header to a list
 void AddHeaderToList(ListView list, string headerCaption, int headerWidth)
 {
     ColumnHeader header = new ColumnHeader();
     header.Text = headerCaption;
     header.Width = headerWidth;
     list.Columns.Add(header);
 }
Esempio n. 9
0
        public ThreadsUI(PluginMain pluginMain, ImageList imageList)
        {
            this.pluginMain = pluginMain;

            lv = new ListView();
            lv.ShowItemToolTips = true;
            this.imageColumnHeader = new ColumnHeader();
            this.imageColumnHeader.Text = string.Empty;
            this.imageColumnHeader.Width = 20;

            this.frameColumnHeader = new ColumnHeader();
            this.frameColumnHeader.Text = string.Empty;

            lv.Columns.AddRange(new ColumnHeader[] {
            this.imageColumnHeader,
            this.frameColumnHeader});
            lv.FullRowSelect = true;
            lv.BorderStyle = BorderStyle.None;
            lv.Dock = System.Windows.Forms.DockStyle.Fill;

            lv.SmallImageList = imageList;
            runningImageIndex = imageList.Images.IndexOfKey("StartContinue");
            suspendedImageIndex = imageList.Images.IndexOfKey("Pause");

            lv.View = System.Windows.Forms.View.Details;
            lv.MouseDoubleClick += new MouseEventHandler(lv_MouseDoubleClick);
            lv.KeyDown += new KeyEventHandler(lv_KeyDown);
            lv.SizeChanged += new EventHandler(lv_SizeChanged);

            this.Controls.Add(lv);
        }
Esempio n. 10
0
 public AttachmentView()
 {
     // columns
     ColumnHeader FileName = new ColumnHeader();
     FileName.Text = WbLocale.FileName;
     FileName.Width = 100;
     ColumnHeader Size = new ColumnHeader();
     Size.Text = WbLocale.Size;
     Size.Width = 40;
     Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { FileName, Size});
     // details view
     View = View.Details;
     // drag n drop
     AllowDrop = true;
     DragEnter += new DragEventHandler(AttachmentView_DragEnter);
     DragDrop += new DragEventHandler(AttachmentView_DragDrop);
     ItemDrag += new ItemDragEventHandler(AttachmentView_ItemDrag);
     // item activate
     Activation = ItemActivation.Standard;
     ItemActivate += new EventHandler(AttachmentView_ItemActivate);
     // context menu
     MenuItem ins = new MenuItem(WbLocale.Insert);
     ins.Click += new EventHandler(insert_Click);
     deleteMenuItem = new MenuItem(WbLocale.Delete);
     deleteMenuItem.Click += new EventHandler(delete_Click);
     ContextMenu = new ContextMenu(new MenuItem[] { ins, deleteMenuItem });
     ContextMenu.Popup += new EventHandler(ContextMenu_Popup);
 }
Esempio n. 11
0
        private IconSelectorExt()
        {
            InitializeComponent();

            // adding items to ListView
            ImageList imageList = new ImageList();
            for (int i = 0; i < MetaModel.MetaModel.Instance.IconsList.Count; i++)
            {
                ModelIcon icon = MetaModel.MetaModel.Instance.IconsList[i];
                imageList.Images.Add(icon.Bitmap);
                listView.Items.Add(new ListViewItem(new string[] { icon.Title, icon.Shortcut }, i));
            }
            listView.SmallImageList = imageList;
            listView.LargeImageList = imageList;

            // setting columns for Detail View
            var columnHeader1 = new System.Windows.Forms.ColumnHeader();
            var columnHeader2 = new System.Windows.Forms.ColumnHeader();
            columnHeader1.Text = "Icon";
            columnHeader2.Text = "Shortcut";
            listView.Columns.Add(columnHeader1);
            listView.Columns.Add(columnHeader2);

            listView.Items[0].Selected = true;

            listView.ItemActivate += listView_ItemActivate;
            SetViewButtonEnable(listView.View, false);

            listView.AfterLabelEdit += listView_AfterLabelEdit;
        }
Esempio n. 12
0
File: Gcat.cs Progetto: oeli/yafra
        public void Sel(System.Windows.Forms.ListView Alv)
        {
            string sql;
            string [] lstitm = new string [4];
            Alv.Columns.RemoveAt(2);
            System.Windows.Forms.ColumnHeader Sel_dltt = new System.Windows.Forms.ColumnHeader();
            System.Windows.Forms.ColumnHeader Sel_dlttid = new System.Windows.Forms.ColumnHeader();
            Alv.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                                                Sel_dlttid,
                                                                                                                Sel_dltt});
            Sel_dlttid.Text = "Suppliertype ID";
            Sel_dlttid.Width = 40;
            Sel_dltt.Text = "Suppliertype";
            Sel_dltt.Width = 180;

            // get the first suiteable title and return it
            CatV workDS = new CatV();
            sql = String.Format("Select * from tdbadmin.tdbv_cat where s_id = {0} order by bez", tdb.User.Ulangid);
            FillDS(workDS, sql, new string[] { "tdbv_cat" });
            foreach (CatV.tdbv_catRow Rwork in workDS.tdbv_cat)
            {
                lstitm[0] = Convert.ToString(Rwork.CAT_ID);
                lstitm[1] = Rwork.BEZ;
                lstitm[2] = Convert.ToString(Rwork.SUPTYPID);
                lstitm[3] = Rwork.SUPTYP;
                Alv.Items.Add(new ListViewItem(lstitm));
            }
        }
Esempio n. 13
0
 internal static void ResizeColumn(ColumnHeader columnHeader) {
   columnHeader.AutoResize(ColumnHeaderAutoResizeStyle.HeaderSize);
   int headerSize = columnHeader.Width;
   columnHeader.AutoResize(ColumnHeaderAutoResizeStyle.ColumnContent);
   int contentSize = columnHeader.Width;
   columnHeader.Width = Math.Max(headerSize, contentSize);
 }
Esempio n. 14
0
 private static Table.ICellStyle GetStyle(ListViewItem.ListViewSubItem cell, ColumnHeader header)
 {
   var result = new Table.CellStyle();
   if (header != null)
   {
     switch (header.TextAlign)
     {
       case HorizontalAlignment.Center:
         result.Alignment = Pipes.Data.Table.ContentAlignment.TopCenter;
         break;
       case HorizontalAlignment.Right:
         result.Alignment = Pipes.Data.Table.ContentAlignment.TopRight;
         break;
       default:
         result.Alignment = Pipes.Data.Table.ContentAlignment.TopLeft;
         break;
     }
   }
   if (cell != null)
   {
     result.BackColor = cell.BackColor;
     result.Font = new Table.FontStyle(cell.Font);
     result.ForeColor = cell.ForeColor;
   }
   return result;
 }
        public ProjectReferencePanel(ISelectReferenceDialog selectDialog)
        {
            this.selectDialog = selectDialog;

            ColumnHeader nameHeader = new ColumnHeader();
            nameHeader.Text  = ResourceService.GetString("Dialog.SelectReferenceDialog.ProjectReferencePanel.NameHeader");
            nameHeader.Width = 170;
            Columns.Add(nameHeader);

            ColumnHeader directoryHeader = new ColumnHeader();
            directoryHeader.Text  = ResourceService.GetString("Dialog.SelectReferenceDialog.ProjectReferencePanel.DirectoryHeader");
            directoryHeader.Width = 290;
            Columns.Add(directoryHeader);

            View = View.Details;
            Dock = DockStyle.Fill;
            FullRowSelect = true;

            ItemActivate += delegate { AddReference(); };
            PopulateListView();

            Panel upperPanel = new Panel { Dock = DockStyle.Top, Height = 20 };
            filterTextBox = new TextBox { Width = 150, Dock = DockStyle.Right };
            filterTextBox.TextChanged += delegate { Search(); };

            upperPanel.Controls.Add(filterTextBox);

            this.Controls.Add(upperPanel);
        }
Esempio n. 16
0
        private void InitializeComponent()
        {
            this.Text = "Jump to buffer";

            ColumnHeader columnHeader = new ColumnHeader();
            columnHeader.Text = "Buffer";

            this.bufferlistview = new ListView();
            this.bufferlistview.View = View.Details;
            this.bufferlistview.HeaderStyle = ColumnHeaderStyle.Nonclickable;
            this.bufferlistview.FullRowSelect = true;
            this.bufferlistview.Dock = DockStyle.Fill;
            this.bufferlistview.Columns.Add(columnHeader);
            this.bufferlistview.SelectedIndexChanged += this.BufferListView_SelectedIndexChanged;
            this.Controls.Add(this.bufferlistview);

            MainMenu menu = new MainMenu();
            this.Menu = menu;

            MenuItem select = new MenuItem();
            select.Text = "Select buffer";
            select.Click += this.Select_Click;
            menu.MenuItems.Add(select);

            MenuItem cancel = new MenuItem();
            cancel.Text = "Cancel";
            cancel.Click += this.Cancel_Click;
            menu.MenuItems.Add(cancel);
        }
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.listSummary = new System.Windows.Forms.ListView();
     this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
     this.SuspendLayout();
     //
     // listSummary
     //
     this.listSummary.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                   this.columnHeader1});
     this.listSummary.Dock = System.Windows.Forms.DockStyle.Fill;
     this.listSummary.Location = new System.Drawing.Point(0, 0);
     this.listSummary.Name = "listSummary";
     this.listSummary.Size = new System.Drawing.Size(392, 272);
     this.listSummary.TabIndex = 0;
     this.listSummary.View = System.Windows.Forms.View.Details;
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Account Info";
     this.columnHeader1.Width = 167;
     //
     // SingleAccountSummary
     //
     this.Controls.Add(this.listSummary);
     this.Name = "SingleAccountSummary";
     this.Size = new System.Drawing.Size(392, 272);
     this.ResumeLayout(false);
 }
Esempio n. 18
0
		/// <summary>
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.columnHeader_id = new System.Windows.Forms.ColumnHeader();
			this.columnHeader_first = new System.Windows.Forms.ColumnHeader();
			// 
			// columnHeader_id
			// 
			this.columnHeader_id.Text = "记录路径";
			this.columnHeader_id.Width = 150;
			// 
			// columnHeader_first
			// 
			this.columnHeader_first.Text = "1";
			this.columnHeader_first.Width = 200;
			// 
			// BrowseList
			// 
			this.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																			  this.columnHeader_id,
																			  this.columnHeader_first});
			this.FullRowSelect = true;
			this.HideSelection = false;
			this.View = System.Windows.Forms.View.Details;

		}
        private void ThongKeTonKho_Load(object sender, EventArgs e)
        {
            listView1.View = View.Details;

            ColumnHeader colSTT = new ColumnHeader();
            colSTT.Text = "STT";
            colSTT.Width = 100;
            ColumnHeader colMaNhanVien = new ColumnHeader();
            colMaNhanVien.Text = "Mã Sản Phẩm";
            colMaNhanVien.Width = 150;
            ColumnHeader colTenNhanVien = new ColumnHeader();
            colTenNhanVien.Text = "Tên Sản Phẩm";
            colTenNhanVien.Width = 150;
            ColumnHeader colNgaySinh = new ColumnHeader();
            colNgaySinh.Text = "Tháng";
            colNgaySinh.Width = 70;
            ColumnHeader colDiaChi = new ColumnHeader();
            colDiaChi.Text = "Năm";
            colDiaChi.Width = 70;
            ColumnHeader colDienThoai = new ColumnHeader();
            colDienThoai.Text = "Tồn Kho";
            colDienThoai.Width = 90;

            listView1.Columns.Add(colSTT);
            listView1.Columns.Add(colMaNhanVien);
            listView1.Columns.Add(colTenNhanVien);
            listView1.Columns.Add(colNgaySinh);
            listView1.Columns.Add(colDiaChi);
            listView1.Columns.Add(colDienThoai);
        }
Esempio n. 20
0
 private Dictionary<string, ListView> createListView()
 {
     Dictionary<string, ListView> dlv = new Dictionary<string, ListView>();
     foreach (Dictionary<string, string> list in scoreList)
     {
         string name = list[HeaderList[0]] + " " + list[HeaderList[1]];
         if (!dlv.Keys.Contains(name))
         {
             ListView lv = new ListView();
             lv.View = View.Details;
             lv.FullRowSelect = true;
             lv.GridLines = true;
             foreach (string str in HeaderList.Values)
             {
                 ColumnHeader header1 = new ColumnHeader();
                 header1.Width = -2;
                 header1.Text = str;
                 header1.TextAlign = HorizontalAlignment.Left;
                 lv.Columns.Add(header1);
             }
             lv.Dock = DockStyle.Fill;
             dlv.Add(name, lv);
         }
         dlv[name].Items.Add(new ListViewItem(list.Values.ToArray()));
     }
     return dlv;
 }
        private void ThongKeDoanhThu_Load(object sender, EventArgs e)
        {
            listView1.View = View.Details;

            ColumnHeader colSTT = new ColumnHeader();
            colSTT.Text = "STT";
            colSTT.Width = 50;
            ColumnHeader colMaNhanVien = new ColumnHeader();
            colMaNhanVien.Text = "Mã Sản Phẩm";
            colMaNhanVien.Width = 150;
            ColumnHeader colTenNhanVien = new ColumnHeader();
            colTenNhanVien.Text = "Tên Sản Phẩm";
            colTenNhanVien.Width = 150;
            ColumnHeader colNgaySinh = new ColumnHeader();
            colNgaySinh.Text = "Tháng";
            colNgaySinh.Width = 50;
            ColumnHeader colDiaChi = new ColumnHeader();
            colDiaChi.Text = "Năm";
            colDiaChi.Width = 50;
            ColumnHeader colDienThoai = new ColumnHeader();
            colDienThoai.Text = "Tổng Nhập";
            colDienThoai.Width = 90;

            ColumnHeader colXuat = new ColumnHeader();
            colXuat.Text = "Tổng Xuất";
            colXuat.Width = 90;

            listView1.Columns.Add(colSTT);
            listView1.Columns.Add(colMaNhanVien);
            listView1.Columns.Add(colTenNhanVien);
            listView1.Columns.Add(colNgaySinh);
            listView1.Columns.Add(colDiaChi);
            listView1.Columns.Add(colDienThoai);
            listView1.Columns.Add(colXuat);
        }
Esempio n. 22
0
        public MotionPanel()
        {
            SuspendLayout();

            ColumnHeader name = new ColumnHeader();
            name.Text = "bone";
            name.Width = -1;
            ColumnHeader frame = new ColumnHeader();
            frame.Text = "frame";

            _lv.Parent = this;
            _lv.FullRowSelect = true;
            _lv.GridLines = true;
            _lv.AllowColumnReorder = true;
            _lv.Sorting = SortOrder.Ascending;
            _lv.Columns.AddRange(new ColumnHeader[] {name, frame});

            _lv.VirtualMode=true;
            _lv.VirtualListSize=0;
            _lv.RetrieveVirtualItem +=
                new RetrieveVirtualItemEventHandler(OnRetrieveVirtualItem);

            _lv.Dock = DockStyle.Fill;
            _lv.View = System.Windows.Forms.View.Details;

            ResumeLayout();
        }
Esempio n. 23
0
		public void DisplayIndex_ListView_Created ()
		{
			ColumnHeader colA = new ColumnHeader ();
			ColumnHeader colB = new ColumnHeader ();
			ColumnHeader colC = new ColumnHeader ();
			ColumnHeader colD = new ColumnHeader ();
			colA.DisplayIndex = 2;
			colD.DisplayIndex = 0;
			colB.DisplayIndex = 3;
			colC.DisplayIndex = 1;

			Form form = new Form ();
			form.ShowInTaskbar = false;
			ListView lv = new ListView ();
			lv.ColumnReordered += new ColumnReorderedEventHandler (ColumnReordered);
			lv.View = View.Details;
			lv.Columns.Add (colA);
			lv.Columns.Add (colB);
			lv.Columns.Add (colC);
			form.Controls.Add (lv);
			form.Show ();

			Assert.AreEqual (0, colA.DisplayIndex, "#A1");
			Assert.AreEqual (1, colB.DisplayIndex, "#A2");
			Assert.AreEqual (2, colC.DisplayIndex, "#A3");
			Assert.AreEqual (0, colD.DisplayIndex, "#A4");
			Assert.AreEqual (0, columnReordered, "#A5");

			colC.DisplayIndex = 0;
			Assert.AreEqual (1, colA.DisplayIndex, "#B1");
			Assert.AreEqual (2, colB.DisplayIndex, "#B2");
			Assert.AreEqual (0, colC.DisplayIndex, "#B3");
			Assert.AreEqual (0, colD.DisplayIndex, "#B4");
			Assert.AreEqual (0, columnReordered, "#B5");

			colC.DisplayIndex = 2;
			Assert.AreEqual (0, colA.DisplayIndex, "#C1");
			Assert.AreEqual (1, colB.DisplayIndex, "#C2");
			Assert.AreEqual (2, colC.DisplayIndex, "#C3");
			Assert.AreEqual (0, colD.DisplayIndex, "#C4");
			Assert.AreEqual (0, columnReordered, "#C5");

			colB.DisplayIndex = 2;
			Assert.AreEqual (0, colA.DisplayIndex, "#D1");
			Assert.AreEqual (2, colB.DisplayIndex, "#D2");
			Assert.AreEqual (1, colC.DisplayIndex, "#D3");
			Assert.AreEqual (0, colD.DisplayIndex, "#D4");
			Assert.AreEqual (0, columnReordered, "#D5");

			colD.DisplayIndex = 1;
			lv.Columns.Add (colD);

			Assert.AreEqual (0, colA.DisplayIndex, "#E1");
			Assert.AreEqual (2, colB.DisplayIndex, "#E2");
			Assert.AreEqual (1, colC.DisplayIndex, "#E3");
			Assert.AreEqual (3, colD.DisplayIndex, "#E4");
			Assert.AreEqual (0, columnReordered, "#E5");
			
			form.Close ();
		}
Esempio n. 24
0
 public ArchiveWindow()
 {
     InitializeComponent();
     BrandComponent();
     mColumnHeader = new ColumnHeader();
     mColumnHeader.Text = "Date";
 }
Esempio n. 25
0
        public FeedListView(IContainer container)
        {
            container.Add(this);

            InitializeComponent();

            this.SuspendLayout();

            this.DoubleBuffered = true;
            this.OwnerDraw = true;
            this.DrawItem += new DrawListViewItemEventHandler(FeedListView_DrawItem);

            // columns
            ColumnHeader nameHeader = new ColumnHeader();
            ColumnHeader urlHeader = new ColumnHeader();
            this.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                nameHeader,
                urlHeader});

            this.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
            //this.LargeImageList = this.imageList;
            this.MultiSelect = false;
            this.UseCompatibleStateImageBehavior = false;
            this.View = System.Windows.Forms.View.Tile;
            this.Scrollable = false;
            this.ShowItemToolTips = true;
            this.LabelWrap = false;

            // uncomment this to use custom tool tips
            //this.ShowItemToolTips = false;
            this.ItemMouseHover += new ListViewItemMouseHoverEventHandler(FeedListView_ItemMouseHover);
            //this.MouseLeave += new EventHandler(FeedListView_MouseLeave);

            this.ResumeLayout();
        }
Esempio n. 26
0
        private void AddColumnForThreads()
        {
            this.lvDetails.Columns.Clear();

            ColumnHeader ch = new ColumnHeader();
            ch.Text = "Id";
            this.lvDetails.Columns.Add(ch);

            ch = new ColumnHeader();
            ch.Text = "Priority Level";
            this.lvDetails.Columns.Add(ch);

            ch = new ColumnHeader();
            ch.Text = "Base Priority";
            this.lvDetails.Columns.Add(ch);

            ch = new ColumnHeader();
            ch.Text = "Current Priority";
            this.lvDetails.Columns.Add(ch);

            ch = new ColumnHeader();
            ch.Text = "Start Time";
            this.lvDetails.Columns.Add(ch);

            ch = new ColumnHeader();
            ch.Text = "Thread State";
            this.lvDetails.Columns.Add(ch);
        }
Esempio n. 27
0
File: Main.cs Progetto: Dr1N/Regedit
        public Main()
        {
            InitializeComponent();

            this.tvRegistry.BeforeExpand += tvRegistry_BeforeExpand;
            this.tvRegistry.AfterSelect += tvRegistry_AfterSelect;

            ColumnHeader ch = new ColumnHeader();
            ch.Text = "Имя";
            this.lvRegistry.Columns.Add(ch);

            ch = new ColumnHeader();
            ch.Text = "Тип";
            this.lvRegistry.Columns.Add(ch);

            ch = new ColumnHeader();
            ch.Text = "Значение";
            this.lvRegistry.Columns.Add(ch);

            for (int i = 0; i < this.lvRegistry.Columns.Count; i++)
            {
                lvRegistry.Columns[i].AutoResize(ColumnHeaderAutoResizeStyle.HeaderSize);
            }

            this.FillRoot();
        }
Esempio n. 28
0
 private void CreateHeaders()
 {
     ColumnHeader[] headers = new ColumnHeader[4];
     int index = 0;
     headers[index] = new ColumnHeader();
     headers[index].Name = "Filename";
     headers[index].Text = "Filename";
     headers[index].Width = 150;
     headers[index].TextAlign = HorizontalAlignment.Left;
     index++;
     headers[index] = new ColumnHeader();
     headers[index].Name = "Results";
     headers[index].Text = "Results";
     headers[index].TextAlign = HorizontalAlignment.Right;
     headers[index].Width = 200;
     index++;
     headers[index] = new ColumnHeader();
     headers[index].Name = "Size";
     headers[index].Text = "Size(KB)";
     headers[index].TextAlign = HorizontalAlignment.Right;
     headers[index].Width = 75;
     index++;
     headers[index] = new ColumnHeader();
     headers[index].Name = "LastModified";
     headers[index].Text = "Last Modified";
     headers[index].TextAlign = HorizontalAlignment.Right;
     headers[index].Width = 125;
     listView1.Columns.AddRange(headers);
 }
            public virtual void RemoveAt(int index)
            {
                if (owner.columnHeaders is null || index < 0 || index >= owner.columnHeaders.Length)
                {
                    throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
                }

                int w = owner.columnHeaders[index].Width; // Update width before detaching from ListView

                // in Tile view our ListView uses the column header collection to update the Tile Information
                if (owner.IsHandleCreated && owner.View != View.Tile)
                {
                    int retval = unchecked ((int)(long)User32.SendMessageW(owner, (User32.WM)LVM.DELETECOLUMN, (IntPtr)index));
                    if (0 == retval)
                    {
                        throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
                    }
                }

                // we need to update the display indices
                int[] indices = new int[Count - 1];

                ColumnHeader removeHdr = this[index];

                for (int i = 0; i < Count; i++)
                {
                    ColumnHeader hdr = this[i];
                    if (i != index)
                    {
                        if (hdr.DisplayIndex >= removeHdr.DisplayIndex)
                        {
                            hdr.DisplayIndexInternal--;
                        }

                        indices[i > index ? i - 1 : i] = hdr.DisplayIndexInternal;
                    }
                }

                removeHdr.DisplayIndexInternal = -1;

                owner.columnHeaders[index].OwnerListview = null;
                int columnCount = owner.columnHeaders.Length;

                Debug.Assert(columnCount >= 1, "Column mismatch");
                if (columnCount == 1)
                {
                    owner.columnHeaders = null;
                }
                else
                {
                    ColumnHeader[] newHeaders = new ColumnHeader[--columnCount];
                    if (index > 0)
                    {
                        System.Array.Copy(owner.columnHeaders, 0, newHeaders, 0, index);
                    }

                    if (index < columnCount)
                    {
                        System.Array.Copy(owner.columnHeaders, index + 1, newHeaders, index, columnCount - index);
                    }

                    owner.columnHeaders = newHeaders;
                }

                // in Tile view our ListView uses the column header collection to update the Tile Information
                if (owner.IsHandleCreated && owner.View == View.Tile)
                {
                    owner.RecreateHandleInternal();
                }

                owner.SetDisplayIndices(indices);
            }
 public bool Contains(ColumnHeader value)
 {
     return(IndexOf(value) != -1);
 }
Esempio n. 31
0
 public ColumnReorderedEventArgs(int oldDisplayIndex, int newDisplayIndex, ColumnHeader header) : base()
 {
     this.old_display_index = oldDisplayIndex;
     this.new_display_index = newDisplayIndex;
     this.header            = header;
 }
Esempio n. 32
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.checkBox1            = new System.Windows.Forms.CheckBox();
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.textBoxTypedNumeric1 = new SourceLibrary.Windows.Forms.TextBoxTypedNumeric();
     this.label10                = new System.Windows.Forms.Label();
     this.label6                 = new System.Windows.Forms.Label();
     this.m_txtName              = new SourceLibrary.Windows.Forms.TextBoxTyped();
     this.label2                 = new System.Windows.Forms.Label();
     this.m_txtPayMilite         = new SourceLibrary.Windows.Forms.TextBoxTypedNumeric();
     this.m_cboCOPAYID_CHR       = new com.digitalwave.controls.ctlQComboBox();
     this.m_cobType              = new System.Windows.Forms.ComboBox();
     this.label9                 = new System.Windows.Forms.Label();
     this.m_txtCHARGEPERCENT_DEC = new SourceLibrary.Windows.Forms.TextBoxTypedNumeric();
     this.m_cboPAYFLAG_DEC       = new System.Windows.Forms.ComboBox();
     this.label7                 = new System.Windows.Forms.Label();
     this.label1                 = new System.Windows.Forms.Label();
     this.labelMemo              = new System.Windows.Forms.Label();
     this.label4                 = new System.Windows.Forms.Label();
     this.label8                 = new System.Windows.Forms.Label();
     this.m_txtPAYPERCENT_DEC    = new SourceLibrary.Windows.Forms.TextBoxTypedNumeric();
     this.m_txtMemo              = new SourceLibrary.Windows.Forms.TextBoxTyped();
     this.label5                 = new System.Windows.Forms.Label();
     this.m_txtPAYTYPENO_VCHR    = new SourceLibrary.Windows.Forms.TextBoxTyped();
     this.m_lblIsStopUse         = new System.Windows.Forms.Label();
     this.m_btnStopUse           = new PinkieControls.ButtonXP();
     this.m_btnDel               = new PinkieControls.ButtonXP();
     this.m_btnExit              = new PinkieControls.ButtonXP();
     this.m_btnSave              = new PinkieControls.ButtonXP();
     this.m_btnNew               = new PinkieControls.ButtonXP();
     this.label3                 = new System.Windows.Forms.Label();
     this.m_lvw          = new System.Windows.Forms.ListView();
     this.columnHeader1  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader5  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader6  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader7  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader8  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader9  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader10 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader11 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader12 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader13 = new System.Windows.Forms.ColumnHeader();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(24, 472);
     this.checkBox1.Name     = "checkBox1";
     this.checkBox1.Size     = new System.Drawing.Size(208, 24);
     this.checkBox1.TabIndex = 71;
     this.checkBox1.Text     = "需要合并同医生处方收费";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.textBoxTypedNumeric1);
     this.groupBox1.Controls.Add(this.label10);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.m_txtName);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.m_txtPayMilite);
     this.groupBox1.Controls.Add(this.m_cboCOPAYID_CHR);
     this.groupBox1.Controls.Add(this.m_cobType);
     this.groupBox1.Controls.Add(this.label9);
     this.groupBox1.Controls.Add(this.m_txtCHARGEPERCENT_DEC);
     this.groupBox1.Controls.Add(this.m_cboPAYFLAG_DEC);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.labelMemo);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.m_txtPAYPERCENT_DEC);
     this.groupBox1.Controls.Add(this.m_txtMemo);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.m_txtPAYTYPENO_VCHR);
     this.groupBox1.Location = new System.Drawing.Point(0, 320);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(872, 136);
     this.groupBox1.TabIndex = 70;
     this.groupBox1.TabStop  = false;
     //
     // textBoxTypedNumeric1
     //
     this.textBoxTypedNumeric1.CausesValidation       = false;
     this.textBoxTypedNumeric1.EnableAutoValidation   = true;
     this.textBoxTypedNumeric1.EnableEnterKeyValidate = true;
     this.textBoxTypedNumeric1.EnableEscapeKeyUndo    = true;
     this.textBoxTypedNumeric1.EnableLastValidValue   = true;
     this.textBoxTypedNumeric1.ErrorProvider          = null;
     this.textBoxTypedNumeric1.ErrorProviderMessage   = "Invalid value";
     this.textBoxTypedNumeric1.ForceFormatText        = true;
     this.textBoxTypedNumeric1.Location         = new System.Drawing.Point(728, 99);
     this.textBoxTypedNumeric1.MaxLength        = 10;
     this.textBoxTypedNumeric1.Name             = "textBoxTypedNumeric1";
     this.textBoxTypedNumeric1.NumericCharStyle = SourceLibrary.Windows.Forms.NumericCharStyle.DecimalSeparator;
     this.textBoxTypedNumeric1.Size             = new System.Drawing.Size(120, 23);
     this.textBoxTypedNumeric1.TabIndex         = 9;
     this.textBoxTypedNumeric1.Text             = "0";
     this.textBoxTypedNumeric1.TextAlign        = System.Windows.Forms.HorizontalAlignment.Right;
     this.textBoxTypedNumeric1.KeyDown         += new System.Windows.Forms.KeyEventHandler(this.textBoxTypedNumeric1_KeyDown);
     //
     // label10
     //
     this.label10.AutoSize  = true;
     this.label10.Location  = new System.Drawing.Point(600, 103);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(98, 14);
     this.label10.TabIndex  = 71;
     this.label10.Text      = "住院费用下限:";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.Location  = new System.Drawing.Point(16, 56);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(70, 14);
     this.label6.TabIndex  = 65;
     this.label6.Text      = "身份编号:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // m_txtName
     //
     this.m_txtName.EnableAutoValidation   = true;
     this.m_txtName.EnableEnterKeyValidate = true;
     this.m_txtName.EnableEscapeKeyUndo    = true;
     this.m_txtName.EnableLastValidValue   = true;
     this.m_txtName.ErrorProvider          = null;
     this.m_txtName.ErrorProviderMessage   = "Invalid value";
     this.m_txtName.ForceFormatText        = true;
     this.m_txtName.Location  = new System.Drawing.Point(104, 16);
     this.m_txtName.MaxLength = 20;
     this.m_txtName.Name      = "m_txtName";
     this.m_txtName.Size      = new System.Drawing.Size(120, 23);
     this.m_txtName.TabIndex  = 0;
     this.m_txtName.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.m_txtName_KeyDown);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Location  = new System.Drawing.Point(280, 56);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(91, 14);
     this.label2.TabIndex  = 30;
     this.label2.Text      = "公 费 上 限:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // m_txtPayMilite
     //
     this.m_txtPayMilite.CausesValidation       = false;
     this.m_txtPayMilite.EnableAutoValidation   = true;
     this.m_txtPayMilite.EnableEnterKeyValidate = true;
     this.m_txtPayMilite.EnableEscapeKeyUndo    = true;
     this.m_txtPayMilite.EnableLastValidValue   = true;
     this.m_txtPayMilite.ErrorProvider          = null;
     this.m_txtPayMilite.ErrorProviderMessage   = "Invalid value";
     this.m_txtPayMilite.ForceFormatText        = true;
     this.m_txtPayMilite.Location         = new System.Drawing.Point(392, 56);
     this.m_txtPayMilite.MaxLength        = 8;
     this.m_txtPayMilite.Name             = "m_txtPayMilite";
     this.m_txtPayMilite.NumericCharStyle = SourceLibrary.Windows.Forms.NumericCharStyle.DecimalSeparator;
     this.m_txtPayMilite.Size             = new System.Drawing.Size(120, 23);
     this.m_txtPayMilite.TabIndex         = 4;
     this.m_txtPayMilite.Text             = "0";
     this.m_txtPayMilite.TextAlign        = System.Windows.Forms.HorizontalAlignment.Right;
     this.m_txtPayMilite.KeyDown         += new System.Windows.Forms.KeyEventHandler(this.m_txtPayMilite_KeyDown);
     //
     // m_cboCOPAYID_CHR
     //
     this.m_cboCOPAYID_CHR.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.m_cboCOPAYID_CHR.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cboCOPAYID_CHR.Location      = new System.Drawing.Point(728, 70);
     this.m_cboCOPAYID_CHR.Name          = "m_cboCOPAYID_CHR";
     this.m_cboCOPAYID_CHR.Size          = new System.Drawing.Size(121, 22);
     this.m_cboCOPAYID_CHR.TabIndex      = 8;
     this.m_cboCOPAYID_CHR.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.m_cboCOPAYID_CHR_KeyDown);
     //
     // m_cobType
     //
     this.m_cobType.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.m_cobType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cobType.Items.AddRange(new object[] {
         "普通",
         "公费",
         "医保",
         "特困",
         "离休",
         "本院"
     });
     this.m_cobType.Location = new System.Drawing.Point(104, 96);
     this.m_cobType.Name     = "m_cobType";
     this.m_cobType.Size     = new System.Drawing.Size(120, 22);
     this.m_cobType.TabIndex = 2;
     this.m_cobType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.m_cobType_KeyDown);
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.Location  = new System.Drawing.Point(16, 96);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(70, 14);
     this.label9.TabIndex  = 69;
     this.label9.Text      = "身份标识:";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // m_txtCHARGEPERCENT_DEC
     //
     this.m_txtCHARGEPERCENT_DEC.CausesValidation       = false;
     this.m_txtCHARGEPERCENT_DEC.EnableAutoValidation   = true;
     this.m_txtCHARGEPERCENT_DEC.EnableEnterKeyValidate = true;
     this.m_txtCHARGEPERCENT_DEC.EnableEscapeKeyUndo    = true;
     this.m_txtCHARGEPERCENT_DEC.EnableLastValidValue   = true;
     this.m_txtCHARGEPERCENT_DEC.ErrorProvider          = null;
     this.m_txtCHARGEPERCENT_DEC.ErrorProviderMessage   = "Invalid value";
     this.m_txtCHARGEPERCENT_DEC.ForceFormatText        = true;
     this.m_txtCHARGEPERCENT_DEC.Location         = new System.Drawing.Point(728, 41);
     this.m_txtCHARGEPERCENT_DEC.MaxLength        = 5;
     this.m_txtCHARGEPERCENT_DEC.Name             = "m_txtCHARGEPERCENT_DEC";
     this.m_txtCHARGEPERCENT_DEC.NumericCharStyle = SourceLibrary.Windows.Forms.NumericCharStyle.DecimalSeparator;
     this.m_txtCHARGEPERCENT_DEC.Size             = new System.Drawing.Size(120, 23);
     this.m_txtCHARGEPERCENT_DEC.TabIndex         = 7;
     this.m_txtCHARGEPERCENT_DEC.Text             = "0";
     this.m_txtCHARGEPERCENT_DEC.TextAlign        = System.Windows.Forms.HorizontalAlignment.Right;
     this.m_txtCHARGEPERCENT_DEC.KeyDown         += new System.Windows.Forms.KeyEventHandler(this.m_txtCHARGEPERCENT_DEC_KeyDown);
     //
     // m_cboPAYFLAG_DEC
     //
     this.m_cboPAYFLAG_DEC.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.m_cboPAYFLAG_DEC.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cboPAYFLAG_DEC.Items.AddRange(new object[] {
         "公共",
         "门诊 ",
         "住院"
     });
     this.m_cboPAYFLAG_DEC.Location = new System.Drawing.Point(392, 96);
     this.m_cboPAYFLAG_DEC.Name     = "m_cboPAYFLAG_DEC";
     this.m_cboPAYFLAG_DEC.Size     = new System.Drawing.Size(120, 22);
     this.m_cboPAYFLAG_DEC.TabIndex = 5;
     this.m_cboPAYFLAG_DEC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.m_cboPAYFLAG_DEC_KeyDown);
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Location  = new System.Drawing.Point(600, 45);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(98, 14);
     this.label7.TabIndex  = 62;
     this.label7.Text      = "收费自付比例:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(16, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(70, 14);
     this.label1.TabIndex  = 18;
     this.label1.Text      = "名    称:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelMemo
     //
     this.labelMemo.AutoSize  = true;
     this.labelMemo.Location  = new System.Drawing.Point(280, 16);
     this.labelMemo.Name      = "labelMemo";
     this.labelMemo.Size      = new System.Drawing.Size(98, 14);
     this.labelMemo.TabIndex  = 18;
     this.labelMemo.Text      = "备        注:";
     this.labelMemo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Location  = new System.Drawing.Point(280, 96);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(91, 14);
     this.label4.TabIndex  = 30;
     this.label4.Text      = "收 费 类 型:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.Location  = new System.Drawing.Point(600, 74);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(98, 14);
     this.label8.TabIndex  = 30;
     this.label8.Text      = "保  险 计 划:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // m_txtPAYPERCENT_DEC
     //
     this.m_txtPAYPERCENT_DEC.AcceptsTab             = true;
     this.m_txtPAYPERCENT_DEC.CausesValidation       = false;
     this.m_txtPAYPERCENT_DEC.EnableAutoValidation   = true;
     this.m_txtPAYPERCENT_DEC.EnableEnterKeyValidate = true;
     this.m_txtPAYPERCENT_DEC.EnableEscapeKeyUndo    = true;
     this.m_txtPAYPERCENT_DEC.EnableLastValidValue   = true;
     this.m_txtPAYPERCENT_DEC.ErrorProvider          = null;
     this.m_txtPAYPERCENT_DEC.ErrorProviderMessage   = "Invalid value";
     this.m_txtPAYPERCENT_DEC.ForceFormatText        = true;
     this.m_txtPAYPERCENT_DEC.Location         = new System.Drawing.Point(728, 12);
     this.m_txtPAYPERCENT_DEC.MaxLength        = 5;
     this.m_txtPAYPERCENT_DEC.Name             = "m_txtPAYPERCENT_DEC";
     this.m_txtPAYPERCENT_DEC.NumericCharStyle = SourceLibrary.Windows.Forms.NumericCharStyle.DecimalSeparator;
     this.m_txtPAYPERCENT_DEC.Size             = new System.Drawing.Size(120, 23);
     this.m_txtPAYPERCENT_DEC.TabIndex         = 6;
     this.m_txtPAYPERCENT_DEC.Text             = "0";
     this.m_txtPAYPERCENT_DEC.TextAlign        = System.Windows.Forms.HorizontalAlignment.Right;
     this.m_txtPAYPERCENT_DEC.KeyDown         += new System.Windows.Forms.KeyEventHandler(this.m_txtPAYPERCENT_DEC_KeyDown);
     //
     // m_txtMemo
     //
     this.m_txtMemo.EnableAutoValidation   = true;
     this.m_txtMemo.EnableEnterKeyValidate = true;
     this.m_txtMemo.EnableEscapeKeyUndo    = true;
     this.m_txtMemo.EnableLastValidValue   = true;
     this.m_txtMemo.ErrorProvider          = null;
     this.m_txtMemo.ErrorProviderMessage   = "Invalid value";
     this.m_txtMemo.ForceFormatText        = true;
     this.m_txtMemo.Location  = new System.Drawing.Point(392, 16);
     this.m_txtMemo.MaxLength = 100;
     this.m_txtMemo.Name      = "m_txtMemo";
     this.m_txtMemo.Size      = new System.Drawing.Size(120, 23);
     this.m_txtMemo.TabIndex  = 3;
     this.m_txtMemo.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.m_txtMemo_KeyDown);
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.Location  = new System.Drawing.Point(600, 16);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(98, 14);
     this.label5.TabIndex  = 62;
     this.label5.Text      = "挂号自付比例:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // m_txtPAYTYPENO_VCHR
     //
     this.m_txtPAYTYPENO_VCHR.EnableAutoValidation   = true;
     this.m_txtPAYTYPENO_VCHR.EnableEnterKeyValidate = true;
     this.m_txtPAYTYPENO_VCHR.EnableEscapeKeyUndo    = true;
     this.m_txtPAYTYPENO_VCHR.EnableLastValidValue   = true;
     this.m_txtPAYTYPENO_VCHR.ErrorProvider          = null;
     this.m_txtPAYTYPENO_VCHR.ErrorProviderMessage   = "Invalid value";
     this.m_txtPAYTYPENO_VCHR.ForceFormatText        = true;
     this.m_txtPAYTYPENO_VCHR.ImeMode   = System.Windows.Forms.ImeMode.Off;
     this.m_txtPAYTYPENO_VCHR.Location  = new System.Drawing.Point(104, 56);
     this.m_txtPAYTYPENO_VCHR.MaxLength = 4;
     this.m_txtPAYTYPENO_VCHR.Name      = "m_txtPAYTYPENO_VCHR";
     this.m_txtPAYTYPENO_VCHR.Size      = new System.Drawing.Size(120, 23);
     this.m_txtPAYTYPENO_VCHR.TabIndex  = 1;
     this.m_txtPAYTYPENO_VCHR.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.m_txtPAYTYPENO_VCHR_KeyDown);
     //
     // m_lblIsStopUse
     //
     this.m_lblIsStopUse.BackColor = System.Drawing.SystemColors.Control;
     this.m_lblIsStopUse.Font      = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.m_lblIsStopUse.ForeColor = System.Drawing.Color.Coral;
     this.m_lblIsStopUse.Location  = new System.Drawing.Point(40, 304);
     this.m_lblIsStopUse.Name      = "m_lblIsStopUse";
     this.m_lblIsStopUse.Size      = new System.Drawing.Size(72, 24);
     this.m_lblIsStopUse.TabIndex  = 67;
     this.m_lblIsStopUse.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // m_btnStopUse
     //
     this.m_btnStopUse.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.m_btnStopUse.DefaultScheme = true;
     this.m_btnStopUse.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnStopUse.Hint          = "";
     this.m_btnStopUse.Location      = new System.Drawing.Point(568, 472);
     this.m_btnStopUse.Name          = "m_btnStopUse";
     this.m_btnStopUse.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnStopUse.Size          = new System.Drawing.Size(96, 32);
     this.m_btnStopUse.TabIndex      = 66;
     this.m_btnStopUse.Text          = "停用";
     this.m_btnStopUse.Click        += new System.EventHandler(this.m_btnStopUse_Click);
     //
     // m_btnDel
     //
     this.m_btnDel.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.m_btnDel.DefaultScheme = true;
     this.m_btnDel.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnDel.Hint          = "";
     this.m_btnDel.Location      = new System.Drawing.Point(672, 472);
     this.m_btnDel.Name          = "m_btnDel";
     this.m_btnDel.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnDel.Size          = new System.Drawing.Size(96, 32);
     this.m_btnDel.TabIndex      = 20;
     this.m_btnDel.Text          = "删除(&D)";
     this.m_btnDel.Click        += new System.EventHandler(this.m_btnDel_Click);
     //
     // m_btnExit
     //
     this.m_btnExit.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.m_btnExit.DefaultScheme = true;
     this.m_btnExit.DialogResult  = System.Windows.Forms.DialogResult.Cancel;
     this.m_btnExit.Hint          = "";
     this.m_btnExit.Location      = new System.Drawing.Point(776, 472);
     this.m_btnExit.Name          = "m_btnExit";
     this.m_btnExit.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnExit.Size          = new System.Drawing.Size(96, 32);
     this.m_btnExit.TabIndex      = 19;
     this.m_btnExit.Text          = "退出(Esc)";
     this.m_btnExit.Click        += new System.EventHandler(this.m_btnExit_Click);
     //
     // m_btnSave
     //
     this.m_btnSave.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.m_btnSave.DefaultScheme = true;
     this.m_btnSave.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnSave.Hint          = "";
     this.m_btnSave.Location      = new System.Drawing.Point(464, 472);
     this.m_btnSave.Name          = "m_btnSave";
     this.m_btnSave.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnSave.Size          = new System.Drawing.Size(96, 32);
     this.m_btnSave.TabIndex      = 16;
     this.m_btnSave.Text          = "保存(&S)";
     this.m_btnSave.Click        += new System.EventHandler(this.m_btnSave_Click);
     //
     // m_btnNew
     //
     this.m_btnNew.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.m_btnNew.DefaultScheme = true;
     this.m_btnNew.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnNew.Hint          = "";
     this.m_btnNew.Location      = new System.Drawing.Point(360, 472);
     this.m_btnNew.Name          = "m_btnNew";
     this.m_btnNew.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnNew.Size          = new System.Drawing.Size(96, 32);
     this.m_btnNew.TabIndex      = 10;
     this.m_btnNew.Text          = "新增(&A)";
     this.m_btnNew.Click        += new System.EventHandler(this.m_btnNew_Click);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Location  = new System.Drawing.Point(8, 304);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(35, 14);
     this.label3.TabIndex  = 18;
     this.label3.Text      = "状态";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // m_lvw
     //
     this.m_lvw.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4,
         this.columnHeader5,
         this.columnHeader6,
         this.columnHeader7,
         this.columnHeader8,
         this.columnHeader9,
         this.columnHeader10,
         this.columnHeader11,
         this.columnHeader12,
         this.columnHeader13
     });
     this.m_lvw.Dock          = System.Windows.Forms.DockStyle.Top;
     this.m_lvw.FullRowSelect = true;
     this.m_lvw.GridLines     = true;
     this.m_lvw.HideSelection = false;
     this.m_lvw.Location      = new System.Drawing.Point(0, 0);
     this.m_lvw.MultiSelect   = false;
     this.m_lvw.Name          = "m_lvw";
     this.m_lvw.Size          = new System.Drawing.Size(882, 304);
     this.m_lvw.TabIndex      = 14;
     this.m_lvw.UseCompatibleStateImageBehavior = false;
     this.m_lvw.View = System.Windows.Forms.View.Details;
     this.m_lvw.SelectedIndexChanged += new System.EventHandler(this.m_lvw_SelectedIndexChanged);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "columnHeader1";
     this.columnHeader1.Width = 0;
     //
     // columnHeader2
     //
     this.columnHeader2.Text      = "身份编号";
     this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader2.Width     = 87;
     //
     // columnHeader3
     //
     this.columnHeader3.Text      = "身份名称";
     this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader3.Width     = 120;
     //
     // columnHeader4
     //
     this.columnHeader4.Text      = "备注";
     this.columnHeader4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader4.Width     = 95;
     //
     // columnHeader5
     //
     this.columnHeader5.Text      = "公费上限";
     this.columnHeader5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader5.Width     = 96;
     //
     // columnHeader6
     //
     this.columnHeader6.Text      = "收费类型";
     this.columnHeader6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader6.Width     = 85;
     //
     // columnHeader7
     //
     this.columnHeader7.Text      = "挂号自付比例";
     this.columnHeader7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader7.Width     = 122;
     //
     // columnHeader8
     //
     this.columnHeader8.Text      = "状态";
     this.columnHeader8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader8.Width     = 0;
     //
     // columnHeader9
     //
     this.columnHeader9.Text      = "收费自付比例";
     this.columnHeader9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader9.Width     = 107;
     //
     // columnHeader10
     //
     this.columnHeader10.Text  = "保险计划";
     this.columnHeader10.Width = 109;
     //
     // columnHeader11
     //
     this.columnHeader11.Text  = "类型身份";
     this.columnHeader11.Width = 80;
     //
     // columnHeader12
     //
     this.columnHeader12.Width = 0;
     //
     // columnHeader13
     //
     this.columnHeader13.Text  = "住院费下限";
     this.columnHeader13.Width = 100;
     //
     // frmPatientPayType
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.ClientSize        = new System.Drawing.Size(882, 511);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.m_lblIsStopUse);
     this.Controls.Add(this.m_btnStopUse);
     this.Controls.Add(this.m_btnDel);
     this.Controls.Add(this.m_btnExit);
     this.Controls.Add(this.m_btnSave);
     this.Controls.Add(this.m_btnNew);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.m_lvw);
     this.Font            = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.KeyPreview      = true;
     this.MaximizeBox     = false;
     this.Name            = "frmPatientPayType";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "挂号身份";
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.frmPatientPayType_KeyDown);
     this.Load           += new System.EventHandler(this.frmPatientPayType_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.listView      = new System.Windows.Forms.ListView();
     this.idHeader      = new System.Windows.Forms.ColumnHeader();
     this.keyHeader     = new System.Windows.Forms.ColumnHeader();
     this.closeButton   = new System.Windows.Forms.Button();
     this.pictureBox    = new System.Windows.Forms.PictureBox();
     this.infoLabel     = new System.Windows.Forms.Label();
     this.searchLabel   = new System.Windows.Forms.Label();
     this.clearButton   = new System.Windows.Forms.Button();
     this.filterTextBox = new System.Windows.Forms.TextBox();
     this.viewCustom    = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
     this.SuspendLayout();
     //
     // idHeader
     //
     this.idHeader.Text  = "Command";
     this.idHeader.Width = 350;
     //
     // keyHeader
     //
     this.keyHeader.Text  = "Shortcut";
     this.keyHeader.Width = 208;
     //
     // listView
     //
     this.listView.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.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.idHeader, this.keyHeader });
     this.listView.GridLines     = true;
     this.listView.FullRowSelect = true;
     this.listView.Location      = new System.Drawing.Point(12, 62);
     this.listView.MultiSelect   = false;
     this.listView.Name          = "listView";
     this.listView.Size          = new System.Drawing.Size(562, 312);
     this.listView.TabIndex      = 4;
     this.listView.UseCompatibleStateImageBehavior = false;
     this.listView.View     = System.Windows.Forms.View.Details;
     this.listView.KeyDown += new KeyEventHandler(this.ListViewKeyDown);
     //
     // closeButton
     //
     this.closeButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.closeButton.Location  = new System.Drawing.Point(485, 381);
     this.closeButton.Name      = "closeButton";
     this.closeButton.Size      = new System.Drawing.Size(90, 23);
     this.closeButton.TabIndex  = 0;
     this.closeButton.Text      = "Close";
     this.closeButton.UseVisualStyleBackColor = true;
     this.closeButton.Click += new System.EventHandler(this.CloseButtonClick);
     //
     // pictureBox
     //
     this.pictureBox.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.pictureBox.Location = new System.Drawing.Point(12, 385);
     this.pictureBox.Name     = "pictureBox";
     this.pictureBox.Size     = new System.Drawing.Size(16, 16);
     this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox.TabIndex = 5;
     this.pictureBox.TabStop  = false;
     //
     // infoLabel
     //
     this.infoLabel.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
     this.infoLabel.Location = new System.Drawing.Point(33, 386);
     this.infoLabel.Name     = "infoLabel";
     this.infoLabel.Size     = new System.Drawing.Size(446, 16);
     this.infoLabel.TabIndex = 6;
     this.infoLabel.Text     = "Shortcuts can be edited by selecting an item and pressing valid menu item shortcut keys.";
     //
     // searchLabel
     //
     this.searchLabel.AutoSize = true;
     this.searchLabel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)));
     this.searchLabel.Location = new System.Drawing.Point(10, 10);
     this.searchLabel.Name     = "searchLabel";
     this.searchLabel.TabIndex = 0;
     this.searchLabel.Text     = "Search:";
     //
     // clearButton
     //
     this.clearButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.clearButton.Location = new System.Drawing.Point(549, 30);
     this.clearButton.Name     = "clearButton";
     this.clearButton.Size     = new System.Drawing.Size(26, 23);
     this.clearButton.TabIndex = 2;
     this.clearButton.UseVisualStyleBackColor = true;
     this.clearButton.Click += new System.EventHandler(this.ClearFilterClick);
     //
     // filterTextBox
     //
     this.filterTextBox.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
     this.filterTextBox.Location     = new System.Drawing.Point(12, 32);
     this.filterTextBox.Name         = "filterTextBox";
     this.filterTextBox.Size         = new System.Drawing.Size(530, 20);
     this.filterTextBox.TabIndex     = 1;
     this.filterTextBox.ForeColor    = System.Drawing.SystemColors.GrayText;
     this.filterTextBox.TextChanged += new System.EventHandler(this.FilterTextChanged);
     //
     // viewCustom
     //
     this.viewCustom.AutoSize        = true;
     this.viewCustom.CheckAlign      = ContentAlignment.MiddleRight;
     this.viewCustom.Anchor          = ((System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right));
     this.viewCustom.Location        = new System.Drawing.Point(471, 9);
     this.viewCustom.CheckedChanged += new System.EventHandler(this.ViewCustomCheckedChanged);
     //
     // ShortcutDialog
     //
     this.ShowIcon            = false;
     this.MaximizeBox         = false;
     this.MinimizeBox         = false;
     this.ShowInTaskbar       = false;
     this.Text                = " Shortcuts";
     this.Name                = "ShortcutDialog";
     this.AcceptButton        = this.closeButton;
     this.CancelButton        = this.closeButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(586, 416);
     this.MinimumSize         = new System.Drawing.Size(400, 250);
     this.Controls.Add(this.filterTextBox);
     this.Controls.Add(this.clearButton);
     this.Controls.Add(this.infoLabel);
     this.Controls.Add(this.pictureBox);
     this.Controls.Add(this.closeButton);
     this.Controls.Add(this.viewCustom);
     this.Controls.Add(this.listView);
     this.Controls.Add(this.searchLabel);
     this.FormClosed   += new FormClosedEventHandler(this.DialogClosed);
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lstVwColunas   = new System.Windows.Forms.ListView();
     this.columnHeader1  = new System.Windows.Forms.ColumnHeader();
     this.btnAdd         = new System.Windows.Forms.Button();
     this.btnRemove      = new System.Windows.Forms.Button();
     this.btnAddAll      = new System.Windows.Forms.Button();
     this.btnRemoveAll   = new System.Windows.Forms.Button();
     this.lstVwOrdenacao = new System.Windows.Forms.ListView();
     this.columnHeader2  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4  = new System.Windows.Forms.ColumnHeader();
     this.btnOk          = new System.Windows.Forms.Button();
     this.btnCancel      = new System.Windows.Forms.Button();
     this.domainSort     = new System.Windows.Forms.DomainUpDown();
     this.numOrder       = new System.Windows.Forms.NumericUpDown();
     ((System.ComponentModel.ISupportInitialize)(this.numOrder)).BeginInit();
     this.SuspendLayout();
     //
     // lstVwColunas
     //
     this.lstVwColunas.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1
     });
     this.lstVwColunas.FullRowSelect         = true;
     this.lstVwColunas.HideSelection         = false;
     this.lstVwColunas.Location              = new System.Drawing.Point(16, 16);
     this.lstVwColunas.Name                  = "lstVwColunas";
     this.lstVwColunas.Size                  = new System.Drawing.Size(136, 208);
     this.lstVwColunas.TabIndex              = 0;
     this.lstVwColunas.View                  = System.Windows.Forms.View.Details;
     this.lstVwColunas.SelectedIndexChanged += new System.EventHandler(this.lstVwColunas_SelectedIndexChanged);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Colunas";
     this.columnHeader1.Width = 130;
     //
     // btnAdd
     //
     this.btnAdd.Location = new System.Drawing.Point(168, 40);
     this.btnAdd.Name     = "btnAdd";
     this.btnAdd.Size     = new System.Drawing.Size(32, 24);
     this.btnAdd.TabIndex = 1;
     this.btnAdd.Text     = "->";
     this.btnAdd.Click   += new System.EventHandler(this.btnAdd_Click);
     //
     // btnRemove
     //
     this.btnRemove.Location = new System.Drawing.Point(168, 80);
     this.btnRemove.Name     = "btnRemove";
     this.btnRemove.Size     = new System.Drawing.Size(32, 24);
     this.btnRemove.TabIndex = 2;
     this.btnRemove.Text     = "<-";
     this.btnRemove.Click   += new System.EventHandler(this.btnRemove_Click);
     //
     // btnAddAll
     //
     this.btnAddAll.Location = new System.Drawing.Point(168, 120);
     this.btnAddAll.Name     = "btnAddAll";
     this.btnAddAll.Size     = new System.Drawing.Size(32, 24);
     this.btnAddAll.TabIndex = 3;
     this.btnAddAll.Text     = ">>";
     this.btnAddAll.Click   += new System.EventHandler(this.btnAddAll_Click);
     //
     // btnRemoveAll
     //
     this.btnRemoveAll.Location = new System.Drawing.Point(168, 160);
     this.btnRemoveAll.Name     = "btnRemoveAll";
     this.btnRemoveAll.Size     = new System.Drawing.Size(32, 24);
     this.btnRemoveAll.TabIndex = 4;
     this.btnRemoveAll.Text     = "<<";
     this.btnRemoveAll.Click   += new System.EventHandler(this.btnRemoveAll_Click);
     //
     // lstVwOrdenacao
     //
     this.lstVwOrdenacao.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4
     });
     this.lstVwOrdenacao.FullRowSelect         = true;
     this.lstVwOrdenacao.HideSelection         = false;
     this.lstVwOrdenacao.Location              = new System.Drawing.Point(224, 16);
     this.lstVwOrdenacao.Name                  = "lstVwOrdenacao";
     this.lstVwOrdenacao.Size                  = new System.Drawing.Size(248, 208);
     this.lstVwOrdenacao.TabIndex              = 5;
     this.lstVwOrdenacao.View                  = System.Windows.Forms.View.Details;
     this.lstVwOrdenacao.SelectedIndexChanged += new System.EventHandler(this.lstVwOrdenacao_SelectedIndexChanged);
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "";
     this.columnHeader2.Width = 20;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Colunas";
     this.columnHeader3.Width = 148;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Ordenação";
     this.columnHeader4.Width = 72;
     //
     // btnOk
     //
     this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Location     = new System.Drawing.Point(477, 192);
     this.btnOk.Name         = "btnOk";
     this.btnOk.Size         = new System.Drawing.Size(40, 24);
     this.btnOk.TabIndex     = 6;
     this.btnOk.Text         = "Ok";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(528, 192);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(64, 24);
     this.btnCancel.TabIndex     = 7;
     this.btnCancel.Text         = "Cancelar";
     //
     // domainSort
     //
     this.domainSort.Items.Add("Asc");
     this.domainSort.Items.Add("Desc");
     this.domainSort.Location = new System.Drawing.Point(488, 80);
     this.domainSort.Name     = "domainSort";
     this.domainSort.ReadOnly = true;
     this.domainSort.Size     = new System.Drawing.Size(56, 20);
     this.domainSort.TabIndex = 8;
     this.domainSort.Tag      = "";
     this.domainSort.Click   += new System.EventHandler(this.domainSort_Click);
     //
     // numOrder
     //
     this.numOrder.Location = new System.Drawing.Point(488, 48);
     this.numOrder.Minimum  = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numOrder.Name     = "numOrder";
     this.numOrder.Size     = new System.Drawing.Size(56, 20);
     this.numOrder.TabIndex = 9;
     this.numOrder.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numOrder.ValueChanged += new EventHandler(numOrder_ValueChanged);
     //
     // ControloEdicaoOrdenacao
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(600, 232);
     this.ControlBox        = false;
     this.Controls.Add(this.numOrder);
     this.Controls.Add(this.domainSort);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOk);
     this.Controls.Add(this.lstVwOrdenacao);
     this.Controls.Add(this.btnRemoveAll);
     this.Controls.Add(this.btnAddAll);
     this.Controls.Add(this.btnRemove);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.lstVwColunas);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "ControloEdicaoOrdenacao";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Edição dos critérios de ordenação";
     ((System.ComponentModel.ISupportInitialize)(this.numOrder)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.PCount    = new System.Windows.Forms.ColumnHeader();
     this.panel2    = new System.Windows.Forms.Panel();
     this.lstwOther = new System.Windows.Forms.ListView();
     this.panel1    = new System.Windows.Forms.Panel();
     this.label2    = new System.Windows.Forms.Label();
     this.label1    = new System.Windows.Forms.Label();
     this.lblCount  = new System.Windows.Forms.Label();
     this.label3    = new System.Windows.Forms.Label();
     this.panel2.SuspendLayout();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // PCount
     //
     this.PCount.Text = "Number";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.lstwOther);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 32);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(768, 344);
     this.panel2.TabIndex = 7;
     //
     // lstwOther
     //
     this.lstwOther.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.PCount
     });
     this.lstwOther.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.lstwOther.Location     = new System.Drawing.Point(0, 0);
     this.lstwOther.MultiSelect  = false;
     this.lstwOther.Name         = "lstwOther";
     this.lstwOther.Size         = new System.Drawing.Size(768, 344);
     this.lstwOther.TabIndex     = 9;
     this.lstwOther.View         = System.Windows.Forms.View.Details;
     this.lstwOther.DoubleClick += new System.EventHandler(this.lstwOther_DoubleClick);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.lblCount);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     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(768, 32);
     this.panel1.TabIndex = 6;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(112, 8);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(296, 23);
     this.label2.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(96, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Packets Between ";
     //
     // lblCount
     //
     this.lblCount.Location = new System.Drawing.Point(480, 8);
     this.lblCount.Name     = "lblCount";
     this.lblCount.Size     = new System.Drawing.Size(100, 16);
     this.lblCount.TabIndex = 5;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(440, 8);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(48, 16);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Count : ";
     //
     // OtherProtocols
     //
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Name = "OtherProtocols";
     this.Size = new System.Drawing.Size(768, 376);
     this.panel2.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 36
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.button1              = new System.Windows.Forms.Button();
     this.button2              = new System.Windows.Forms.Button();
     this.tabControl1          = new System.Windows.Forms.TabControl();
     this.tabPage1             = new System.Windows.Forms.TabPage();
     this.textBox1             = new System.Windows.Forms.TextBox();
     this.label1               = new System.Windows.Forms.Label();
     this.tabPage2             = new System.Windows.Forms.TabPage();
     this.comboBox1            = new System.Windows.Forms.ComboBox();
     this.label2               = new System.Windows.Forms.Label();
     this.tabPage3             = new System.Windows.Forms.TabPage();
     this.comboBox3            = new System.Windows.Forms.ComboBox();
     this.label3               = new System.Windows.Forms.Label();
     this.tabPage4             = new System.Windows.Forms.TabPage();
     this.comboBox2            = new System.Windows.Forms.ComboBox();
     this.label4               = new System.Windows.Forms.Label();
     this.tabPage5             = new System.Windows.Forms.TabPage();
     this.label5               = new System.Windows.Forms.Label();
     this.tbProductNo          = new System.Windows.Forms.TextBox();
     this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
     this.listView1            = new System.Windows.Forms.ListView();
     this.columnHeader7        = new System.Windows.Forms.ColumnHeader();
     this.columnHeader1        = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2        = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3        = new System.Windows.Forms.ColumnHeader();
     this.columnHeader6        = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4        = new System.Windows.Forms.ColumnHeader();
     this.columnHeader5        = new System.Windows.Forms.ColumnHeader();
     this.columnHeader8        = new System.Windows.Forms.ColumnHeader();
     this.contextMenu1         = new System.Windows.Forms.ContextMenu();
     this.menuItem1            = new System.Windows.Forms.MenuItem();
     this.menuItem5            = new System.Windows.Forms.MenuItem();
     this.menuItem2            = new System.Windows.Forms.MenuItem();
     this.menuItem3            = new System.Windows.Forms.MenuItem();
     this.menuItem4            = new System.Windows.Forms.MenuItem();
     this.menuItem6            = new System.Windows.Forms.MenuItem();
     this.menuItem7            = new System.Windows.Forms.MenuItem();
     this.button3              = new System.Windows.Forms.Button();
     this.button4              = new System.Windows.Forms.Button();
     this.cbSomeOne            = new System.Windows.Forms.CheckBox();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.tabPage3.SuspendLayout();
     this.tabPage4.SuspendLayout();
     this.tabPage5.SuspendLayout();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(299, 103);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(62, 21);
     this.button1.TabIndex = 2;
     this.button1.Text     = "查询";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(386, 103);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(63, 21);
     this.button2.TabIndex = 3;
     this.button2.Text     = "所有记录";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Controls.Add(this.tabPage4);
     this.tabControl1.Controls.Add(this.tabPage5);
     this.tabControl1.Location      = new System.Drawing.Point(20, 7);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(433, 90);
     this.tabControl1.TabIndex      = 4;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.textBox1);
     this.tabPage1.Controls.Add(this.label1);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(425, 64);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "图纸名称";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(127, 22);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(193, 20);
     this.textBox1.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(20, 22);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(83, 22);
     this.label1.TabIndex = 0;
     this.label1.Text     = "输入图纸名称:";
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.comboBox1);
     this.tabPage2.Controls.Add(this.label2);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(425, 64);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "用户";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // comboBox1
     //
     this.comboBox1.Location         = new System.Drawing.Point(107, 22);
     this.comboBox1.MaxDropDownItems = 50;
     this.comboBox1.Name             = "comboBox1";
     this.comboBox1.Size             = new System.Drawing.Size(233, 21);
     this.comboBox1.TabIndex         = 1;
     this.comboBox1.Text             = "comboBox1";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(13, 22);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(84, 22);
     this.label2.TabIndex = 0;
     this.label2.Text     = "输入用户名:";
     //
     // tabPage3
     //
     this.tabPage3.Controls.Add(this.comboBox3);
     this.tabPage3.Controls.Add(this.label3);
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name     = "tabPage3";
     this.tabPage3.Size     = new System.Drawing.Size(425, 64);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text     = "类别查询";
     this.tabPage3.UseVisualStyleBackColor = true;
     //
     // comboBox3
     //
     this.comboBox3.Location         = new System.Drawing.Point(93, 22);
     this.comboBox3.MaxDropDownItems = 28;
     this.comboBox3.Name             = "comboBox3";
     this.comboBox3.Size             = new System.Drawing.Size(234, 21);
     this.comboBox3.TabIndex         = 1;
     this.comboBox3.Text             = "comboBox3";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(13, 22);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(60, 22);
     this.label3.TabIndex = 0;
     this.label3.Text     = "输入类别";
     //
     // tabPage4
     //
     this.tabPage4.Controls.Add(this.comboBox2);
     this.tabPage4.Controls.Add(this.label4);
     this.tabPage4.Location = new System.Drawing.Point(4, 22);
     this.tabPage4.Name     = "tabPage4";
     this.tabPage4.Size     = new System.Drawing.Size(425, 64);
     this.tabPage4.TabIndex = 3;
     this.tabPage4.Text     = "泵型号";
     this.tabPage4.UseVisualStyleBackColor = true;
     //
     // comboBox2
     //
     this.comboBox2.Location         = new System.Drawing.Point(73, 22);
     this.comboBox2.MaxDropDownItems = 20;
     this.comboBox2.Name             = "comboBox2";
     this.comboBox2.Size             = new System.Drawing.Size(254, 21);
     this.comboBox2.TabIndex         = 1;
     this.comboBox2.Text             = "comboBox2";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(13, 22);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(47, 22);
     this.label4.TabIndex = 0;
     this.label4.Text     = "泵型号:";
     //
     // tabPage5
     //
     this.tabPage5.Controls.Add(this.label5);
     this.tabPage5.Controls.Add(this.tbProductNo);
     this.tabPage5.Location = new System.Drawing.Point(4, 22);
     this.tabPage5.Name     = "tabPage5";
     this.tabPage5.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage5.Size     = new System.Drawing.Size(425, 64);
     this.tabPage5.TabIndex = 4;
     this.tabPage5.Text     = "制造编号";
     this.tabPage5.UseVisualStyleBackColor = true;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(7, 21);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(55, 13);
     this.label5.TabIndex = 1;
     this.label5.Text     = "制造编号";
     //
     // tbProductNo
     //
     this.tbProductNo.Location = new System.Drawing.Point(77, 21);
     this.tbProductNo.Name     = "tbProductNo";
     this.tbProductNo.Size     = new System.Drawing.Size(316, 20);
     this.tbProductNo.TabIndex = 0;
     //
     // listView1
     //
     this.listView1.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.listView1.CheckBoxes = true;
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader7,
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader6,
         this.columnHeader4,
         this.columnHeader5,
         this.columnHeader8
     });
     this.listView1.ContextMenu   = this.contextMenu1;
     this.listView1.FullRowSelect = true;
     this.listView1.Location      = new System.Drawing.Point(20, 141);
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(433, 317);
     this.listView1.TabIndex      = 6;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // columnHeader7
     //
     this.columnHeader7.Text = "编号";
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "入库日期";
     this.columnHeader1.Width = 150;
     //
     // columnHeader2
     //
     this.columnHeader2.Text = "人员";
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "泵类型";
     this.columnHeader3.Width = 120;
     //
     // columnHeader6
     //
     this.columnHeader6.Text  = "泵名称";
     this.columnHeader6.Width = 150;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "图纸类型";
     this.columnHeader4.Width = 100;
     //
     // columnHeader5
     //
     this.columnHeader5.Text  = "文件名";
     this.columnHeader5.Width = 300;
     //
     // columnHeader8
     //
     this.columnHeader8.Text = "版本号";
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem5,
         this.menuItem2,
         this.menuItem3,
         this.menuItem4,
         this.menuItem6,
         this.menuItem7
     });
     //
     // menuItem1
     //
     this.menuItem1.Index  = 0;
     this.menuItem1.Text   = "选择相同用户";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index  = 1;
     this.menuItem5.Text   = "选择相同的图纸类型";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index  = 2;
     this.menuItem2.Text   = "选择相同的泵名称";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 3;
     this.menuItem3.Text  = "-";
     //
     // menuItem4
     //
     this.menuItem4.Index  = 4;
     this.menuItem4.Text   = "反向选择";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index  = 5;
     this.menuItem6.Text   = "全选";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index  = 6;
     this.menuItem7.Text   = "全不选";
     this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(20, 104);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(87, 21);
     this.button3.TabIndex = 7;
     this.button3.Text     = "拷贝选择文件";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(113, 104);
     this.button4.Name     = "button4";
     this.button4.Size     = new System.Drawing.Size(75, 20);
     this.button4.TabIndex = 8;
     this.button4.Text     = "发送邮件";
     this.button4.UseVisualStyleBackColor = true;
     this.button4.Click += new System.EventHandler(this.button4_Click);
     //
     // cbSomeOne
     //
     this.cbSomeOne.AutoSize = true;
     this.cbSomeOne.Location = new System.Drawing.Point(193, 108);
     this.cbSomeOne.Name     = "cbSomeOne";
     this.cbSomeOne.Size     = new System.Drawing.Size(74, 17);
     this.cbSomeOne.TabIndex = 9;
     this.cbSomeOne.Text     = "特定人员";
     this.cbSomeOne.UseVisualStyleBackColor = true;
     //
     // IntoLibRec
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(480, 486);
     this.Controls.Add(this.cbSomeOne);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Name  = "IntoLibRec";
     this.Text  = "IntoLibRec";
     this.Load += new System.EventHandler(this.IntoLibRec_Load);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     this.tabPage3.ResumeLayout(false);
     this.tabPage4.ResumeLayout(false);
     this.tabPage5.ResumeLayout(false);
     this.tabPage5.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio 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()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "Red", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "255"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0")
     }, 0);
     System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "Green", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "255"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0")
     }, 0);
     System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "Blue", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "255")
     }, 0);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.list_View1          = new Salford.VisualClearWin.List_View();
     this.columnHeader1       = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2       = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3       = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4       = new System.Windows.Forms.ColumnHeader();
     this.contextMenu1        = new System.Windows.Forms.ContextMenu();
     this.menuItem1           = new System.Windows.Forms.MenuItem();
     this.menuItem2           = new System.Windows.Forms.MenuItem();
     this.menuItem3           = new System.Windows.Forms.MenuItem();
     this.menuItem9           = new System.Windows.Forms.MenuItem();
     this.menuItem4           = new System.Windows.Forms.MenuItem();
     this.menuItem5_Details   = new System.Windows.Forms.MenuItem();
     this.menuItem6_LargeIcon = new System.Windows.Forms.MenuItem();
     this.menuItem7_List      = new System.Windows.Forms.MenuItem();
     this.menuItem8_SmallIcon = new System.Windows.Forms.MenuItem();
     this.imageList2          = new System.Windows.Forms.ImageList(this.components);
     this.imageList1          = new System.Windows.Forms.ImageList(this.components);
     this.drawing_Panel1      = new Salford.VisualClearWin.Drawing_Panel();
     this.colorDialog1        = new System.Windows.Forms.ColorDialog();
     this.SuspendLayout();
     //
     // list_View1
     //
     this.list_View1.AllowColumnReorder = true;
     this.list_View1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4
     });
     this.list_View1.ContextMenu = this.contextMenu1;
     this.list_View1.GridLines   = true;
     this.list_View1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.list_View1.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
         listViewItem1,
         listViewItem2,
         listViewItem3
     });
     this.list_View1.LabelEdit      = true;
     this.list_View1.LargeImageList = this.imageList2;
     this.list_View1.Location       = new System.Drawing.Point(16, 16);
     this.list_View1.MultiSelect    = false;
     this.list_View1.Name           = "list_View1";
     this.list_View1.Size           = new System.Drawing.Size(232, 136);
     this.list_View1.SmallImageList = this.imageList1;
     this.list_View1.TabIndex       = 0;
     this.list_View1.View           = System.Windows.Forms.View.Details;
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Colour";
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Red";
     this.columnHeader2.Width = 56;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Green";
     this.columnHeader3.Width = 56;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Blue";
     this.columnHeader4.Width = 56;
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2,
         this.menuItem3,
         this.menuItem9,
         this.menuItem4,
         this.menuItem5_Details,
         this.menuItem6_LargeIcon,
         this.menuItem7_List,
         this.menuItem8_SmallIcon
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.Text  = "New";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text  = "Delete";
     //
     // menuItem3
     //
     this.menuItem3.Index = 2;
     this.menuItem3.Text  = "Edit";
     //
     // menuItem9
     //
     this.menuItem9.Index = 3;
     this.menuItem9.Text  = "Colours";
     //
     // menuItem4
     //
     this.menuItem4.Index = 4;
     this.menuItem4.Text  = "-";
     //
     // menuItem5_Details
     //
     this.menuItem5_Details.Checked = true;
     this.menuItem5_Details.Index   = 5;
     this.menuItem5_Details.Text    = "Details";
     //
     // menuItem6_LargeIcon
     //
     this.menuItem6_LargeIcon.Index = 6;
     this.menuItem6_LargeIcon.Text  = "Large icon";
     //
     // menuItem7_List
     //
     this.menuItem7_List.Index = 7;
     this.menuItem7_List.Text  = "List";
     //
     // menuItem8_SmallIcon
     //
     this.menuItem8_SmallIcon.Index = 8;
     this.menuItem8_SmallIcon.Text  = "Small icon";
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList2.ImageSize        = new System.Drawing.Size(32, 32);
     this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // drawing_Panel1
     //
     this.drawing_Panel1.BitmapSize  = new System.Drawing.Size(0, 0);
     this.drawing_Panel1.FillColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.LineColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.Location    = new System.Drawing.Point(16, 160);
     this.drawing_Panel1.Name        = "drawing_Panel1";
     this.drawing_Panel1.Size        = new System.Drawing.Size(232, 8);
     this.drawing_Panel1.StringColor = System.Drawing.Color.Black;
     this.drawing_Panel1.TabIndex    = 1;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(266, 192);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.drawing_Panel1,
         this.list_View1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "List View";
     this.ResumeLayout(false);
 }
Esempio n. 38
0
        private void InitTreeList()
        {
            this.components = new System.ComponentModel.Container();
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(TreeListView));
            //treeListView1 = new System.Windows.Forms.TreeListView();
            this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
            this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
            this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
            this.imageList1    = new System.Windows.Forms.ImageList(this.components);
            this.SuspendLayout();
            //
            // treeListView1
            //
            treeListView1.AllowColumnReorder = true;
            //treeListView1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            //   | System.Windows.Forms.AnchorStyles.Left)
            //   | System.Windows.Forms.AnchorStyles.Right);
            treeListView1.CheckBoxes = System.Windows.Forms.CheckBoxesTypes.Recursive;
            treeListView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                this.columnHeader1,
                this.columnHeader2,
                this.columnHeader3
            });
            treeListView1.HideSelection = false;
            treeListView1.LabelEdit     = false;
            //treeListView1.Location = new System.Drawing.Point(4, 4);
            //treeListView1.Name = "treeListView1";
            //treeListView1.Size = new System.Drawing.Size(580, 420);
            treeListView1.SmallImageList = this.imageList1;
            treeListView1.TabIndex       = 0;
            //this.treeListView1.BeforeLabelEdit += new System.Windows.Forms.TreeListViewBeforeLabelEditEventHandler(this.treeListView1_BeforeLabelEdit);
            //this.treeListView1.BeforeCollapse += new System.Windows.Forms.TreeListViewCancelEventHandler(this.treeListView1_BeforeCollapse);
            //this.treeListView1.BeforeExpand += new System.Windows.Forms.TreeListViewCancelEventHandler(this.treeListView1_BeforeExpand);
            //
            // columnHeader1
            //
            //添加鼠标点击事件
            treeListView1.MouseClick += TreeListView1_MouseClick;
            this.columnHeader1.Text   = "Name";
            this.columnHeader1.Width  = 230;
            //
            // columnHeader2
            //
            this.columnHeader2.Text  = "Attribute";
            this.columnHeader2.Width = 300;
            //
            // columnHeader3
            //
            this.columnHeader3.Text  = "Remark";
            this.columnHeader3.Width = 100;
            //
            // imageList1
            //
            this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
            this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            //
            // CurveShowBt
            //

            //this.CurveShowBt.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
            this.CurveShowBt.FlatStyle = System.Windows.Forms.FlatStyle.System;
            //this.CurveShowBt.Location = new System.Drawing.Point(8, 425);
            //this.CurveShowBt.Name = "CurveShowBt";
            //this.CurveShowBt.Size = new System.Drawing.Size(112, 20);
            this.CurveShowBt.TabIndex = 1;
            //this.CurveShowBt.Text = "Add / Remove All";
            //this.CurveShowBt.Click += new System.EventHandler(this.CurveShowBt_Click);
            //
            // DashboardShowBt
            //

            //this.DashboardShowBt.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
            this.DashboardShowBt.FlatStyle = System.Windows.Forms.FlatStyle.System;

            //this.DashboardShowBt.Location = new System.Drawing.Point(450, 425);
            //this.DashboardShowBt.Name = "DashboardShowBt";
            //this.DashboardShowBt.Size = new System.Drawing.Size(128, 20);
            this.DashboardShowBt.TabIndex = 2;
            //this.DashboardShowBt.Text = "Expand / Collapse All";

            //this.DashboardShowBt.Click += new System.EventHandler(this.DashboardShowBt_Click);
            //
            // TryTreeListView
            //
            //this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            //this.ClientSize = new System.Drawing.Size(600, 450);
            //this.Controls.AddRange(new System.Windows.Forms.Control[] {
            //                                                             this.DashboardShowBt,
            //                                                            this.CurveShowBt,
            //                                                             treeListView1});
            this.Name  = "MainForm";
            this.Text  = "MainForm";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);
        }
Esempio n. 39
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();
     this.cancelButton       = new System.Windows.Forms.ButtonEx();
     this.okButton           = new System.Windows.Forms.ButtonEx();
     this.previewBox         = new System.Windows.Forms.PictureBoxEx();
     this.projectListView    = new System.Windows.Forms.ListViewEx();
     this.columnHeader1      = new System.Windows.Forms.ColumnHeader();
     this.imageList          = new System.Windows.Forms.ImageList(this.components);
     this.locationTextBox    = new System.Windows.Forms.TextBoxEx();
     this.label1             = new System.Windows.Forms.Label();
     this.descriptionLabel   = new System.Windows.Forms.Label();
     this.browseButton       = new System.Windows.Forms.ButtonEx();
     this.label2             = new System.Windows.Forms.Label();
     this.nameTextBox        = new System.Windows.Forms.TextBoxEx();
     this.createDirectoryBox = new System.Windows.Forms.CheckBoxEx();
     this.statusBar          = new System.Windows.Forms.StatusBarEx();
     this.label3             = new System.Windows.Forms.Label();
     this.packageTextBox     = new System.Windows.Forms.TextBoxEx();
     ((System.ComponentModel.ISupportInitialize)(this.previewBox)).BeginInit();
     this.SuspendLayout();
     //
     // cancelButton
     //
     this.cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.cancelButton.Location     = new System.Drawing.Point(573, 388);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(90, 23);
     this.cancelButton.TabIndex     = 11;
     this.cancelButton.Text         = "&Cancel";
     //
     // okButton
     //
     this.okButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.Enabled   = false;
     this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.okButton.Location  = new System.Drawing.Point(475, 388);
     this.okButton.Name      = "okButton";
     this.okButton.Size      = new System.Drawing.Size(90, 23);
     this.okButton.TabIndex  = 10;
     this.okButton.Text      = "&OK";
     this.okButton.Click    += new System.EventHandler(this.okButton_Click);
     //
     // previewBox
     //
     this.previewBox.Anchor      = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right)));
     this.previewBox.BackColor   = System.Drawing.Color.White;
     this.previewBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.previewBox.Location    = new System.Drawing.Point(469, 12);
     this.previewBox.Name        = "previewBox";
     this.previewBox.Size        = new System.Drawing.Size(192, 246);
     this.previewBox.TabIndex    = 5;
     this.previewBox.TabStop     = false;
     //
     // projectListView
     //
     this.projectListView.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.projectListView.BackColor   = System.Drawing.SystemColors.Window;
     this.projectListView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.projectListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 });
     this.projectListView.HeaderStyle    = System.Windows.Forms.ColumnHeaderStyle.None;
     this.projectListView.HideSelection  = false;
     this.projectListView.LargeImageList = this.imageList;
     this.projectListView.Location       = new System.Drawing.Point(11, 12);
     this.projectListView.MultiSelect    = false;
     this.projectListView.Name           = "projectListView";
     this.projectListView.Size           = new System.Drawing.Size(459, 246);
     this.projectListView.SmallImageList = this.imageList;
     this.projectListView.TabIndex       = 0;
     this.projectListView.TileSize       = new System.Drawing.Size(170, 22);
     this.projectListView.UseCompatibleStateImageBehavior = false;
     this.projectListView.View = System.Windows.Forms.View.Tile;
     this.projectListView.SelectedIndexChanged += new System.EventHandler(this.projectListView_SelectedIndexChanged);
     //
     // columnHeader1
     //
     this.columnHeader1.Width = 183;
     //
     // imageList
     //
     this.imageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // locationTextBox
     //
     this.locationTextBox.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
     this.locationTextBox.Location     = new System.Drawing.Point(77, 328);
     this.locationTextBox.Name         = "locationTextBox";
     this.locationTextBox.Size         = new System.Drawing.Size(485, 21);
     this.locationTextBox.TabIndex     = 5;
     this.locationTextBox.Text         = "C:\\Documents and Settings\\Nick\\My Documents";
     this.locationTextBox.TextChanged += new System.EventHandler(this.locationTextBox_TextChanged);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(13, 330);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(68, 16);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "&Location:";
     this.label1.AutoSize  = true;
     //
     // descriptionLabel
     //
     this.descriptionLabel.Anchor      = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
     this.descriptionLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.descriptionLabel.Location    = new System.Drawing.Point(11, 265);
     this.descriptionLabel.Name        = "descriptionLabel";
     this.descriptionLabel.Size        = new System.Drawing.Size(650, 21);
     this.descriptionLabel.TabIndex    = 1;
     this.descriptionLabel.Text        = "Project description";
     this.descriptionLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // browseButton
     //
     this.browseButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.browseButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.browseButton.Location  = new System.Drawing.Point(573, 326);
     this.browseButton.Name      = "browseButton";
     this.browseButton.Size      = new System.Drawing.Size(90, 23);
     this.browseButton.TabIndex  = 6;
     this.browseButton.Text      = "&Browse...";
     this.browseButton.Click    += new System.EventHandler(this.browseButton_Click);
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Location  = new System.Drawing.Point(13, 299);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(68, 16);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "&Name:";
     this.label2.AutoSize  = true;
     //
     // nameTextBox
     //
     this.nameTextBox.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
     this.nameTextBox.Location     = new System.Drawing.Point(77, 297);
     this.nameTextBox.Name         = "nameTextBox";
     this.nameTextBox.Size         = new System.Drawing.Size(585, 21);
     this.nameTextBox.TabIndex     = 3;
     this.nameTextBox.Text         = "New Project";
     this.nameTextBox.TextChanged += new System.EventHandler(this.nameTextBox_TextChanged);
     //
     // createDirectoryBox
     //
     this.createDirectoryBox.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.createDirectoryBox.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.createDirectoryBox.Location        = new System.Drawing.Point(78, 389);
     this.createDirectoryBox.Name            = "createDirectoryBox";
     this.createDirectoryBox.Size            = new System.Drawing.Size(249, 16);
     this.createDirectoryBox.TabIndex        = 9;
     this.createDirectoryBox.Text            = " Create &directory for project";
     this.createDirectoryBox.CheckedChanged += new System.EventHandler(this.createDirectoryBox_CheckedChanged);
     //
     // statusBar
     //
     this.statusBar.Location = new System.Drawing.Point(0, 423);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Size     = new System.Drawing.Size(673, 21);
     this.statusBar.TabIndex = 9;
     this.statusBar.Text     = "  Will create:  C:\\Documents and Settings\\Nick\\My Documents\\New Project.fdp";
     //
     // label3
     //
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.Location = new System.Drawing.Point(10, 361);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(71, 15);
     this.label3.TabIndex = 7;
     this.label3.Text     = "&Package:";
     this.label3.AutoSize = true;
     //
     // packageTextBox
     //
     this.packageTextBox.Anchor       = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
     this.packageTextBox.Location     = new System.Drawing.Point(77, 359);
     this.packageTextBox.Name         = "packageTextBox";
     this.packageTextBox.Size         = new System.Drawing.Size(585, 21);
     this.packageTextBox.TabIndex     = 8;
     this.packageTextBox.TextChanged += new System.EventHandler(this.textPackage_TextChanged);
     //
     // NewProjectDialog
     //
     this.AcceptButton        = this.okButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.cancelButton;
     this.ClientSize          = new System.Drawing.Size(673, 444);
     this.Controls.Add(this.projectListView);
     this.Controls.Add(this.packageTextBox);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.previewBox);
     this.Controls.Add(this.statusBar);
     this.Controls.Add(this.nameTextBox);
     this.Controls.Add(this.locationTextBox);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.browseButton);
     this.Controls.Add(this.descriptionLabel);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.createDirectoryBox);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "NewProjectDialog";
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "New Project";
     ((System.ComponentModel.ISupportInitialize)(this.previewBox)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lName         = new System.Windows.Forms.Label();
     this.lvAssembly    = new System.Windows.Forms.ListView();
     this.chName        = new System.Windows.Forms.ColumnHeader();
     this.chVersion     = new System.Windows.Forms.ColumnHeader();
     this.btnOK         = new System.Windows.Forms.Button();
     this.btnSystemInfo = new System.Windows.Forms.Button();
     this.lbSite        = new System.Windows.Forms.LinkLabel();
     this.lVersion      = new System.Windows.Forms.Label();
     this.lCopyright    = new System.Windows.Forms.Label();
     this.lComponent    = new System.Windows.Forms.Label();
     this.lbEMail       = new System.Windows.Forms.LinkLabel();
     this.label1        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // lName
     //
     this.lName.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lName.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lName.Location = new System.Drawing.Point(15, 16);
     this.lName.Name     = "lName";
     this.lName.Size     = new System.Drawing.Size(360, 16);
     this.lName.TabIndex = 0;
     this.lName.Text     = "Easy Financial Chart Windows Demo";
     //
     // lvAssembly
     //
     this.lvAssembly.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.lvAssembly.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.chName,
         this.chVersion
     });
     this.lvAssembly.GridLines = true;
     this.lvAssembly.Location  = new System.Drawing.Point(16, 77);
     this.lvAssembly.Name      = "lvAssembly";
     this.lvAssembly.Size      = new System.Drawing.Size(456, 123);
     this.lvAssembly.TabIndex  = 1;
     this.lvAssembly.View      = System.Windows.Forms.View.Details;
     //
     // chName
     //
     this.chName.Text  = "Name";
     this.chName.Width = 205;
     //
     // chVersion
     //
     this.chVersion.Text  = "Version";
     this.chVersion.Width = 161;
     //
     // btnOK
     //
     this.btnOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location     = new System.Drawing.Point(368, 217);
     this.btnOK.Name         = "btnOK";
     this.btnOK.Size         = new System.Drawing.Size(96, 23);
     this.btnOK.TabIndex     = 2;
     this.btnOK.Text         = "OK";
     //
     // btnSystemInfo
     //
     this.btnSystemInfo.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSystemInfo.Location = new System.Drawing.Point(368, 249);
     this.btnSystemInfo.Name     = "btnSystemInfo";
     this.btnSystemInfo.Size     = new System.Drawing.Size(96, 23);
     this.btnSystemInfo.TabIndex = 3;
     this.btnSystemInfo.Text     = "System Info";
     this.btnSystemInfo.Click   += new System.EventHandler(this.btnSystemInfo_Click);
     //
     // lbSite
     //
     this.lbSite.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lbSite.AutoSize     = true;
     this.lbSite.Location     = new System.Drawing.Point(80, 216);
     this.lbSite.Name         = "lbSite";
     this.lbSite.Size         = new System.Drawing.Size(166, 17);
     this.lbSite.TabIndex     = 4;
     this.lbSite.TabStop      = true;
     this.lbSite.Text         = "http://finance.easychart.net";
     this.lbSite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lbSite_LinkClicked);
     //
     // lVersion
     //
     this.lVersion.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lVersion.AutoSize = true;
     this.lVersion.Location = new System.Drawing.Point(15, 37);
     this.lVersion.Name     = "lVersion";
     this.lVersion.Size     = new System.Drawing.Size(65, 17);
     this.lVersion.TabIndex = 5;
     this.lVersion.Text     = "<Version>";
     //
     // lCopyright
     //
     this.lCopyright.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lCopyright.AutoSize = true;
     this.lCopyright.Location = new System.Drawing.Point(15, 264);
     this.lCopyright.Name     = "lCopyright";
     this.lCopyright.Size     = new System.Drawing.Size(85, 17);
     this.lCopyright.TabIndex = 6;
     this.lCopyright.Text     = "<Copy Right>";
     //
     // lComponent
     //
     this.lComponent.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lComponent.AutoSize = true;
     this.lComponent.Location = new System.Drawing.Point(15, 58);
     this.lComponent.Name     = "lComponent";
     this.lComponent.Size     = new System.Drawing.Size(126, 17);
     this.lComponent.TabIndex = 7;
     this.lComponent.Text     = "Product components:";
     //
     // lbEMail
     //
     this.lbEMail.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lbEMail.AutoSize     = true;
     this.lbEMail.Location     = new System.Drawing.Point(80, 240);
     this.lbEMail.Name         = "lbEMail";
     this.lbEMail.Size         = new System.Drawing.Size(177, 17);
     this.lbEMail.TabIndex     = 8;
     this.lbEMail.TabStop      = true;
     this.lbEMail.Text         = "mailto:[email protected]";
     this.lbEMail.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lbSite_LinkClicked);
     //
     // label1
     //
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.Location = new System.Drawing.Point(16, 217);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(48, 16);
     this.label1.TabIndex = 9;
     this.label1.Text     = "Home:";
     //
     // label2
     //
     this.label2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(16, 240);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(55, 17);
     this.label2.TabIndex = 10;
     this.label2.Text     = "Support:";
     //
     // AboutForm
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.btnOK;
     this.ClientSize        = new System.Drawing.Size(490, 304);
     this.ControlBox        = false;
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.lbEMail);
     this.Controls.Add(this.lComponent);
     this.Controls.Add(this.lCopyright);
     this.Controls.Add(this.lVersion);
     this.Controls.Add(this.lbSite);
     this.Controls.Add(this.btnSystemInfo);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.lvAssembly);
     this.Controls.Add(this.lName);
     this.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "AboutForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "About";
     this.Load           += new System.EventHandler(this.AboutForm_Load);
     this.ResumeLayout(false);
 }
Esempio n. 41
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ExportDialog));
     this.btnExport           = new System.Windows.Forms.Button();
     this.btnCancel           = new System.Windows.Forms.Button();
     this.m_exportList        = new System.Windows.Forms.ListView();
     this.columnHeader1       = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2       = new System.Windows.Forms.ColumnHeader();
     this.m_description       = new System.Windows.Forms.RichTextBox();
     this.label1              = new System.Windows.Forms.Label();
     this.buttonHelp          = new System.Windows.Forms.Button();
     this.m_chkExportPictures = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // btnExport
     //
     resources.ApplyResources(this.btnExport, "btnExport");
     this.btnExport.Name   = "btnExport";
     this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
     //
     // btnCancel
     //
     resources.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // m_exportList
     //
     resources.ApplyResources(this.m_exportList, "m_exportList");
     this.m_exportList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2
     });
     this.m_exportList.FullRowSelect = true;
     this.m_exportList.HideSelection = false;
     this.m_exportList.MinimumSize   = new System.Drawing.Size(256, 183);
     this.m_exportList.MultiSelect   = false;
     this.m_exportList.Name          = "m_exportList";
     this.m_exportList.Sorting       = System.Windows.Forms.SortOrder.Ascending;
     this.m_exportList.UseCompatibleStateImageBehavior = false;
     this.m_exportList.View = System.Windows.Forms.View.Details;
     this.m_exportList.SelectedIndexChanged += new System.EventHandler(this.m_exportList_SelectedIndexChanged);
     //
     // columnHeader1
     //
     resources.ApplyResources(this.columnHeader1, "columnHeader1");
     //
     // columnHeader2
     //
     resources.ApplyResources(this.columnHeader2, "columnHeader2");
     //
     // m_description
     //
     resources.ApplyResources(this.m_description, "m_description");
     this.m_description.Name         = "m_description";
     this.m_description.ReadOnly     = true;
     this.m_description.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.m_description_LinkClicked);
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // buttonHelp
     //
     resources.ApplyResources(this.buttonHelp, "buttonHelp");
     this.buttonHelp.Name   = "buttonHelp";
     this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click);
     //
     // m_chkExportPictures
     //
     resources.ApplyResources(this.m_chkExportPictures, "m_chkExportPictures");
     this.m_chkExportPictures.Name = "m_chkExportPictures";
     this.m_chkExportPictures.UseVisualStyleBackColor = true;
     this.m_chkExportPictures.CheckedChanged         += new System.EventHandler(this.m_chkExportPictures_CheckedChanged);
     //
     // ExportDialog
     //
     this.AcceptButton = this.btnExport;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.btnCancel;
     this.Controls.Add(this.m_chkExportPictures);
     this.Controls.Add(this.buttonHelp);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.m_description);
     this.Controls.Add(this.m_exportList);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnExport);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "ExportDialog";
     this.ShowIcon    = false;
     this.Load       += new System.EventHandler(this.ExportDialog_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 42
0
 /// <summary>
 /// デザイナ サポートに必要なメソッドです。このメソッドの内容を
 /// コード エディタで変更しないでください。
 /// </summary>
 private void InitializeComponent()
 {
     this._list              = new System.Windows.Forms.ListView();
     this._titleHeader       = new System.Windows.Forms.ColumnHeader();
     this._pathHeader        = new System.Windows.Forms.ColumnHeader();
     this._shortCutHeader    = new System.Windows.Forms.ColumnHeader();
     this._infoHeader        = new System.Windows.Forms.ColumnHeader();
     this._runButton         = new System.Windows.Forms.Button();
     this._stopButton        = new System.Windows.Forms.Button();
     this._propButton        = new System.Windows.Forms.Button();
     this._downButton        = new System.Windows.Forms.Button();
     this._upButton          = new System.Windows.Forms.Button();
     this._addButton         = new System.Windows.Forms.Button();
     this._deleteButton      = new System.Windows.Forms.Button();
     this._environmentButton = new System.Windows.Forms.Button();
     this._okButton          = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // _list
     //
     this._list.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this._titleHeader,
         this._pathHeader,
         this._shortCutHeader,
         this._infoHeader
     });
     this._list.FullRowSelect         = true;
     this._list.GridLines             = true;
     this._list.MultiSelect           = false;
     this._list.Name                  = "_list";
     this._list.Size                  = new System.Drawing.Size(408, 280);
     this._list.TabIndex              = 0;
     this._list.View                  = System.Windows.Forms.View.Details;
     this._list.DoubleClick          += new System.EventHandler(this.OnListDoubleClicked);
     this._list.SelectedIndexChanged += new System.EventHandler(this.OnSelectedIndexChanged);
     //
     // _titleHeader
     //
     this._titleHeader.Width = 90;
     //
     // _pathHeader
     //
     this._pathHeader.Width = 160;
     //
     // _shortCutHeader
     //
     this._shortCutHeader.Width = 80;
     //
     // _infoHeader
     //
     //
     // _runButton
     //
     this._runButton.Location  = new System.Drawing.Point(416, 8);
     this._runButton.Name      = "_runButton";
     this._runButton.FlatStyle = FlatStyle.System;
     this._runButton.Size      = new System.Drawing.Size(88, 23);
     this._runButton.TabIndex  = 1;
     this._runButton.Click    += new System.EventHandler(this.OnRunButtonClicked);
     //
     // _stopButton
     //
     this._stopButton.Location  = new System.Drawing.Point(416, 40);
     this._stopButton.Name      = "_stopButton";
     this._stopButton.FlatStyle = FlatStyle.System;
     this._stopButton.Size      = new System.Drawing.Size(88, 23);
     this._stopButton.TabIndex  = 2;
     this._stopButton.Click    += new System.EventHandler(this.OnStopButtonClicked);
     //
     // _propButton
     //
     this._propButton.Location  = new System.Drawing.Point(416, 72);
     this._propButton.Name      = "_propButton";
     this._propButton.FlatStyle = FlatStyle.System;
     this._propButton.Size      = new System.Drawing.Size(88, 23);
     this._propButton.TabIndex  = 3;
     this._propButton.Click    += new System.EventHandler(this.OnPropButtonClicked);
     //
     // _downButton
     //
     this._downButton.Location  = new System.Drawing.Point(416, 104);
     this._downButton.Name      = "_downButton";
     this._downButton.FlatStyle = FlatStyle.System;
     this._downButton.Size      = new System.Drawing.Size(40, 23);
     this._downButton.TabIndex  = 4;
     this._downButton.Click    += new EventHandler(OnDownButtonClicked);
     //
     // _upButton
     //
     this._upButton.Location  = new System.Drawing.Point(464, 104);
     this._upButton.Name      = "_upButton";
     this._upButton.FlatStyle = FlatStyle.System;
     this._upButton.Size      = new System.Drawing.Size(40, 23);
     this._upButton.TabIndex  = 5;
     this._upButton.Click    += new EventHandler(OnUpButtonClicked);
     //
     // _addButton
     //
     this._addButton.Location  = new System.Drawing.Point(416, 152);
     this._addButton.Name      = "_addButton";
     this._addButton.FlatStyle = FlatStyle.System;
     this._addButton.Size      = new System.Drawing.Size(88, 23);
     this._addButton.TabIndex  = 6;
     this._addButton.Click    += new System.EventHandler(this.OnAddButtonClicked);
     //
     // _deleteButton
     //
     this._deleteButton.Location  = new System.Drawing.Point(416, 184);
     this._deleteButton.Name      = "_deleteButton";
     this._deleteButton.FlatStyle = FlatStyle.System;
     this._deleteButton.Size      = new System.Drawing.Size(88, 23);
     this._deleteButton.TabIndex  = 7;
     this._deleteButton.Click    += new System.EventHandler(this.OnDeleteButtonClicked);
     //
     // _environmentButton
     //
     this._environmentButton.Location  = new System.Drawing.Point(416, 216);
     this._environmentButton.Name      = "_environmentButton";
     this._environmentButton.FlatStyle = FlatStyle.System;
     this._environmentButton.Size      = new System.Drawing.Size(88, 23);
     this._environmentButton.TabIndex  = 8;
     this._environmentButton.Click    += new System.EventHandler(this.OnEnvironmentButtonClicked);
     //
     // _okButton
     //
     this._okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._okButton.Location     = new System.Drawing.Point(416, 248);
     this._okButton.Name         = "_okButton";
     this._okButton.FlatStyle    = FlatStyle.System;
     this._okButton.Size         = new System.Drawing.Size(88, 23);
     this._okButton.TabIndex     = 9;
     //
     // MacroList
     //
     this.AcceptButton      = this._okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.ClientSize        = new System.Drawing.Size(506, 279);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this._upButton,
         this._downButton,
         this._environmentButton,
         this._okButton,
         this._deleteButton,
         this._addButton,
         this._propButton,
         this._stopButton,
         this._runButton,
         this._list
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "MacroList";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.ResumeLayout(false);
 }
 public abstract void DrawListViewHeaderDragDetails(Graphics dc, ListView control, ColumnHeader drag_column, int target_x);
Esempio n. 44
0
        /// <include file='doc\SysInfoForm.uex' path='docs/doc[@for="SysInfoForm.InitializeComponent"]/*' />
        /// <devdoc>
        ///    Required method for Designer support - do not modify
        ///    the contents of this method with an editor
        /// </devdoc>
        private void InitializeComponent()
        {
            this.components                    = new Container();
            this.sysInfo                       = new TabPage();
            this.versionColumn                 = new ColumnHeader();
            this.fileVersionColumn             = new ColumnHeader();
            this.loadedAssemblyList            = new ListView();
            this.switchesList                  = new ListView();
            this.appInfo                       = new TabPage();
            this.tabControl1                   = new TabControl();
            this.asmNameColumn                 = new ColumnHeader();
            this.codeBaseColumn                = new ColumnHeader();
            this.switchNameColumn              = new ColumnHeader();
            this.displayNameColumn             = new ColumnHeader();
            this.secInfo                       = new TabPage();
            this.bugReportInfo                 = new TabPage();
            this.bugReportLabel                = new Label();
            this.switchInfo                    = new TabPage();
            this.closeButton                   = new Button();
            this.securityLabel                 = new Label();
            this.bugReportDescription          = new TextBox();
            this.includeSystemInformation      = new CheckBox();
            this.includeApplicationInformation = new CheckBox();
            this.saveBugReport                 = new Button();
            this.submitBugReport               = new Button();
            this.switchLabel                   = new Label();
            this.bugReportPanel                = new Panel();

            this.appProps = new PropertyGrid();

            //@design this.TrayLargeIcon = false;
            //@design this.TrayAutoArrange = true;
            //@design this.TrayHeight = 0;
            //@design this.GridSize = new System.Drawing.Size(4, 4);
            this.Text = SR.SecurityAboutDialog;
            this.AutoScaleDimensions = new System.Drawing.Size(6, 13);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(442, 273);
            this.MinimizeBox         = false;
            this.MaximizeBox         = false;
            this.ControlBox          = false;
            this.CancelButton        = closeButton;
            this.Font = new Font("Tahoma", 8);

            sysInfo.Size     = new System.Drawing.Size(428, 210);
            sysInfo.TabIndex = 1;
            sysInfo.Text     = SR.SecurityAssembliesTab;

            versionColumn.Text      = SR.SecurityVersionColumn;
            versionColumn.Width     = 100;
            versionColumn.TextAlign = HorizontalAlignment.Left;

            fileVersionColumn.Text      = SR.SecurityFileVersionColumn;
            fileVersionColumn.Width     = 100;
            fileVersionColumn.TextAlign = HorizontalAlignment.Left;

            loadedAssemblyList.Size          = new System.Drawing.Size(428, 210);
            loadedAssemblyList.Dock          = DockStyle.Fill;
            loadedAssemblyList.TabIndex      = 0;
            loadedAssemblyList.FullRowSelect = true;
            loadedAssemblyList.View          = View.Details;
            loadedAssemblyList.Columns.Clear();
            loadedAssemblyList.Columns.AddRange(new ColumnHeader[] { asmNameColumn,
                                                                     fileVersionColumn,
                                                                     versionColumn,
                                                                     codeBaseColumn });

            switchLabel.Size = new Size(428, 25);
            switchLabel.Dock = DockStyle.Bottom;
            switchLabel.Text = SR.SecuritySwitchLabel;

            switchesList.Size          = new System.Drawing.Size(428, 210);
            switchesList.Dock          = DockStyle.Fill;
            switchesList.ItemCheck    += new ItemCheckEventHandler(SwitchChecked);
            switchesList.TabIndex      = 0;
            switchesList.CheckBoxes    = true;
            switchesList.FullRowSelect = true;
            switchesList.View          = View.Details;
            switchesList.Columns.Clear();
            switchesList.Columns.AddRange(new ColumnHeader[] { switchNameColumn,
                                                               displayNameColumn });

            appInfo.Size            = new System.Drawing.Size(428, 210);
            appInfo.TabIndex        = 2;
            appInfo.Text            = SR.SecurityApplication;
            appInfo.DockPadding.All = 2;

            switchInfo.Size     = new System.Drawing.Size(428, 210);
            switchInfo.TabIndex = 4;
            switchInfo.Text     = SR.SecuritySwitchesTab;

            bugReportDescription.Multiline = true;
            bugReportDescription.Dock      = DockStyle.Fill;
            bugReportDescription.WordWrap  = true;

            bugReportLabel.Dock = DockStyle.Top;
            bugReportLabel.Size = new System.Drawing.Size(428, 36);
            bugReportLabel.Text = SR.SecurityBugReportLabel;

            includeSystemInformation.Checked   = true;
            includeSystemInformation.Dock      = DockStyle.Bottom;
            includeSystemInformation.FlatStyle = FlatStyle.System;
            includeSystemInformation.Text      = SR.SecurityIncludeSysInfo;

            includeApplicationInformation.Checked   = true;
            includeApplicationInformation.Dock      = DockStyle.Bottom;
            includeApplicationInformation.FlatStyle = FlatStyle.System;
            includeApplicationInformation.Text      = SR.SecurityIncludeAppInfo;

            saveBugReport.Text      = SR.SecuritySaveBug;
            saveBugReport.Location  = new Point(2, 2);
            saveBugReport.FlatStyle = FlatStyle.System;
            saveBugReport.Size      = new Size(75, 23);
            saveBugReport.Click    += new EventHandler(SaveBugReport);

            submitBugReport.Text      = SR.SecuritySubmitBug;
            submitBugReport.Location  = new Point(79, 2);
            submitBugReport.FlatStyle = FlatStyle.System;
            submitBugReport.Size      = new Size(75, 23);
            submitBugReport.Click    += new EventHandler(SubmitBugReport);

            bugReportPanel.Dock = DockStyle.Bottom;
            bugReportPanel.Size = new Size(428, 27);

            appProps.Dock           = DockStyle.Fill;
            appProps.ToolbarVisible = false;

            tabControl1.Location              = new System.Drawing.Point(4, 4);
            tabControl1.Size                  = new System.Drawing.Size(436, 236);
            tabControl1.Anchor                = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Bottom;
            tabControl1.SelectedIndex         = 0;
            tabControl1.TabIndex              = 0;
            tabControl1.SelectedIndexChanged += new EventHandler(TabSelectionChanged);

            asmNameColumn.Text      = SR.SecurityAsmNameColumn;
            asmNameColumn.Width     = 150;
            asmNameColumn.TextAlign = HorizontalAlignment.Left;

            switchNameColumn.Text      = SR.SecuritySwitchNameColumn;
            switchNameColumn.Width     = 150;
            switchNameColumn.TextAlign = HorizontalAlignment.Left;

            displayNameColumn.Text      = SR.SecuritySwitchDescrColumn;
            displayNameColumn.Width     = 300;
            displayNameColumn.TextAlign = HorizontalAlignment.Left;

            codeBaseColumn.Text      = SR.SecurityCodeBaseColumn;
            codeBaseColumn.Width     = 400;
            codeBaseColumn.TextAlign = HorizontalAlignment.Left;

            secInfo.Size     = new System.Drawing.Size(428, 210);
            secInfo.TabIndex = 0;
            secInfo.Text     = SR.SecurityInfoTab;

            bugReportInfo.Size     = new System.Drawing.Size(428, 210);
            bugReportInfo.TabIndex = 0;
            bugReportInfo.Text     = SR.SecurityBugReportTab;

            securityLabel.Dock = DockStyle.Fill;

            closeButton.Size         = new System.Drawing.Size(75, 23);
            closeButton.FlatStyle    = FlatStyle.System;
            closeButton.TabIndex     = 1;
            closeButton.Location     = new System.Drawing.Point(344, 248);
            closeButton.Text         = SR.SecurityClose;
            closeButton.Anchor       = AnchorStyles.Right | AnchorStyles.Bottom;
            closeButton.DialogResult = DialogResult.OK;

            this.Controls.Add(closeButton);
            this.Controls.Add(tabControl1);
            switchInfo.Controls.Add(switchesList);
            switchInfo.Controls.Add(switchLabel);
            sysInfo.Controls.Add(loadedAssemblyList);
            secInfo.Controls.Add(securityLabel);
            appInfo.Controls.Add(appProps);
            bugReportPanel.Controls.Add(saveBugReport);
            bugReportPanel.Controls.Add(submitBugReport);
            bugReportInfo.Controls.Add(bugReportDescription);
            bugReportInfo.Controls.Add(bugReportLabel);
            bugReportInfo.Controls.Add(includeSystemInformation);
            bugReportInfo.Controls.Add(includeApplicationInformation);
            bugReportInfo.Controls.Add(bugReportPanel);
            tabControl1.Controls.Add(secInfo);
            tabControl1.Controls.Add(appInfo);
            tabControl1.Controls.Add(sysInfo);
            tabControl1.Controls.Add(switchInfo);
            tabControl1.Controls.Add(bugReportInfo);
        }
Esempio 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.HeaderGroupBox = new System.Windows.Forms.GroupBox();
     this.RemainText     = new System.Windows.Forms.TextBox();
     this.MaxText        = new System.Windows.Forms.TextBox();
     this.RecordsText    = new System.Windows.Forms.TextBox();
     this.label3         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.StockView      = new System.Windows.Forms.ListView();
     this.RecNumHeader   = new System.Windows.Forms.ColumnHeader();
     this.SymbolHeader   = new System.Windows.Forms.ColumnHeader();
     this.NameHeader     = new System.Windows.Forms.ColumnHeader();
     this.BottomPanel    = new System.Windows.Forms.Panel();
     this.Toppanel       = new System.Windows.Forms.Panel();
     this.HeaderGroupBox.SuspendLayout();
     this.BottomPanel.SuspendLayout();
     this.Toppanel.SuspendLayout();
     this.SuspendLayout();
     //
     // HeaderGroupBox
     //
     this.HeaderGroupBox.Controls.Add(this.RemainText);
     this.HeaderGroupBox.Controls.Add(this.MaxText);
     this.HeaderGroupBox.Controls.Add(this.RecordsText);
     this.HeaderGroupBox.Controls.Add(this.label3);
     this.HeaderGroupBox.Controls.Add(this.label2);
     this.HeaderGroupBox.Controls.Add(this.label1);
     this.HeaderGroupBox.Location = new System.Drawing.Point(24, 16);
     this.HeaderGroupBox.Name     = "HeaderGroupBox";
     this.HeaderGroupBox.Size     = new System.Drawing.Size(728, 104);
     this.HeaderGroupBox.TabIndex = 0;
     this.HeaderGroupBox.TabStop  = false;
     this.HeaderGroupBox.Text     = "Header";
     //
     // RemainText
     //
     this.RemainText.Font      = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.RemainText.Location  = new System.Drawing.Point(264, 16);
     this.RemainText.Multiline = true;
     this.RemainText.Name      = "RemainText";
     this.RemainText.ReadOnly  = true;
     this.RemainText.Size      = new System.Drawing.Size(432, 72);
     this.RemainText.TabIndex  = 5;
     this.RemainText.Text      = "";
     //
     // MaxText
     //
     this.MaxText.Location = new System.Drawing.Point(96, 64);
     this.MaxText.Name     = "MaxText";
     this.MaxText.ReadOnly = true;
     this.MaxText.Size     = new System.Drawing.Size(80, 20);
     this.MaxText.TabIndex = 4;
     this.MaxText.Text     = "";
     //
     // RecordsText
     //
     this.RecordsText.Location = new System.Drawing.Point(96, 32);
     this.RecordsText.Name     = "RecordsText";
     this.RecordsText.ReadOnly = true;
     this.RecordsText.Size     = new System.Drawing.Size(80, 20);
     this.RecordsText.TabIndex = 3;
     this.RecordsText.Text     = "";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(192, 32);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "All the rest:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 64);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 23);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Max Record:";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 32);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(48, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Records:";
     //
     // StockView
     //
     this.StockView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.RecNumHeader,
         this.SymbolHeader,
         this.NameHeader
     });
     this.StockView.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.StockView.FullRowSelect = true;
     this.StockView.Location      = new System.Drawing.Point(0, 0);
     this.StockView.Name          = "StockView";
     this.StockView.Size          = new System.Drawing.Size(784, 533);
     this.StockView.TabIndex      = 1;
     this.StockView.View          = System.Windows.Forms.View.Details;
     //
     // RecNumHeader
     //
     this.RecNumHeader.Text = "Rec";
     //
     // SymbolHeader
     //
     this.SymbolHeader.Text = "Symbol";
     //
     // NameHeader
     //
     this.NameHeader.Text  = "Name";
     this.NameHeader.Width = 271;
     //
     // BottomPanel
     //
     this.BottomPanel.Controls.Add(this.StockView);
     this.BottomPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.BottomPanel.Location = new System.Drawing.Point(0, 168);
     this.BottomPanel.Name     = "BottomPanel";
     this.BottomPanel.Size     = new System.Drawing.Size(784, 533);
     this.BottomPanel.TabIndex = 2;
     //
     // Toppanel
     //
     this.Toppanel.Controls.Add(this.HeaderGroupBox);
     this.Toppanel.Dock     = System.Windows.Forms.DockStyle.Top;
     this.Toppanel.Location = new System.Drawing.Point(0, 0);
     this.Toppanel.Name     = "Toppanel";
     this.Toppanel.Size     = new System.Drawing.Size(784, 168);
     this.Toppanel.TabIndex = 3;
     //
     // AllMaster
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(784, 701);
     this.Controls.Add(this.BottomPanel);
     this.Controls.Add(this.Toppanel);
     this.Name = "AllMaster";
     this.Text = "Master";
     this.HeaderGroupBox.ResumeLayout(false);
     this.BottomPanel.ResumeLayout(false);
     this.Toppanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 46
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.listViewFiles = new System.Windows.Forms.ListView();
     this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.buttonDel     = new System.Windows.Forms.Button();
     this.buttonLoad    = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // listViewFiles
     //
     this.listViewFiles.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.listViewFiles.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2
     });
     this.listViewFiles.FullRowSelect = true;
     this.listViewFiles.HideSelection = false;
     this.listViewFiles.Location      = new System.Drawing.Point(0, 0);
     this.listViewFiles.MultiSelect   = false;
     this.listViewFiles.Name          = "listViewFiles";
     this.listViewFiles.Size          = new System.Drawing.Size(327, 149);
     this.listViewFiles.TabIndex      = 0;
     this.listViewFiles.UseCompatibleStateImageBehavior = false;
     this.listViewFiles.View       = System.Windows.Forms.View.Details;
     this.listViewFiles.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listViewFiles_MouseDown);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "存档";
     this.columnHeader1.Width = 137;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "文件位置";
     this.columnHeader2.Width = 146;
     //
     // buttonDel
     //
     this.buttonDel.Location = new System.Drawing.Point(203, 157);
     this.buttonDel.Name     = "buttonDel";
     this.buttonDel.Size     = new System.Drawing.Size(85, 26);
     this.buttonDel.TabIndex = 1;
     this.buttonDel.Text     = "Del";
     this.buttonDel.Click   += new System.EventHandler(this.buttonDel_Click);
     //
     // buttonLoad
     //
     this.buttonLoad.Location = new System.Drawing.Point(309, 158);
     this.buttonLoad.Name     = "buttonLoad";
     this.buttonLoad.Size     = new System.Drawing.Size(86, 26);
     this.buttonLoad.TabIndex = 1;
     this.buttonLoad.Text     = "Load";
     this.buttonLoad.Click   += new System.EventHandler(this.buttonLoad_Click);
     //
     // FormLoad
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
     this.ClientSize        = new System.Drawing.Size(311, 151);
     this.Controls.Add(this.buttonDel);
     this.Controls.Add(this.listViewFiles);
     this.Controls.Add(this.buttonLoad);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximumSize     = new System.Drawing.Size(413, 216);
     this.Name            = "FormLoad";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "FormLoad";
     this.Load           += new System.EventHandler(this.FormLoad_Load);
     this.ResumeLayout(false);
 }
Esempio n. 47
0
 /// <summary>
 ///   This method was autogenerated - do not change the contents manually
 /// </summary>
 private void InitializeComponents()
 {
     System.Windows.Forms.ColumnHeader columnHeader1;
     System.Windows.Forms.Panel        panel1;
     this.okButton         = new System.Windows.Forms.Button();
     this.cancelButton     = new System.Windows.Forms.Button();
     this.selectionListBox = new System.Windows.Forms.CheckedListBox();
     this.statusLabel      = new System.Windows.Forms.Label();
     this.categoryListView = new System.Windows.Forms.ListView();
     columnHeader1         = new System.Windows.Forms.ColumnHeader();
     panel1 = new System.Windows.Forms.Panel();
     panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // columnHeader1
     //
     columnHeader1.Width = 258;
     //
     // panel1
     //
     panel1.BackColor = System.Drawing.SystemColors.Control;
     panel1.Controls.Add(this.okButton);
     panel1.Controls.Add(this.cancelButton);
     panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     panel1.Location = new System.Drawing.Point(1, 309);
     panel1.Name     = "panel1";
     panel1.Size     = new System.Drawing.Size(262, 29);
     panel1.TabIndex = 3;
     //
     // okButton
     //
     this.okButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.Location = new System.Drawing.Point(94, 3);
     this.okButton.Name     = "okButton";
     this.okButton.Size     = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 0;
     this.okButton.Text     = "OK";
     this.okButton.UseCompatibleTextRendering = true;
     this.okButton.UseVisualStyleBackColor    = true;
     this.okButton.Click += new System.EventHandler(this.OkButtonClick);
     //
     // cancelButton
     //
     this.cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(175, 3);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 1;
     this.cancelButton.Text         = "Cancel";
     this.cancelButton.UseCompatibleTextRendering = true;
     this.cancelButton.UseVisualStyleBackColor    = true;
     this.cancelButton.Click += new System.EventHandler(this.CancelButtonClick);
     //
     // selectionListBox
     //
     this.selectionListBox.Dock                       = System.Windows.Forms.DockStyle.Fill;
     this.selectionListBox.IntegralHeight             = false;
     this.selectionListBox.Location                   = new System.Drawing.Point(1, 129);
     this.selectionListBox.Name                       = "selectionListBox";
     this.selectionListBox.Size                       = new System.Drawing.Size(262, 180);
     this.selectionListBox.TabIndex                   = 2;
     this.selectionListBox.UseCompatibleTextRendering = true;
     //
     // statusLabel
     //
     this.statusLabel.BackColor = System.Drawing.SystemColors.Control;
     this.statusLabel.Dock      = System.Windows.Forms.DockStyle.Top;
     this.statusLabel.Location  = new System.Drawing.Point(1, 113);
     this.statusLabel.Name      = "statusLabel";
     this.statusLabel.Size      = new System.Drawing.Size(262, 16);
     this.statusLabel.TabIndex  = 1;
     this.statusLabel.Text      = "statusLabel";
     this.statusLabel.UseCompatibleTextRendering = true;
     //
     // categoryListView
     //
     this.categoryListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         columnHeader1
     });
     this.categoryListView.Dock        = System.Windows.Forms.DockStyle.Top;
     this.categoryListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
     this.categoryListView.Location    = new System.Drawing.Point(1, 1);
     this.categoryListView.MultiSelect = false;
     this.categoryListView.Name        = "categoryListView";
     this.categoryListView.Size        = new System.Drawing.Size(262, 112);
     this.categoryListView.TabIndex    = 0;
     this.categoryListView.UseCompatibleStateImageBehavior = false;
     this.categoryListView.View = System.Windows.Forms.View.Details;
     //
     // CodeGenerationForm
     //
     this.AcceptButton = this.okButton;
     this.BackColor    = System.Drawing.SystemColors.ControlDarkDark;
     this.CancelButton = this.cancelButton;
     this.ClientSize   = new System.Drawing.Size(264, 339);
     this.Controls.Add(this.selectionListBox);
     this.Controls.Add(this.statusLabel);
     this.Controls.Add(this.categoryListView);
     this.Controls.Add(panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "CodeGenerationForm";
     this.Padding         = new System.Windows.Forms.Padding(1);
     this.ShowInTaskbar   = false;
     panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 48
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(GACPicker));
     this.btnOK        = new Janus.Windows.EditControls.UIButton();
     this.btnCxl       = new Janus.Windows.EditControls.UIButton();
     this.lvAsms       = new System.Windows.Forms.ListView();
     this.AssemblyName = new System.Windows.Forms.ColumnHeader();
     this.Version      = new System.Windows.Forms.ColumnHeader();
     this.Culture      = new System.Windows.Forms.ColumnHeader();
     this.panelEx1     = new DevComponents.DotNetBar.PanelEx();
     this.panelEx1.SuspendLayout();
     this.SuspendLayout();
     //
     // btnOK
     //
     this.btnOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnOK.BackColor    = System.Drawing.SystemColors.Control;
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location     = new System.Drawing.Point(288, 8);
     this.btnOK.Name         = "btnOK";
     this.btnOK.Size         = new System.Drawing.Size(72, 24);
     this.btnOK.TabIndex     = 1;
     this.btnOK.Text         = "OK";
     this.btnOK.Click       += new System.EventHandler(this.btnOK_Click);
     //
     // btnCxl
     //
     this.btnCxl.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnCxl.BackColor    = System.Drawing.SystemColors.Control;
     this.btnCxl.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCxl.Location     = new System.Drawing.Point(360, 8);
     this.btnCxl.Name         = "btnCxl";
     this.btnCxl.Size         = new System.Drawing.Size(72, 24);
     this.btnCxl.TabIndex     = 2;
     this.btnCxl.Text         = "Cancel";
     //
     // lvAsms
     //
     this.lvAsms.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.AssemblyName,
         this.Version,
         this.Culture
     });
     this.lvAsms.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.lvAsms.Location     = new System.Drawing.Point(0, 0);
     this.lvAsms.Name         = "lvAsms";
     this.lvAsms.Size         = new System.Drawing.Size(440, 576);
     this.lvAsms.TabIndex     = 3;
     this.lvAsms.View         = System.Windows.Forms.View.Details;
     this.lvAsms.DoubleClick += new System.EventHandler(this.btnOK_Click);
     //
     // AssemblyName
     //
     this.AssemblyName.Text  = "Assembly Name";
     this.AssemblyName.Width = 180;
     //
     // Version
     //
     this.Version.Text  = "Version";
     this.Version.Width = 100;
     //
     // Culture
     //
     this.Culture.Text  = "Culture";
     this.Culture.Width = 120;
     //
     // panelEx1
     //
     this.panelEx1.Controls.Add(this.btnCxl);
     this.panelEx1.Controls.Add(this.btnOK);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Bottom;
     this.panelEx1.Location        = new System.Drawing.Point(0, 576);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(440, 40);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.panelEx1.Style.BackgroundImagePosition     = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 4;
     //
     // GACPicker
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 616);
     this.ControlBox        = false;
     this.Controls.Add(this.lvAsms);
     this.Controls.Add(this.panelEx1);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "GACPicker";
     this.Text  = "Select Asssembly from GAC";
     this.Load += new System.EventHandler(this.GACPicker_Load);
     this.panelEx1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 49
0
 public ColumnHeaderImageListIndexer(ColumnHeader ch)
 {
     owner = ch;
 }
Esempio n. 50
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1          = new System.Windows.Forms.Panel();
     this.m_lsv           = new System.Windows.Forms.ListView();
     this.columnHeader1   = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2   = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3   = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4   = new System.Windows.Forms.ColumnHeader();
     this.columnHeader5   = new System.Windows.Forms.ColumnHeader();
     this.columnHeader6   = new System.Windows.Forms.ColumnHeader();
     this.panel2          = new System.Windows.Forms.Panel();
     this.label5          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.m_btnExit       = new PinkieControls.ButtonXP();
     this.m_btnDelete     = new PinkieControls.ButtonXP();
     this.m_btnSave       = new PinkieControls.ButtonXP();
     this.m_btnAddNew     = new PinkieControls.ButtonXP();
     this.m_txtWBCode     = new System.Windows.Forms.TextBox();
     this.m_txtPYCode     = new System.Windows.Forms.TextBox();
     this.m_txtEngName    = new System.Windows.Forms.TextBox();
     this.m_txtModuleName = new System.Windows.Forms.TextBox();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.m_lsv);
     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(568, 317);
     this.panel1.TabIndex = 0;
     //
     // m_lsv
     //
     this.m_lsv.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4,
         this.columnHeader5,
         this.columnHeader6
     });
     this.m_lsv.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.m_lsv.FullRowSelect         = true;
     this.m_lsv.HideSelection         = false;
     this.m_lsv.Location              = new System.Drawing.Point(0, 0);
     this.m_lsv.Name                  = "m_lsv";
     this.m_lsv.Size                  = new System.Drawing.Size(568, 317);
     this.m_lsv.TabIndex              = 0;
     this.m_lsv.View                  = System.Windows.Forms.View.Details;
     this.m_lsv.SelectedIndexChanged += new System.EventHandler(this.m_lsv_SelectedIndexChanged);
     //
     // columnHeader1
     //
     this.columnHeader1.Width = 0;
     //
     // columnHeader2
     //
     this.columnHeader2.Text      = "分系统ID";
     this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader2.Width     = 69;
     //
     // columnHeader3
     //
     this.columnHeader3.Text      = "分系统名称";
     this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader3.Width     = 141;
     //
     // columnHeader4
     //
     this.columnHeader4.Text      = "分系统英文名称";
     this.columnHeader4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader4.Width     = 201;
     //
     // columnHeader5
     //
     this.columnHeader5.Text      = "拼音码";
     this.columnHeader5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader5.Width     = 85;
     //
     // columnHeader6
     //
     this.columnHeader6.Text      = "五笔码";
     this.columnHeader6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader6.Width     = 68;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.label5);
     this.panel2.Controls.Add(this.label4);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.m_btnExit);
     this.panel2.Controls.Add(this.m_btnDelete);
     this.panel2.Controls.Add(this.m_btnSave);
     this.panel2.Controls.Add(this.m_btnAddNew);
     this.panel2.Controls.Add(this.m_txtWBCode);
     this.panel2.Controls.Add(this.m_txtPYCode);
     this.panel2.Controls.Add(this.m_txtEngName);
     this.panel2.Controls.Add(this.m_txtModuleName);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 317);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(568, 104);
     this.panel2.TabIndex = 0;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(480, 8);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(64, 16);
     this.label5.TabIndex = 13;
     this.label5.Text     = "五笔码:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(376, 8);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(64, 16);
     this.label4.TabIndex = 12;
     this.label4.Text     = "拼音码:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(176, 8);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(120, 16);
     this.label3.TabIndex = 11;
     this.label3.Text     = "分系统英文名称:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 8);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(88, 16);
     this.label2.TabIndex = 10;
     this.label2.Text     = "分系统名称:";
     //
     // m_btnExit
     //
     this.m_btnExit.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.m_btnExit.DefaultScheme = true;
     this.m_btnExit.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnExit.Hint          = "";
     this.m_btnExit.Location      = new System.Drawing.Point(424, 64);
     this.m_btnExit.Name          = "m_btnExit";
     this.m_btnExit.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnExit.Size          = new System.Drawing.Size(104, 32);
     this.m_btnExit.TabIndex      = 9;
     this.m_btnExit.Text          = "退出";
     this.m_btnExit.Click        += new System.EventHandler(this.m_btnExit_Click);
     //
     // m_btnDelete
     //
     this.m_btnDelete.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.m_btnDelete.DefaultScheme = true;
     this.m_btnDelete.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnDelete.Hint          = "";
     this.m_btnDelete.Location      = new System.Drawing.Point(296, 64);
     this.m_btnDelete.Name          = "m_btnDelete";
     this.m_btnDelete.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnDelete.Size          = new System.Drawing.Size(104, 32);
     this.m_btnDelete.TabIndex      = 8;
     this.m_btnDelete.Text          = "删除";
     this.m_btnDelete.Click        += new System.EventHandler(this.m_btnDelete_Click);
     //
     // m_btnSave
     //
     this.m_btnSave.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.m_btnSave.DefaultScheme = true;
     this.m_btnSave.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnSave.Hint          = "";
     this.m_btnSave.Location      = new System.Drawing.Point(168, 64);
     this.m_btnSave.Name          = "m_btnSave";
     this.m_btnSave.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnSave.Size          = new System.Drawing.Size(104, 32);
     this.m_btnSave.TabIndex      = 7;
     this.m_btnSave.Text          = "保存";
     this.m_btnSave.Click        += new System.EventHandler(this.m_btnSave_Click);
     //
     // m_btnAddNew
     //
     this.m_btnAddNew.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.m_btnAddNew.DefaultScheme = true;
     this.m_btnAddNew.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnAddNew.Hint          = "";
     this.m_btnAddNew.Location      = new System.Drawing.Point(40, 64);
     this.m_btnAddNew.Name          = "m_btnAddNew";
     this.m_btnAddNew.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnAddNew.Size          = new System.Drawing.Size(104, 32);
     this.m_btnAddNew.TabIndex      = 6;
     this.m_btnAddNew.Text          = "新增";
     this.m_btnAddNew.Click        += new System.EventHandler(this.m_btnAddNew_Click);
     //
     // m_txtWBCode
     //
     this.m_txtWBCode.Location  = new System.Drawing.Point(480, 32);
     this.m_txtWBCode.MaxLength = 10;
     this.m_txtWBCode.Name      = "m_txtWBCode";
     this.m_txtWBCode.Size      = new System.Drawing.Size(72, 23);
     this.m_txtWBCode.TabIndex  = 4;
     this.m_txtWBCode.Text      = "";
     //
     // m_txtPYCode
     //
     this.m_txtPYCode.Location  = new System.Drawing.Point(376, 32);
     this.m_txtPYCode.MaxLength = 10;
     this.m_txtPYCode.Name      = "m_txtPYCode";
     this.m_txtPYCode.Size      = new System.Drawing.Size(88, 23);
     this.m_txtPYCode.TabIndex  = 3;
     this.m_txtPYCode.Text      = "";
     //
     // m_txtEngName
     //
     this.m_txtEngName.Location  = new System.Drawing.Point(176, 32);
     this.m_txtEngName.MaxLength = 20;
     this.m_txtEngName.Name      = "m_txtEngName";
     this.m_txtEngName.Size      = new System.Drawing.Size(184, 23);
     this.m_txtEngName.TabIndex  = 2;
     this.m_txtEngName.Text      = "";
     //
     // m_txtModuleName
     //
     this.m_txtModuleName.Location  = new System.Drawing.Point(16, 32);
     this.m_txtModuleName.MaxLength = 20;
     this.m_txtModuleName.Name      = "m_txtModuleName";
     this.m_txtModuleName.Size      = new System.Drawing.Size(144, 23);
     this.m_txtModuleName.TabIndex  = 1;
     this.m_txtModuleName.Text      = "";
     //
     // frmHISModuleDef
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.ClientSize        = new System.Drawing.Size(568, 421);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel2);
     this.Font        = new System.Drawing.Font("宋体", 10.5F);
     this.MinimumSize = new System.Drawing.Size(576, 448);
     this.Name        = "frmHISModuleDef";
     this.Text        = "应用系统管理";
     this.Load       += new System.EventHandler(this.frmHISModuleDef_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 51
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ueScriptProfiler));
     this.CallGraph             = new System.Windows.Forms.TreeView();
     this.tabControl1           = new System.Windows.Forms.TabControl();
     this.tabCallGraph          = new System.Windows.Forms.TabPage();
     this.tabExpensiveFunctions = new System.Windows.Forms.TabPage();
     this.ExpensiveFunctions    = new System.Windows.Forms.TreeView();
     this.tabSortedView         = new System.Windows.Forms.TabPage();
     this.SortedView            = new System.Windows.Forms.ListView();
     this.ColumnName            = new System.Windows.Forms.ColumnHeader();
     this.ColumnIncl            = new System.Windows.Forms.ColumnHeader();
     this.ColumnExcl            = new System.Windows.Forms.ColumnHeader();
     this.ColumnCalls           = new System.Windows.Forms.ColumnHeader();
     this.ColumnInclPerCall     = new System.Windows.Forms.ColumnHeader();
     this.ColumnExclPerCall     = new System.Windows.Forms.ColumnHeader();
     this.imageTabs             = new System.Windows.Forms.ImageList(this.components);
     this.openFileDialog        = new System.Windows.Forms.OpenFileDialog();
     this.mainMenu         = new System.Windows.Forms.MainMenu();
     this.menuItem1        = new System.Windows.Forms.MenuItem();
     this.menuFileOpen     = new System.Windows.Forms.MenuItem();
     this.menuItem3        = new System.Windows.Forms.MenuItem();
     this.menuFileExit     = new System.Windows.Forms.MenuItem();
     this.menuItem2        = new System.Windows.Forms.MenuItem();
     this.menuHelpUDN      = new System.Windows.Forms.MenuItem();
     this.toolBar1         = new System.Windows.Forms.ToolBar();
     this.toolBarFileOpen  = new System.Windows.Forms.ToolBarButton();
     this.imageListToolBar = new System.Windows.Forms.ImageList(this.components);
     this.MainStatusBar    = new ueScriptProfilerControls.UEStatusBar();
     this.statusBarPanel1  = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2  = new System.Windows.Forms.StatusBarPanel();
     this.tabControl1.SuspendLayout();
     this.tabCallGraph.SuspendLayout();
     this.tabExpensiveFunctions.SuspendLayout();
     this.tabSortedView.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     this.SuspendLayout();
     //
     // CallGraph
     //
     this.CallGraph.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.CallGraph.Font               = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.CallGraph.ImageIndex         = -1;
     this.CallGraph.Indent             = 19;
     this.CallGraph.ItemHeight         = 20;
     this.CallGraph.Location           = new System.Drawing.Point(0, 0);
     this.CallGraph.Name               = "CallGraph";
     this.CallGraph.SelectedImageIndex = -1;
     this.CallGraph.Size               = new System.Drawing.Size(984, 581);
     this.CallGraph.TabIndex           = 0;
     //
     // tabControl1
     //
     this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabControl1.Controls.Add(this.tabCallGraph);
     this.tabControl1.Controls.Add(this.tabExpensiveFunctions);
     this.tabControl1.Controls.Add(this.tabSortedView);
     this.tabControl1.Font          = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tabControl1.ImageList     = this.imageTabs;
     this.tabControl1.Location      = new System.Drawing.Point(0, 32);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.ShowToolTips  = true;
     this.tabControl1.Size          = new System.Drawing.Size(992, 616);
     this.tabControl1.TabIndex      = 1;
     this.tabControl1.Visible       = false;
     //
     // tabCallGraph
     //
     this.tabCallGraph.Controls.Add(this.CallGraph);
     this.tabCallGraph.ImageIndex = 0;
     this.tabCallGraph.Location   = new System.Drawing.Point(4, 31);
     this.tabCallGraph.Name       = "tabCallGraph";
     this.tabCallGraph.Size       = new System.Drawing.Size(984, 581);
     this.tabCallGraph.TabIndex   = 0;
     this.tabCallGraph.Text       = "Call Graph";
     //
     // tabExpensiveFunctions
     //
     this.tabExpensiveFunctions.Controls.Add(this.ExpensiveFunctions);
     this.tabExpensiveFunctions.ImageIndex = 1;
     this.tabExpensiveFunctions.Location   = new System.Drawing.Point(4, 31);
     this.tabExpensiveFunctions.Name       = "tabExpensiveFunctions";
     this.tabExpensiveFunctions.Size       = new System.Drawing.Size(984, 581);
     this.tabExpensiveFunctions.TabIndex   = 2;
     this.tabExpensiveFunctions.Text       = "Expensive Functions";
     //
     // ExpensiveFunctions
     //
     this.ExpensiveFunctions.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.ExpensiveFunctions.ImageIndex         = -1;
     this.ExpensiveFunctions.Indent             = 19;
     this.ExpensiveFunctions.ItemHeight         = 20;
     this.ExpensiveFunctions.Location           = new System.Drawing.Point(0, 0);
     this.ExpensiveFunctions.Name               = "ExpensiveFunctions";
     this.ExpensiveFunctions.SelectedImageIndex = -1;
     this.ExpensiveFunctions.Size               = new System.Drawing.Size(984, 581);
     this.ExpensiveFunctions.TabIndex           = 0;
     //
     // tabSortedView
     //
     this.tabSortedView.Controls.Add(this.SortedView);
     this.tabSortedView.ImageIndex = 2;
     this.tabSortedView.Location   = new System.Drawing.Point(4, 31);
     this.tabSortedView.Name       = "tabSortedView";
     this.tabSortedView.Size       = new System.Drawing.Size(984, 581);
     this.tabSortedView.TabIndex   = 1;
     this.tabSortedView.Text       = "Incl/Excl Time";
     //
     // SortedView
     //
     this.SortedView.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.SortedView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.ColumnName,
         this.ColumnIncl,
         this.ColumnExcl,
         this.ColumnCalls,
         this.ColumnInclPerCall,
         this.ColumnExclPerCall
     });
     this.SortedView.Font          = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.SortedView.FullRowSelect = true;
     this.SortedView.GridLines     = true;
     this.SortedView.Location      = new System.Drawing.Point(0, 0);
     this.SortedView.Name          = "SortedView";
     this.SortedView.Size          = new System.Drawing.Size(984, 581);
     this.SortedView.TabIndex      = 0;
     this.SortedView.View          = System.Windows.Forms.View.Details;
     //
     // ColumnName
     //
     this.ColumnName.Text  = "Function Name";
     this.ColumnName.Width = 500;
     //
     // ColumnIncl
     //
     this.ColumnIncl.Text      = "incl. %";
     this.ColumnIncl.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnIncl.Width     = 85;
     //
     // ColumnExcl
     //
     this.ColumnExcl.Text      = "excl. %";
     this.ColumnExcl.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnExcl.Width     = 85;
     //
     // ColumnCalls
     //
     this.ColumnCalls.Text      = "calls";
     this.ColumnCalls.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnCalls.Width     = 85;
     //
     // ColumnInclPerCall
     //
     this.ColumnInclPerCall.Text      = "incl. per call";
     this.ColumnInclPerCall.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnInclPerCall.Width     = 130;
     //
     // ColumnExclPerCall
     //
     this.ColumnExclPerCall.Text      = "excl. per call";
     this.ColumnExclPerCall.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnExclPerCall.Width     = 130;
     //
     // imageTabs
     //
     this.imageTabs.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageTabs.ImageSize        = new System.Drawing.Size(24, 24);
     this.imageTabs.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageTabs.ImageStream")));
     this.imageTabs.TransparentColor = System.Drawing.Color.Transparent;
     //
     // openFileDialog
     //
     this.openFileDialog.DefaultExt       = "uprof";
     this.openFileDialog.Filter           = "UnrealScript Profile Files (*.uprof)|*.uprof|All Files (*.*)|*.*";
     this.openFileDialog.RestoreDirectory = true;
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuFileOpen,
         this.menuItem3,
         this.menuFileExit
     });
     this.menuItem1.Text = "&File";
     //
     // menuFileOpen
     //
     this.menuFileOpen.Index    = 0;
     this.menuFileOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.menuFileOpen.Text     = "&Open...";
     this.menuFileOpen.Click   += new System.EventHandler(this.menuFileOpen_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.Text  = "-";
     //
     // menuFileExit
     //
     this.menuFileExit.Index    = 2;
     this.menuFileExit.Shortcut = System.Windows.Forms.Shortcut.AltF4;
     this.menuFileExit.Text     = "E&xit";
     this.menuFileExit.Click   += new System.EventHandler(this.menuFileExit_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuHelpUDN
     });
     this.menuItem2.Text = "&Help";
     //
     // menuHelpUDN
     //
     this.menuHelpUDN.Index    = 0;
     this.menuHelpUDN.Shortcut = System.Windows.Forms.Shortcut.F1;
     this.menuHelpUDN.Text     = "&UDN...";
     this.menuHelpUDN.Click   += new System.EventHandler(this.menuHelpUDN_Click);
     //
     // toolBar1
     //
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarFileOpen
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageListToolBar;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(992, 27);
     this.toolBar1.TabIndex       = 2;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // toolBarFileOpen
     //
     this.toolBarFileOpen.ImageIndex  = 0;
     this.toolBarFileOpen.ToolTipText = "Open Script Profile...";
     //
     // imageListToolBar
     //
     this.imageListToolBar.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageListToolBar.ImageSize        = new System.Drawing.Size(16, 15);
     this.imageListToolBar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListToolBar.ImageStream")));
     this.imageListToolBar.TransparentColor = System.Drawing.Color.Silver;
     //
     // MainStatusBar
     //
     this.MainStatusBar.Location = new System.Drawing.Point(0, 647);
     this.MainStatusBar.Name     = "MainStatusBar";
     this.MainStatusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2
     });
     this.MainStatusBar.Size     = new System.Drawing.Size(992, 22);
     this.MainStatusBar.TabIndex = 3;
     this.MainStatusBar.Text     = "Ready.";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.AutoSize    = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.statusBarPanel1.BorderStyle = System.Windows.Forms.StatusBarPanelBorderStyle.None;
     this.statusBarPanel1.Text        = "Loading:";
     this.statusBarPanel1.Width       = 58;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.AutoSize    = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel2.BorderStyle = System.Windows.Forms.StatusBarPanelBorderStyle.None;
     this.statusBarPanel2.Width       = 918;
     //
     // ueScriptProfiler
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(992, 669);
     this.Controls.Add(this.MainStatusBar);
     this.Controls.Add(this.toolBar1);
     this.Controls.Add(this.tabControl1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu = this.mainMenu;
     this.Name = "ueScriptProfiler";
     this.Text = "UnrealScript Profiler";
     this.tabControl1.ResumeLayout(false);
     this.tabCallGraph.ResumeLayout(false);
     this.tabExpensiveFunctions.ResumeLayout(false);
     this.tabSortedView.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 52
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FORMZipCodes_View));
     this.picLOGO        = new System.Windows.Forms.PictureBox();
     this.lblHeader      = new System.Windows.Forms.Label();
     this.picHeader      = new System.Windows.Forms.PictureBox();
     this.ctrlSeparator1 = new LibrarySystem.ctrlSeparator();
     this.bttnCancel     = new System.Windows.Forms.Button();
     this.pictureBox1    = new System.Windows.Forms.PictureBox();
     this.listView1      = new System.Windows.Forms.ListView();
     this.chCity         = new System.Windows.Forms.ColumnHeader();
     this.chProvince     = new System.Windows.Forms.ColumnHeader();
     this.chZip          = new System.Windows.Forms.ColumnHeader();
     this.bttnSelect     = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // picLOGO
     //
     this.picLOGO.Image    = ((System.Drawing.Image)(resources.GetObject("picLOGO.Image")));
     this.picLOGO.Location = new System.Drawing.Point(16, 0);
     this.picLOGO.Name     = "picLOGO";
     this.picLOGO.Size     = new System.Drawing.Size(24, 24);
     this.picLOGO.TabIndex = 10;
     this.picLOGO.TabStop  = false;
     //
     // lblHeader
     //
     this.lblHeader.AutoSize  = true;
     this.lblHeader.BackColor = System.Drawing.Color.Transparent;
     this.lblHeader.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.lblHeader.Font      = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblHeader.ForeColor = System.Drawing.Color.White;
     this.lblHeader.Location  = new System.Drawing.Point(40, 4);
     this.lblHeader.Name      = "lblHeader";
     this.lblHeader.Size      = new System.Drawing.Size(85, 22);
     this.lblHeader.TabIndex  = 9;
     this.lblHeader.Text      = "Zip Codes";
     //
     // picHeader
     //
     this.picHeader.BackColor = System.Drawing.Color.Transparent;
     this.picHeader.Dock      = System.Windows.Forms.DockStyle.Top;
     this.picHeader.Location  = new System.Drawing.Point(0, 0);
     this.picHeader.Name      = "picHeader";
     this.picHeader.Size      = new System.Drawing.Size(434, 30);
     this.picHeader.TabIndex  = 8;
     this.picHeader.TabStop   = false;
     //
     // ctrlSeparator1
     //
     this.ctrlSeparator1.Location = new System.Drawing.Point(7, 299);
     this.ctrlSeparator1.Name     = "ctrlSeparator1";
     this.ctrlSeparator1.Size     = new System.Drawing.Size(420, 2);
     this.ctrlSeparator1.TabIndex = 12;
     //
     // bttnCancel
     //
     this.bttnCancel.Cursor       = System.Windows.Forms.Cursors.Hand;
     this.bttnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.bttnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.bttnCancel.Font         = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bttnCancel.ForeColor    = System.Drawing.Color.Black;
     this.bttnCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.bttnCancel.ImeMode      = System.Windows.Forms.ImeMode.NoControl;
     this.bttnCancel.Location     = new System.Drawing.Point(340, 312);
     this.bttnCancel.Name         = "bttnCancel";
     this.bttnCancel.Size         = new System.Drawing.Size(88, 26);
     this.bttnCancel.TabIndex     = 43;
     this.bttnCancel.Text         = "&Cancel";
     this.bttnCancel.Click       += new System.EventHandler(this.bttnCancel_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor   = System.Drawing.Color.White;
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pictureBox1.Location    = new System.Drawing.Point(7, 36);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(420, 256);
     this.pictureBox1.TabIndex    = 45;
     this.pictureBox1.TabStop     = false;
     //
     // listView1
     //
     this.listView1.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.listView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.chCity,
         this.chProvince,
         this.chZip
     });
     this.listView1.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.listView1.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.listView1.ForeColor     = System.Drawing.Color.Navy;
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines     = true;
     this.listView1.HideSelection = false;
     this.listView1.Location      = new System.Drawing.Point(10, 38);
     this.listView1.MultiSelect   = false;
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(415, 249);
     this.listView1.TabIndex      = 46;
     this.listView1.View          = System.Windows.Forms.View.Details;
     this.listView1.DoubleClick  += new System.EventHandler(this.listView1_DoubleClick);
     //
     // chCity
     //
     this.chCity.Text  = "City/Town";
     this.chCity.Width = 150;
     //
     // chProvince
     //
     this.chProvince.Text  = "State/Province";
     this.chProvince.Width = 150;
     //
     // chZip
     //
     this.chZip.Text      = "Zip Code";
     this.chZip.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.chZip.Width     = 95;
     //
     // bttnSelect
     //
     this.bttnSelect.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.bttnSelect.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bttnSelect.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bttnSelect.Location  = new System.Drawing.Point(240, 312);
     this.bttnSelect.Name      = "bttnSelect";
     this.bttnSelect.Size      = new System.Drawing.Size(92, 26);
     this.bttnSelect.TabIndex  = 47;
     this.bttnSelect.Text      = "&Select";
     this.bttnSelect.Click    += new System.EventHandler(this.bttnSelect_Click);
     //
     // FORMZipCodes_View
     //
     this.AcceptButton      = this.bttnSelect;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.bttnCancel;
     this.ClientSize        = new System.Drawing.Size(434, 344);
     this.Controls.Add(this.bttnSelect);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.bttnCancel);
     this.Controls.Add(this.ctrlSeparator1);
     this.Controls.Add(this.picLOGO);
     this.Controls.Add(this.lblHeader);
     this.Controls.Add(this.picHeader);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FORMZipCodes_View";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Zip Codes";
     this.Load           += new System.EventHandler(this.FORMZipCodes_View_Load);
     this.ResumeLayout(false);
 }
Esempio n. 53
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Animations", System.Windows.Forms.HorizontalAlignment.Left);
     this.grpTransform             = new System.Windows.Forms.GroupBox();
     this.btnPaste                 = new System.Windows.Forms.Button();
     this.btnCopy                  = new System.Windows.Forms.Button();
     this.btnCut                   = new System.Windows.Forms.Button();
     this.label5                   = new System.Windows.Forms.Label();
     this.numScaleZ                = new System.Windows.Forms.NumericInputBox();
     this.numTransX                = new System.Windows.Forms.NumericInputBox();
     this.numScaleY                = new System.Windows.Forms.NumericInputBox();
     this.label6                   = new System.Windows.Forms.Label();
     this.numScaleX                = new System.Windows.Forms.NumericInputBox();
     this.label7                   = new System.Windows.Forms.Label();
     this.numRotZ                  = new System.Windows.Forms.NumericInputBox();
     this.label8                   = new System.Windows.Forms.Label();
     this.numRotY                  = new System.Windows.Forms.NumericInputBox();
     this.label9                   = new System.Windows.Forms.Label();
     this.numRotX                  = new System.Windows.Forms.NumericInputBox();
     this.label10                  = new System.Windows.Forms.Label();
     this.numTransZ                = new System.Windows.Forms.NumericInputBox();
     this.label11                  = new System.Windows.Forms.Label();
     this.numTransY                = new System.Windows.Forms.NumericInputBox();
     this.label12                  = new System.Windows.Forms.Label();
     this.label13                  = new System.Windows.Forms.Label();
     this.btnClear                 = new System.Windows.Forms.Button();
     this.btnDelete                = new System.Windows.Forms.Button();
     this.btnInsert                = new System.Windows.Forms.Button();
     this.grpExt                   = new System.Windows.Forms.GroupBox();
     this.txtExtPath               = new System.Windows.Forms.TextBox();
     this.btnClose                 = new System.Windows.Forms.Button();
     this.btnOpen                  = new System.Windows.Forms.Button();
     this.btnSave                  = new System.Windows.Forms.Button();
     this.listAnims                = new System.Windows.Forms.ListView();
     this.nameColumn               = new System.Windows.Forms.ColumnHeader();
     this.ctxAnim                  = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.sourceToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem1       = new System.Windows.Forms.ToolStripSeparator();
     this.exportToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.replaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.dlgOpen                  = new System.Windows.Forms.OpenFileDialog();
     this.dlgSave                  = new System.Windows.Forms.SaveFileDialog();
     this.grpTransAll              = new System.Windows.Forms.GroupBox();
     this.btnClean                 = new System.Windows.Forms.Button();
     this.btnPasteAll              = new System.Windows.Forms.Button();
     this.btnCopyAll               = new System.Windows.Forms.Button();
     this.grpTransform.SuspendLayout();
     this.grpExt.SuspendLayout();
     this.ctxAnim.SuspendLayout();
     this.grpTransAll.SuspendLayout();
     this.SuspendLayout();
     //
     // grpTransform
     //
     this.grpTransform.Controls.Add(this.btnPaste);
     this.grpTransform.Controls.Add(this.btnCopy);
     this.grpTransform.Controls.Add(this.btnCut);
     this.grpTransform.Controls.Add(this.label5);
     this.grpTransform.Controls.Add(this.numScaleZ);
     this.grpTransform.Controls.Add(this.numTransX);
     this.grpTransform.Controls.Add(this.numScaleY);
     this.grpTransform.Controls.Add(this.label6);
     this.grpTransform.Controls.Add(this.numScaleX);
     this.grpTransform.Controls.Add(this.label7);
     this.grpTransform.Controls.Add(this.numRotZ);
     this.grpTransform.Controls.Add(this.label8);
     this.grpTransform.Controls.Add(this.numRotY);
     this.grpTransform.Controls.Add(this.label9);
     this.grpTransform.Controls.Add(this.numRotX);
     this.grpTransform.Controls.Add(this.label10);
     this.grpTransform.Controls.Add(this.numTransZ);
     this.grpTransform.Controls.Add(this.label11);
     this.grpTransform.Controls.Add(this.numTransY);
     this.grpTransform.Controls.Add(this.label12);
     this.grpTransform.Controls.Add(this.label13);
     this.grpTransform.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.grpTransform.Enabled  = false;
     this.grpTransform.Location = new System.Drawing.Point(0, 355);
     this.grpTransform.Name     = "grpTransform";
     this.grpTransform.Size     = new System.Drawing.Size(173, 239);
     this.grpTransform.TabIndex = 22;
     this.grpTransform.TabStop  = false;
     this.grpTransform.Text     = "Transform Frame";
     //
     // btnPaste
     //
     this.btnPaste.Location = new System.Drawing.Point(116, 215);
     this.btnPaste.Name     = "btnPaste";
     this.btnPaste.Size     = new System.Drawing.Size(50, 20);
     this.btnPaste.TabIndex = 23;
     this.btnPaste.Text     = "Paste";
     this.btnPaste.UseVisualStyleBackColor = true;
     this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click);
     //
     // btnCopy
     //
     this.btnCopy.Location = new System.Drawing.Point(62, 215);
     this.btnCopy.Name     = "btnCopy";
     this.btnCopy.Size     = new System.Drawing.Size(50, 20);
     this.btnCopy.TabIndex = 22;
     this.btnCopy.Text     = "Copy";
     this.btnCopy.UseVisualStyleBackColor = true;
     this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
     //
     // btnCut
     //
     this.btnCut.Location = new System.Drawing.Point(8, 215);
     this.btnCut.Name     = "btnCut";
     this.btnCut.Size     = new System.Drawing.Size(50, 20);
     this.btnCut.TabIndex = 21;
     this.btnCut.Text     = "Cut";
     this.btnCut.UseVisualStyleBackColor = true;
     this.btnCut.Click += new System.EventHandler(this.btnCut_Click);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(6, 16);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(74, 20);
     this.label5.TabIndex  = 4;
     this.label5.Text      = "Translation X:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numScaleZ
     //
     this.numScaleZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.numScaleZ.Location      = new System.Drawing.Point(86, 192);
     this.numScaleZ.Name          = "numScaleZ";
     this.numScaleZ.Size          = new System.Drawing.Size(82, 20);
     this.numScaleZ.TabIndex      = 20;
     this.numScaleZ.Text          = "0";
     this.numScaleZ.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // numTransX
     //
     this.numTransX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.numTransX.Location      = new System.Drawing.Point(86, 16);
     this.numTransX.Name          = "numTransX";
     this.numTransX.Size          = new System.Drawing.Size(82, 20);
     this.numTransX.TabIndex      = 3;
     this.numTransX.Text          = "0";
     this.numTransX.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // numScaleY
     //
     this.numScaleY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.numScaleY.Location      = new System.Drawing.Point(86, 172);
     this.numScaleY.Name          = "numScaleY";
     this.numScaleY.Size          = new System.Drawing.Size(82, 20);
     this.numScaleY.TabIndex      = 19;
     this.numScaleY.Text          = "0";
     this.numScaleY.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(6, 36);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(74, 20);
     this.label6.TabIndex  = 5;
     this.label6.Text      = "Translation Y:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numScaleX
     //
     this.numScaleX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.numScaleX.Location      = new System.Drawing.Point(86, 152);
     this.numScaleX.Name          = "numScaleX";
     this.numScaleX.Size          = new System.Drawing.Size(82, 20);
     this.numScaleX.TabIndex      = 18;
     this.numScaleX.Text          = "0";
     this.numScaleX.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(6, 56);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(74, 20);
     this.label7.TabIndex  = 6;
     this.label7.Text      = "Translation Z:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numRotZ
     //
     this.numRotZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.numRotZ.Location      = new System.Drawing.Point(86, 124);
     this.numRotZ.Name          = "numRotZ";
     this.numRotZ.Size          = new System.Drawing.Size(82, 20);
     this.numRotZ.TabIndex      = 17;
     this.numRotZ.Text          = "0";
     this.numRotZ.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(6, 84);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(74, 20);
     this.label8.TabIndex  = 7;
     this.label8.Text      = "Rotation X:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numRotY
     //
     this.numRotY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.numRotY.Location      = new System.Drawing.Point(86, 104);
     this.numRotY.Name          = "numRotY";
     this.numRotY.Size          = new System.Drawing.Size(82, 20);
     this.numRotY.TabIndex      = 16;
     this.numRotY.Text          = "0";
     this.numRotY.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(6, 104);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(74, 20);
     this.label9.TabIndex  = 8;
     this.label9.Text      = "Rotation Y:";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numRotX
     //
     this.numRotX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.numRotX.Location      = new System.Drawing.Point(86, 84);
     this.numRotX.Name          = "numRotX";
     this.numRotX.Size          = new System.Drawing.Size(82, 20);
     this.numRotX.TabIndex      = 15;
     this.numRotX.Text          = "0";
     this.numRotX.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // label10
     //
     this.label10.Location  = new System.Drawing.Point(6, 124);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(74, 20);
     this.label10.TabIndex  = 9;
     this.label10.Text      = "Rotation Z:";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numTransZ
     //
     this.numTransZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.numTransZ.Location      = new System.Drawing.Point(86, 56);
     this.numTransZ.Name          = "numTransZ";
     this.numTransZ.Size          = new System.Drawing.Size(82, 20);
     this.numTransZ.TabIndex      = 14;
     this.numTransZ.Text          = "0";
     this.numTransZ.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // label11
     //
     this.label11.Location  = new System.Drawing.Point(6, 152);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(74, 20);
     this.label11.TabIndex  = 10;
     this.label11.Text      = "Scale X:";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numTransY
     //
     this.numTransY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.numTransY.Location      = new System.Drawing.Point(86, 36);
     this.numTransY.Name          = "numTransY";
     this.numTransY.Size          = new System.Drawing.Size(82, 20);
     this.numTransY.TabIndex      = 13;
     this.numTransY.Text          = "0";
     this.numTransY.ValueChanged += new System.EventHandler(this.BoxChanged);
     //
     // label12
     //
     this.label12.Location  = new System.Drawing.Point(6, 192);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(74, 20);
     this.label12.TabIndex  = 11;
     this.label12.Text      = "Scale Z:";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label13
     //
     this.label13.Location  = new System.Drawing.Point(6, 172);
     this.label13.Name      = "label13";
     this.label13.Size      = new System.Drawing.Size(74, 20);
     this.label13.TabIndex  = 12;
     this.label13.Text      = "Scale Y:";
     this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnClear
     //
     this.btnClear.Location = new System.Drawing.Point(116, 14);
     this.btnClear.Name     = "btnClear";
     this.btnClear.Size     = new System.Drawing.Size(50, 20);
     this.btnClear.TabIndex = 26;
     this.btnClear.Text     = "Clear";
     this.btnClear.UseVisualStyleBackColor = true;
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // btnDelete
     //
     this.btnDelete.Location = new System.Drawing.Point(62, 14);
     this.btnDelete.Name     = "btnDelete";
     this.btnDelete.Size     = new System.Drawing.Size(50, 20);
     this.btnDelete.TabIndex = 25;
     this.btnDelete.Text     = "Delete";
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnInsert
     //
     this.btnInsert.Location = new System.Drawing.Point(8, 14);
     this.btnInsert.Name     = "btnInsert";
     this.btnInsert.Size     = new System.Drawing.Size(50, 20);
     this.btnInsert.TabIndex = 24;
     this.btnInsert.Text     = "Insert";
     this.btnInsert.UseVisualStyleBackColor = true;
     this.btnInsert.Click += new System.EventHandler(this.btnInsert_Click);
     //
     // grpExt
     //
     this.grpExt.Controls.Add(this.txtExtPath);
     this.grpExt.Controls.Add(this.btnClose);
     this.grpExt.Controls.Add(this.btnOpen);
     this.grpExt.Controls.Add(this.btnSave);
     this.grpExt.Dock     = System.Windows.Forms.DockStyle.Top;
     this.grpExt.Location = new System.Drawing.Point(0, 0);
     this.grpExt.Name     = "grpExt";
     this.grpExt.Padding  = new System.Windows.Forms.Padding(6, 4, 6, 3);
     this.grpExt.Size     = new System.Drawing.Size(173, 69);
     this.grpExt.TabIndex = 23;
     this.grpExt.TabStop  = false;
     this.grpExt.Text     = "External File";
     //
     // txtExtPath
     //
     this.txtExtPath.Dock     = System.Windows.Forms.DockStyle.Top;
     this.txtExtPath.Location = new System.Drawing.Point(6, 17);
     this.txtExtPath.Name     = "txtExtPath";
     this.txtExtPath.ReadOnly = true;
     this.txtExtPath.Size     = new System.Drawing.Size(161, 20);
     this.txtExtPath.TabIndex = 3;
     this.txtExtPath.Click   += new System.EventHandler(this.txtExtPath_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.btnClose.Location = new System.Drawing.Point(116, 42);
     this.btnClose.Margin   = new System.Windows.Forms.Padding(2);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new System.Drawing.Size(50, 20);
     this.btnClose.TabIndex = 2;
     this.btnClose.Text     = "Close";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // btnOpen
     //
     this.btnOpen.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.btnOpen.Location = new System.Drawing.Point(8, 42);
     this.btnOpen.Margin   = new System.Windows.Forms.Padding(2);
     this.btnOpen.Name     = "btnOpen";
     this.btnOpen.Size     = new System.Drawing.Size(50, 20);
     this.btnOpen.TabIndex = 0;
     this.btnOpen.Text     = "Load";
     this.btnOpen.UseVisualStyleBackColor = true;
     this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
     //
     // btnSave
     //
     this.btnSave.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.btnSave.Location = new System.Drawing.Point(62, 42);
     this.btnSave.Margin   = new System.Windows.Forms.Padding(2);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(50, 20);
     this.btnSave.TabIndex = 1;
     this.btnSave.Text     = "Save";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // listAnims
     //
     this.listAnims.AutoArrange = false;
     this.listAnims.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.nameColumn
     });
     this.listAnims.ContextMenuStrip = this.ctxAnim;
     this.listAnims.Dock             = System.Windows.Forms.DockStyle.Fill;
     listViewGroup1.Header           = "Animations";
     listViewGroup1.Name             = "grpAnims";
     this.listAnims.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {
         listViewGroup1
     });
     this.listAnims.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.None;
     this.listAnims.HideSelection = false;
     this.listAnims.Location      = new System.Drawing.Point(0, 69);
     this.listAnims.MultiSelect   = false;
     this.listAnims.Name          = "listAnims";
     this.listAnims.Size          = new System.Drawing.Size(173, 221);
     this.listAnims.TabIndex      = 24;
     this.listAnims.UseCompatibleStateImageBehavior = false;
     this.listAnims.View = System.Windows.Forms.View.Details;
     this.listAnims.SelectedIndexChanged += new System.EventHandler(this.listAnims_SelectedIndexChanged);
     //
     // nameColumn
     //
     this.nameColumn.Text  = "Name";
     this.nameColumn.Width = 160;
     //
     // ctxAnim
     //
     this.ctxAnim.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.sourceToolStripMenuItem,
         this.toolStripMenuItem1,
         this.exportToolStripMenuItem,
         this.replaceToolStripMenuItem
     });
     this.ctxAnim.Name     = "ctxAnim";
     this.ctxAnim.Size     = new System.Drawing.Size(125, 76);
     this.ctxAnim.Opening += new System.ComponentModel.CancelEventHandler(this.ctxAnim_Opening);
     //
     // sourceToolStripMenuItem
     //
     this.sourceToolStripMenuItem.Enabled = false;
     this.sourceToolStripMenuItem.Name    = "sourceToolStripMenuItem";
     this.sourceToolStripMenuItem.Size    = new System.Drawing.Size(124, 22);
     this.sourceToolStripMenuItem.Text    = "Source";
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new System.Drawing.Size(121, 6);
     //
     // exportToolStripMenuItem
     //
     this.exportToolStripMenuItem.Name   = "exportToolStripMenuItem";
     this.exportToolStripMenuItem.Size   = new System.Drawing.Size(124, 22);
     this.exportToolStripMenuItem.Text   = "Export...";
     this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportToolStripMenuItem_Click);
     //
     // replaceToolStripMenuItem
     //
     this.replaceToolStripMenuItem.Name   = "replaceToolStripMenuItem";
     this.replaceToolStripMenuItem.Size   = new System.Drawing.Size(124, 22);
     this.replaceToolStripMenuItem.Text   = "Replace...";
     this.replaceToolStripMenuItem.Click += new System.EventHandler(this.replaceToolStripMenuItem_Click);
     //
     // grpTransAll
     //
     this.grpTransAll.Controls.Add(this.btnClean);
     this.grpTransAll.Controls.Add(this.btnPasteAll);
     this.grpTransAll.Controls.Add(this.btnCopyAll);
     this.grpTransAll.Controls.Add(this.btnClear);
     this.grpTransAll.Controls.Add(this.btnInsert);
     this.grpTransAll.Controls.Add(this.btnDelete);
     this.grpTransAll.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.grpTransAll.Enabled  = false;
     this.grpTransAll.Location = new System.Drawing.Point(0, 290);
     this.grpTransAll.Name     = "grpTransAll";
     this.grpTransAll.Size     = new System.Drawing.Size(173, 65);
     this.grpTransAll.TabIndex = 25;
     this.grpTransAll.TabStop  = false;
     this.grpTransAll.Text     = "Transform All";
     //
     // btnClean
     //
     this.btnClean.Location = new System.Drawing.Point(116, 40);
     this.btnClean.Name     = "btnClean";
     this.btnClean.Size     = new System.Drawing.Size(50, 20);
     this.btnClean.TabIndex = 29;
     this.btnClean.Text     = "Clean";
     this.btnClean.UseVisualStyleBackColor = true;
     this.btnClean.Click += new System.EventHandler(this.btnClean_Click);
     //
     // btnPasteAll
     //
     this.btnPasteAll.Location = new System.Drawing.Point(62, 40);
     this.btnPasteAll.Name     = "btnPasteAll";
     this.btnPasteAll.Size     = new System.Drawing.Size(50, 20);
     this.btnPasteAll.TabIndex = 28;
     this.btnPasteAll.Text     = "Paste";
     this.btnPasteAll.UseVisualStyleBackColor = true;
     this.btnPasteAll.Click += new System.EventHandler(this.btnPasteAll_Click);
     //
     // btnCopyAll
     //
     this.btnCopyAll.Location = new System.Drawing.Point(8, 40);
     this.btnCopyAll.Name     = "btnCopyAll";
     this.btnCopyAll.Size     = new System.Drawing.Size(50, 20);
     this.btnCopyAll.TabIndex = 27;
     this.btnCopyAll.Text     = "Copy";
     this.btnCopyAll.UseVisualStyleBackColor = true;
     this.btnCopyAll.Click += new System.EventHandler(this.btnCopyAll_Click);
     //
     // ModelAnimPanel
     //
     this.Controls.Add(this.listAnims);
     this.Controls.Add(this.grpTransAll);
     this.Controls.Add(this.grpExt);
     this.Controls.Add(this.grpTransform);
     this.Name = "ModelAnimPanel";
     this.Size = new System.Drawing.Size(173, 594);
     this.grpTransform.ResumeLayout(false);
     this.grpTransform.PerformLayout();
     this.grpExt.ResumeLayout(false);
     this.grpExt.PerformLayout();
     this.ctxAnim.ResumeLayout(false);
     this.grpTransAll.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio 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(SelectTemplateDlg));
     this.listView1            = new DigitalPlatform.GUI.ListViewNF();
     this.columnHeader_name    = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_comment = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.checkBox_notAsk      = new System.Windows.Forms.CheckBox();
     this.button_OK            = new System.Windows.Forms.Button();
     this.button_Cancel        = new System.Windows.Forms.Button();
     this.label1       = new System.Windows.Forms.Label();
     this.textBox_name = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // listView1
     //
     this.listView1.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.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader_name,
         this.columnHeader_comment
     });
     this.listView1.FullRowSelect = true;
     this.listView1.HideSelection = false;
     this.listView1.Location      = new System.Drawing.Point(9, 9);
     this.listView1.MultiSelect   = false;
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(429, 249);
     this.listView1.TabIndex      = 0;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
     this.listView1.DoubleClick          += new System.EventHandler(this.listView1_DoubleClick);
     this.listView1.Enter   += new System.EventHandler(this.listView1_Enter);
     this.listView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseUp);
     //
     // columnHeader_name
     //
     this.columnHeader_name.Text  = "模板名";
     this.columnHeader_name.Width = 200;
     //
     // columnHeader_comment
     //
     this.columnHeader_comment.Text  = "说明";
     this.columnHeader_comment.Width = 300;
     //
     // checkBox_notAsk
     //
     this.checkBox_notAsk.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBox_notAsk.AutoSize = true;
     this.checkBox_notAsk.Enabled  = false;
     this.checkBox_notAsk.Location = new System.Drawing.Point(9, 295);
     this.checkBox_notAsk.Name     = "checkBox_notAsk";
     this.checkBox_notAsk.Size     = new System.Drawing.Size(144, 16);
     this.checkBox_notAsk.TabIndex = 1;
     this.checkBox_notAsk.Text     = "下次不再出现此对话框";
     //
     // button_OK
     //
     this.button_OK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_OK.Location = new System.Drawing.Point(362, 263);
     this.button_OK.Name     = "button_OK";
     this.button_OK.Size     = new System.Drawing.Size(76, 22);
     this.button_OK.TabIndex = 2;
     this.button_OK.Text     = "确定";
     this.button_OK.Click   += new System.EventHandler(this.button_OK_Click);
     //
     // button_Cancel
     //
     this.button_Cancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button_Cancel.Location     = new System.Drawing.Point(362, 290);
     this.button_Cancel.Name         = "button_Cancel";
     this.button_Cancel.Size         = new System.Drawing.Size(76, 21);
     this.button_Cancel.TabIndex     = 3;
     this.button_Cancel.Text         = "取消";
     this.button_Cancel.Click       += new System.EventHandler(this.button_Cancel_Click);
     //
     // label1
     //
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(7, 265);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(65, 12);
     this.label1.TabIndex = 4;
     this.label1.Text     = "模板名(&N):";
     //
     // textBox_name
     //
     this.textBox_name.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox_name.ImeMode      = System.Windows.Forms.ImeMode.Off;
     this.textBox_name.Location     = new System.Drawing.Point(85, 263);
     this.textBox_name.Name         = "textBox_name";
     this.textBox_name.Size         = new System.Drawing.Size(273, 21);
     this.textBox_name.TabIndex     = 5;
     this.textBox_name.TextChanged += new System.EventHandler(this.textBox_name_TextChanged);
     this.textBox_name.Enter       += new System.EventHandler(this.textBox_name_Enter);
     //
     // SelectTemplateDlg
     //
     this.AcceptButton      = this.button_OK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.button_Cancel;
     this.ClientSize        = new System.Drawing.Size(446, 321);
     this.Controls.Add(this.textBox_name);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.button_Cancel);
     this.Controls.Add(this.button_OK);
     this.Controls.Add(this.checkBox_notAsk);
     this.Controls.Add(this.listView1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "SelectTemplateDlg";
     this.ShowInTaskbar = false;
     this.Text          = "请选择新记录模板";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.SelectRecordTemplateDlg_Closing);
     this.Closed       += new System.EventHandler(this.SelectRecordTemplateDlg_Closed);
     this.Load         += new System.EventHandler(this.SelectRecordTemplateDlg_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 55
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.okButton       = new System.Windows.Forms.Button();
     this.cancelButton   = new System.Windows.Forms.Button();
     this.columnHeader   = new System.Windows.Forms.ColumnHeader();
     this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
     this.itemListView   = new System.Windows.Forms.ListView();
     this.SuspendLayout();
     //
     // okButton
     //
     this.okButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.Location = new System.Drawing.Point(138, 327);
     this.okButton.Name     = "okButton";
     this.okButton.Size     = new System.Drawing.Size(85, 23);
     this.okButton.TabIndex = 1;
     this.okButton.Text     = "&Ok";
     this.okButton.UseVisualStyleBackColor = true;
     this.okButton.Click += new System.EventHandler(this.OkButtonClick);
     //
     // cancelButton
     //
     this.cancelButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cancelButton.Location = new System.Drawing.Point(12, 327);
     this.cancelButton.Name     = "cancelButton";
     this.cancelButton.Size     = new System.Drawing.Size(85, 23);
     this.cancelButton.TabIndex = 2;
     this.cancelButton.Text     = "&Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click += new System.EventHandler(this.CancelButtonClick);
     //
     // saveFileDialog
     //
     this.saveFileDialog.AddExtension = true;
     this.saveFileDialog.DefaultExt   = "fdz";
     this.saveFileDialog.Filter       = "FlashDevelop Zip Files|*.fdz";
     //
     // itemListView
     //
     this.itemListView.CheckBoxes    = true;
     this.itemListView.MultiSelect   = false;
     this.itemListView.FullRowSelect = true;
     this.itemListView.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.None;
     this.itemListView.Location      = new System.Drawing.Point(12, 12);
     this.itemListView.Name          = "itemListView";
     this.itemListView.Size          = new System.Drawing.Size(212, 310);
     this.itemListView.TabIndex      = 3;
     this.itemListView.View          = System.Windows.Forms.View.Details;
     this.itemListView.Alignment     = System.Windows.Forms.ListViewAlignment.Left;
     this.itemListView.Columns.Add(this.columnHeader);
     //
     // ExportDialog
     //
     this.AcceptButton        = this.okButton;
     this.CancelButton        = this.cancelButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(235, 361);
     this.Controls.Add(this.itemListView);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "ExportDialog";
     this.Text            = " Export Language Files";
     this.Load           += new System.EventHandler(this.SyntaxPanelExportDialogLoad);
     this.ResumeLayout(false);
 }
Esempio n. 56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EraControl));
     this.lblName           = new System.Windows.Forms.Label();
     this.txtName           = new System.Windows.Forms.TextBox();
     this.lblResearchers    = new System.Windows.Forms.Label();
     this.lstResearchers    = new System.Windows.Forms.ListBox();
     this.btnAdd            = new System.Windows.Forms.Button();
     this.txtResearcherName = new System.Windows.Forms.TextBox();
     this.btnRemove         = new System.Windows.Forms.Button();
     this.lblNextEra        = new System.Windows.Forms.Label();
     this.cboNextEra        = new System.Windows.Forms.ComboBox();
     this.chkStartingEra    = new System.Windows.Forms.CheckBox();
     this.lvwEras           = new System.Windows.Forms.ListView();
     this.hdrEra            = new System.Windows.Forms.ColumnHeader();
     this.hdrNextEra        = new System.Windows.Forms.ColumnHeader();
     this.hdrStartingEra    = new System.Windows.Forms.ColumnHeader();
     this.splitter1         = new System.Windows.Forms.Splitter();
     this.panel1            = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // lblName
     //
     this.lblName.ForeColor = System.Drawing.SystemColors.ControlText;
     resources.ApplyResources(this.lblName, "lblName");
     this.lblName.Name = "lblName";
     //
     // txtName
     //
     resources.ApplyResources(this.txtName, "txtName");
     this.txtName.Name = "txtName";
     //
     // lblResearchers
     //
     this.lblResearchers.ForeColor = System.Drawing.SystemColors.ControlText;
     resources.ApplyResources(this.lblResearchers, "lblResearchers");
     this.lblResearchers.Name = "lblResearchers";
     //
     // lstResearchers
     //
     this.lstResearchers.FormattingEnabled = true;
     resources.ApplyResources(this.lstResearchers, "lstResearchers");
     this.lstResearchers.Name = "lstResearchers";
     //
     // btnAdd
     //
     resources.ApplyResources(this.btnAdd, "btnAdd");
     this.btnAdd.Name   = "btnAdd";
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // txtResearcherName
     //
     resources.ApplyResources(this.txtResearcherName, "txtResearcherName");
     this.txtResearcherName.Name = "txtResearcherName";
     //
     // btnRemove
     //
     resources.ApplyResources(this.btnRemove, "btnRemove");
     this.btnRemove.Name   = "btnRemove";
     this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
     //
     // lblNextEra
     //
     this.lblNextEra.ForeColor = System.Drawing.SystemColors.ControlText;
     resources.ApplyResources(this.lblNextEra, "lblNextEra");
     this.lblNextEra.Name = "lblNextEra";
     //
     // cboNextEra
     //
     this.cboNextEra.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboNextEra.FormattingEnabled = true;
     resources.ApplyResources(this.cboNextEra, "cboNextEra");
     this.cboNextEra.Name = "cboNextEra";
     //
     // chkStartingEra
     //
     resources.ApplyResources(this.chkStartingEra, "chkStartingEra");
     this.chkStartingEra.ForeColor = System.Drawing.SystemColors.ControlText;
     this.chkStartingEra.Name      = "chkStartingEra";
     //
     // lvwEras
     //
     this.lvwEras.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.hdrEra,
         this.hdrNextEra,
         this.hdrStartingEra
     });
     resources.ApplyResources(this.lvwEras, "lvwEras");
     this.lvwEras.FullRowSelect         = true;
     this.lvwEras.MultiSelect           = false;
     this.lvwEras.Name                  = "lvwEras";
     this.lvwEras.View                  = System.Windows.Forms.View.Details;
     this.lvwEras.SelectedIndexChanged += new System.EventHandler(this.lvwEras_SelectedIndexChanged);
     //
     // hdrEra
     //
     resources.ApplyResources(this.hdrEra, "hdrEra");
     //
     // hdrNextEra
     //
     resources.ApplyResources(this.hdrNextEra, "hdrNextEra");
     //
     // hdrStartingEra
     //
     resources.ApplyResources(this.hdrStartingEra, "hdrStartingEra");
     //
     // splitter1
     //
     resources.ApplyResources(this.splitter1, "splitter1");
     this.splitter1.Name    = "splitter1";
     this.splitter1.TabStop = false;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.lblNextEra);
     this.panel1.Controls.Add(this.chkStartingEra);
     this.panel1.Controls.Add(this.txtResearcherName);
     this.panel1.Controls.Add(this.btnRemove);
     this.panel1.Controls.Add(this.txtName);
     this.panel1.Controls.Add(this.lblName);
     this.panel1.Controls.Add(this.cboNextEra);
     this.panel1.Controls.Add(this.lblResearchers);
     this.panel1.Controls.Add(this.lstResearchers);
     this.panel1.Controls.Add(this.btnAdd);
     resources.ApplyResources(this.panel1, "panel1");
     this.panel1.Name = "panel1";
     //
     // EraControl
     //
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.lvwEras);
     resources.ApplyResources(this, "$this");
     this.Name = "EraControl";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 57
0
 InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ParamEnumSnoop));
     this.m_tvObjs                  = new System.Windows.Forms.TreeView();
     this.m_cntxMenuObjId           = new System.Windows.Forms.ContextMenu();
     this.m_mnuItemCopy             = new System.Windows.Forms.MenuItem();
     this.m_mnuItemBrowseReflection = new System.Windows.Forms.MenuItem();
     this.m_bnOK                   = new System.Windows.Forms.Button();
     this.m_lvData                 = new System.Windows.Forms.ListView();
     this.m_lvCol_label            = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.m_lvCol_value            = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.listViewContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.copyToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStrip1               = new System.Windows.Forms.ToolStrip();
     this.toolStripButton1         = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton2         = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton3         = new System.Windows.Forms.ToolStripButton();
     this.m_printDialog            = new System.Windows.Forms.PrintDialog();
     this.m_printDocument          = new System.Drawing.Printing.PrintDocument();
     this.m_printPreviewDialog     = new System.Windows.Forms.PrintPreviewDialog();
     this.listViewContextMenuStrip.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // m_tvObjs
     //
     this.m_tvObjs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Left)));
     this.m_tvObjs.ContextMenu     = this.m_cntxMenuObjId;
     this.m_tvObjs.HideSelection   = false;
     this.m_tvObjs.Location        = new System.Drawing.Point(11, 38);
     this.m_tvObjs.Name            = "m_tvObjs";
     this.m_tvObjs.Size            = new System.Drawing.Size(248, 415);
     this.m_tvObjs.TabIndex        = 0;
     this.m_tvObjs.AfterSelect    += new System.Windows.Forms.TreeViewEventHandler(this.TreeNodeSelected);
     this.m_tvObjs.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeNodeSelected);
     //
     // m_cntxMenuObjId
     //
     this.m_cntxMenuObjId.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.m_mnuItemCopy,
         this.m_mnuItemBrowseReflection
     });
     //
     // m_mnuItemCopy
     //
     this.m_mnuItemCopy.Index  = 0;
     this.m_mnuItemCopy.Text   = "Copy";
     this.m_mnuItemCopy.Click += new System.EventHandler(this.ContextMenuClick_Copy);
     //
     // m_mnuItemBrowseReflection
     //
     this.m_mnuItemBrowseReflection.Index  = 1;
     this.m_mnuItemBrowseReflection.Text   = "Browse Using Reflection...";
     this.m_mnuItemBrowseReflection.Click += new System.EventHandler(this.ContextMenuClick_BrowseReflection);
     //
     // m_bnOK
     //
     this.m_bnOK.Anchor       = System.Windows.Forms.AnchorStyles.Bottom;
     this.m_bnOK.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.m_bnOK.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.m_bnOK.Location     = new System.Drawing.Point(364, 459);
     this.m_bnOK.Name         = "m_bnOK";
     this.m_bnOK.Size         = new System.Drawing.Size(75, 23);
     this.m_bnOK.TabIndex     = 2;
     this.m_bnOK.Text         = "OK";
     //
     // m_lvData
     //
     this.m_lvData.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.m_lvData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.m_lvCol_label,
         this.m_lvCol_value
     });
     this.m_lvData.ContextMenuStrip = this.listViewContextMenuStrip;
     this.m_lvData.FullRowSelect    = true;
     this.m_lvData.GridLines        = true;
     this.m_lvData.Location         = new System.Drawing.Point(284, 38);
     this.m_lvData.Name             = "m_lvData";
     this.m_lvData.Size             = new System.Drawing.Size(504, 415);
     this.m_lvData.TabIndex         = 3;
     this.m_lvData.UseCompatibleStateImageBehavior = false;
     this.m_lvData.View         = System.Windows.Forms.View.Details;
     this.m_lvData.Click       += new System.EventHandler(this.DataItemSelected);
     this.m_lvData.DoubleClick += new System.EventHandler(this.DataItemSelected);
     //
     // m_lvCol_label
     //
     this.m_lvCol_label.Text  = "Field";
     this.m_lvCol_label.Width = 200;
     //
     // m_lvCol_value
     //
     this.m_lvCol_value.Text  = "Value";
     this.m_lvCol_value.Width = 300;
     //
     // listViewContextMenuStrip
     //
     this.listViewContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.copyToolStripMenuItem
     });
     this.listViewContextMenuStrip.Name = "listViewContextMenuStrip";
     this.listViewContextMenuStrip.Size = new System.Drawing.Size(103, 26);
     //
     // copyToolStripMenuItem
     //
     this.copyToolStripMenuItem.Image  = global::RevitLookup.Properties.Resources.Copy;
     this.copyToolStripMenuItem.Name   = "copyToolStripMenuItem";
     this.copyToolStripMenuItem.Size   = new System.Drawing.Size(102, 22);
     this.copyToolStripMenuItem.Text   = "Copy";
     this.copyToolStripMenuItem.Click += new System.EventHandler(this.CopyToolStripMenuItem_Click);
     //
     // toolStrip1
     //
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButton1,
         this.toolStripButton2,
         this.toolStripButton3
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(800, 25);
     this.toolStrip1.TabIndex = 5;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image                 = global::RevitLookup.Properties.Resources.Print;
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name   = "toolStripButton1";
     this.toolStripButton1.Size   = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text   = "Print";
     this.toolStripButton1.Click += new System.EventHandler(this.PrintMenuItem_Click);
     //
     // toolStripButton2
     //
     this.toolStripButton2.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton2.Image                 = global::RevitLookup.Properties.Resources.Preview;
     this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton2.Name   = "toolStripButton2";
     this.toolStripButton2.Size   = new System.Drawing.Size(23, 22);
     this.toolStripButton2.Text   = "Print Preview";
     this.toolStripButton2.Click += new System.EventHandler(this.PrintPreviewMenuItem_Click);
     //
     // toolStripButton3
     //
     this.toolStripButton3.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton3.Image                 = global::RevitLookup.Properties.Resources.Copy;
     this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton3.Name   = "toolStripButton3";
     this.toolStripButton3.Size   = new System.Drawing.Size(23, 22);
     this.toolStripButton3.Text   = "Copy To Clipboard";
     this.toolStripButton3.Click += new System.EventHandler(this.ContextMenuClick_Copy);
     //
     // m_printDialog
     //
     this.m_printDialog.Document    = this.m_printDocument;
     this.m_printDialog.UseEXDialog = true;
     //
     // m_printDocument
     //
     this.m_printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.PrintDocument_PrintPage);
     //
     // m_printPreviewDialog
     //
     this.m_printPreviewDialog.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.m_printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.m_printPreviewDialog.ClientSize        = new System.Drawing.Size(400, 300);
     this.m_printPreviewDialog.Document          = this.m_printDocument;
     this.m_printPreviewDialog.Enabled           = true;
     this.m_printPreviewDialog.Icon    = ((System.Drawing.Icon)(resources.GetObject("m_printPreviewDialog.Icon")));
     this.m_printPreviewDialog.Name    = "m_printPreviewDialog";
     this.m_printPreviewDialog.Visible = false;
     //
     // ParamEnumSnoop
     //
     this.AcceptButton      = this.m_bnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.m_bnOK;
     this.ClientSize        = new System.Drawing.Size(800, 489);
     this.Controls.Add(this.toolStrip1);
     this.Controls.Add(this.m_bnOK);
     this.Controls.Add(this.m_tvObjs);
     this.Controls.Add(this.m_lvData);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(650, 200);
     this.Name          = "ParamEnumSnoop";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Snoop Built-In Parameters";
     this.listViewContextMenuStrip.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.GrpResult            = new System.Windows.Forms.GroupBox();
     this.LblPromotions        = new System.Windows.Forms.Label();
     this.LstCrossPromotions   = new System.Windows.Forms.ListView();
     this.ClmItemId            = new System.Windows.Forms.ColumnHeader();
     this.ClmTitle             = new System.Windows.Forms.ColumnHeader();
     this.ClmPrice             = new System.Windows.Forms.ColumnHeader();
     this.ClmPriceType         = new System.Windows.Forms.ColumnHeader();
     this.ClmListingType       = new System.Windows.Forms.ColumnHeader();
     this.BtnGetPromotionRules = new System.Windows.Forms.Button();
     this.LblCategory          = new System.Windows.Forms.Label();
     this.TxtItemId            = new System.Windows.Forms.TextBox();
     this.CboMethod            = new System.Windows.Forms.ComboBox();
     this.LblMethod            = new System.Windows.Forms.Label();
     this.LblStoreCat          = new System.Windows.Forms.Label();
     this.TxtStoreCat          = new System.Windows.Forms.TextBox();
     this.GrpResult.SuspendLayout();
     this.SuspendLayout();
     //
     // GrpResult
     //
     this.GrpResult.Controls.Add(this.LblPromotions);
     this.GrpResult.Controls.Add(this.LstCrossPromotions);
     this.GrpResult.Location = new System.Drawing.Point(8, 128);
     this.GrpResult.Name     = "GrpResult";
     this.GrpResult.Size     = new System.Drawing.Size(456, 296);
     this.GrpResult.TabIndex = 24;
     this.GrpResult.TabStop  = false;
     this.GrpResult.Text     = "Results";
     //
     // LblPromotions
     //
     this.LblPromotions.Location = new System.Drawing.Point(16, 24);
     this.LblPromotions.Name     = "LblPromotions";
     this.LblPromotions.Size     = new System.Drawing.Size(112, 23);
     this.LblPromotions.TabIndex = 15;
     this.LblPromotions.Text     = "Promotions:";
     //
     // LstCrossPromotions
     //
     this.LstCrossPromotions.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.LstCrossPromotions.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.ClmItemId,
         this.ClmTitle,
         this.ClmPrice,
         this.ClmPriceType,
         this.ClmListingType
     });
     this.LstCrossPromotions.GridLines = true;
     this.LstCrossPromotions.Location  = new System.Drawing.Point(8, 48);
     this.LstCrossPromotions.Name      = "LstCrossPromotions";
     this.LstCrossPromotions.Size      = new System.Drawing.Size(440, 232);
     this.LstCrossPromotions.TabIndex  = 4;
     this.LstCrossPromotions.View      = System.Windows.Forms.View.Details;
     //
     // ClmItemId
     //
     this.ClmItemId.Text  = "ItemId";
     this.ClmItemId.Width = 80;
     //
     // ClmTitle
     //
     this.ClmTitle.Text  = "Title";
     this.ClmTitle.Width = 135;
     //
     // ClmPrice
     //
     this.ClmPrice.Text  = "Price";
     this.ClmPrice.Width = 49;
     //
     // ClmPriceType
     //
     this.ClmPriceType.Text  = "Price Type";
     this.ClmPriceType.Width = 70;
     //
     // ClmListingType
     //
     this.ClmListingType.Text  = "Listing Type";
     this.ClmListingType.Width = 96;
     //
     // BtnGetPromotionRules
     //
     this.BtnGetPromotionRules.Location = new System.Drawing.Point(152, 88);
     this.BtnGetPromotionRules.Name     = "BtnGetPromotionRules";
     this.BtnGetPromotionRules.Size     = new System.Drawing.Size(128, 23);
     this.BtnGetPromotionRules.TabIndex = 23;
     this.BtnGetPromotionRules.Text     = "GetPromotionRules";
     this.BtnGetPromotionRules.Click   += new System.EventHandler(this.BtnGetPromotionRules_Click);
     //
     // LblCategory
     //
     this.LblCategory.Location = new System.Drawing.Point(104, 8);
     this.LblCategory.Name     = "LblCategory";
     this.LblCategory.Size     = new System.Drawing.Size(96, 23);
     this.LblCategory.TabIndex = 78;
     this.LblCategory.Text     = "Item Id:";
     //
     // TxtItemId
     //
     this.TxtItemId.Location = new System.Drawing.Point(200, 8);
     this.TxtItemId.Name     = "TxtItemId";
     this.TxtItemId.TabIndex = 77;
     this.TxtItemId.Text     = "";
     //
     // CboMethod
     //
     this.CboMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CboMethod.Location      = new System.Drawing.Point(200, 56);
     this.CboMethod.Name          = "CboMethod";
     this.CboMethod.Size          = new System.Drawing.Size(136, 21);
     this.CboMethod.TabIndex      = 87;
     //
     // LblMethod
     //
     this.LblMethod.Location = new System.Drawing.Point(104, 56);
     this.LblMethod.Name     = "LblMethod";
     this.LblMethod.Size     = new System.Drawing.Size(88, 18);
     this.LblMethod.TabIndex = 86;
     this.LblMethod.Text     = "Method:";
     //
     // LblStoreCat
     //
     this.LblStoreCat.Location = new System.Drawing.Point(104, 32);
     this.LblStoreCat.Name     = "LblStoreCat";
     this.LblStoreCat.Size     = new System.Drawing.Size(96, 23);
     this.LblStoreCat.TabIndex = 89;
     this.LblStoreCat.Text     = "Store Category:";
     //
     // TxtStoreCat
     //
     this.TxtStoreCat.Location = new System.Drawing.Point(200, 32);
     this.TxtStoreCat.Name     = "TxtStoreCat";
     this.TxtStoreCat.TabIndex = 88;
     this.TxtStoreCat.Text     = "";
     //
     // FrmGetPromotionRules
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(472, 437);
     this.Controls.Add(this.LblStoreCat);
     this.Controls.Add(this.TxtStoreCat);
     this.Controls.Add(this.CboMethod);
     this.Controls.Add(this.LblMethod);
     this.Controls.Add(this.LblCategory);
     this.Controls.Add(this.TxtItemId);
     this.Controls.Add(this.GrpResult);
     this.Controls.Add(this.BtnGetPromotionRules);
     this.Name  = "FrmGetPromotionRules";
     this.Text  = "GetPromotionRules";
     this.Load += new System.EventHandler(this.FrmGetPromotionRules_Load);
     this.GrpResult.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 59
-1
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent() {
			this.lvwFields = new System.Windows.Forms.ListView();
			this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
			this.SuspendLayout();
			// 
			// lvwFields
			// 
			this.lvwFields.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.lvwFields.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																						this.columnHeader1});
			this.lvwFields.FullRowSelect = true;
			this.lvwFields.HideSelection = false;
			this.lvwFields.Location = new System.Drawing.Point(0, 0);
			this.lvwFields.Name = "lvwFields";
			this.lvwFields.Size = new System.Drawing.Size(320, 200);
			this.lvwFields.TabIndex = 0;
			this.lvwFields.View = System.Windows.Forms.View.Details;
			// 
			// columnHeader1
			// 
			this.columnHeader1.Text = "Fields";
			this.columnHeader1.Width = 400;
			// 
			// ucPick_Fields
			// 
			this.Controls.Add(this.lvwFields);
			this.Name = "ucPick_Fields";
			this.Size = new System.Drawing.Size(320, 184);
			this.ResumeLayout(false);

		}
Esempio n. 60
-1
        private void AddLanguageToView(string addon_resource, string language, ListView list)
        {
            try
            {
                if (languages.ContainsKey(language))
                {
                    languages[language] = LoadPO(language, addon_resource);
                }
                else
                {
                    ColumnHeader[] ch = new ColumnHeader[] { new ColumnHeader() };

                    LanguageInfo lng = LoadPO(language, addon_resource);

                    languages.Add(language, lng);

                    ch[0].Text = string.Format("Translation({0})", lng.RevisionInfo["Language"].Replace(@"\n", ""));
                    ch[0].Width = list.Columns[2].Width;
                    list.Columns.AddRange(ch);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }