OSDN Git Service

投稿画像選択のUIをMediaSelectorクラスとして分離
[opentween/open-tween.git] / OpenTween / Tween.Designer.cs
index 174dccc..e312511 100644 (file)
@@ -47,7 +47,7 @@
             this.ToolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
             this.HashToggleMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.HashManageMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.SplitContainer1 = new System.Windows.Forms.SplitContainer();
+            this.SplitContainer1 = new OTSplitContainer();
             this.TimelinePanel = new System.Windows.Forms.Panel();
             this.ListTab = new System.Windows.Forms.TabControl();
             this.ContextMenuTabProperty = new System.Windows.Forms.ContextMenuStrip(this.components);
             this.ToolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
             this.DeleteTabMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.TabImage = new System.Windows.Forms.ImageList(this.components);
-            this.ImageSelectionPanel = new System.Windows.Forms.Panel();
-            this.ImageSelectedPicture = new OpenTween.OpenTweenCustomControl.PictureBoxEx();
-            this.ImagePathPanel = new System.Windows.Forms.Panel();
-            this.ImagefilePathText = new System.Windows.Forms.TextBox();
-            this.FilePickButton = new System.Windows.Forms.Button();
-            this.Label2 = new System.Windows.Forms.Label();
-            this.ImageServiceCombo = new System.Windows.Forms.ComboBox();
-            this.ImageCancelButton = new System.Windows.Forms.Button();
-            this.Label1 = new System.Windows.Forms.Label();
+            this.ImageSelector = new MediaSelector();
             this.ProfilePanel = new System.Windows.Forms.Panel();
             this.SplitContainer3 = new System.Windows.Forms.SplitContainer();
             this.SplitContainer2 = new System.Windows.Forms.SplitContainer();
             this.ToolTip1 = new System.Windows.Forms.ToolTip(this.components);
             this.TimerRefreshIcon = new System.Windows.Forms.Timer(this.components);
             this.PostStateImageList = new System.Windows.Forms.ImageList(this.components);
+            this.ContextMenuColumnHeader = new System.Windows.Forms.ContextMenuStrip(this.components);
+            this.IconSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.IconSizeNoneToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.IconSize16ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.IconSize24ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.IconSize48ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.IconSize48_2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+            this.ToolStripSeparator45 = new System.Windows.Forms.ToolStripSeparator();
+            this.LockListSortOrderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.ToolStripContainer1.BottomToolStripPanel.SuspendLayout();
             this.ToolStripContainer1.ContentPanel.SuspendLayout();
             this.ToolStripContainer1.TopToolStripPanel.SuspendLayout();
             this.SplitContainer1.SuspendLayout();
             this.TimelinePanel.SuspendLayout();
             this.ContextMenuTabProperty.SuspendLayout();
-            this.ImageSelectionPanel.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.ImageSelectedPicture)).BeginInit();
-            this.ImagePathPanel.SuspendLayout();
+            this.ImageSelector.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.SplitContainer3)).BeginInit();
             this.SplitContainer3.Panel1.SuspendLayout();
             this.SplitContainer3.Panel2.SuspendLayout();
             this.MenuStrip1.SuspendLayout();
             this.ContextMenuFile.SuspendLayout();
             this.ContextMenuOperate.SuspendLayout();
+            this.ContextMenuColumnHeader.SuspendLayout();
             this.SuspendLayout();
             // 
             // ToolStripContainer1
             // 
             resources.ApplyResources(this.SplitContainer1.Panel1, "SplitContainer1.Panel1");
             this.SplitContainer1.Panel1.Controls.Add(this.TimelinePanel);
-            this.SplitContainer1.Panel1.Controls.Add(this.ImageSelectionPanel);
+            this.SplitContainer1.Panel1.Controls.Add(this.ImageSelector);
             this.SplitContainer1.Panel1.Controls.Add(this.ProfilePanel);
             this.ToolTip1.SetToolTip(this.SplitContainer1.Panel1, resources.GetString("SplitContainer1.Panel1.ToolTip"));
             // 
             resources.ApplyResources(this.TabImage, "TabImage");
             this.TabImage.TransparentColor = System.Drawing.Color.Transparent;
             // 
-            // ImageSelectionPanel
-            // 
-            resources.ApplyResources(this.ImageSelectionPanel, "ImageSelectionPanel");
-            this.ImageSelectionPanel.Controls.Add(this.ImageSelectedPicture);
-            this.ImageSelectionPanel.Controls.Add(this.ImagePathPanel);
-            this.ImageSelectionPanel.Name = "ImageSelectionPanel";
-            this.ToolTip1.SetToolTip(this.ImageSelectionPanel, resources.GetString("ImageSelectionPanel.ToolTip"));
-            this.ImageSelectionPanel.VisibleChanged += new System.EventHandler(this.ImageSelectionPanel_VisibleChanged);
-            // 
-            // ImageSelectedPicture
-            // 
-            resources.ApplyResources(this.ImageSelectedPicture, "ImageSelectedPicture");
-            this.ImageSelectedPicture.Name = "ImageSelectedPicture";
-            this.ImageSelectedPicture.TabStop = false;
-            this.ToolTip1.SetToolTip(this.ImageSelectedPicture, resources.GetString("ImageSelectedPicture.ToolTip"));
-            // 
-            // ImagePathPanel
-            // 
-            resources.ApplyResources(this.ImagePathPanel, "ImagePathPanel");
-            this.ImagePathPanel.Controls.Add(this.ImagefilePathText);
-            this.ImagePathPanel.Controls.Add(this.FilePickButton);
-            this.ImagePathPanel.Controls.Add(this.Label2);
-            this.ImagePathPanel.Controls.Add(this.ImageServiceCombo);
-            this.ImagePathPanel.Controls.Add(this.ImageCancelButton);
-            this.ImagePathPanel.Controls.Add(this.Label1);
-            this.ImagePathPanel.Name = "ImagePathPanel";
-            this.ToolTip1.SetToolTip(this.ImagePathPanel, resources.GetString("ImagePathPanel.ToolTip"));
-            // 
-            // ImagefilePathText
-            // 
-            resources.ApplyResources(this.ImagefilePathText, "ImagefilePathText");
-            this.ImagefilePathText.Name = "ImagefilePathText";
-            this.ToolTip1.SetToolTip(this.ImagefilePathText, resources.GetString("ImagefilePathText.ToolTip"));
-            this.ImagefilePathText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ImageSelection_KeyDown);
-            this.ImagefilePathText.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ImageSelection_KeyPress);
-            this.ImagefilePathText.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.ImageSelection_PreviewKeyDown);
-            this.ImagefilePathText.Validating += new System.ComponentModel.CancelEventHandler(this.ImagefilePathText_Validating);
-            // 
-            // FilePickButton
-            // 
-            resources.ApplyResources(this.FilePickButton, "FilePickButton");
-            this.FilePickButton.Name = "FilePickButton";
-            this.ToolTip1.SetToolTip(this.FilePickButton, resources.GetString("FilePickButton.ToolTip"));
-            this.FilePickButton.UseVisualStyleBackColor = true;
-            this.FilePickButton.Click += new System.EventHandler(this.FilePickButton_Click);
-            this.FilePickButton.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ImageSelection_KeyDown);
-            this.FilePickButton.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ImageSelection_KeyPress);
-            this.FilePickButton.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.ImageSelection_PreviewKeyDown);
-            // 
-            // Label2
-            // 
-            resources.ApplyResources(this.Label2, "Label2");
-            this.Label2.Name = "Label2";
-            this.ToolTip1.SetToolTip(this.Label2, resources.GetString("Label2.ToolTip"));
-            // 
-            // ImageServiceCombo
-            // 
-            resources.ApplyResources(this.ImageServiceCombo, "ImageServiceCombo");
-            this.ImageServiceCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.ImageServiceCombo.FormattingEnabled = true;
-            this.ImageServiceCombo.Items.AddRange(new object[] {
-            resources.GetString("ImageServiceCombo.Items")});
-            this.ImageServiceCombo.Name = "ImageServiceCombo";
-            this.ToolTip1.SetToolTip(this.ImageServiceCombo, resources.GetString("ImageServiceCombo.ToolTip"));
-            this.ImageServiceCombo.SelectedIndexChanged += new System.EventHandler(this.ImageServiceCombo_SelectedIndexChanged);
-            this.ImageServiceCombo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ImageSelection_KeyDown);
-            this.ImageServiceCombo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ImageSelection_KeyPress);
-            this.ImageServiceCombo.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.ImageSelection_PreviewKeyDown);
-            // 
-            // ImageCancelButton
-            // 
-            resources.ApplyResources(this.ImageCancelButton, "ImageCancelButton");
-            this.ImageCancelButton.Name = "ImageCancelButton";
-            this.ToolTip1.SetToolTip(this.ImageCancelButton, resources.GetString("ImageCancelButton.ToolTip"));
-            this.ImageCancelButton.UseVisualStyleBackColor = true;
-            this.ImageCancelButton.Click += new System.EventHandler(this.ImageCancelButton_Click);
-            // 
-            // Label1
-            // 
-            resources.ApplyResources(this.Label1, "Label1");
-            this.Label1.Name = "Label1";
-            this.ToolTip1.SetToolTip(this.Label1, resources.GetString("Label1.ToolTip"));
+            // ImageSelector
+            // 
+            resources.ApplyResources(this.ImageSelector, "ImageSelector");
+            this.ImageSelector.Name = "ImageSelector";
+            this.ImageSelector.BeginSelecting += new System.EventHandler(this.ImageSelector_BeginSelecting);
+            this.ImageSelector.EndSelecting += new System.EventHandler(this.ImageSelector_EndSelecting);
+            this.ImageSelector.FilePickDialogClosed += new System.EventHandler(ImageSelector_FilePickDialogClosed);
+            this.ImageSelector.FilePickDialogOpening += new System.EventHandler(ImageSelector_FilePickDialogOpening);
+            this.ImageSelector.SelectedServiceChanged += new System.EventHandler(this.ImageSelector_SelectedServiceChanged);
+            this.ImageSelector.VisibleChanged += new System.EventHandler(this.ImageSelector_VisibleChanged);
             // 
             // ProfilePanel
             // 
             // SplitContainer3
             // 
             resources.ApplyResources(this.SplitContainer3, "SplitContainer3");
-            this.SplitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+            this.SplitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.None;
             this.SplitContainer3.Name = "SplitContainer3";
             // 
             // SplitContainer3.Panel1
             // 
             resources.ApplyResources(this.tweetThumbnail1, "tweetThumbnail1");
             this.tweetThumbnail1.Name = "tweetThumbnail1";
+            this.tweetThumbnail1.TabStop = false;
             this.ToolTip1.SetToolTip(this.tweetThumbnail1, resources.GetString("tweetThumbnail1.ToolTip"));
             this.tweetThumbnail1.ThumbnailLoading += new System.EventHandler(this.tweetThumbnail1_ThumbnailLoading);
             this.tweetThumbnail1.ThumbnailDoubleClick += new System.EventHandler<OpenTween.ThumbnailDoubleClickEventArgs>(this.tweetThumbnail1_ThumbnailDoubleClick);
             this.PostStateImageList.Images.SetKeyName(13, "S13.ico");
             this.PostStateImageList.Images.SetKeyName(14, "S14.ico");
             // 
+            // ContextMenuColumnHeader
+            // 
+            this.ContextMenuColumnHeader.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.IconSizeToolStripMenuItem,
+            this.ToolStripSeparator45,
+            this.LockListSortOrderToolStripMenuItem});
+            this.ContextMenuColumnHeader.Name = "ContextMenuColumnHeader";
+            resources.ApplyResources(this.ContextMenuColumnHeader, "ContextMenuColumnHeader");
+            this.ContextMenuColumnHeader.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuColumnHeader_Opening);
+            // 
+            // IconSizeToolStripMenuItem
+            // 
+            this.IconSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.IconSizeNoneToolStripMenuItem,
+            this.IconSize16ToolStripMenuItem,
+            this.IconSize24ToolStripMenuItem,
+            this.IconSize48ToolStripMenuItem,
+            this.IconSize48_2ToolStripMenuItem});
+            this.IconSizeToolStripMenuItem.Name = "IconSizeToolStripMenuItem";
+            resources.ApplyResources(this.IconSizeToolStripMenuItem, "IconSizeToolStripMenuItem");
+            // 
+            // IconSizeNoneToolStripMenuItem
+            // 
+            this.IconSizeNoneToolStripMenuItem.Name = "IconSizeNoneToolStripMenuItem";
+            resources.ApplyResources(this.IconSizeNoneToolStripMenuItem, "IconSizeNoneToolStripMenuItem");
+            this.IconSizeNoneToolStripMenuItem.Click += new System.EventHandler(this.IconSizeNoneToolStripMenuItem_Click);
+            // 
+            // IconSize16ToolStripMenuItem
+            // 
+            this.IconSize16ToolStripMenuItem.Name = "IconSize16ToolStripMenuItem";
+            resources.ApplyResources(this.IconSize16ToolStripMenuItem, "IconSize16ToolStripMenuItem");
+            this.IconSize16ToolStripMenuItem.Click += new System.EventHandler(this.IconSize16ToolStripMenuItem_Click);
+            // 
+            // IconSize24ToolStripMenuItem
+            // 
+            this.IconSize24ToolStripMenuItem.Name = "IconSize24ToolStripMenuItem";
+            resources.ApplyResources(this.IconSize24ToolStripMenuItem, "IconSize24ToolStripMenuItem");
+            this.IconSize24ToolStripMenuItem.Click += new System.EventHandler(this.IconSize24ToolStripMenuItem_Click);
+            // 
+            // IconSize48ToolStripMenuItem
+            // 
+            this.IconSize48ToolStripMenuItem.Name = "IconSize48ToolStripMenuItem";
+            resources.ApplyResources(this.IconSize48ToolStripMenuItem, "IconSize48ToolStripMenuItem");
+            this.IconSize48ToolStripMenuItem.Click += new System.EventHandler(this.IconSize48ToolStripMenuItem_Click);
+            // 
+            // IconSize48_2ToolStripMenuItem
+            // 
+            this.IconSize48_2ToolStripMenuItem.Name = "IconSize48_2ToolStripMenuItem";
+            resources.ApplyResources(this.IconSize48_2ToolStripMenuItem, "IconSize48_2ToolStripMenuItem");
+            this.IconSize48_2ToolStripMenuItem.Click += new System.EventHandler(this.IconSize48_2ToolStripMenuItem_Click);
+            // 
+            // ToolStripSeparator45
+            // 
+            this.ToolStripSeparator45.Name = "ToolStripSeparator45";
+            resources.ApplyResources(this.ToolStripSeparator45, "ToolStripSeparator45");
+            // 
+            // LockListSortOrderToolStripMenuItem
+            // 
+            this.LockListSortOrderToolStripMenuItem.Name = "LockListSortOrderToolStripMenuItem";
+            this.LockListSortOrderToolStripMenuItem.CheckOnClick = true;
+            resources.ApplyResources(this.LockListSortOrderToolStripMenuItem, "LockListSortOrderToolStripMenuItem");
+            this.LockListSortOrderToolStripMenuItem.Click += new System.EventHandler(this.LockListSortToolStripMenuItem_Click);
+            // 
             // TweenMain
             // 
             resources.ApplyResources(this, "$this");
             this.ClientSizeChanged += new System.EventHandler(this.TweenMain_ClientSizeChanged);
             this.LocationChanged += new System.EventHandler(this.TweenMain_LocationChanged);
             this.DragDrop += new System.Windows.Forms.DragEventHandler(this.TweenMain_DragDrop);
+            this.DragEnter += new System.Windows.Forms.DragEventHandler(this.TweenMain_DragEnter);
             this.DragOver += new System.Windows.Forms.DragEventHandler(this.TweenMain_DragOver);
             this.Resize += new System.EventHandler(this.TweenMain_Resize);
             this.Disposed += new System.EventHandler(this.TweenMain_Disposed);
             this.SplitContainer1.ResumeLayout(false);
             this.TimelinePanel.ResumeLayout(false);
             this.ContextMenuTabProperty.ResumeLayout(false);
-            this.ImageSelectionPanel.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.ImageSelectedPicture)).EndInit();
-            this.ImagePathPanel.ResumeLayout(false);
-            this.ImagePathPanel.PerformLayout();
+            this.ImageSelector.ResumeLayout(false);
             this.SplitContainer3.Panel1.ResumeLayout(false);
             this.SplitContainer3.Panel2.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.SplitContainer3)).EndInit();
             this.MenuStrip1.PerformLayout();
             this.ContextMenuFile.ResumeLayout(false);
             this.ContextMenuOperate.ResumeLayout(false);
+            this.ContextMenuColumnHeader.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }
         internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator8;
         internal System.Windows.Forms.ToolStripMenuItem HashToggleMenuItem;
         internal System.Windows.Forms.ToolStripMenuItem HashManageMenuItem;
-        internal System.Windows.Forms.SplitContainer SplitContainer1;
+        internal OTSplitContainer SplitContainer1;
         internal System.Windows.Forms.Panel TimelinePanel;
         internal System.Windows.Forms.TabControl ListTab;
         internal System.Windows.Forms.ContextMenuStrip ContextMenuTabProperty;
         internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator11;
         internal System.Windows.Forms.ToolStripMenuItem DeleteTabMenuItem;
         internal System.Windows.Forms.ImageList TabImage;
-        internal System.Windows.Forms.Panel ImageSelectionPanel;
-        internal OpenTweenCustomControl.PictureBoxEx ImageSelectedPicture;
-        internal System.Windows.Forms.Panel ImagePathPanel;
-        internal System.Windows.Forms.TextBox ImagefilePathText;
-        internal System.Windows.Forms.Button FilePickButton;
-        internal System.Windows.Forms.Label Label2;
-        internal System.Windows.Forms.ComboBox ImageServiceCombo;
-        internal System.Windows.Forms.Button ImageCancelButton;
-        internal System.Windows.Forms.Label Label1;
+        internal MediaSelector ImageSelector;
         internal System.Windows.Forms.Panel ProfilePanel;
         internal System.Windows.Forms.SplitContainer SplitContainer3;
         internal System.Windows.Forms.SplitContainer SplitContainer2;
         private System.Windows.Forms.ToolStripMenuItem ReloadIconToolStripMenuItem;
         private System.Windows.Forms.ToolStripSeparator toolStripSeparator44;
         private System.Windows.Forms.ToolStripMenuItem OpenURLFileMenuItem;
+        internal System.Windows.Forms.ContextMenuStrip ContextMenuColumnHeader;
+        internal System.Windows.Forms.ToolStripMenuItem IconSizeToolStripMenuItem;
+        internal System.Windows.Forms.ToolStripMenuItem IconSizeNoneToolStripMenuItem;
+        internal System.Windows.Forms.ToolStripMenuItem IconSize16ToolStripMenuItem;
+        internal System.Windows.Forms.ToolStripMenuItem IconSize24ToolStripMenuItem;
+        internal System.Windows.Forms.ToolStripMenuItem IconSize48ToolStripMenuItem;
+        internal System.Windows.Forms.ToolStripMenuItem IconSize48_2ToolStripMenuItem;
+        internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator45;
+        internal System.Windows.Forms.ToolStripMenuItem LockListSortOrderToolStripMenuItem;
 
     }
 }
\ No newline at end of file