Esempio n. 1
0
        private void targethueGridView_CellEndEdit(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewCell cell = targethueGridView.Rows[e.RowIndex].Cells[e.ColumnIndex];

            if (e.ColumnIndex == 0)
            {
                cell.Value = Utility.FormatDatagridItemIDCell(cell);
            }
        }
Esempio n. 2
0
        private void graphfilterdatagrid_CellEndEdit(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewCell cell = graphfilterdatagrid.Rows[e.RowIndex].Cells[e.ColumnIndex];

            if (e.ColumnIndex == 3)
            {
                cell.Value = Utility.FormatDatagridColorGraphCell(cell);
            }
            else if (e.ColumnIndex == 1 || e.ColumnIndex == 2)
            {
                cell.Value = Utility.FormatDatagridItemIDCell(cell);
            }
            RazorEnhanced.Filters.CopyGraphTable();
        }
Esempio n. 3
0
        private void scavengerdataGridView_CellEndEdit(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewCell cell = scavengerdataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex];

            if (e.ColumnIndex == 3)
            {
                cell.Value = Utility.FormatDatagridColorCell(cell);
            }
            else if (e.ColumnIndex == 2)
            {
                cell.Value = Utility.FormatDatagridItemIDCell(cell);
            }

            RazorEnhanced.Scavenger.CopyTable();
        }
Esempio n. 4
0
        private void vendorsellGridView_CellEndEdit(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewCell cell = vendorsellGridView.Rows[e.RowIndex].Cells[e.ColumnIndex];

            if (e.ColumnIndex == 4)
            {
                cell.Value = Utility.FormatDatagridColorCell(cell);
            }
            else if (e.ColumnIndex == 3)
            {
                cell.Value = Utility.FormatDatagridAmountCell(cell, false);
            }
            else if (e.ColumnIndex == 2)
            {
                cell.Value = Utility.FormatDatagridItemIDCell(cell);
            }
            RazorEnhanced.SellAgent.CopyTable();
        }