salam dostan in topico mizanm harki code,hala har codi qadimi ya jadid kholase harchi dare bzare omidvaram hamkari konin
spm alaki ham nadin
spm alaki ham nadin
No user |
// Hibernate
Application.SetSuspendState(PowerState.Hibernate, true, true);
// Standby
Application.SetSuspendState(PowerState.Suspend, true, true);
button1.Cursor = Cursors.Hand;
private void Form1_Load(object sender, EventArgs e)
{
this.Height = 350;
this.Width = 350;
//Creating circle path
System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath();
path.AddEllipse(0, 0, 300, 300);
//Creating the region from the circle path
this.Region = new Region(path);
this.Show();
}
private void button1_Click(object sender, EventArgs e)
{
Application.Restart();
}
using System.Media;
SoundPlayer player = new SoundPlayer();
string path = "C:\\windows\\media\\ir_end.wav";
player.SoundLocation = path;
player.Play();
http://www.developerfusion.com/tools/convert/vb-to-csharp/
Process p = newProcess();
p.StartInfo.FileName = "cmd.exe";
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.RedirectStandardOutput = true;
p.Start();
StreamWriter sw = p.StandardInput;
sw.WriteLine("shutdown -s");
sw.Close();
p.Close();
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 WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
[i]//
// The simplest overload of MessageBox.Show. [1]
//[/i]
[u]MessageBox.Show[/u]("Dot Net Perls is awesome.");
[i]//
// Dialog box with text and a title. [2]
//[/i]
[u]MessageBox.Show[/u]("Dot Net Perls is awesome.",
"Important Message");
[i]//
// Dialog box with two buttons: yes and no. [3]
//[/i]
DialogResult result1 = [u]MessageBox.Show[/u]("Is Dot Net Perls awesome?",
"Important Question",
MessageBoxButtons.YesNo);
[i]//
// Dialog box with question icon. [4]
//[/i]
DialogResult result2 = [u]MessageBox.Show[/u]("Is Dot Net Perls awesome?",
"Important Query",
MessageBoxButtons.YesNoCancel,
MessageBoxIcon.Question);
[i]//
// Dialog box with question icon and default button. [5]
//[/i]
DialogResult result3 = [u]MessageBox.Show[/u]("Is Visual Basic awesome?",
"The Question",
MessageBoxButtons.YesNoCancel,
MessageBoxIcon.Question,
MessageBoxDefaultButton.Button2);
[i]//
// Test the results of the previous three dialogs. [6]
//[/i]
if (result1 == DialogResult.Yes &&
result2 == DialogResult.Yes &&
result3 == DialogResult.No)
{
[u]MessageBox.Show[/u]("You answered yes, yes and no.");
}
[i]//
// Dialog box that is right-aligned (not useful). [7]
//[/i]
[u]MessageBox.Show[/u]("Dot Net Perls is the best.",
"Critical Warning",
MessageBoxButtons.OKCancel,
MessageBoxIcon.Warning,
MessageBoxDefaultButton.Button1,
MessageBoxOptions.RightAlign,
true);
[i]//
// Dialog box with exclamation icon. [8]
//[/i]
[u]MessageBox.Show[/u]("Dot Net Perls is super.",
"Important Note",
MessageBoxButtons.OK,
MessageBoxIcon.Exclamation,
MessageBoxDefaultButton.Button1);
}
}
}
<iq type="set" id="qip_180">
<query xmlns="jabber:iq:roster">
<item jid="salam@nimbuzz.com" name="" subscription="none">
<group>General</group>
</item>
</query>
</iq>
<presence to="salam@nimbuzz.com" type="subscribe" />
javad1 wrote:اولش این کارت بیش ی + باید داددمت گرم؛قصدم اسپم نبود اما میخوام فورم حاشیة هاش رو باگرافیک زیبا انجام بدم اگه با کودانجام میشه اینجا انواعشوبزار مرسی+
|
|