/// <summary> /// Handles the Click event of the FileNewMenu control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> private void FileNewMenu_Click(object sender, EventArgs e) { var form = new ScanView(); Tabby.TabPages.Add(form); }
/// <summary> /// Handles the Click event of the ToolsScanMenu control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> private void ToolsScanMenu_Click(object sender, EventArgs e) { var form = new ScanView(); }