コード例 #1
0
ファイル: Main.cs プロジェクト: TwoRedCells/SlideScan
        /// <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);
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: TwoRedCells/SlideScan
 /// <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();
 }