#if MEMMONITOR
namespace TIASshot {
partial class MemoryMonitorForm {
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing) {
if (disposing && (components != null)) {
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent() {
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend = new System.Windows.Forms.DataVisualization.Charting.Legend();
System.Windows.Forms.DataVisualization.Charting.Series seriesPrivate = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series seriesMainFps = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series seriesSubFps = new System.Windows.Forms.DataVisualization.Charting.Series();
this.chart = new System.Windows.Forms.DataVisualization.Charting.Chart();
this.lblCurrent = new System.Windows.Forms.Label();
this.lblPreview = new System.Windows.Forms.Label();
this.btnStartStop = new System.Windows.Forms.Button();
this.btnReset = new System.Windows.Forms.Button();
this.btnSaveCsv = new System.Windows.Forms.Button();
this.btnOpenFolder = new System.Windows.Forms.Button();
this.panelButtons = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
this.panelButtons.SuspendLayout();
this.SuspendLayout();
// chart
chartArea.Name = "ChartArea1";
chartArea.AxisX.Title = "経過時間 (秒)";
chartArea.AxisY.Title = "メモリ (GB)";
chartArea.AxisX.IsStartedFromZero = true;
chartArea.AxisY.IsStartedFromZero = true;
// 副 Y 軸(FPS): メモリ(GB)とは単位・スケールが異なるため右側の第 2 軸に分ける。
// 本モニタ/副モニタの実描画 FPS をここに乗せる(案A: メモリ左軸+FPS 右軸の同居)。
chartArea.AxisY2.Title = "FPS";
chartArea.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
chartArea.AxisY2.IsStartedFromZero = true;
this.chart.ChartAreas.Add(chartArea);
legend.Name = "Legend1";
// 凡例をグラフ下部に横並びで配置する(右側ドッキングだと縦一列で幅を食い,
// プロット領域が左に圧縮されるため)。プロットを横幅いっぱいに広げる目的。
legend.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
legend.Alignment = System.Drawing.StringAlignment.Center;
this.chart.Legends.Add(legend);
seriesPrivate.Name = "Private";
seriesPrivate.LegendText = "メモリ Private (GB)";
seriesPrivate.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
seriesPrivate.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
seriesPrivate.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
seriesPrivate.BorderWidth = 2;
seriesPrivate.Color = System.Drawing.Color.DodgerBlue;
// 本モニタ実描画 FPS(副 Y 軸)。WorkingSet 系列はグラフには描かない
// (録画・スライドで主指標 Private 1 本を強調するため。CSV には従来どおり記録する)。
seriesMainFps.Name = "MainFps";
seriesMainFps.LegendText = "本モニタ FPS";
seriesMainFps.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
seriesMainFps.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
seriesMainFps.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
seriesMainFps.YAxisType = System.Windows.Forms.DataVisualization.Charting.AxisType.Secondary;
seriesMainFps.BorderWidth = 2;
seriesMainFps.Color = System.Drawing.Color.ForestGreen;
// 副モニタ実描画 FPS(副 Y 軸)。校正後の描画飢餓(≈2fps)と回復を線で見せる指標。
seriesSubFps.Name = "SubFps";
seriesSubFps.LegendText = "副モニタ FPS";
seriesSubFps.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
seriesSubFps.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
seriesSubFps.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
seriesSubFps.YAxisType = System.Windows.Forms.DataVisualization.Charting.AxisType.Secondary;
seriesSubFps.BorderWidth = 2;
seriesSubFps.Color = System.Drawing.Color.MediumVioletRed;
this.chart.Series.Add(seriesPrivate);
this.chart.Series.Add(seriesMainFps);
this.chart.Series.Add(seriesSubFps);
this.chart.Dock = System.Windows.Forms.DockStyle.Fill;
this.chart.Name = "chart";
this.chart.TabIndex = 0;
// lblCurrent
this.lblCurrent.AutoSize = false;
this.lblCurrent.Dock = System.Windows.Forms.DockStyle.Top;
this.lblCurrent.Font = new System.Drawing.Font("Consolas", 11F, System.Drawing.FontStyle.Bold);
this.lblCurrent.Height = 32;
this.lblCurrent.Name = "lblCurrent";
this.lblCurrent.TabIndex = 1;
this.lblCurrent.Text = "現在: --- (待機中)";
this.lblCurrent.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblCurrent.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
// lblPreview(プレビュー計測: コールバック/描画 FPS・コピー時間の切り分け用)
this.lblPreview.AutoSize = false;
this.lblPreview.Dock = System.Windows.Forms.DockStyle.Top;
this.lblPreview.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular);
this.lblPreview.Height = 28;
this.lblPreview.Name = "lblPreview";
this.lblPreview.TabIndex = 4;
this.lblPreview.Text = "プレビュー計測: ---";
this.lblPreview.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblPreview.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
// panelButtons
this.btnStartStop.Name = "btnStartStop";
this.btnStartStop.Size = new System.Drawing.Size(100, 28);
this.btnStartStop.Location = new System.Drawing.Point(4, 4);
this.btnStartStop.Text = "停止";
this.btnStartStop.TabIndex = 0;
this.btnStartStop.Click += new System.EventHandler(this.btnStartStop_Click);
this.btnReset.Name = "btnReset";
this.btnReset.Size = new System.Drawing.Size(80, 28);
this.btnReset.Location = new System.Drawing.Point(112, 4);
this.btnReset.Text = "リセット";
this.btnReset.TabIndex = 1;
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
this.btnSaveCsv.Name = "btnSaveCsv";
this.btnSaveCsv.Size = new System.Drawing.Size(100, 28);
this.btnSaveCsv.Location = new System.Drawing.Point(200, 4);
this.btnSaveCsv.Text = "CSV保存";
this.btnSaveCsv.TabIndex = 2;
this.btnSaveCsv.Click += new System.EventHandler(this.btnSaveCsv_Click);
this.btnOpenFolder.Name = "btnOpenFolder";
this.btnOpenFolder.Size = new System.Drawing.Size(120, 28);
this.btnOpenFolder.Location = new System.Drawing.Point(308, 4);
this.btnOpenFolder.Text = "フォルダを開く";
this.btnOpenFolder.TabIndex = 3;
this.btnOpenFolder.Click += new System.EventHandler(this.btnOpenFolder_Click);
this.panelButtons.Controls.Add(this.btnStartStop);
this.panelButtons.Controls.Add(this.btnReset);
this.panelButtons.Controls.Add(this.btnSaveCsv);
this.panelButtons.Controls.Add(this.btnOpenFolder);
this.panelButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panelButtons.Height = 38;
this.panelButtons.Name = "panelButtons";
this.panelButtons.TabIndex = 2;
// MemoryMonitorForm
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(640, 480);
this.Controls.Add(this.chart);
this.Controls.Add(this.lblPreview);
this.Controls.Add(this.lblCurrent);
this.Controls.Add(this.panelButtons);
this.Name = "MemoryMonitorForm";
// Text は MemoryMonitorForm.cs コンストラクタで設定
((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
this.panelButtons.ResumeLayout(false);
this.ResumeLayout(false);
}
private System.Windows.Forms.DataVisualization.Charting.Chart chart;
private System.Windows.Forms.Label lblCurrent;
private System.Windows.Forms.Label lblPreview;
private System.Windows.Forms.Button btnStartStop;
private System.Windows.Forms.Button btnReset;
private System.Windows.Forms.Button btnSaveCsv;
private System.Windows.Forms.Button btnOpenFolder;
private System.Windows.Forms.Panel panelButtons;
}
}
#endif