private void HandleToolAdded(object sender, ToolEventArgs e) { var button = new CommandMapToolButton(e.Tool); if (tools1.Children.Length <= tools2.Children.Length) { tools1.PackStart(button); } else { tools2.PackStart(button); } }
private void HandleToolAdded(object sender, ToolEventArgs e) { var button = new CommandMapToolButton (e.Tool); if(tools1.Children.Length <= tools2.Children.Length) { tools1.PackStart (button); } else { tools2.PackStart (button); } }