You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
744 B
35 lines
744 B
2 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Data;
|
||
|
using System.Drawing;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace PaintingPC
|
||
|
{
|
||
|
public partial class FrmMessage : Form
|
||
|
{
|
||
|
private FrmChainUp1 frm;
|
||
|
|
||
|
public FrmMessage(string value,Color color)
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
label1.Text = value;
|
||
|
this.BackColor = color;
|
||
|
}
|
||
|
|
||
|
private void button1_Click(object sender, EventArgs e)
|
||
|
{
|
||
|
if (Owner is FrmChainUp1 form1)
|
||
|
{
|
||
|
form1.UpdateTextState();
|
||
|
}
|
||
|
|
||
|
this.Close();
|
||
|
}
|
||
|
}
|
||
|
}
|