/// <summary> /// ´´½¨DataProNameShowBindʵÀý /// </summary> /// <returns></returns> public static DataProNameShowBind GetInstance(My_DataGridView DataGrid, bool IsCreate) { if (instance == null || instance.IsDisposed) { lock (_lock) { if (instance == null || instance.IsDisposed) { if (IsCreate) { instance = new DataProNameShowBind(DataGrid); } else { return(null); } } } } instance.Location = MousePosition; return(instance); }
private DataProNameShowBind(My_DataGridView DataGrid) { InitializeComponent(); datagrid = DataGrid; }