private void buttonAddTablePart_Click(object sender, EventArgs e) { TablePartForm tablePartForm = new TablePartForm(); tablePartForm.CallBack = CallBack_Update_TablePart; tablePartForm.CallBack_IsExistTablePartName = CallBack_IsExistTablePartName; tablePartForm.Show(); }
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(); } }