Beispiel #1
0
 private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
 {
     using (装修Form form = new 装修Form())
     {
         form.ShowDialog(this);
     }
 }
Beispiel #2
0
        private void EditItem()
        {
            ObjectView <装修明细> view = 装修明细BindingSource.Current as ObjectView <装修明细>;

            if (view != null && view.Object != null)
            {
                using (装修Form form = new 装修Form(view.Object))
                {
                    form.ShowDialog(this);
                }
            }
        }