Jump to content

KintaRo

Emekli
  • Posts

    9382
  • Joined

  • Last visited

  • Days Won

    67

Posts posted by KintaRo

  1. Projenin namespace'i ise şuradan: 

    screenshot_7.png

    yok sadece dosyanın ise şuradan: (eğer .cs dosyasına ait .designer.cs vb dosyalar varsa onların da namespaceleri elle değiştirilmelidir.)

    screenshot_6.png

    her dosya için farklı bir namespace belirtebilirsiniz. namespacelerin asıl amacı işimizi kolaylaştırmak, bir namespace'in içine dahil olan tüm dosyalara, methodlara, classlara ek bir tanım yapmadan ulaşabilmek vs.

  2. gridView DoubleClick eventine:

                int hnd = gridView1.FocusedRowHandle; // seçili olan satır
                if (gridView1.IsValidRowHandle(hnd)) // eğer seçili olan satır geçerliyse yani boş bir yere tıklanmamışsa
                {
                	if (hnd > -1) // sütun başlıklarına değil de sadece satırlara tıklanmışsa
                    {
                    	// kodlar
                    }
                }

     

  3. Şimdi benim verdiğim kod önce bakıyor, form açıksa öne getiriyor, açık değilse açıyor. siz veriyi yükleme kodlarınızı formun activated eventine yazarsanız bu kodlarla işiniz çözülür.

  4.             if (Application.OpenForms["Acilacak_Form"] != null)
                {
                    Application.OpenForms["Acilacak_Form"].BringToFront();
                    Application.OpenForms["Acilacak_Form"].Activate();
                }
                else
                {
                    Acilacak_Form frm = new Acilacak_Form() { MdiParent = this };
                    frm.Show();
                    frm.BringToFront();
                }

     


  5. NetDrive 2.6.13 Build 938 Multilingual Full Version

     

    NetDrive 2.6.13 Build 938 Multilingual Full Version

    NetDrive is a straightforward Windows application that allows users to connect remote storage, including FTP servers, as a local drive and access it straight from Windows Explorer. Extremely useful if you work with remote storage environments on a regular basis, NetDrive is actually pretty easy to use, mostly thanks to a reduced number of configuration options and intuitive features. It allows users to quickly upload files to a FTP server just by dragging and dropping files in the configured drive, providing excellent transfer speed and superior performance. 

    While it also allows you to instantly launch video, audio and executable files using your Internet connection, NetDrive boasts what can be very well considered a basic interface, with only a few options displayed in the main window. You can for instance set up and manage multiple remote storage places, with each entry requiring a site name, IP and URL, port, server type, local drive letter and account information. There are options to automatically login when system starts and thus mount the drive without user input or to auto login every time you launch the app. NetDrive doesn’t slow down the system, but it needs a pretty fast Internet connection to serve its purpose in the right way. It’s stable and reliable and runs smoothly on all Windows versions. All things considered, NetDrive is a very interesting piece of software that can be safely installed by all types of users, be they beginners or those more experienced. It also comprises a help manual, so you can always receive assistance in case you can’t figure out how to use the program.

    http://www.mirrorcreator.com/files/1GDEGO0I/NetDrive_2.6.13_Build_938.rar_links
    
    https://turbobit.net/srnh3n42ujw2.html
    
    https://cloud.mail.ru/public/N6jZ/mmD9zERsG

    Linkler alıntıdır.

    • Like 1
  6. istediğinizi yaptım. dosyayı seçersiniz, Başla buttonuna basınca dosyanın yanına vcf dosyasını oluşturur. Yalnız 100 bin noyu birden yapmaya çalışırsanız veriyi önce bellekte topladığı için program patlayabilir. Dosyanızı bence 10 parçaya bölüp öyle deneyin. Belki direk 100.000 satırla çalışır, denemek lazim. C# bilginiz varsa geliştirebilirsiniz, benim zamanım kıssıtlı aceleyle bu kadar oldu.

    http://s9.dosya.tc/server2/t55h6t/vCard.exe.html

    Meraklısı için kodlar:

    using System;
    using System.ComponentModel;
    using System.IO;
    using System.Windows.Forms;
    
    namespace vCard
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                CheckForIllegalCrossThreadCalls = false;
                InitializeComponent();
            }
    
            private void button1_Click(object sender, EventArgs e)
            {
                OpenFileDialog fd = new OpenFileDialog()
                {
                    CheckFileExists = true,
                    Multiselect = false,
                    Title = "İçinde numaraların olduğu dosyayı seçiniz:",
                    RestoreDirectory = true
                };
    
                if (fd.ShowDialog() == DialogResult.OK)
                {
                    textBox1.Text = fd.FileName;
                }
            }
    
            private void button2_Click(object sender, EventArgs e)
            {
                Close();
            }
    
            private void button3_Click(object sender, EventArgs e)
            {
                if (textBox1.Text != "")
                {
                    backgroundWorker1.RunWorkerAsync();
                }
            }
    
            private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
            {
                pictureBox1.Visible = true;
    
                string line = "";
                string v_line = "";
    
                StreamReader file = new StreamReader(textBox1.Text);
                while ((line = file.ReadLine()) != null)
                {
                    v_line += "BEGIN:VCARD\nVERSION:2.1\nN:Surname;Name;;;\nFN:Name Surname\nTEL;CELL:" + line + "\nEND:VCARD" + Environment.NewLine;
                }
    
                file.Close();
    
                File.WriteAllText(Path.GetDirectoryName(textBox1.Text) + "\\numalar.vcf", v_line);
    
                pictureBox1.Visible = false;
                MessageBox.Show("vCard dosyası oluşturuldu:\n\n" + Path.GetDirectoryName(textBox1.Text) + "\\numalar.vcf");
            }
        }
    }

     

    • Like 2
×
×
  • Create New...