コード例 #1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Equipment          ec  = (sender as Button).Tag as Equipment;
            EquipmentAddWindow eaw = new EquipmentAddWindow(ec);

            eaw.ShowDialog();
        }
コード例 #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Equipment          new_ec = new Equipment();
            EquipmentAddWindow eaw    = new EquipmentAddWindow(new_ec);

            eaw.ocec = ecs;
            eaw.ShowDialog();
        }