dev
Révision | 559b8c628b6032dac37a8f3565c09be992f69b0b (tree) |
---|---|
l'heure | 2014-02-02 18:38:07 |
Auteur | Kimura Youichi <kim.upsilon@bucy...> |
Commiter | Kimura Youichi |
Merge pull request #18 from spx268/RenameEventHandler
@@ -566,12 +566,12 @@ | ||
566 | 566 | this.ListTab.SelectedIndexChanged += new System.EventHandler(this.ListTab_SelectedIndexChanged); |
567 | 567 | this.ListTab.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.ListTab_Selecting); |
568 | 568 | this.ListTab.Deselected += new System.Windows.Forms.TabControlEventHandler(this.ListTab_Deselected); |
569 | - this.ListTab.DragDrop += new System.Windows.Forms.DragEventHandler(this.Tabs_DragDrop); | |
570 | - this.ListTab.DragEnter += new System.Windows.Forms.DragEventHandler(this.Tabs_DragEnter); | |
569 | + this.ListTab.DragDrop += new System.Windows.Forms.DragEventHandler(this.ListTab_DragDrop); | |
570 | + this.ListTab.DragEnter += new System.Windows.Forms.DragEventHandler(this.ListTab_DragEnter); | |
571 | 571 | this.ListTab.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ListTab_KeyDown); |
572 | 572 | this.ListTab.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ListTab_MouseClick); |
573 | - this.ListTab.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.Tabs_DoubleClick); | |
574 | - this.ListTab.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Tabs_MouseDown); | |
573 | + this.ListTab.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.ListTab_DoubleClick); | |
574 | + this.ListTab.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ListTab_MouseDown); | |
575 | 575 | this.ListTab.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ListTab_MouseMove); |
576 | 576 | this.ListTab.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ListTab_MouseUp); |
577 | 577 | // |
@@ -2499,11 +2499,11 @@ | ||
2499 | 2499 | this.ToolTip1.SetToolTip(this, resources.GetString("$this.ToolTip")); |
2500 | 2500 | this.Activated += new System.EventHandler(this.TweenMain_Activated); |
2501 | 2501 | this.Deactivate += new System.EventHandler(this.TweenMain_Deactivate); |
2502 | - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Tween_FormClosing); | |
2503 | - this.Load += new System.EventHandler(this.Form1_Load); | |
2502 | + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TweenMain_FormClosing); | |
2503 | + this.Load += new System.EventHandler(this.TweenMain_Load); | |
2504 | 2504 | this.Shown += new System.EventHandler(this.TweenMain_Shown); |
2505 | - this.ClientSizeChanged += new System.EventHandler(this.Tween_ClientSizeChanged); | |
2506 | - this.LocationChanged += new System.EventHandler(this.Tween_LocationChanged); | |
2505 | + this.ClientSizeChanged += new System.EventHandler(this.TweenMain_ClientSizeChanged); | |
2506 | + this.LocationChanged += new System.EventHandler(this.TweenMain_LocationChanged); | |
2507 | 2507 | this.DragDrop += new System.Windows.Forms.DragEventHandler(this.TweenMain_DragDrop); |
2508 | 2508 | this.DragOver += new System.Windows.Forms.DragEventHandler(this.TweenMain_DragOver); |
2509 | 2509 | this.Resize += new System.EventHandler(this.TweenMain_Resize); |
@@ -519,7 +519,7 @@ namespace OpenTween | ||
519 | 519 | } |
520 | 520 | } |
521 | 521 | |
522 | - private void Form1_Load(object sender, EventArgs e) | |
522 | + private void TweenMain_Load(object sender, EventArgs e) | |
523 | 523 | { |
524 | 524 | _ignoreConfigSave = true; |
525 | 525 | this.Visible = false; |
@@ -2335,7 +2335,7 @@ namespace OpenTween | ||
2335 | 2335 | this.Close(); |
2336 | 2336 | } |
2337 | 2337 | |
2338 | - private void Tween_FormClosing(object sender, FormClosingEventArgs e) | |
2338 | + private void TweenMain_FormClosing(object sender, FormClosingEventArgs e) | |
2339 | 2339 | { |
2340 | 2340 | if (!SettingDialog.CloseToExit && e.CloseReason == CloseReason.UserClosing && MyCommon._endingFlag == false) |
2341 | 2341 | { |
@@ -3370,7 +3370,7 @@ namespace OpenTween | ||
3370 | 3370 | OpenUriAsync(MyCommon.TwitterUrl + "#!/" + GetCurTabPost(_curList.SelectedIndices[0]).ScreenName + "/favorites"); |
3371 | 3371 | } |
3372 | 3372 | |
3373 | - private void Tween_ClientSizeChanged(object sender, EventArgs e) | |
3373 | + private void TweenMain_ClientSizeChanged(object sender, EventArgs e) | |
3374 | 3374 | { |
3375 | 3375 | if ((!_initialLayout) && this.Visible) |
3376 | 3376 | { |
@@ -3452,7 +3452,7 @@ namespace OpenTween | ||
3452 | 3452 | _modifySettingCommon = true; |
3453 | 3453 | } |
3454 | 3454 | |
3455 | - private void Tween_LocationChanged(object sender, EventArgs e) | |
3455 | + private void TweenMain_LocationChanged(object sender, EventArgs e) | |
3456 | 3456 | { |
3457 | 3457 | if (this.WindowState == FormWindowState.Normal && !_initialLayout) |
3458 | 3458 | { |
@@ -8076,13 +8076,13 @@ namespace OpenTween | ||
8076 | 8076 | } |
8077 | 8077 | } |
8078 | 8078 | |
8079 | - private void Tabs_DoubleClick(object sender, MouseEventArgs e) | |
8079 | + private void ListTab_DoubleClick(object sender, MouseEventArgs e) | |
8080 | 8080 | { |
8081 | 8081 | string tn = ListTab.SelectedTab.Text; |
8082 | 8082 | TabRename(ref tn); |
8083 | 8083 | } |
8084 | 8084 | |
8085 | - private void Tabs_MouseDown(object sender, MouseEventArgs e) | |
8085 | + private void ListTab_MouseDown(object sender, MouseEventArgs e) | |
8086 | 8086 | { |
8087 | 8087 | if (SettingDialog.TabMouseLock) return; |
8088 | 8088 | Point cpos = new Point(e.X, e.Y); |
@@ -8104,7 +8104,7 @@ namespace OpenTween | ||
8104 | 8104 | } |
8105 | 8105 | } |
8106 | 8106 | |
8107 | - private void Tabs_DragEnter(object sender, DragEventArgs e) | |
8107 | + private void ListTab_DragEnter(object sender, DragEventArgs e) | |
8108 | 8108 | { |
8109 | 8109 | if (e.Data.GetDataPresent(typeof(TabPage))) |
8110 | 8110 | e.Effect = DragDropEffects.Move; |
@@ -8112,7 +8112,7 @@ namespace OpenTween | ||
8112 | 8112 | e.Effect = DragDropEffects.None; |
8113 | 8113 | } |
8114 | 8114 | |
8115 | - private void Tabs_DragDrop(object sender, DragEventArgs e) | |
8115 | + private void ListTab_DragDrop(object sender, DragEventArgs e) | |
8116 | 8116 | { |
8117 | 8117 | if (!e.Data.GetDataPresent(typeof(TabPage))) return; |
8118 | 8118 |