第六次spring会议
今天晚上八点我们进行了站立会议
此次站立会议我们开了30分钟
参加会议的人员: 黄睿麒 侯熙磊
会议内容: 我们对fonDialog的属性和colorDialog的属性定义窗体上的颜色进行了讨论
黄睿麒:
今天在编写代码查继续完善回收站,明天进行软件优化
private void 回忆站ToolStripMenuItem_Click(object sender, EventArgs e)
{
string str1 ="";
using (StreamReader str = new StreamReader("回忆站.txt", System.Text.Encoding.UTF8))
{
string line;
while ((line = str.ReadLine()) != null)
{
str1 = str1 + line+"\r\n";
}
CCSkinMain MessageboxForm = new CCSkinMain();
MessageboxForm.MinimizeBox = false;
MessageboxForm.MaximizeBox = false;
MessageboxForm.ControlBox = true;
MessageboxForm.Location = new Point(100, 200);
MessageboxForm.Width = 400;
MessageboxForm.Height = 200;
MessageboxForm.BackColor = ColorTranslator.FromHtml(backcolor);
// MessageboxForm.BackgroundImage = Image.FromFile(filepath);
MessageboxForm.Text ="回忆站";
MessageboxForm.ControlBox = false;
MessageboxForm.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MessageboxForm.ShowDrawIcon = false;
RichTextBox rt = new RichTextBox();
rt.Text = str1;
rt.Left = 20;
rt.Top = 30;
rt.Parent = MessageboxForm;
rt.Size = new Size(350, 100);
rt.BackColor = BackColor = ColorTranslator.FromHtml(backcolor);
rt.BorderStyle = BorderStyle.None;
Button btnok = new Button();
btnok.Left = 110;
btnok.Top = 160;
btnok.Parent = MessageboxForm;
btnok.Text = "确定";
MessageboxForm.AcceptButton = btnok;
btnok.DialogResult = DialogResult.OK;
btnok.FlatStyle = FlatStyle.Flat;
//btnok.ForeColor = Color();
btnok.BackColor = Color.Transparent;
btnok.FlatAppearance.BorderSize = 1;
try
{
if (MessageboxForm.ShowDialog() == DialogResult.OK)
{
MessageboxForm.Close();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
str.Close();
}
}
侯熙磊:
昨天所做之事:
我对软件加上了保密功能。
今天所做内容:
我对软件加上了一键解密功能。
private void 一键还原ToolStripMenuItem_Click(object sender, EventArgs e)
{
skinListBox2.Items.Clear();
skinListBox1.Items.Clear();
skinListBox3.Items.Clear();
ListBoxReadAndRefresh(skinListBox1, "宠or植.txt");
ListBoxReadAndRefresh(skinListBox2, "注意事项.txt");
ListBoxReadAndRefresh(skinListBox3, "总结.txt");
}
遇到的问题:刚开始没有加上宠or植后面加上TXT,自己没有发现了,感觉哪里都没有错,就是一直运行不了。后来队友一眼就看出来了。
明天要做之事:
明天我将对软件进行BUG测试。




浙公网安备 33010602011771号