예제 #1
0
        private void OnAddClick(object sender, EventArgs e)
        {
            Item obj = new Item();

            if (ItemForm.ShowForm(obj))
            {
                this.LoadListData(obj);
            }
        }
예제 #2
0
        private void OnOpenClick(object sender, EventArgs e)
        {
            Item obj = this.GetSelected();

            if (obj != null)
            {
                obj.RefershData();
            }

            if (ItemForm.ShowForm(obj))
            {
                this.LoadListData(obj);
            }
        }