SIDEBAR
»
S
I
D
E
B
A
R
«

Yıldızlar ile ters piramit yapmak
Şub 25th, 2012 by Özcan BAYĞUŞ

Mustafa ALper arkadaşımıza paylaşım için teşekkür ederiz.

‎***** şekil bu arkadaşlar :)
***
*

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication53
{
class Program
{
static void Main(string[] args)
{
for (int m = 0; m <= 5; m++)
{

for (int n = 0; n <= m; n++)

Console.Write(" ");

for (int z = m * 2; z <= 5 * 2; z++)

Console.Write("*");

Console.WriteLine();

}

Console.ReadKey();
}
}
}
Girilen sayı asal mı değil mi?
Şub 15th, 2012 by İzzet ASLAN

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 WindowsFormsApplication2
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            label2.Text = "";
        }
        private void button1_Click(object sender, EventArgs e)
        {
            int sayi = Convert.ToInt32(textBox1.Text);
            for (int i = 2; i < sayi; i++)
            {
                if (sayi % i == 0)
                {
                    label2.Text = sayi.ToString() + " Sayısı Asal Değildir!";
                    break;
                }
                else
                {
                    label2.Text = sayi.ToString() + " Sayısı Asaldır";

               }
         }
       }
     }
    }
Hesap Makinesi Kodları
Şub 15th, 2012 by İzzet ASLAN

 

 

 

 

 

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 HesapMakinesi
{
public partial class Form1 : Form
{
double ilk_sayı = 0;
public Form1()
{
InitializeComponent();
}

private void textBox1_TextChanged(object sender, EventArgs e)
{

}

private void button1_Click(object sender, EventArgs e)
{
if (ilk_sayı != 0) textBox1.Text = "0";
if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button1.Text;
}

private void button2_Click(object sender, EventArgs e)
{
if (ilk_sayı != 0) textBox1.Text = "0";

if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button2.Text;

}

private void button3_Click(object sender, EventArgs e)
{
if (ilk_sayı != 0) textBox1.Text = "0";

if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button3.Text;
}

private void button4_Click(object sender, EventArgs e)
{
if (ilk_sayı != 0) textBox1.Text = "0";

if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button4.Text;
}

private void button5_Click(object sender, EventArgs e)
{
if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button5.Text;
}

private void button6_Click(object sender, EventArgs e)
{
if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button6.Text;
}

string işlem = "";
private void button7_Click(object sender, EventArgs e)
{
ilk_sayı = Convert.ToDouble(textBox1.Text);
textBox1.Text = "0";
işlem = "-";

}

private void button9_Click(object sender, EventArgs e)
{
if (işlem == "-")
textBox1.Text = (ilk_sayı - Convert.ToDouble(textBox1.Text)).ToString();
if (işlem == "*")
textBox1.Text = (ilk_sayı * Convert.ToDouble(textBox1.Text)).ToString();
if (işlem == "+")
textBox1.Text = (ilk_sayı + Convert.ToDouble(textBox1.Text)).ToString();
if (işlem == "/")
textBox1.Text = (ilk_sayı / Convert.ToDouble(textBox1.Text)).ToString();
}

private void button8_Click(object sender, EventArgs e)
{
ilk_sayı = Convert.ToDouble(textBox1.Text);
textBox1.Text = "0";
işlem = "*";
}

private void Form1_Load(object sender, EventArgs e)
{

}
double ikinci = 0;
private void button10_Click(object sender, EventArgs e)
{
if (ilk_sayı == 0)
{
ilk_sayı = Convert.ToDouble(textBox1.Text);
textBox1.Text = "0";
işlem = "+";
}
else
{
ikinci = ilk_sayı + Convert.ToDouble(textBox1.Text);
textBox1.Text = ikinci.ToString();

}
}

private void button11_Click(object sender, EventArgs e)
{
ilk_sayı = Convert.ToDouble(textBox1.Text);
textBox1.Text = "0";
işlem = "/";
}

private void button12_Click(object sender, EventArgs e)
{

textBox1.Text = textBox1.Text + button12.Text;

}

private void button15_Click(object sender, EventArgs e)
{
if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button15.Text;
}

private void button14_Click(object sender, EventArgs e)
{
if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button14.Text;
}

private void button13_Click(object sender, EventArgs e)
{
if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button13.Text;
}

private void button16_Click(object sender, EventArgs e)
{
if (textBox1.Text == "0") textBox1.Text = "";
textBox1.Text = textBox1.Text + button16.Text;
}

private void button17_Click(object sender, EventArgs e)
{
ilk_sayı = 0;
textBox1.Text = "0";
}

private void button18_Click(object sender, EventArgs e)
{
if (textBox1.Text.Length == 1) textBox1.Text = "0";
else
textBox1.Text = textBox1.Text.Substring(0, textBox1.Text.Length - 1);
}
}
}
Word büyük küçük harf değiştir
Şub 13th, 2012 by Özcan BAYĞUŞ

Word 2007 kullanmak ne kadar zor ve zahmetli bir şeymiş. Excel ve word’ü çok iyi kullanırdım taki 2007 çıkana kadar. Menülere alışmak o kadar zor olmuş ki benim gibi düz mantık çalışan insanların işi baya zorlaşmış.

Yazıdaki harflerin Tümü Küçük Harf, tümü büyük harf, ilk harfler büyük yapmak için resimdeki icona tıklamanız yeterlidir. Kırmızı yuvarlak içindeki Aa iconuna.

Photoshopta renkleri ters çevirmek
Şub 3rd, 2012 by Özcan BAYĞUŞ

Image>Adjustments>Invert (crtl+i)

»  Substance:WordPress   »  Style:Ahren Ahimsa