Пример #1
0
  private void InitializeComponent()
  {
   this.components = new System.ComponentModel.Container();
   this.contextMenuStripCopy = new SimContextMenu(this.components);
   this.toolStripMenuItemCopy = new System.Windows.Forms.ToolStripMenuItem();
   this.contextMenuStripCopy.SuspendLayout();
   this.SuspendLayout();
   // 
   // contextMenuStripCopy
   // 
   this.contextMenuStripCopy.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItemCopy});
   this.contextMenuStripCopy.Name = "contextMenuStrip1";
   this.contextMenuStripCopy.Size = new System.Drawing.Size(147, 26);
   this.contextMenuStripCopy.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.contextMenuStrip1_ItemClicked);
   // 
   // toolStripMenuItemCopy
   // 
   this.toolStripMenuItemCopy.Image = global::Sim.Controls.Properties.Resources.Copy;
   this.toolStripMenuItemCopy.Name = "toolStripMenuItemCopy";
   this.toolStripMenuItemCopy.ShortcutKeyDisplayString = "";
   this.toolStripMenuItemCopy.Size = new System.Drawing.Size(146, 22);
   this.toolStripMenuItemCopy.Text = "Копировать";
   // 
   // SimLabel
   // 
   this.ContextMenuStrip = this.contextMenuStripCopy;
   this.contextMenuStripCopy.ResumeLayout(false);
   this.ResumeLayout(false);

  }
Пример #2
0
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
			this.contextMenuStrip1 = new Sim.Controls.SimContextMenu(this.components);
			this.toolStripMenuItemCopy = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItemCopyCell = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItemSelectAll = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
			this.toolStripMenuItemFind = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItemCount = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
			this.toolStripMenuItemExport = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItemExportExcel = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItemExportCsv = new System.Windows.Forms.ToolStripMenuItem();
			this.contextMenuStrip1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
			this.SuspendLayout();
			// 
			// saveFileDialog1
			// 
			this.saveFileDialog1.RestoreDirectory = true;
			this.saveFileDialog1.Title = "¬ыберите файл дл¤ экспорта";
			// 
			// contextMenuStrip1
			// 
			this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
												this.toolStripMenuItemCopy,
												this.toolStripMenuItemCopyCell,
												this.toolStripMenuItemSelectAll,
												this.toolStripSeparator1,
												this.toolStripMenuItemFind,
												this.toolStripMenuItemCount,
												this.toolStripSeparator2,
												this.toolStripMenuItemExport});
			this.contextMenuStrip1.Name = "contextMenuStrip1";
			this.contextMenuStrip1.Size = new System.Drawing.Size(198, 148);
			this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening);
			// 
			// toolStripMenuItemCopy
			// 
			this.toolStripMenuItemCopy.Image = global::Sim.Controls.Properties.Resources.Copy;
			this.toolStripMenuItemCopy.Name = "toolStripMenuItemCopy";
			this.toolStripMenuItemCopy.ShortcutKeyDisplayString = "Ctrl - C";
			this.toolStripMenuItemCopy.Size = new System.Drawing.Size(197, 22);
			this.toolStripMenuItemCopy.Text = " опировать";
			this.toolStripMenuItemCopy.Click += new System.EventHandler(this.toolStripMenuItems_Click);
			// 
			// toolStripMenuItemCopyCell
			// 
			this.toolStripMenuItemCopyCell.Name = "toolStripMenuItemCopyCell";
			this.toolStripMenuItemCopyCell.Size = new System.Drawing.Size(197, 22);
			this.toolStripMenuItemCopyCell.Text = " опировать ¤чейку";
			this.toolStripMenuItemCopyCell.Click += new System.EventHandler(this.toolStripMenuItems_Click);
			// 
			// toolStripMenuItemSelectAll
			// 
			this.toolStripMenuItemSelectAll.Name = "toolStripMenuItemSelectAll";
			this.toolStripMenuItemSelectAll.ShortcutKeyDisplayString = "Ctrl - A";
			this.toolStripMenuItemSelectAll.Size = new System.Drawing.Size(197, 22);
			this.toolStripMenuItemSelectAll.Text = "¬ыделить все";
			this.toolStripMenuItemSelectAll.Click += new System.EventHandler(this.toolStripMenuItems_Click);
			// 
			// toolStripSeparator1
			// 
			this.toolStripSeparator1.Name = "toolStripSeparator1";
			this.toolStripSeparator1.Size = new System.Drawing.Size(194, 6);
			// 
			// toolStripMenuItemFind
			// 
			this.toolStripMenuItemFind.Image = global::Sim.Controls.Properties.Resources.Find;
			this.toolStripMenuItemFind.Name = "toolStripMenuItemFind";
			this.toolStripMenuItemFind.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
			this.toolStripMenuItemFind.Size = new System.Drawing.Size(197, 22);
			this.toolStripMenuItemFind.Text = "ѕоиск";
			this.toolStripMenuItemFind.Click += new System.EventHandler(this.toolStripMenuItems_Click);
			// 
			// toolStripMenuItemCount
			// 
			this.toolStripMenuItemCount.Name = "toolStripMenuItemCount";
			this.toolStripMenuItemCount.Size = new System.Drawing.Size(197, 22);
			this.toolStripMenuItemCount.Text = "„исло строк";
			this.toolStripMenuItemCount.Click += new System.EventHandler(this.toolStripMenuItems_Click);
			// 
			// toolStripSeparator2
			// 
			this.toolStripSeparator2.Name = "toolStripSeparator2";
			this.toolStripSeparator2.Size = new System.Drawing.Size(194, 6);
			// 
			// toolStripMenuItemExport
			// 
			this.toolStripMenuItemExport.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
												this.toolStripMenuItemExportExcel,
												this.toolStripMenuItemExportCsv});
			this.toolStripMenuItemExport.Image = global::Sim.Controls.Properties.Resources.ExportToFile;
			this.toolStripMenuItemExport.Name = "toolStripMenuItemExport";
			this.toolStripMenuItemExport.Size = new System.Drawing.Size(197, 22);
			this.toolStripMenuItemExport.Text = "Ёкспорт данных";
			// 
			// toolStripMenuItemExportExcel
			// 
			this.toolStripMenuItemExportExcel.Image = global::Sim.Controls.Properties.Resources.XLS;
			this.toolStripMenuItemExportExcel.Name = "toolStripMenuItemExportExcel";
			this.toolStripMenuItemExportExcel.Size = new System.Drawing.Size(196, 22);
			this.toolStripMenuItemExportExcel.Text = "Ёкспорт в файл Excel ";
			this.toolStripMenuItemExportExcel.Click += new System.EventHandler(this.toolStripMenuItems_Click);
			// 
			// toolStripMenuItemExportCsv
			// 
			this.toolStripMenuItemExportCsv.Image = global::Sim.Controls.Properties.Resources.CSV;
			this.toolStripMenuItemExportCsv.Name = "toolStripMenuItemExportCsv";
			this.toolStripMenuItemExportCsv.Size = new System.Drawing.Size(196, 22);
			this.toolStripMenuItemExportCsv.Text = "Ёкспорт в CSV файл";
			this.toolStripMenuItemExportCsv.Click += new System.EventHandler(this.toolStripMenuItems_Click);
			// 
			// SimDataGridView
			// 
			this.AllowUserToOrderColumns = true;
			this.AllowUserToResizeRows = false;
			this.AllowUserToAddRows = false;
			this.AllowUserToDeleteRows = false;
			this.BackgroundColor = System.Drawing.SystemColors.Window;
			this.ReadOnly = true;
			this.RowTemplate.Height = 18;
			this.ShowCellErrors = false;
			this.ShowEditingIcon = false;
			this.ShowRowErrors = false;
			this.contextMenuStrip1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this)).EndInit();
			this.ResumeLayout(false);

		}