public static void ShowDialog(object item) { using (PropertiesDialog dialog = new PropertiesDialog(item)) { dialog.ShowDialog(); } }
private void userPropertiesToolStripMenuItem_Click(object sender, EventArgs e) { PropertiesDialog.ShowDialog(_currentUser); }
private void projectPropertiesToolStripMenuItem_Click(object sender, EventArgs e) { PropertiesDialog.ShowDialog(_selectedProject); }
private void issuePropertiesToolStripMenuItem_Click(object sender, EventArgs e) { PropertiesDialog.ShowDialog(_selectedIssue); }