MessageBox

shnapsi

New member
MessageBox

היי מישהו יודע איך אני יכול לעשות שהכתיבה של ההודעה ב-MessageBox תיהיה מימין לשמאל (ב-#C)? תודה
 

ekampf

New member
בשביל מה יש MSDN

By default, a message box appears with left-to-right reading order. You can create messages boxes with right-to-left reading order and mirroring by passing certain parameters when you display the message box. To create bi-directional message boxes Call the MessageBox class's Show method, and in the options parameter, pass the logical OR combination of the RtlReading and RightAlign members of the MessageBoxOptions enumeration. (The RightAlign member makes sure that wrapped text is aligned properly.) Note The captions of buttons on the message box (such as "OK") are established by the Windows system locale, and you cannot set these during the call. The following example shows how to display a message box with right-to-left reading order and mirroring: // C# MessageBox.Show("Text", "Caption", MessageBoxButtons.OK, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign);
 

shnapsi

New member
בעיה מוזרה עם ה-MainMenu

היי, יש לי MainMenu שה-ITEM -ים שלו בעברית וסידרתי אותם שיהיו מימין לשמאל, אך יש לי בעיה מוזרה שכשהפורם עולה הם באמת עומדים בצד ימין של המסך אך לא בסדר הנכון ורק כשהפוקוס עליהם הם חוזרים לסדר הנכון. מישהו יודע איך אפשר לפתור את זה??? תודה
 

gilad g

New member
בעיה ידועה,

אך לצערי אין לה פתרון
אם תמצא, תאמר לי - אני מחפש כבר כמה זמן
 

yokd

New member
אפשר לראות דוגמא תפריט

אודה לך אם תצרף דוגמא של התפריט שלך
 

shnapsi

New member
שאלה לגבי שינוי DATASOURCE

היי, יש לי DATAGRID ואני רוצה שה-DATAGRID יציג לי נתונים מטבלאות שונות כאשר את שם ה-DataAdapter ו-dataSource אני קובע בעת לחיצה על RADIOBUTTON. הבעיה היא שכשאני מחליף טבלה אני מקבל את ה-+ המעצבן הזה שרק בלחיצה עליו אני מקבל את הטבלה החדשה שלי. איך אני יכול להחליף את הטבלה המוצגת מבלי לקבל את ה-+ הזה?? תודה
 
למעלה