예제 #1
0
 private void ArchiveGrid_RowHeaderDoubleClick(object sender, DevComponents.DotNetBar.SuperGrid.GridRowHeaderDoubleClickEventArgs e)
 {
     e.GridRow.Rows.Clear();
     using (SQLiteConnection conn = new SQLiteConnection(DataSourceManager.DataSource))
     {
         conn.Open();
         CreateReturnPanel(e, conn);
         CreateLendPanel(e, conn);
     }
 }
예제 #2
0
        /// <summary>
        /// Handles invocation of RowHeaderDoubleClick events
        /// </summary>
        internal bool DoRowHeaderDoubleClickEvent(GridContainer row, MouseEventArgs e)
        {
            if (RowHeaderDoubleClick != null)
            {
                GridRowHeaderDoubleClickEventArgs ev = new
                    GridRowHeaderDoubleClickEventArgs(row.GridPanel, row, e);

                RowHeaderDoubleClick(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }