Example #1
0
        private void SuppierGroupModify_Click(object sender, EventArgs e)
        {
            Form fse = new FormSupplierEdit(false, m_supplierGroupPkey, false, 0);

            fse.ShowDialog();
            refreshTreeView();
        }
Example #2
0
        private void add_Click(object sender, EventArgs e)
        {
            Form fse = new FormSupplierEdit(true, m_supplierGroupPkey);

            fse.ShowDialog();

            refreshTreeView();
            updateDataGridView(getCurrentNodeAllChildNodesSupplier());
        }
Example #3
0
        private void modify_Click(object sender, EventArgs e)
        {
            if (m_currentDataGridViedRecordPkey != 0)
            {
                Form fse = new FormSupplierEdit(false, m_supplierGroupPkey, true, m_currentDataGridViedRecordPkey);
                fse.ShowDialog();

                updateDataGridView(getCurrentNodeAllChildNodesSupplier());
            }
        }
Example #4
0
        private void add_Click(object sender, EventArgs e)
        {
            if (this.treeViewSupplierOrg.SelectedNode.Nodes.Count > 0)
            {
                m_supplierGroupPkey = Convert.ToInt32(this.treeViewSupplierOrg.SelectedNode.Name.ToString());
            }
            else
            {
                m_supplierGroupPkey = 0;
            }

            Form fse = new FormSupplierEdit(m_supplierGroupPkey);

            fse.ShowDialog();
        }