User Profile

Collapse

Profile Sidebar

Collapse
falcon eyes
falcon eyes
Last Activity: Feb 4 '12, 12:44 PM
Joined: Dec 31 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • GetBindingExpression(TextBox.TextProperty) issue

    Hi every Body
    I'm coding a Phone book manger C# WPF application,it consist of a data grid which is bind to observal collection
    one of the data grid columnis is DataGridTemplat eColumn,in edit mode it's consist of a text box and list box as below
    Code:
    [LEFT]
    <DataGridTemplateColumn.CellEditingTemplate>
    <DataTemplate>
      <StackPanel>
         <DockPanel  Style="{StaticResource DockPanstyle}">[/]
    ...
    See more | Go to post

  • falcon eyes
    started a topic Pls Help copying files prob

    Pls Help copying files prob

    Hi every one
    I have wrote a program to backup a selected folders to another place and it works fine,but there's an issue and it's during the copy process i can't interact with the application
    until it's finished from copying for example i can't exit the application or press any button or even moving the application window,so if any one has a solution for this issue i will be appreciate;
    See more | Go to post

  • falcon eyes
    replied to Window_Closing problem in WPF_C#
    Hey people i have found the answer why "The MessgeBoxCustom ized window doesn't work only in window closing event handler" in stackoverflow forum and here's the context literal

    "The Closing event cannot be canceled if you call Application.Cur rent.Shutdown() . Just call the Window.Close() method instead, which will give you a chance to veto the close operation. Once all your program's windows have closed the application...
    See more | Go to post

    Leave a comment:


  • falcon eyes
    replied to Window_Closing problem in WPF_C#
    I'm stepped through the code and the same result "The MessgeBoxCustom ized window doesn't work only in window closing event handler" and really don't know why and
    I'm fraud about the problem by canceling window closing event handler and created a new fun called Terminate and created a custom command "Exit" and call the Terminate fun from within it
    Code:
    void exitCmdBinding_Executed(object sender, ExecutedRoutedEventArgs
    ...
    See more | Go to post

    Leave a comment:


  • falcon eyes
    replied to Window_Closing problem in WPF_C#
    GaryTexmo
    the MessageBoxResul t.Cancel never reached cause the MessagBoxCustom ized window doesn't appear in case of MessageBoxButto n.YesNoCancel

    i had stepped my code as u suggested and i made a break at the Fn
    public static MessageBoxResul t Show(string msg, string title, MessageBoxButto n butsta)
    if i made butsta=YesNo then every thing is fine and it work,but if i made butsta=YesNoCan cel the step work fine untill reach...
    See more | Go to post

    Leave a comment:


  • falcon eyes
    replied to Window_Closing problem in WPF_C#
    I did what u suggested and the result of mbr.tostring()w as the name of the button i pressed i.e if i press button yes then mbr is "yes", if i pressed No Button mbr is "No"
    See more | Go to post

    Leave a comment:


  • falcon eyes
    started a topic Window_Closing problem in WPF_C#

    Window_Closing problem in WPF_C#

    Hi every body
    i have devoloped a custom MessageBox Class to use it in other application,as below
    Code:
     public partial class MessageBoxCustomized : Window
        {
    
           static MessageBoxResult _msgboxresult;
            public MessageBoxCustomized()
            {
                InitializeComponent();
                _msgboxresult = MessageBoxResult.None;
                Owner = Application.Current.MainWindow;
    ...
    See more | Go to post

  • but the DataGridViewCom boBoxColumn doesn't have a function or property with the name "SelectedIt em"
    See more | Go to post

    Leave a comment:


  • falcon eyes
    started a topic Problem with DataGridViewComboBoxColumn

    Problem with DataGridViewComboBoxColumn

    Hi Everyone
    I wrote an application for bank account manger with C# and i have data grid view with DataGridViewCom boBoxColumn, and i want to populate it with enum variable has three value.
    the question is
    how to perform that and how to obtain the selected item from the combobox column?
    See more | Go to post
No activity results to display
Show More
Working...