基本信息
源码名称:自己写的桌面书签小工具
源码大小:14.26M
文件格式:.zip
开发语言:C#
更新时间:2017-01-23
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 3 元×
微信扫码支付:3 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
桌面书签小工具,支持后台运行,界面美化以及多便签处理
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();
}
桌面书签小工具,支持后台运行,界面美化以及多便签处理
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();
}