Exemple #1
0
 private void paste_grmu_executed(object sender, ExecutedRoutedEventArgs e)
 {
     if (_grmu != null)
     {
         pe_ip ip = e.Parameter as pe_ip;
         ip.paste_grmu(_grmu);
     }
     _grmu = null;
 }
Exemple #2
0
        private void add_grmu_executed(object sender, ExecutedRoutedEventArgs e)
        {
            pe_ip   ip   = e.Parameter as pe_ip;
            pe_grmu grmu = new pe_grmu {
                no_ip      = ip.no_ip,
                pe_grmu_id = hibernate_util.get_instance().generate_grmu_id()
            };

            _persistant_controller.add_child(ip, grmu);
        }