public ResourceControlBar() { Layout = Gtk.ButtonBoxStyle.Start; Spacing = 10; AddResourceButton = new AddResourceButton (); RemoveResourceButton = new RemoveResourceButton (); FilterEntry = new Gtk.Entry (); AddResourceButton.Clicked += (sender, e) => OnAddResource (this, e); RemoveResourceButton.Clicked += (sender, e) => OnRemoveResource (this, e); PackStart (AddResourceButton, false, false, 10); PackStart (RemoveResourceButton, false, false, 10); PackEnd (FilterEntry); }
public ResourceControlBar() { Layout = Gtk.ButtonBoxStyle.Start; Spacing = 10; AddResourceButton = new AddResourceButton(); RemoveResourceButton = new RemoveResourceButton(); FilterEntry = new Gtk.Entry(); AddResourceButton.Clicked += (sender, e) => OnAddResource(this, e); RemoveResourceButton.Clicked += (sender, e) => OnRemoveResource(this, e); PackStart(AddResourceButton, false, false, 10); PackStart(RemoveResourceButton, false, false, 10); PackEnd(FilterEntry); }