public SketchWindow() : base(Gtk.WindowType.Toplevel) { Build (); m_app = new App(); m_app.Refresh = this.Refresh; m_app.IsBusy = sketchcontrol1.IsBusy; sketchcontrol1.App = m_app; var advisor = new FrameAdvisor(m_app); advisor.Do(FrameAdvisor.Event.Loading); }
protected void OnGotoFirstActionActivated(object sender, EventArgs e) { var advisor = new FrameAdvisor(m_app); advisor.Do(FrameAdvisor.Event.GotoFirstFrame); }
protected void OnGoBackActionActivated(object sender, EventArgs e) { var advisor = new FrameAdvisor(m_app); advisor.Do(FrameAdvisor.Event.GotoPreviousFrame); }
protected void OnAddActionActivated(object sender, EventArgs e) { var advisor = new FrameAdvisor(m_app); advisor.Do(FrameAdvisor.Event.AddNewFrame); }
protected void OnRemoveActionActivated(object sender, EventArgs e) { var advisor = new FrameAdvisor(m_app); advisor.Do(FrameAdvisor.Event.DeleteSelectedFrame); }