public FastRepMainForm() { InitializeComponent(); actionreport = new FF14LogParser(); frepForm = new FastReportForm(); rf = new RankingForm(); bindingSource2.DataSource = actionreport.ds; }
/// <summary> /// マウス透過BOXが変更された /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void TransMouseBox_CheckedChanged(object sender, EventArgs e) { RankingForm rf_m = null; if (TransMouseBox.Checked) {//透過する rf_m = new RankingForm_m(); } else {//透過しない rf_m = new RankingForm(); } //コピー rf_m.report = rankingForm.report; rf_m.Size = rankingForm.Size; rf_m.GridViewFontSize = rankingForm.GridViewFontSize; rf_m.AutoSizeHeight = rankingForm.AutoSizeHeight; rf_m.AutoSizeWidth = rankingForm.AutoSizeWidth; //PT、ログ、エネミー 2013.09.05 rf_m.ViewPTMember = rankingForm.ViewPTMember; rf_m.ViewEnemy = rankingForm.ViewEnemy; rf_m.ViewLog = rankingForm.ViewLog; //end modified rf_m.AutoSizeChanged += new EventHandler(rankingForm_AutoSizeChanged); rf_m.MouseTransModeChanged += new EventHandler(rankingForm_MouseTransModeChanged); rf_m.Show(); rf_m.Location = rankingForm.Location; rankingForm.Close(); rankingForm = rf_m; }
private void MouseTransButton_Click(object sender, EventArgs e) { RankingForm rf_m = null; if (!rf.IsTransMouse) { rf_m = new RankingForm_m(); } else { rf_m = new RankingForm(); } rf_m.report = rf.report; rf_m.Size = rf.Size; rf_m.GridViewFontSize = rf.GridViewFontSize; rf_m.AutoSizeHeight = rf.AutoSizeHeight; rf_m.AutoSizeWidth = rf.AutoSizeWidth; rf_m.Show(); rf_m.Location = rf.Location; rf.Close(); rf = rf_m; }