• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

dev


Commit MetaInfo

修訂0f2b684da8302014a5665396737f7911f13570cd (tree)
時間2014-02-02 17:08:58
作者spx <spx268@gmai...>
Commiterspx

Log Message

TweenMain, ListTab のイベントハンドラ名をコントロール名で統一

Change Summary

差異

--- a/OpenTween/Tween.Designer.cs
+++ b/OpenTween/Tween.Designer.cs
@@ -566,12 +566,12 @@
566566 this.ListTab.SelectedIndexChanged += new System.EventHandler(this.ListTab_SelectedIndexChanged);
567567 this.ListTab.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.ListTab_Selecting);
568568 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);
571571 this.ListTab.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ListTab_KeyDown);
572572 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);
575575 this.ListTab.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ListTab_MouseMove);
576576 this.ListTab.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ListTab_MouseUp);
577577 //
@@ -2499,11 +2499,11 @@
24992499 this.ToolTip1.SetToolTip(this, resources.GetString("$this.ToolTip"));
25002500 this.Activated += new System.EventHandler(this.TweenMain_Activated);
25012501 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);
25042504 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);
25072507 this.DragDrop += new System.Windows.Forms.DragEventHandler(this.TweenMain_DragDrop);
25082508 this.DragOver += new System.Windows.Forms.DragEventHandler(this.TweenMain_DragOver);
25092509 this.Resize += new System.EventHandler(this.TweenMain_Resize);
--- a/OpenTween/Tween.cs
+++ b/OpenTween/Tween.cs
@@ -519,7 +519,7 @@ namespace OpenTween
519519 }
520520 }
521521
522- private void Form1_Load(object sender, EventArgs e)
522+ private void TweenMain_Load(object sender, EventArgs e)
523523 {
524524 _ignoreConfigSave = true;
525525 this.Visible = false;
@@ -2335,7 +2335,7 @@ namespace OpenTween
23352335 this.Close();
23362336 }
23372337
2338- private void Tween_FormClosing(object sender, FormClosingEventArgs e)
2338+ private void TweenMain_FormClosing(object sender, FormClosingEventArgs e)
23392339 {
23402340 if (!SettingDialog.CloseToExit && e.CloseReason == CloseReason.UserClosing && MyCommon._endingFlag == false)
23412341 {
@@ -3370,7 +3370,7 @@ namespace OpenTween
33703370 OpenUriAsync(MyCommon.TwitterUrl + "#!/" + GetCurTabPost(_curList.SelectedIndices[0]).ScreenName + "/favorites");
33713371 }
33723372
3373- private void Tween_ClientSizeChanged(object sender, EventArgs e)
3373+ private void TweenMain_ClientSizeChanged(object sender, EventArgs e)
33743374 {
33753375 if ((!_initialLayout) && this.Visible)
33763376 {
@@ -3452,7 +3452,7 @@ namespace OpenTween
34523452 _modifySettingCommon = true;
34533453 }
34543454
3455- private void Tween_LocationChanged(object sender, EventArgs e)
3455+ private void TweenMain_LocationChanged(object sender, EventArgs e)
34563456 {
34573457 if (this.WindowState == FormWindowState.Normal && !_initialLayout)
34583458 {
@@ -8076,13 +8076,13 @@ namespace OpenTween
80768076 }
80778077 }
80788078
8079- private void Tabs_DoubleClick(object sender, MouseEventArgs e)
8079+ private void ListTab_DoubleClick(object sender, MouseEventArgs e)
80808080 {
80818081 string tn = ListTab.SelectedTab.Text;
80828082 TabRename(ref tn);
80838083 }
80848084
8085- private void Tabs_MouseDown(object sender, MouseEventArgs e)
8085+ private void ListTab_MouseDown(object sender, MouseEventArgs e)
80868086 {
80878087 if (SettingDialog.TabMouseLock) return;
80888088 Point cpos = new Point(e.X, e.Y);
@@ -8104,7 +8104,7 @@ namespace OpenTween
81048104 }
81058105 }
81068106
8107- private void Tabs_DragEnter(object sender, DragEventArgs e)
8107+ private void ListTab_DragEnter(object sender, DragEventArgs e)
81088108 {
81098109 if (e.Data.GetDataPresent(typeof(TabPage)))
81108110 e.Effect = DragDropEffects.Move;
@@ -8112,7 +8112,7 @@ namespace OpenTween
81128112 e.Effect = DragDropEffects.None;
81138113 }
81148114
8115- private void Tabs_DragDrop(object sender, DragEventArgs e)
8115+ private void ListTab_DragDrop(object sender, DragEventArgs e)
81168116 {
81178117 if (!e.Data.GetDataPresent(typeof(TabPage))) return;
81188118