Beispiel #1
0
 public ToolBar2xButtonBase(Icon img, ToolBar2x parent)
 {
     this.parent = parent;
     this.img = img;
     MakeGrayScaleImage();
 }
Beispiel #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.mainMenu = new System.Windows.Forms.MainMenu(this.components);
     this.menuItemFile = new System.Windows.Forms.MenuItem();
     this.menuItemPageSetup = new System.Windows.Forms.MenuItem();
     this.menuItemPrintPreview = new System.Windows.Forms.MenuItem();
     this.menuItemPrint = new System.Windows.Forms.MenuItem();
     this.menuItemExit = new System.Windows.Forms.MenuItem();
     this.menuItemEdit = new System.Windows.Forms.MenuItem();
     this.menuItemTools = new System.Windows.Forms.MenuItem();
     this.menuItemOptions = new System.Windows.Forms.MenuItem();
     this.menuItemLanguages = new System.Windows.Forms.MenuItem();
     this.menuItemTransferDataBase = new System.Windows.Forms.MenuItem();
     this.menuItemWindows = new System.Windows.Forms.MenuItem();
     this.menuItemImagesExplorer = new System.Windows.Forms.MenuItem();
     this.menuItemDisksExporer = new System.Windows.Forms.MenuItem();
     this.menuItemItemPreview = new System.Windows.Forms.MenuItem();
     this.menuItemHelp = new System.Windows.Forms.MenuItem();
     this.menuItemAbout = new System.Windows.Forms.MenuItem();
     this.mainImageList16x16 = new System.Windows.Forms.ImageList(this.components);
     this.statusBar1 = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanelMemory = new System.Windows.Forms.StatusBarPanel();
     this.timer = new System.Windows.Forms.Timer(this.components);
     this.imageListCatalog = new System.Windows.Forms.ImageList(this.components);
     this.dockPanel = new WeifenLuo.WinFormsUI.DockPanel();
     this.toolBar2x1 = new DisksDB.UserInterface.ToolBar.ToolBar2x();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelMemory)).BeginInit();
     this.SuspendLayout();
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItemFile,
     this.menuItemEdit,
     this.menuItemTools,
     this.menuItemWindows,
     this.menuItemHelp});
     //
     // menuItemFile
     //
     this.menuItemFile.Index = 0;
     this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItemPageSetup,
     this.menuItemPrintPreview,
     this.menuItemPrint,
     this.menuItemExit});
     this.menuItemFile.Text = "File";
     //
     // menuItemPageSetup
     //
     this.menuItemPageSetup.Index = 0;
     this.menuItemPageSetup.Text = "Page Setup...";
     this.menuItemPageSetup.Click += new System.EventHandler(this.PageSetup);
     //
     // menuItemPrintPreview
     //
     this.menuItemPrintPreview.Index = 1;
     this.menuItemPrintPreview.Text = "Print Preview...";
     this.menuItemPrintPreview.Click += new System.EventHandler(this.PrintPreview);
     //
     // menuItemPrint
     //
     this.menuItemPrint.Index = 2;
     this.menuItemPrint.Text = "Print...";
     this.menuItemPrint.Click += new System.EventHandler(this.PrintClick);
     //
     // menuItemExit
     //
     this.menuItemExit.Index = 3;
     this.menuItemExit.Text = "Exit";
     this.menuItemExit.Click += new System.EventHandler(this.ExitClick);
     //
     // menuItemEdit
     //
     this.menuItemEdit.Index = 1;
     this.menuItemEdit.Text = "Edit";
     //
     // menuItemTools
     //
     this.menuItemTools.Index = 2;
     this.menuItemTools.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItemOptions,
     this.menuItemLanguages,
     this.menuItemTransferDataBase});
     this.menuItemTools.Text = "Tools";
     //
     // menuItemOptions
     //
     this.menuItemOptions.Index = 0;
     this.menuItemOptions.Text = "Options...";
     this.menuItemOptions.Click += new System.EventHandler(this.OptionsClick);
     //
     // menuItemLanguages
     //
     this.menuItemLanguages.Index = 1;
     this.menuItemLanguages.Text = "Languages...";
     this.menuItemLanguages.Visible = false;
     this.menuItemLanguages.Click += new System.EventHandler(this.LanguagesClick);
     //
     // menuItemTransferDataBase
     //
     this.menuItemTransferDataBase.Index = 2;
     this.menuItemTransferDataBase.Text = "Transfer DataBase...";
     this.menuItemTransferDataBase.Visible = false;
     this.menuItemTransferDataBase.Click += new System.EventHandler(this.CopyDataBaseClick);
     //
     // menuItemWindows
     //
     this.menuItemWindows.Index = 3;
     this.menuItemWindows.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItemImagesExplorer,
     this.menuItemDisksExporer,
     this.menuItemItemPreview});
     this.menuItemWindows.Text = "Windows";
     //
     // menuItemImagesExplorer
     //
     this.menuItemImagesExplorer.Index = 0;
     this.menuItemImagesExplorer.Text = "Images Explorer";
     this.menuItemImagesExplorer.Click += new System.EventHandler(this.ShowHideImagesExplorer);
     //
     // menuItemDisksExporer
     //
     this.menuItemDisksExporer.Index = 1;
     this.menuItemDisksExporer.Text = "Disks Explorer";
     this.menuItemDisksExporer.Click += new System.EventHandler(this.ShowDisksExplorer);
     //
     // menuItemItemPreview
     //
     this.menuItemItemPreview.Index = 2;
     this.menuItemItemPreview.Text = "Item Preview";
     this.menuItemItemPreview.Click += new System.EventHandler(this.ShowItemPreview);
     //
     // menuItemHelp
     //
     this.menuItemHelp.Index = 4;
     this.menuItemHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItemAbout});
     this.menuItemHelp.Text = "Help";
     //
     // menuItemAbout
     //
     this.menuItemAbout.Index = 0;
     this.menuItemAbout.Text = "About...";
     this.menuItemAbout.Click += new System.EventHandler(this.AboutClick);
     //
     // mainImageList16x16
     //
     this.mainImageList16x16.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("mainImageList16x16.ImageStream")));
     this.mainImageList16x16.TransparentColor = System.Drawing.Color.Magenta;
     this.mainImageList16x16.Images.SetKeyName(0, "");
     this.mainImageList16x16.Images.SetKeyName(1, "");
     this.mainImageList16x16.Images.SetKeyName(2, "");
     this.mainImageList16x16.Images.SetKeyName(3, "");
     this.mainImageList16x16.Images.SetKeyName(4, "");
     this.mainImageList16x16.Images.SetKeyName(5, "");
     this.mainImageList16x16.Images.SetKeyName(6, "");
     this.mainImageList16x16.Images.SetKeyName(7, "");
     this.mainImageList16x16.Images.SetKeyName(8, "");
     this.mainImageList16x16.Images.SetKeyName(9, "");
     this.mainImageList16x16.Images.SetKeyName(10, "");
     this.mainImageList16x16.Images.SetKeyName(11, "");
     this.mainImageList16x16.Images.SetKeyName(12, "");
     this.mainImageList16x16.Images.SetKeyName(13, "");
     this.mainImageList16x16.Images.SetKeyName(14, "");
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 189);
     this.statusBar1.Name = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
     this.statusBarPanel1,
     this.statusBarPanel2,
     this.statusBarPanelMemory});
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size = new System.Drawing.Size(824, 22);
     this.statusBar1.TabIndex = 1;
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name = "statusBarPanel1";
     this.statusBarPanel1.Text = "Ready";
     this.statusBarPanel1.Width = 150;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel2.Name = "statusBarPanel2";
     this.statusBarPanel2.Width = 561;
     //
     // statusBarPanelMemory
     //
     this.statusBarPanelMemory.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
     this.statusBarPanelMemory.Name = "statusBarPanelMemory";
     this.statusBarPanelMemory.Width = 97;
     //
     // timer
     //
     this.timer.Enabled = true;
     this.timer.Interval = 10000;
     this.timer.Tick += new System.EventHandler(this.MemUpdate);
     //
     // imageListCatalog
     //
     this.imageListCatalog.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageListCatalog.ImageSize = new System.Drawing.Size(16, 16);
     this.imageListCatalog.TransparentColor = System.Drawing.Color.Transparent;
     //
     // dockPanel
     //
     this.dockPanel.ActiveAutoHideContent = null;
     this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dockPanel.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
     this.dockPanel.Location = new System.Drawing.Point(0, 26);
     this.dockPanel.Name = "dockPanel";
     this.dockPanel.Size = new System.Drawing.Size(824, 163);
     this.dockPanel.TabIndex = 9;
     //
     // toolBar2x1
     //
     this.toolBar2x1.Dock = System.Windows.Forms.DockStyle.Top;
     this.toolBar2x1.Location = new System.Drawing.Point(0, 0);
     this.toolBar2x1.Name = "toolBar2x1";
     this.toolBar2x1.Size = new System.Drawing.Size(824, 26);
     this.toolBar2x1.TabIndex = 8;
     this.toolBar2x1.Text = "toolBar2x1";
     //
     // FormMain
     //
     this.AllowDrop = true;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(824, 211);
     this.Controls.Add(this.dockPanel);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.toolBar2x1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu = this.mainMenu;
     this.Name = "FormMain";
     this.Text = "CD/DVD Catalog";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Closing += new System.ComponentModel.CancelEventHandler(this.AppClosing);
     this.Load += new System.EventHandler(this.FormLoaded);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelMemory)).EndInit();
     this.ResumeLayout(false);
 }