资源简介

DataGridViewContextMenuSample (DataGridView加入右鍵選單)

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DataGridViewContextMenuSample
{
    public partial class Form1 : Form
    {
        DataSet dsBERT;
        DataTable dtCustomer;
        BindingSource bsCustomer;

        private ContextMenuStrip contextMenu;//宣告一個右鍵選單的物件
        private ToolStripMenuItem toolstrip = new ToolStripMenuItem();//宣告一個選單item物件

        #region -- Public Methods --
        public Form1()
        {
            InitializeComponent();
            toolstrip.Click += new EventHandler(toolstrip_Click);
        }         
        #endregion

        #region -- Private

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      60777  2016-06-26 23:15  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\2016-06-26_23-15-04.png

     文件        187  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\App.config

     文件      11776  2016-06-26 23:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\bin\Debug\DataGridViewContextMenuSample.exe

     文件        187  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\bin\Debug\DataGridViewContextMenuSample.exe.config

     文件      24064  2016-06-26 23:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\bin\Debug\DataGridViewContextMenuSample.pdb

     文件      24224  2016-06-29 17:16  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\bin\Debug\DataGridViewContextMenuSample.vshost.exe

     文件        187  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\bin\Debug\DataGridViewContextMenuSample.vshost.exe.config

     文件        490  2015-10-30 15:19  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\bin\Debug\DataGridViewContextMenuSample.vshost.exe.manifest

     文件       3838  2016-06-26 18:56  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\DataGridViewContextMenuSample.csproj

     文件       5369  2016-06-26 23:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Form1.cs

     文件       2515  2016-06-26 19:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Form1.Designer.cs

     文件       5817  2016-06-26 19:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Form1.resx

     文件       1649  2016-06-29 17:16  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\DataGridViewContextMenuSample.csproj.FileListAbsolute.txt

     文件        977  2016-06-26 23:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\DataGridViewContextMenuSample.csproj.GenerateResource.Cache

     文件      11776  2016-06-26 23:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\DataGridViewContextMenuSample.exe

     文件        180  2016-06-26 23:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\DataGridViewContextMenuSample.Form1.resources

     文件      24064  2016-06-26 23:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\DataGridViewContextMenuSample.pdb

     文件        180  2016-06-26 23:13  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\DataGridViewContextMenuSample.Properties.Resources.resources

     文件        865  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7323  2016-06-29 17:16  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件        544  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Program.cs

     文件       1396  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Properties\AssemblyInfo.cs

     文件       2945  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Properties\Resources.Designer.cs

     文件       5612  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Properties\Resources.resx

     文件       1116  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Properties\Settings.Designer.cs

     文件        249  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample\Properties\Settings.settings

     文件       1056  2016-06-26 18:52  DataGridViewContextMenuSample (DataGridView加入右鍵選單)\DataGridViewContextMenuSample.sln

............此处省略12个文件信息

评论

共有 条评论