41 lines
926 B
C#
41 lines
926 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace dccdc.Selfhelp
|
|
{
|
|
public partial class printSuccess : Form
|
|
{
|
|
public printSuccess()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
int i = 0;
|
|
|
|
private void timer1_Tick(object sender, EventArgs e)
|
|
{
|
|
//if()
|
|
if(i==0)
|
|
{
|
|
this.BackgroundImage = global::dccdc.Selfhelp.Properties.Resources.y_1;
|
|
i = 1;
|
|
}
|
|
else
|
|
{
|
|
this.BackgroundImage = global::dccdc.Selfhelp.Properties.Resources.y_2;
|
|
i = 0;
|
|
}
|
|
}
|
|
|
|
private void timer2_Tick(object sender, EventArgs e)
|
|
{
|
|
this.DialogResult = DialogResult.OK;
|
|
}
|
|
}
|
|
}
|