Ejemplo n.º 1
0
 public Modification_Element_Edit_Dialog(Amino_Acid_Edit_Dialog aaed, MainWindow mainW)
 {
     this.aaed  = aaed;
     this.mainW = mainW;
     InitializeComponent();
     this.element_listView.ItemsSource = mainW.elements;
 }
Ejemplo n.º 2
0
        private void Edit_Amino_Acid_btn_clk(object sender, RoutedEventArgs e)
        {
            Amino_Acid selected_aa = this.aa_listView.SelectedItem as Amino_Acid;

            if (selected_aa == null)
            {
                MessageBox.Show(Message_Helper.AA_Selected_NULL_Message);
                return;
            }
            Amino_Acid_Edit_Dialog eaad = new Amino_Acid_Edit_Dialog(this, selected_aa);

            eaad.ShowDialog();
        }