public Toolbar(Form mainForm, ImageHub imageHub, ImageHandler imageHandler) { m_MainForm = mainForm; m_ImageHub = imageHub; m_ImageHandler = imageHandler; AddAdjustmentComponents(); m_MainForm.Controls.Find("Undo", true)[0].Enabled = false; }
private void InitComponents() { m_ImageHandler = new ImageHandler(); m_ImageHub = new ImageHub(this, m_ImageHandler); m_Toolbar = new Toolbar(this, m_ImageHub, m_ImageHandler); }