示例#1
0
        private void buttonAddTablePart_Click(object sender, EventArgs e)
        {
            TablePartForm tablePartForm = new TablePartForm();

            tablePartForm.CallBack = CallBack_Update_TablePart;
            tablePartForm.CallBack_IsExistTablePartName = CallBack_IsExistTablePartName;
            tablePartForm.Show();
        }
示例#2
0
        private void listBoxTabularParts_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (listBoxTabularParts.SelectedItem != null)
            {
                TablePartForm tablePartForm = new TablePartForm();
                tablePartForm.ConfDirectoryTablePart = ConfDocument.TabularParts[listBoxTabularParts.SelectedItem.ToString()];
                tablePartForm.CallBack = CallBack_Update_TablePart;
                tablePartForm.CallBack_IsExistTablePartName = CallBack_IsExistTablePartName;

                tablePartForm.Show();
            }
        }