public DialogResult ShowProperties() { DialogResult result = DialogResult.Ignore; if (props != null) { props.Dispose(); } props = null; props = new frmProps(); ((frmProps)props).Activities = this; if (mapValue.ContainsKey("extension")) { ((frmProps)props).Extension = this.mapValue["extension"]; } if (mapValue.ContainsKey("gotolabel")) { ((frmProps)props).GotoLabel = this.mapValue["gotolabel"]; } result = props.ShowDialog(); return(result); }
public DialogResult ShowProperties() { DialogResult result = DialogResult.Ignore; if (props != null) { props.Dispose(); } props = null; props = new frmProps(); ((frmProps)props).Activities = this; result = props.ShowDialog(); return(result); }
public DialogResult ShowProperties() { DialogResult result = DialogResult.Ignore; if (props != null) { props.Dispose(); } props = null; props = new frmProps(); ((frmProps)props).Activities = this; ((frmProps)props).Description = lblDescription.Text; ((frmProps)props).PropertyResult = this.ActivityValue; result = props.ShowDialog(); return(result); }