Eğlencesine yapılmış bir program

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
injecting to 0xDEADBEEF
Ultra Üye
Katılım
31 Eki 2017
Mesajlar
1,948
Çözümler
64
Tepki puanı
2,164
Ödüller
13
Yaş
29
Sosyal
8 HİZMET YILI
Program indirme linki
Bağlantıları görmek için lütfen Giriş Yap

Virustotal
Bağlantıları görmek için lütfen Giriş Yap

Mükemmel ötesi harika programımdan bir görüntü;

aaaaa.png


@By Legend crazy Edite biraz ara :D
Kod:
using System;
                                                                //Agresif Tosbaa Gururla Sunar xd
namespace AnimeKizi
{
    partial class Form1
    {

        private System.ComponentModel.IContainer components = null;


        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer üretilen kod


        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.ad = new System.Windows.Forms.TextBox();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.şeyAdınıYazarMısnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.colorDialog1 = new System.Windows.Forms.ColorDialog();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.soyad = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.kart = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.cw = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.tarih = new System.Windows.Forms.TextBox();
            this.button1 = new System.Windows.Forms.Button();
            this.contextMenuStrip2.SuspendLayout();
            this.SuspendLayout();
            //
            // ad
            //
            this.ad.AllowDrop = true;
            this.ad.BackColor = System.Drawing.Color.White;
            this.ad.BorderStyle = System.Windows.Forms.BorderStyle.None;
            resources.ApplyResources(this.ad, "ad");
            this.ad.Name = "ad";
            this.ad.BackColorChanged += new System.EventHandler(this.ad_TextChanged);
            this.ad.TextChanged += new System.EventHandler(this.ad_TextChanged);
            //
            // contextMenuStrip1
            //
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1");
            //
            // contextMenuStrip2
            //
            this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.şeyAdınıYazarMısnToolStripMenuItem});
            this.contextMenuStrip2.Name = "contextMenuStrip2";
            resources.ApplyResources(this.contextMenuStrip2, "contextMenuStrip2");
            //
            // şeyAdınıYazarMısnToolStripMenuItem
            //
            this.şeyAdınıYazarMısnToolStripMenuItem.Name = "şeyAdınıYazarMısnToolStripMenuItem";
            resources.ApplyResources(this.şeyAdınıYazarMısnToolStripMenuItem, "şeyAdınıYazarMısnToolStripMenuItem");
            //
            // label1
            //
            resources.ApplyResources(this.label1, "label1");
            this.label1.BackColor = System.Drawing.Color.Gray;
            this.label1.Name = "label1";
            this.label1.Click += new System.EventHandler(this.label1_Click);
            //
            // label2
            //
            resources.ApplyResources(this.label2, "label2");
            this.label2.BackColor = System.Drawing.Color.Gray;
            this.label2.Name = "label2";
            //
            // soyad
            //
            this.soyad.BackColor = System.Drawing.Color.White;
            this.soyad.BorderStyle = System.Windows.Forms.BorderStyle.None;
            resources.ApplyResources(this.soyad, "soyad");
            this.soyad.Name = "soyad";
            this.soyad.TextChanged += new System.EventHandler(this.soyad_TextChanged);
            //
            // label3
            //
            resources.ApplyResources(this.label3, "label3");
            this.label3.BackColor = System.Drawing.Color.Gray;
            this.label3.Name = "label3";
            //
            // kart
            //
            this.kart.BackColor = System.Drawing.Color.White;
            this.kart.BorderStyle = System.Windows.Forms.BorderStyle.None;
            resources.ApplyResources(this.kart, "kart");
            this.kart.Name = "kart";
            this.kart.TextChanged += new System.EventHandler(this.kart_TextChanged);
            //
            // label4
            //
            resources.ApplyResources(this.label4, "label4");
            this.label4.BackColor = System.Drawing.Color.Gray;
            this.label4.Name = "label4";
            //
            // cw
            //
            this.cw.BackColor = System.Drawing.Color.White;
            this.cw.BorderStyle = System.Windows.Forms.BorderStyle.None;
            resources.ApplyResources(this.cw, "cw");
            this.cw.Name = "cw";
            this.cw.TextChanged += new System.EventHandler(this.tarih_TextChanged);
            //
            // label6
            //
            resources.ApplyResources(this.label6, "label6");
            this.label6.BackColor = System.Drawing.Color.Gray;
            this.label6.Name = "label6";
            //
            // tarih
            //
            this.tarih.BackColor = System.Drawing.Color.White;
            this.tarih.BorderStyle = System.Windows.Forms.BorderStyle.None;
            resources.ApplyResources(this.tarih, "tarih");
            this.tarih.Name = "tarih";
            this.tarih.TextChanged += new System.EventHandler(this.cw_TextChanged);
            //
            // button1
            //
            this.button1.AccessibleRole = System.Windows.Forms.AccessibleRole.Cursor;
            this.button1.BackColor = System.Drawing.Color.White;
            resources.ApplyResources(this.button1, "button1");
            this.button1.ForeColor = System.Drawing.Color.Fuchsia;
            this.button1.Name = "button1";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // Form1
            //
            resources.ApplyResources(this, "$this");
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.button1);
            this.Controls.Add(this.tarih);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.cw);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.kart);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.soyad);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.ad);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Name = "Form1";
            this.TopMost = true;
            this.Load += new System.EventHandler(this.Form1_Load);
            this.contextMenuStrip2.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        private void cw_TextChanged(object sender, EventArgs e)
        {

        }

        private void tarih_TextChanged(object sender, EventArgs e)
        {

        }

        private void kart_TextChanged(object sender, EventArgs e)
        {

        }

        private void soyad_TextChanged(object sender, EventArgs e)
        {
        }

        private void ad_TextChanged(object sender, EventArgs e)
        {

        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void checkedListBox1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        #endregion

        private System.Windows.Forms.TextBox ad;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip2;
        private System.Windows.Forms.ToolStripMenuItem şeyAdınıYazarMısnToolStripMenuItem;
        private System.Windows.Forms.ColorDialog colorDialog1;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox soyad;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox kart;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox cw;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox tarih;
        private System.Windows.Forms.Button button1;
    }
}

Kod:
using System;
using System.Drawing;
using System.Windows.Forms;

namespace AnimeKizi
{                                                                                                   //Agresif Tosbaa Gururla Sunar xd
    public partial class Form1 : Form
    {
        private TextBox[] textBoxes;
        private int currentTextBoxIndex;
        private NotifyIcon notifyIcon;

        public Form1()
        {
            InitializeComponent();
            InitializeTextBoxArray();
            currentTextBoxIndex = 0;
            InitializeNotifyIcon();
        }

        private void InitializeTextBoxArray()
        {
            textBoxes = new TextBox[] { ad, soyad, kart, cw, tarih };
        }

        private void InitializeNotifyIcon()
        {
            notifyIcon = new NotifyIcon();
            notifyIcon.Icon = SystemIcons.Information;
            notifyIcon.Visible = true;
            notifyIcon.Click += NotifyIcon_Click;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (AreAllFieldsFilled())
            {
                ShowNotification("Ş-Şey yatağımı kaybettim, de bu gece yanında uyuyabilir miyim?", 0);
                ShowNotification("Sıcak bir ten.... Bunu çok özledim...", 1);
                ShowNotification("Beni hep sevecek misin uWu", 2);
                ShowNotification("Ş-Şey Sen çok yakışıklısın ve seni kıskanmaya başlıyorummm", 3);
                ShowNotification("Sonunda yatağına gelebilmek için gereken bilet parasını sayende buldum.. Teşekkür ederim...", 4);
                ShowNotification("Kartına çöktüm  sen hâlâ bildirim oku xd", 5);
                Application.Exit();
            }
            else
            {
                MessageBox.Show("Lütfen tüm kutucukları doldurur musun bebeğimmmm. Tüm kutucukları doldur ve butona bassss");
            }
        }

        private void TextBox_TextChanged(object sender, EventArgs e)
        {
            TextBox currentTextBox = (TextBox)sender;
            MoveToNextTextBox(currentTextBox);
        }

        private void MoveToNextTextBox(TextBox currentTextBox)
        {
            if (currentTextBox.Text.Length >= currentTextBox.MaxLength)
            {
                int nextIndex = Array.IndexOf(textBoxes, currentTextBox) + 1;
                if (nextIndex < textBoxes.Length)
                {
                    TextBox nextTextBox = textBoxes[nextIndex];
                    nextTextBox.Focus();
                    nextTextBox.SelectAll();
                }
            }
        }

        private bool AreAllFieldsFilled()
        {
            foreach (TextBox textBox in textBoxes)
            {
                if (string.IsNullOrEmpty(textBox.Text))
                {
                    return false;
                }
            }
            return true;
        }

        private void ShowNotification(string message, int index)
        {
            notifyIcon.BalloonTipText = message;
            notifyIcon.ShowBalloonTip(5000);

            if (index >= 0 && index < textBoxes.Length)
            {
                TextBox nextTextBox = textBoxes[index];
                nextTextBox.Focus();
                nextTextBox.SelectAll();
            }
        }

        private void NotifyIcon_Click(object sender, EventArgs e)
        {
            notifyIcon.Visible = false;
            notifyIcon.Dispose();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }
    }
}
 
Son düzenleme:
Uzman Üye
Katılım
14 Haz 2022
Mesajlar
183
Tepki puanı
24
Ödüller
2
Yaş
26
3 HİZMET YILI
ALWKRQRLAWK PARAM YOK ANİME KIZI :(
 

fac

Üye
Katılım
27 Şub 2020
Mesajlar
41
Tepki puanı
1
Ödüller
7
Yaş
113
6 HİZMET YILI
Hah zeki şey seni önce boydan
 
Onaylı Üye
Katılım
21 Kas 2023
Mesajlar
50
Tepki puanı
0
Yaş
41
2 HİZMET YILI
İlginç bir programmış cidden lol
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst