Beispiel #1
0
        private void editContractButton_Click(object sender, RoutedEventArgs e)
        {
            Contract contract = new Contract();

            int row = contractDataGrid.SelectedIndex;
            int id  = Convert.ToInt32((contractDataGrid.Columns[0].GetCellContent(contractDataGrid.Items[row]) as TextBlock).Text);


            addContractWindow addContractWindow = new addContractWindow(contract);

            addContractWindow.Show();
        }
        private void editContractButton_Click(object sender, RoutedEventArgs e)
        {
            Contract contract = new Contract();

            int row = contractDataGrid.SelectedIndex;
            int id = Convert.ToInt32((contractDataGrid.Columns[0].GetCellContent(contractDataGrid.Items[row]) as TextBlock).Text);


            addContractWindow addContractWindow = new addContractWindow(contract);
            addContractWindow.Show();
        }
 private void addContractButton_Click(object sender, RoutedEventArgs e)
 {
     addContractWindow addContractWindow = new addContractWindow();
     addContractWindow.Show();
 }
Beispiel #4
0
        private void addContractButton_Click(object sender, RoutedEventArgs e)
        {
            addContractWindow addContractWindow = new addContractWindow();

            addContractWindow.Show();
        }