Ejemplo n.º 1
0
 public void SetLimit(int ordinal, Model.Column column)
 {
     if (IsHost)
     {
         if (column != null)
         {
             var col = new SetLimitWindow(Controller, Email, ordinal, column.Limit.ToString());
             col.ShowDialog();
             ReLoad();
         }
         else
         {
             MessageBox.Show("Please select column!");
         }
     }
     else
     {
         MessageBox.Show("You are not the host of this board!");
     }
 }
Ejemplo n.º 2
0
 public void ChangeName(int ordinal, Model.Column column)
 {
     if (IsHost)
     {
         if (column != null)
         {
             var col = new ReNameWindow(Controller, Email, ordinal, column.Name);
             col.ShowDialog();
             ReLoad();
         }
         else
         {
             MessageBox.Show("Please select column!");
         }
     }
     else
     {
         MessageBox.Show("You are not the host of this board!");
     }
 }