예제 #1
0
        private void GridNew_Click(object sender, RoutedEventArgs e)
        {
            MoeinAdd add = new MoeinAdd();

            add.ShowDialog();
            LoadGrid();
        }
예제 #2
0
        private void BtnEdit_Click(object sender, RoutedEventArgs e)
        {
            Guid id = Guid.Empty;

            if (grdLoanInsurance.SelectedValue != null)
            {
                id = (grdLoanInsurance.SelectedValue as dynamic).ID;
                MoeinAdd edit = new MoeinAdd(id);
                edit.ShowDialog();
            }
        }