public void NewIRA(DataRow row) { IraWorkItem item = this.WorkItem.Items.AddNew <IraWorkItem>(); item.RootForm.Show(DeklaritMode.Insert, row, false); item.Terminate(); this.WorkItem.Activate(); }
public void NewIRA(DataRow row) { IraWorkItem item = this.WorkItem.Items.AddNew <IraWorkItem>(); if (row.Table.Columns.Contains("IDDOKUMENT")) { row.Table.Columns["IDDOKUMENT"].ExtendedProperties["AddColumnName"] = "IRADOKIDDOKUMENT"; } item.RootForm.Show(DeklaritMode.Insert, row, false); item.Terminate(); this.WorkItem.Activate(); }