Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: Standard class library dll versus COM/COM+ libraries Pin
kikeman14-Apr-09 11:54
kikeman14-Apr-09 11:54 
GeneralRe: Standard class library dll versus COM/COM+ libraries Pin
Luc 64801114-Apr-09 12:21
Luc 64801114-Apr-09 12:21 
QuestionShare data between processes Pin
toprogramminguy14-Apr-09 9:03
toprogramminguy14-Apr-09 9:03 
QuestionSource Grid cell Focus Problem Pin
soulidentities14-Apr-09 8:12
soulidentities14-Apr-09 8:12 
AnswerRe: Source Grid cell Focus Problem Pin
buachaill cliste14-Apr-09 12:12
buachaill cliste14-Apr-09 12:12 
GeneralRe: Source Grid cell Focus Problem [modified] Pin
soulidentities14-Apr-09 15:53
soulidentities14-Apr-09 15:53 
GeneralRe: Source Grid cell Focus Problem Pin
a.hamidy14-Apr-09 18:06
a.hamidy14-Apr-09 18:06 
GeneralRe: Source Grid cell Focus Pin
buachaill cliste14-Apr-09 18:30
buachaill cliste14-Apr-09 18:30 
Sorry that was my fault Sniff | :^)
You must be using version 4;
try this way: Big Grin | :-D
void grid1_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                int row = grid1.Selection.ActivePosition.Row;
                textBox1.Text = row.ToString();
                int column = grid1.Selection.ActivePosition.Column;
                if (grid1.Selection.ActivePosition.Row == grid1.RowsCount - 1)
                //to check if you have reached the last cell in the column
                {
                    if (column == grid1.Columns.Count - 1)//checks if you have reached the last row in the last column
                    {
                        grid1.Selection.Focus(new SourceGrid.Position(1, 0), true);//selects the very first cell
                       
                    }
                    else grid1.Selection.Focus(new SourceGrid.Position(1, grid1.Selection.ActivePosition.Column + 1), true);//selects the first cell in the next column
                }
                        
                else 
                    grid1.Selection.MoveActiveCell(1, 0);
            }
        }

GeneralRe: Source Grid cell Focus [modified] Pin
soulidentities18-Apr-09 0:10
soulidentities18-Apr-09 0:10 
QuestionWindows Service Question Pin
E_Gold14-Apr-09 8:02
E_Gold14-Apr-09 8:02 
AnswerRe: Windows Service Question Pin
Le centriste14-Apr-09 8:52
Le centriste14-Apr-09 8:52 
AnswerRe: Windows Service Question Pin
#realJSOP14-Apr-09 9:06
mve#realJSOP14-Apr-09 9:06 
GeneralRe: Windows Service Question Pin
PIEBALDconsult14-Apr-09 17:55
mvePIEBALDconsult14-Apr-09 17:55 
GeneralRe: Windows Service Question Pin
#realJSOP15-Apr-09 0:34
mve#realJSOP15-Apr-09 0:34 
GeneralRe: Windows Service Question Pin
PIEBALDconsult15-Apr-09 4:32
mvePIEBALDconsult15-Apr-09 4:32 
AnswerRe: Windows Service Question Pin
Eddy Vluggen14-Apr-09 10:01
professionalEddy Vluggen14-Apr-09 10:01 
AnswerRe: Windows Service Question Pin
PIEBALDconsult14-Apr-09 17:54
mvePIEBALDconsult14-Apr-09 17:54 
QuestionProblem linking with C++ function Pin
Alan Balkany14-Apr-09 8:01
Alan Balkany14-Apr-09 8:01 
AnswerRe: Problem linking with C++ function Pin
Luc 64801114-Apr-09 8:12
Luc 64801114-Apr-09 8:12 
GeneralRe: Problem linking with C++ function Pin
Alan Balkany14-Apr-09 8:25
Alan Balkany14-Apr-09 8:25 
AnswerRe: Problem linking with C++ function Pin
Alan Balkany14-Apr-09 8:31
Alan Balkany14-Apr-09 8:31 
GeneralRe: Problem linking with C++ function Pin
Luc 64801114-Apr-09 8:42
Luc 64801114-Apr-09 8:42 
GeneralRe: Problem linking with C++ function Pin
Alan Balkany14-Apr-09 8:46
Alan Balkany14-Apr-09 8:46 
GeneralRe: Problem linking with C++ function Pin
Luc 64801114-Apr-09 9:36
Luc 64801114-Apr-09 9:36 
GeneralRe: Problem linking with C++ function Pin
Alan Balkany14-Apr-09 10:00
Alan Balkany14-Apr-09 10:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.