public static FileGroupPropertiesDialog NewPropertiesDialog(FileGroup group, Form parentForm)
        {
            FileGroupPropertiesDialog fileGroupPropertiesDialog = new FileGroupPropertiesDialog(group, group.Text + " File Properties", "OK", parentForm);

            fileGroupPropertiesDialog.CreateControls(group);
            return(fileGroupPropertiesDialog);
        }
Example #2
0
 public override void DoPropertiesDialog(Form parentForm, string activeTabName)
 {
     using (FileGroupPropertiesDialog fileGroupPropertiesDialog = FileGroupPropertiesDialog.NewPropertiesDialog(this, parentForm))
     {
         fileGroupPropertiesDialog.SetActiveTab(activeTabName);
         if (fileGroupPropertiesDialog.ShowDialog() == DialogResult.OK)
         {
             UpdateSettings(fileGroupPropertiesDialog);
             ServerTree.Instance.OnNodeChanged(this, ChangeType.PropertyChanged);
         }
     }
 }