Esempio n. 1
0
 void gridStockTx_Click(object sender, EventArgs e)
 {
     if (BLLDevControlHelper.ClickGridCheckBox(this.gridStockTx, "IsProcessed", m_checkStatus))
     {
         m_checkStatus = !m_checkStatus;
     }
 }
Esempio n. 2
0
 void gridStockTX2_Click(object sender, EventArgs e)
 {
     if (BLLDevControlHelper.ClickGridCheckBox(this.gridStockTX2, "Check", m_checkStatus2))
     {
         m_checkStatus = !m_checkStatus;
     }
 }
Esempio n. 3
0
 void gridStockTx_CustomDrawColumnHeader(object sender, DevExpress.XtraGrid.Views.Grid.ColumnHeaderCustomDrawEventArgs e)
 {
     if (e.Column != null && e.Column.FieldName == "IsProcessed")
     {
         e.Column.ColumnEdit = new RepositoryItemCheckEdit();
         e.Info.InnerElements.Clear();
         e.Painter.DrawObject(e.Info);
         BLLDevControlHelper.DrawCheckBox(e, m_checkStatus);
         e.Handled = true;
     }
 }