kgroundImage=null; _label.Visible=true; _label.Visible=true; .Height=286; .Width=340; .Enabled=false; .Enabled=false ; .Enabled=false; .Enabled=false; .Enabled=false; .Enabled=true;
} void exitToolStripMenuItem_Click (object sender, EventArgs e)
{
Application.Exit ();
} void name Tool Strip MenuItem_Click (object sender, EventArgs e)
{(nameProg.Checked) .FormBorderStyle=System.Windows.Forms.FormBorderStyle.None; this.FormBorderStyle=System.Windows.Forms.FormBorderStyle.FixedSingle; .Checked =! (nameProg.Checked) ;
} void обичнаяToolStripMenuItem_Click (object sender, EventArgs e)
{. TopMost=false;
} void поверхВсехОконToolStripMenuItem_Click (object sender, EventArgs e)
{. TopMost=true;
} void Form1_Load (object sender, EventArgs e)
{. SetStyle (ControlStyles.DoubleBuffer, true) ;. SetStyle (ControlStyles.UserPaint, true);
} void Form1_MouseDown (object sender, MouseEventArgs e)
{. Capture=false; msg=Message.Create (this.Handle, 0xa1, new IntPtr (2), IntPtr.Zero) ;. WndProc (ref msg);
} void colorShr_Click (object sender, EventArgs e)
{(colorDialog1.ShowDialog ()!=DialogResult.Cancel)
{_label.ForeColor=colorDialog1.Color; _label.ForeColor=colorDialog1.Color;
}
} void viewShr_Click (object sender, EventArgs e)
{(fontDialog1.ShowDialog ()!=DialogResult.Cancel)
{_ label.Font=fontDialog1.Font; _label.Font=fontDialog1.Font;
}
} void timer1_Tick (object sender, EventArgs e)
{. Refresh (); _ label.Text=DateTime.Now.ToLongTimeString (); _ label.Text=DateTime.Now.Date.ToString (); (showSec)
{. end=t.coordSec () ;. Show (pbTime.CreateGraphics ());
}. end=t.coordMin () ;. Show (pbTime.CreateGraphics ()) ;. end=t.coordHour () ;. Show (pbTime.CreateGraphics ());
} void секунднаяToolStripMenuItem_Click (object sender, EventArgs e)
{(colorDialog1.ShowDialog ()!=DialogResult.Cancel)
{. p.Color=colorDialog1.Color;
}
} void мінутнаяToolStripMenuItem_Click (object sender, EventArgse)
{(colorDialog1.ShowDialog ()!=DialogResult.Cancel)
{. p.Color=colorDialog1.Color;
}
} void часоваяToolStripMenuItem_Click (object sender, EventArgs e)
{(colorDialog1.ShowDialog ()!=DialogResult.Cancel)
{. p.Color=colorDialog1.Color;
}
}
}
}