コード例 #1
0
 private void AddBusiness(object sender, RoutedEventArgs e)
 {
     StatusRow.Title                   = "AddBuisness";
     businessAddEditWindow             = new BusinessAddEditWindow(this);
     businessAddEditWindow.DataContext = null;
     BusinessListView.SelectedItem     = null;
     businessAddEditWindow.ShowDialog();
 }
コード例 #2
0
        private void editBusiness(object sender, MouseButtonEventArgs e)
        {
            Business rc = BusinessListView.SelectedItem as Business;


            if (rc != null)
            {
                StatusRow.Title       = "EditBuisness";
                businessAddEditWindow = new BusinessAddEditWindow(this);
                businessAddEditWindow.ShowDialog();
            }
        }