public ToolImage() : base(typeof(ImageUI)) { instance = this; ui = uistate as ImageUI; }
public ImageUI(UserInterface ui) : base(ui) { instance = this; }