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

Join the forum, it's quick and easy

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

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Iranian Programming Support

Csharp TeaM

Top posting users this month

No user

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


2 posters

    help history c#

    ezrayil_-@n.c
    ezrayil_-@n.c
    Junior Member
    Junior Member


    Posts : 98
    Points : 173
    Thanks : 19
    Join date : 2013-09-10

    Solved help history c#

    Post by ezrayil_-@n.c Mon Mar 10, 2014 7:16 pm

    salam vala man mikham vase softam (send to all hast) history bezaram mes in
    help history c# Hmhmfdmd
    har bar ke s2a midam soft mibandam har s2a ke dadam mire zir s2a haye qabli kasi help mikone
    Mehdi izadi
    Mehdi izadi
    Administrator
    Administrator


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

    Solved Re: help history c#

    Post by Mehdi izadi Tue Mar 11, 2014 1:19 am

    Beram Daneshgah Bargardam Barat Codesho Mizaram Age Kasi Ta Zohr Nazashte Bood Khande
    Bote 3PidBot Taghriban Hamchin History Ro Dare Ama Bedune Tarikh o Time .
    Inke Goftam Zohr Mizaram Vased Inke Ke Ye Chz Daqiq Mesle Hamin Bezaram Barat.
    Age Kasi Az Doostan Hosele Neveshtanesh Dare Zahmatesho Bekeshe Ta Ghable Zohe Ke Me Miam  IN LOVE 
    Mehdi izadi
    Mehdi izadi
    Administrator
    Administrator


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

    Solved Re: help history c#

    Post by Mehdi izadi Tue Mar 11, 2014 5:46 am

    Khob Javab :

    Code:
            public Form1()
            {
                InitializeComponent();
            }
            System.Globalization.HijriCalendar hc = new System.Globalization.HijriCalendar();
            System.Globalization.PersianCalendar pc = new System.Globalization.PersianCalendar();
            DateTime datetime = new DateTime();

    Va Akharin Khatte Voide Send S2A :


    Code:
    datetime = DateTime.Now;
                richTextBox2.Text += "=======================" + Environment.NewLine + "Subject : " + textBox2.Text + Environment.NewLine + richTextBox1.Text + Environment.NewLine + Environment.NewLine + "Sender: " + textBox1.Text +
                    " (At Date :" + pc.GetYear(datetime) + "/" + pc.GetMonth(datetime) + "/" + pc.GetDayOfMonth(datetime) + " - Time : " + DateTime.Now.TimeOfDay.Hours + ":" + DateTime.Now.TimeOfDay.Minutes + ":" + DateTime.Now.TimeOfDay.Seconds +")";



    Richtextbox2 Hamun Richtextboxi Ast Ke Mikhayd History Toosh Biad.
    Textbox2 Ham Subject Ast Ke Bastegi Be Remote Khodetoon Mitoonid Bezarid.
    Richtextbox1 Hamun Texte S2A Ast.
    Textbox1 IDe S2A Sender Ast Ya Hamu Msg.from.user
    ~~~~~~~~~~~~~~~~
    Faghat Mimune Save Mundane History Va Load Shodane Dobare history Bad Az Ejra Kardane Barname.
    Mitoonid Be In Soorat Amal Konid :
    Kenare File Exe Ye File Txt Bezarid Be Esme history.txt.
    Tooye Form Load:

    Code:
    try
                {
                    string csharp = System.IO.File.ReadAllText("history.txt");
                    richTextBox2.Text = csharp;
                }
                catch { MessageBox.Show("Can Not Find history Text File", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning); }

    Va Tooye Voide Form Closing Ham:


    Code:
                try
                {
                    System.IO.File.WriteAllText(@"history.txt", richTextBox2.Text);
                }
                catch { }

    Az In Kamel Tar Javabi Vojood Nadare.

    Movafagh Bashi

    Sponsored content


    Solved Re: help history c#

    Post by Sponsored content


      Current date/time is Sat Sep 21, 2024 6:42 am