履歴ビューとドライブバーの表示しないオプションを追加
@@ -47,6 +47,8 @@ | ||
47 | 47 | //■表示タブ |
48 | 48 | system.Option.FileView.IsHideHiddenFile = this.IsHideHiddenFileCheckBox.Checked; |
49 | 49 | system.Option.FileView.IsHideSystemFile = this.IsHideSystemFileCheckbox.Checked; |
50 | + system.Option.FileView.IsDisplayDriveToolbar = !this.IsHideDriveToolbarCheckbox.Checked; | |
51 | + system.Option.FileView.IsDisplayHistoryView = !this.IsHideHistoryViewCheckbox.Checked; | |
50 | 52 | |
51 | 53 | //■色タブ |
52 | 54 | system.Option.Color.ActiveViewTitleText = colorActiveViewTitle.ForegroundColor; |
@@ -144,6 +146,8 @@ | ||
144 | 146 | //■表示タブ |
145 | 147 | this.IsHideHiddenFileCheckBox.Checked = system.Option.FileView.IsHideHiddenFile; |
146 | 148 | this.IsHideSystemFileCheckbox.Checked = system.Option.FileView.IsHideSystemFile; |
149 | + this.IsHideDriveToolbarCheckbox.Checked = !system.Option.FileView.IsDisplayDriveToolbar; | |
150 | + this.IsHideHistoryViewCheckbox.Checked = !system.Option.FileView.IsDisplayHistoryView; | |
147 | 151 | |
148 | 152 | //■履歴タブ |
149 | 153 | historyview1ValidExtensionsString.Text = MainForm.Instance.FileHistoryManager1.GetValidExtension(); |
@@ -138,7 +138,11 @@ | ||
138 | 138 | incrementProgressbarDelegate = new IncrementProgressbarDelegate(IncrementProgressbar); |
139 | 139 | printToJobInfoAreaDelegate = new PrintToJobInfoAreaDelegate(PrintToJobInfoArea); |
140 | 140 | |
141 | - InitializeComponent(); | |
141 | + InitializeComponent(); | |
142 | + | |
143 | + //非表示のものを設定 | |
144 | + this.driveToolbar.Visible = SCFiler2System.Instance.Option.FileView.IsDisplayDriveToolbar; | |
145 | + this.Level1_SplitContainer.Panel2Collapsed = !SCFiler2System.Instance.Option.FileView.IsDisplayHistoryView; | |
142 | 146 | } |
143 | 147 | |
144 | 148 | /// <summary> |
@@ -58,6 +58,8 @@ | ||
58 | 58 | public List<string> excludeExtensions = new List<string>(); |
59 | 59 | public bool IsHideHiddenFile = false; |
60 | 60 | public bool IsHideSystemFile = true; |
61 | + public bool IsDisplayDriveToolbar = true; | |
62 | + public bool IsDisplayHistoryView = true; | |
61 | 63 | |
62 | 64 | public void Save() { |
63 | 65 | OptionUtil.Save("FileViewOption", this); |
@@ -42,6 +42,7 @@ | ||
42 | 42 | this.tabPage3 = new System.Windows.Forms.TabPage(); |
43 | 43 | this.changeDriveByNumkeyCheckbox = new System.Windows.Forms.CheckBox(); |
44 | 44 | this.tabPage7 = new System.Windows.Forms.TabPage(); |
45 | + this.IsHideDriveToolbarCheckbox = new System.Windows.Forms.CheckBox(); | |
45 | 46 | this.label6 = new System.Windows.Forms.Label(); |
46 | 47 | this.excludeExtension = new System.Windows.Forms.TextBox(); |
47 | 48 | this.IsHideSystemFileCheckbox = new System.Windows.Forms.CheckBox(); |
@@ -54,6 +55,9 @@ | ||
54 | 55 | this.historyview2ValidExtensionsString = new System.Windows.Forms.TextBox(); |
55 | 56 | this.historyview1ValidExtensionsString = new System.Windows.Forms.TextBox(); |
56 | 57 | this.tabPage5 = new System.Windows.Forms.TabPage(); |
58 | + this.colorInactiveViewTitle = new SCFiler2.ColorAssignControl(); | |
59 | + this.colorActiveViewTitle = new SCFiler2.ColorAssignControl(); | |
60 | + this.colorFocusedWithoutSelectedListViewItem = new SCFiler2.ColorAssignControl(); | |
57 | 61 | this.tabPage6 = new System.Windows.Forms.TabPage(); |
58 | 62 | this.label12 = new System.Windows.Forms.Label(); |
59 | 63 | this.label11 = new System.Windows.Forms.Label(); |
@@ -61,6 +65,11 @@ | ||
61 | 65 | this.label9 = new System.Windows.Forms.Label(); |
62 | 66 | this.label8 = new System.Windows.Forms.Label(); |
63 | 67 | this.label7 = new System.Windows.Forms.Label(); |
68 | + this.externalToolAssignControl5 = new SCFiler2.ExternalToolAssignControl(); | |
69 | + this.externalToolAssignControl4 = new SCFiler2.ExternalToolAssignControl(); | |
70 | + this.externalToolAssignControl3 = new SCFiler2.ExternalToolAssignControl(); | |
71 | + this.externalToolAssignControl2 = new SCFiler2.ExternalToolAssignControl(); | |
72 | + this.externalToolAssignControl1 = new SCFiler2.ExternalToolAssignControl(); | |
64 | 73 | this.tabPage8 = new System.Windows.Forms.TabPage(); |
65 | 74 | this.IsUseExeIconCheckBox = new System.Windows.Forms.CheckBox(); |
66 | 75 | this.groupBox1 = new System.Windows.Forms.GroupBox(); |
@@ -88,14 +97,7 @@ | ||
88 | 97 | this.cancel_button = new System.Windows.Forms.Button(); |
89 | 98 | this.ok_button = new System.Windows.Forms.Button(); |
90 | 99 | this.colorDialog = new System.Windows.Forms.ColorDialog(); |
91 | - this.colorInactiveViewTitle = new SCFiler2.ColorAssignControl(); | |
92 | - this.colorActiveViewTitle = new SCFiler2.ColorAssignControl(); | |
93 | - this.colorFocusedWithoutSelectedListViewItem = new SCFiler2.ColorAssignControl(); | |
94 | - this.externalToolAssignControl5 = new SCFiler2.ExternalToolAssignControl(); | |
95 | - this.externalToolAssignControl4 = new SCFiler2.ExternalToolAssignControl(); | |
96 | - this.externalToolAssignControl3 = new SCFiler2.ExternalToolAssignControl(); | |
97 | - this.externalToolAssignControl2 = new SCFiler2.ExternalToolAssignControl(); | |
98 | - this.externalToolAssignControl1 = new SCFiler2.ExternalToolAssignControl(); | |
100 | + this.IsHideHistoryViewCheckbox = new System.Windows.Forms.CheckBox(); | |
99 | 101 | this.tabControl1.SuspendLayout(); |
100 | 102 | this.tabPage1.SuspendLayout(); |
101 | 103 | this.tabPage2.SuspendLayout(); |
@@ -316,6 +318,8 @@ | ||
316 | 318 | // |
317 | 319 | // tabPage7 |
318 | 320 | // |
321 | + this.tabPage7.Controls.Add(this.IsHideHistoryViewCheckbox); | |
322 | + this.tabPage7.Controls.Add(this.IsHideDriveToolbarCheckbox); | |
319 | 323 | this.tabPage7.Controls.Add(this.label6); |
320 | 324 | this.tabPage7.Controls.Add(this.excludeExtension); |
321 | 325 | this.tabPage7.Controls.Add(this.IsHideSystemFileCheckbox); |
@@ -328,6 +332,16 @@ | ||
328 | 332 | this.tabPage7.Text = "表示"; |
329 | 333 | this.tabPage7.UseVisualStyleBackColor = true; |
330 | 334 | // |
335 | + // IsHideDriveToolbar | |
336 | + // | |
337 | + this.IsHideDriveToolbarCheckbox.AutoSize = true; | |
338 | + this.IsHideDriveToolbarCheckbox.Location = new System.Drawing.Point(6, 112); | |
339 | + this.IsHideDriveToolbarCheckbox.Name = "IsHideDriveToolbar"; | |
340 | + this.IsHideDriveToolbarCheckbox.Size = new System.Drawing.Size(272, 16); | |
341 | + this.IsHideDriveToolbarCheckbox.TabIndex = 6; | |
342 | + this.IsHideDriveToolbarCheckbox.Text = "ドライブツールバーは表示しない (次回起動より有効)"; | |
343 | + this.IsHideDriveToolbarCheckbox.UseVisualStyleBackColor = true; | |
344 | + // | |
331 | 345 | // label6 |
332 | 346 | // |
333 | 347 | this.label6.AutoSize = true; |
@@ -444,6 +458,27 @@ | ||
444 | 458 | this.tabPage5.Text = "色"; |
445 | 459 | this.tabPage5.UseVisualStyleBackColor = true; |
446 | 460 | // |
461 | + // colorInactiveViewTitle | |
462 | + // | |
463 | + this.colorInactiveViewTitle.Location = new System.Drawing.Point(8, 37); | |
464 | + this.colorInactiveViewTitle.Name = "colorInactiveViewTitle"; | |
465 | + this.colorInactiveViewTitle.Size = new System.Drawing.Size(293, 27); | |
466 | + this.colorInactiveViewTitle.TabIndex = 8; | |
467 | + // | |
468 | + // colorActiveViewTitle | |
469 | + // | |
470 | + this.colorActiveViewTitle.Location = new System.Drawing.Point(8, 6); | |
471 | + this.colorActiveViewTitle.Name = "colorActiveViewTitle"; | |
472 | + this.colorActiveViewTitle.Size = new System.Drawing.Size(293, 27); | |
473 | + this.colorActiveViewTitle.TabIndex = 7; | |
474 | + // | |
475 | + // colorFocusedWithoutSelectedListViewItem | |
476 | + // | |
477 | + this.colorFocusedWithoutSelectedListViewItem.Location = new System.Drawing.Point(8, 68); | |
478 | + this.colorFocusedWithoutSelectedListViewItem.Name = "colorFocusedWithoutSelectedListViewItem"; | |
479 | + this.colorFocusedWithoutSelectedListViewItem.Size = new System.Drawing.Size(293, 27); | |
480 | + this.colorFocusedWithoutSelectedListViewItem.TabIndex = 6; | |
481 | + // | |
447 | 482 | // tabPage6 |
448 | 483 | // |
449 | 484 | this.tabPage6.Controls.Add(this.label12); |
@@ -519,6 +554,41 @@ | ||
519 | 554 | this.label7.TabIndex = 1; |
520 | 555 | this.label7.Text = "タイトル"; |
521 | 556 | // |
557 | + // externalToolAssignControl5 | |
558 | + // | |
559 | + this.externalToolAssignControl5.Location = new System.Drawing.Point(8, 141); | |
560 | + this.externalToolAssignControl5.Name = "externalToolAssignControl5"; | |
561 | + this.externalToolAssignControl5.Size = new System.Drawing.Size(548, 29); | |
562 | + this.externalToolAssignControl5.TabIndex = 7; | |
563 | + // | |
564 | + // externalToolAssignControl4 | |
565 | + // | |
566 | + this.externalToolAssignControl4.Location = new System.Drawing.Point(8, 112); | |
567 | + this.externalToolAssignControl4.Name = "externalToolAssignControl4"; | |
568 | + this.externalToolAssignControl4.Size = new System.Drawing.Size(548, 29); | |
569 | + this.externalToolAssignControl4.TabIndex = 6; | |
570 | + // | |
571 | + // externalToolAssignControl3 | |
572 | + // | |
573 | + this.externalToolAssignControl3.Location = new System.Drawing.Point(8, 83); | |
574 | + this.externalToolAssignControl3.Name = "externalToolAssignControl3"; | |
575 | + this.externalToolAssignControl3.Size = new System.Drawing.Size(548, 29); | |
576 | + this.externalToolAssignControl3.TabIndex = 5; | |
577 | + // | |
578 | + // externalToolAssignControl2 | |
579 | + // | |
580 | + this.externalToolAssignControl2.Location = new System.Drawing.Point(8, 54); | |
581 | + this.externalToolAssignControl2.Name = "externalToolAssignControl2"; | |
582 | + this.externalToolAssignControl2.Size = new System.Drawing.Size(548, 29); | |
583 | + this.externalToolAssignControl2.TabIndex = 4; | |
584 | + // | |
585 | + // externalToolAssignControl1 | |
586 | + // | |
587 | + this.externalToolAssignControl1.Location = new System.Drawing.Point(8, 25); | |
588 | + this.externalToolAssignControl1.Name = "externalToolAssignControl1"; | |
589 | + this.externalToolAssignControl1.Size = new System.Drawing.Size(548, 29); | |
590 | + this.externalToolAssignControl1.TabIndex = 0; | |
591 | + // | |
522 | 592 | // tabPage8 |
523 | 593 | // |
524 | 594 | this.tabPage8.Controls.Add(this.IsUseExeIconCheckBox); |
@@ -789,62 +859,16 @@ | ||
789 | 859 | this.colorDialog.AnyColor = true; |
790 | 860 | this.colorDialog.FullOpen = true; |
791 | 861 | // |
792 | - // colorInactiveViewTitle | |
862 | + // IsHideHistoryViewCheckbox | |
793 | 863 | // |
794 | - this.colorInactiveViewTitle.Location = new System.Drawing.Point(8, 37); | |
795 | - this.colorInactiveViewTitle.Name = "colorInactiveViewTitle"; | |
796 | - this.colorInactiveViewTitle.Size = new System.Drawing.Size(293, 27); | |
797 | - this.colorInactiveViewTitle.TabIndex = 8; | |
864 | + this.IsHideHistoryViewCheckbox.AutoSize = true; | |
865 | + this.IsHideHistoryViewCheckbox.Location = new System.Drawing.Point(6, 134); | |
866 | + this.IsHideHistoryViewCheckbox.Name = "IsHideHistoryViewCheckbox"; | |
867 | + this.IsHideHistoryViewCheckbox.Size = new System.Drawing.Size(237, 16); | |
868 | + this.IsHideHistoryViewCheckbox.TabIndex = 7; | |
869 | + this.IsHideHistoryViewCheckbox.Text = "履歴ビューを表示しない (次回起動より有効)"; | |
870 | + this.IsHideHistoryViewCheckbox.UseVisualStyleBackColor = true; | |
798 | 871 | // |
799 | - // colorActiveViewTitle | |
800 | - // | |
801 | - this.colorActiveViewTitle.Location = new System.Drawing.Point(8, 6); | |
802 | - this.colorActiveViewTitle.Name = "colorActiveViewTitle"; | |
803 | - this.colorActiveViewTitle.Size = new System.Drawing.Size(293, 27); | |
804 | - this.colorActiveViewTitle.TabIndex = 7; | |
805 | - // | |
806 | - // colorFocusedWithoutSelectedListViewItem | |
807 | - // | |
808 | - this.colorFocusedWithoutSelectedListViewItem.Location = new System.Drawing.Point(8, 68); | |
809 | - this.colorFocusedWithoutSelectedListViewItem.Name = "colorFocusedWithoutSelectedListViewItem"; | |
810 | - this.colorFocusedWithoutSelectedListViewItem.Size = new System.Drawing.Size(293, 27); | |
811 | - this.colorFocusedWithoutSelectedListViewItem.TabIndex = 6; | |
812 | - // | |
813 | - // externalToolAssignControl5 | |
814 | - // | |
815 | - this.externalToolAssignControl5.Location = new System.Drawing.Point(8, 141); | |
816 | - this.externalToolAssignControl5.Name = "externalToolAssignControl5"; | |
817 | - this.externalToolAssignControl5.Size = new System.Drawing.Size(548, 29); | |
818 | - this.externalToolAssignControl5.TabIndex = 7; | |
819 | - // | |
820 | - // externalToolAssignControl4 | |
821 | - // | |
822 | - this.externalToolAssignControl4.Location = new System.Drawing.Point(8, 112); | |
823 | - this.externalToolAssignControl4.Name = "externalToolAssignControl4"; | |
824 | - this.externalToolAssignControl4.Size = new System.Drawing.Size(548, 29); | |
825 | - this.externalToolAssignControl4.TabIndex = 6; | |
826 | - // | |
827 | - // externalToolAssignControl3 | |
828 | - // | |
829 | - this.externalToolAssignControl3.Location = new System.Drawing.Point(8, 83); | |
830 | - this.externalToolAssignControl3.Name = "externalToolAssignControl3"; | |
831 | - this.externalToolAssignControl3.Size = new System.Drawing.Size(548, 29); | |
832 | - this.externalToolAssignControl3.TabIndex = 5; | |
833 | - // | |
834 | - // externalToolAssignControl2 | |
835 | - // | |
836 | - this.externalToolAssignControl2.Location = new System.Drawing.Point(8, 54); | |
837 | - this.externalToolAssignControl2.Name = "externalToolAssignControl2"; | |
838 | - this.externalToolAssignControl2.Size = new System.Drawing.Size(548, 29); | |
839 | - this.externalToolAssignControl2.TabIndex = 4; | |
840 | - // | |
841 | - // externalToolAssignControl1 | |
842 | - // | |
843 | - this.externalToolAssignControl1.Location = new System.Drawing.Point(8, 25); | |
844 | - this.externalToolAssignControl1.Name = "externalToolAssignControl1"; | |
845 | - this.externalToolAssignControl1.Size = new System.Drawing.Size(548, 29); | |
846 | - this.externalToolAssignControl1.TabIndex = 0; | |
847 | - // | |
848 | 872 | // OptionDialog |
849 | 873 | // |
850 | 874 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
@@ -955,5 +979,7 @@ | ||
955 | 979 | private System.Windows.Forms.Button button1; |
956 | 980 | private System.Windows.Forms.Label label17; |
957 | 981 | private System.Windows.Forms.Label label16; |
982 | + private System.Windows.Forms.CheckBox IsHideDriveToolbarCheckbox; | |
983 | + private System.Windows.Forms.CheckBox IsHideHistoryViewCheckbox; | |
958 | 984 | } |
959 | 985 | } |
\ No newline at end of file |
@@ -2,6 +2,7 @@ | ||
2 | 2 | |
3 | 3 | ■0.33 |
4 | 4 | ・「ドライブ一覧に移動」コマンドを追加 |
5 | +・「ドライブツールバーを表示しない」「履歴ビューを表示しない」のオプションを追加 | |
5 | 6 | ・「名前の変更」ダイアログの初期状態は、拡張子をのぞいて選択しておくようにした |
6 | 7 | また各ドライブのルートで一つ上のフォルダに移動コマンドを使用してもドライブ一覧を表示 |
7 | 8 | ・スペースキーで選択機能が動作しなくなっていた不具合を修正 |