Exemplo n.º 1
0
 public void EditPartition(Model.PartitionArchive partitionArchive)
 {
     AddEditPartitionDialog.PartitionArchive = partitionArchive;
     AddEditPartitionDialog.EditMode         = true;
     AddEditPartitionDialog.Show(true);
     AddEditPartitionDialog.Partition = ServerPartition.Load(partitionArchive.ServerPartitionKey);
 }
Exemplo n.º 2
0
 public void AddPartition(ServerPartition partition)
 {
     // display the add dialog
     AddEditPartitionDialog.PartitionArchive = null;
     AddEditPartitionDialog.EditMode         = false;
     AddEditPartitionDialog.Show(true);
     AddEditPartitionDialog.Partition = partition;
 }