Iranian Programming Support

Welcome To Csharp TeaM Forum.
For Use All Forum Posts And See Links
Please Register
Thanks
www.Programming.MrForum.net
Csharp TeaM Administrator
Iranian Programming Support

Csharp TeaM

Top posting users this month

Latest topics

» html to c# source code convert help
by launchar Tue Dec 06, 2016 7:22 am

» User input
by nesraz Sun Dec 20, 2015 8:39 am

» darkhaste source mediaplayer baraye b4a
by parham01 Tue Dec 15, 2015 10:31 am

» Tolide esme file gheire tekrari
by sajjad3011 Fri Jul 31, 2015 5:00 pm

» 368 library basic 4 android
by alimusavi71 Fri Jul 17, 2015 6:45 pm

» نرم افزار دریافت لایسنس آنتی ویروس نود 32
by programmer-x Wed Jul 15, 2015 3:19 pm

» help for java applications
by launchar Wed Jul 01, 2015 12:25 am

» Nimbuzz id Maker auto Captcha & Auto add FlooD & id BloCker
by briant Sat Jun 20, 2015 12:46 pm

» best mobile server v.1.0.0 persian edition
by programmer-x Fri Jun 19, 2015 12:41 am

» plz help me i neez xml code for spy bot
by alone Sun Mar 22, 2015 9:30 pm

» Dialogs Lib {Basic 4 Android}
by abdo0o Mon Mar 09, 2015 4:02 pm

» Room + PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:06 am

» PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:03 am

» سی شارپ سورس
by tr0 Wed Dec 24, 2014 12:15 pm

» help plz auto maker ids
by launchar Wed Dec 17, 2014 5:57 pm

» Join Multi Id To Room + Captcha [ Badbuzz Team ] In Seri Ba AgsXMPP !!
by abdo0o Fri Dec 12, 2014 4:47 am

» Amoozesh Ersale Sms Dar B4a
by abdo0o Fri Dec 12, 2014 4:43 am

» help me pls mehran brother
by launchar Wed Dec 03, 2014 6:36 pm

» plz help code Refresh captcha join Room
by ayad53 Wed Dec 03, 2014 12:24 pm

» please Help Me For AutoCaptchaa kardan IdMaker
by abdo0o Tue Dec 02, 2014 12:12 pm

» source C# bot addlist sender by ==> Alone_051@n.c
by walahazrat Mon Dec 01, 2014 2:34 am

» s2a sender tro help me pls
by walahazrat Mon Dec 01, 2014 2:28 am

» Help For {Data id } C# asixmpp.dll
by abdo0o Sun Nov 30, 2014 11:17 pm

» Help C# {Join & Left With Remoter}
by $iahi Tue Nov 25, 2014 10:31 am

» Source Nimbuzz User Searcher By Mehr,an [ Badbuzz TeaM ]
by waseemmalik Wed Nov 19, 2014 11:35 am


    Code haye c#

    Share
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Code haye c#

    Post by ma3ta on Mon Jun 10, 2013 3:23 pm

    salam dostan in topico mizanm harki code,hala har codi qadimi ya jadid kholase harchi dare bzare omidvaram hamkari konin
    spm alaki ham nadin
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Re: Code haye c#

    Post by ma3ta on Mon Jun 10, 2013 3:25 pm

    Hibernate & Standby PC
    Code:

    // Hibernate
    Application.SetSuspendState(PowerState.Hibernate, true, true);

    // Standby
    Application.SetSuspendState(PowerState.Suspend, true, true);


    Last edited by ma3ta on Mon Jun 10, 2013 3:42 pm; edited 1 time in total
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Re: Code haye c#

    Post by ma3ta on Mon Jun 10, 2013 3:30 pm

    estfade az Cursors hay pishvarz mohit

    Code:
    button1.Cursor = Cursors.Hand;
    [b]


    Last edited by ma3ta on Mon Jun 10, 2013 3:41 pm; edited 1 time in total
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Re: Code haye c#

    Post by ma3ta on Mon Jun 10, 2013 3:40 pm

    ijad form dayre ee :eynak:


    Code:
    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();
    }









    گاهی سکوت بلندترین فریاد است
    و زمان صادق ترین قاضی...
    پس در درگاه زمان سکوت میکنیم
    شاید
    حکمی به نفع ما صادر شود

    [/font]

    Ma3ta.Enabled = True;
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Re: Code haye c#

    Post by ma3ta on Mon Jun 10, 2013 3:46 pm

    Restart soft

    Code:
    private void button1_Click(object sender, EventArgs e)
    {
        Application.Restart();
    }









    گاهی سکوت بلندترین فریاد است
    و زمان صادق ترین قاضی...
    پس در درگاه زمان سکوت میکنیم
    شاید
    حکمی به نفع ما صادر شود

    [/font]

    Ma3ta.Enabled = True;
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Re: Code haye c#

    Post by ma3ta on Mon Jun 10, 2013 4:09 pm

    ijad seda ba click bar roy button Smile:

    to qesmat using ino mizanim Cheshmak
    Code:
    using System.Media;

    va badsh harja khastim seda bde maslan button

    Code:
    SoundPlayer player = new SoundPlayer();

    string path = "C:\\windows\\media\\ir_end.wav";

    player.SoundLocation = path;

    player.Play();









    گاهی سکوت بلندترین فریاد است
    و زمان صادق ترین قاضی...
    پس در درگاه زمان سکوت میکنیم
    شاید
    حکمی به نفع ما صادر شود

    [/font]

    Ma3ta.Enabled = True;
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Re: Code haye c#

    Post by ma3ta on Mon Jun 10, 2013 4:20 pm

    Convert C# to VB.NET Va belax Naz

    Code:
    http://www.developerfusion.com/tools/convert/vb-to-csharp/
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Re: Code haye c#

    Post by ma3ta on Tue Jun 11, 2013 7:01 am

    shutdown kardn pc. Zaboonak:

    Code:
    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();









    گاهی سکوت بلندترین فریاد است
    و زمان صادق ترین قاضی...
    پس در درگاه زمان سکوت میکنیم
    شاید
    حکمی به نفع ما صادر شود

    [/font]

    Ma3ta.Enabled = True;
    avatar
    ma3ta
    Csharp Admin
    Csharp Admin

    Posts : 109
    Points : 156
    Thanks : 21
    Join date : 2013-06-10

    Open Re: Code haye c#

    Post by ma3ta on Wed Jun 12, 2013 8:28 am

    anvae messages box show!


    Code:

    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);
     }
     }
    }









    گاهی سکوت بلندترین فریاد است
    و زمان صادق ترین قاضی...
    پس در درگاه زمان سکوت میکنیم
    شاید
    حکمی به نفع ما صادر شود

    [/font]

    Ma3ta.Enabled = True;
    avatar
    Mer+sad
    Junior Member
    Junior Member

    Posts : 88
    Points : 164
    Thanks : 17
    Join date : 2013-07-27
    Age : 22
    Location : Iran

    Open Re: Code haye c#

    Post by Mer+sad on Tue Oct 15, 2013 3:15 pm

    plz kasi xml send add ro dare?





    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Code haye c#

    Post by Mehdi izadi on Tue Oct 15, 2013 4:15 pm

    kari nadare ke xml dar avordam.
    man alan vase u qip ro login kardam. xml console ro ham baz kardam.
    badesh be id [You must be registered and logged in to see this link.] add dadam.
    in 2 ta xml send shod:
    Code:
    <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>
    Code:
    <presence to="salam@nimbuzz.com" type="subscribe" />
    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Re: Code haye c#

    Post by javad1 on Tue Oct 15, 2013 4:47 pm

    اولش این کارت بیش ی + باید داددمت گرم؛قصدم اسپم نبود اما میخوام فورم حاشیة هاش رو باگرافیک زیبا انجام بدم اگه با کودانجام میشه اینجا انواعشوبزار مرسی+
    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Code haye c#

    Post by Mehdi izadi on Wed Oct 16, 2013 3:52 am

    javad1 wrote:اولش این کارت بیش ی + باید داددمت گرم؛قصدم اسپم نبود اما میخوام فورم حاشیة هاش رو باگرافیک زیبا انجام بدم اگه با کودانجام میشه اینجا انواعشوبزار مرسی+

    Mamnoon Javad Jan.
    BehtAre Vase Ziba Kardane Form Az Componnent Haye Mojood Estefade Kard.
    Ta Jaei Ke Man Etela DaramBa Code Nevisi Dar Soorati Mishe Ke Ba WPF Ke
    Yeki Az Item Haye C# Ast Ashnaei Dashte Bashi. Ghahr 

    Sponsored content

    Open Re: Code haye c#

    Post by Sponsored content


      Current date/time is Wed Dec 13, 2017 7:32 pm