예제 #1
0
    void orderUpButtonClick(object sender, EventArgs e)
    {
        int i = argumentOrder.SelectedIndex;
        InstanceArgument temp = instance.ArgumentOrder[i];

        instance.ArgumentOrder[i]     = instance.ArgumentOrder[i - 1];
        instance.ArgumentOrder[i - 1] = temp;
        updateListBox();
        argumentOrder.SelectedIndex = i - 1;
        updateOrderButton();
        updateInstanceId();
    }
예제 #2
0
 public Instance(string id)
 {
     ArgumentOrder = new InstanceArgument[3];
     parseId(id);
 }
예제 #3
0
 public Instance(string id, string worldName)
 {
     ArgumentOrder = new InstanceArgument[3];
     parseId(id);
     this.WorldName = worldName;
 }