Click here to Skip to main content
15,895,667 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Simple question about button on windows forms Pin
Giorgi Dalakishvili11-Sep-07 3:09
mentorGiorgi Dalakishvili11-Sep-07 3:09 
QuestionDatagrid ID value Automatic [modified] Pin
somagunasekaran10-Sep-07 3:29
somagunasekaran10-Sep-07 3:29 
QuestionHow to Delete the Datagrid Row Pin
somagunasekaran9-Sep-07 21:56
somagunasekaran9-Sep-07 21:56 
QuestionDataGrid control WinFroms Pin
somagunasekaran9-Sep-07 17:39
somagunasekaran9-Sep-07 17:39 
AnswerRe: DataGrid control WinFroms Pin
John_Adams30-Apr-08 22:45
John_Adams30-Apr-08 22:45 
QuestionHow to change a panel's controls from another form? Pin
DogMa3x7-Sep-07 11:59
DogMa3x7-Sep-07 11:59 
QuestionMultiple Forms Subscribing to the same event/data? Pin
basi00147-Sep-07 6:57
basi00147-Sep-07 6:57 
GeneralCrystal Reports ButtonTranslate Method Pin
Juan Pablo G.C.6-Sep-07 22:48
Juan Pablo G.C.6-Sep-07 22:48 
This is a bit help for the people who needs to translate the tooltip text of the CRviewer buttons and the dropdown text of this, here it is:

<br />
public void Translate(CrystalDecisions.Windows.Forms.CrystalReportViewer cr)<br />
        {<br />
            foreach (Control control in cr.Controls)<br />
            {<br />
                if (control.GetType() == typeof(System.Windows.Forms.ToolStrip))<br />
                {<br />
                    foreach (ToolStripItem item in ((ToolStrip)control).Items)<br />
                    {<br />
                        switch (item.ToolTipText)<br />
                        {<br />
                            case "Export Report":<br />
                                item.ToolTipText = "Exportar Informe";<br />
                                break;<br />
                            case "Print Report":<br />
                                item.ToolTipText = "Imprimir Informe";<br />
                                break;<br />
                            case "Refresh":<br />
                                item.ToolTipText = "Actualizar";<br />
                                break;<br />
                            case "Toggle Group Tree":<br />
                                item.ToolTipText = "Agrupar";<br />
                                break;<br />
                            case "Go to First Page":<br />
                                item.ToolTipText = "Ir a primera pagina";<br />
                                break;<br />
                            case "Go to Previous Page":<br />
                                item.ToolTipText = "Ver pagina anterior";<br />
                                break;<br />
                            case "Go to Next Page":<br />
                                item.ToolTipText = "Ver pagina siguiente";<br />
                                break;<br />
                            case "Go to Last Page":<br />
                                item.ToolTipText = "Ver ultima pagina";<br />
                                break;<br />
                            case "Go to Page":<br />
                                item.ToolTipText = "Ver pagina";<br />
                                break;<br />
                            case "Close Current View":<br />
                                item.ToolTipText = "Cerrar Informe";<br />
                                break;<br />
                            case "Find Text":<br />
                                item.ToolTipText = "Buscar texto";<br />
                                break;<br />
                            case "Zoom":<br />
                                ((ToolStripDropDownButton)item).DropDownItems[0].Text = "Al Ancho";<br />
                                ((ToolStripDropDownButton)item).DropDownItems[1].Text = "Pagina Completa";<br />
                                ((ToolStripDropDownButton)item).DropDownItems[10].Text = "Personalizar...";<br />
                                item.ToolTipText = "Aumentar";<br />
                                break;<br />
                            default:<br />
                                break;<br />
                        }<br />
                    }<br />
                }<br />
            }<br />
        }<br />
<br />


I hope you find it useful, due to the other way is coding the buttons,D'Oh! | :doh:

Juan Pablo G.C.
Overrider Blog


GeneralRe: Crystal Reports ButtonTranslate Method Pin
Chetan Patel7-Sep-07 2:44
Chetan Patel7-Sep-07 2:44 
QuestionError on file.copy Pin
samerh6-Sep-07 21:30
samerh6-Sep-07 21:30 
AnswerRe: Error on file.copy Pin
Chetan Patel7-Sep-07 2:41
Chetan Patel7-Sep-07 2:41 
AnswerRe: Error on file.copy Pin
Scott Dorman7-Sep-07 4:57
professionalScott Dorman7-Sep-07 4:57 
QuestionDropdown list event in Windows forms (.NET 2.0) Pin
Subrahmanyam K6-Sep-07 1:45
Subrahmanyam K6-Sep-07 1:45 
Questionundo Pin
ellllllllie5-Sep-07 4:38
ellllllllie5-Sep-07 4:38 
AnswerRe: undo Pin
Dave Kreskowiak5-Sep-07 5:23
mveDave Kreskowiak5-Sep-07 5:23 
AnswerRe: undo Pin
Pete O'Hanlon5-Sep-07 12:12
mvePete O'Hanlon5-Sep-07 12:12 
GeneralRe: undo Pin
Paul Conrad26-Sep-07 16:16
professionalPaul Conrad26-Sep-07 16:16 
QuestionWinForms Applications connected to databases best practices Pin
Marcosm644-Sep-07 15:24
Marcosm644-Sep-07 15:24 
AnswerRe: WinForms Applications connected to databases best practices Pin
Giorgi Dalakishvili4-Sep-07 20:50
mentorGiorgi Dalakishvili4-Sep-07 20:50 
GeneralRe: WinForms Applications connected to databases best practices Pin
Marcosm645-Sep-07 9:02
Marcosm645-Sep-07 9:02 
QuestionMore trouble with tool tips... Pin
chaiguy13374-Sep-07 15:08
chaiguy13374-Sep-07 15:08 
QuestionGet the folder path Pin
vimal_yet4-Sep-07 1:16
vimal_yet4-Sep-07 1:16 
AnswerRe: Get the folder path Pin
Spacix One4-Sep-07 10:43
Spacix One4-Sep-07 10:43 
QuestionDropdown column in Datagrid Pin
André Stroebel4-Sep-07 0:09
André Stroebel4-Sep-07 0:09 
AnswerRe: TreeView Navigation Pin
Giorgi Dalakishvili2-Sep-07 10:02
mentorGiorgi Dalakishvili2-Sep-07 10:02 

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.