Skip to content

Commit

Permalink
ドラッグ&ドロップ機能
Browse files Browse the repository at this point in the history
グラフ修正
  • Loading branch information
penguin117117 committed May 17, 2021
1 parent cef936f commit ffa0784
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion J3D_BCK_Editor/File_Edit/Plot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public void Draw(PictureBox pictureBox1 , DataGridView dgv ,string dgvcellname ,
}
Debugger.Append(""+canvas_size);

Bitmap canvas2 = new Bitmap(Convert.ToInt32((Frame_Num) *plot_scale+20),Convert.ToInt32 (canvas_size*plot_scaley)+20) ;
Bitmap canvas2 = new Bitmap(Convert.ToInt32(Max_Frame * plot_scale + 20), Convert.ToInt32 (canvas_size*plot_scaley)+20) ;
Graphics g2 = Graphics.FromImage(canvas2);
g2.Clear(Color.Transparent);
//描画
Expand Down
7 changes: 7 additions & 0 deletions J3D_BCK_Editor/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ private void Form1_Load(object sender, EventArgs e)

debugger.Enabled = false;
tabControl1.TabPages.Remove(tabPage6);

//コマンドライン引数を配列で取得する
string[] files = System.Environment.GetCommandLineArgs();

if (files.Length > 1) File_Select.Filecheck(files[1]);



}

private void 開くToolStripMenuItem_Click(object sender, EventArgs e)
Expand Down

0 comments on commit ffa0784

Please sign in to comment.