NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

private void button1_Click(object sender, EventArgs e)
{
openFileDialog1.Title = "dosya seciniz";
openFileDialog1.Filter = "(*.png)|*.png|(*.jpg)|*.jpg|(*.bmp)|*.bmp|(*.jpeg)|*.jpeg";
openFileDialog1.FilterIndex = 2;
openFileDialog1.InitialDirectory = @"C:Userscsprresim";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox1.Image = Image.FromFile(openFileDialog1.FileName);
label1.Text = openFileDialog1.FileName;


}
}

----------------------------------

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;
using System.IO;
namespace WindowsFormsApplication8
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
StreamWriter yazdir = File.AppendText(textBox1.Text);
string[] resimler = Directory.GetFiles(@"C:UserscsprDesktop", "*.jpg");
foreach (String rs in resimler)
{
yazdir.WriteLine(rs.ToString() + "t");
}
yazdir.Close();
}

private void button2_Click(object sender, EventArgs e)
{
StreamReader oku = File.OpenText(textBox2.Text);
string resimler = oku.ReadLine();
while (resimler != null)
{
listBox1.Items.Add(resimler.ToString());
resimler = oku.ReadLine();
}
}

private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{

}
}
}

-------------------------------------------------

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;

namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
Directory.CreateDirectory(@"C:UsersfurkansariDesktop"+textBox1.Text+"");
}

private void button2_Click(object sender, EventArgs e)
{
Directory.Delete(@"C:UsersfurkansariDesktopSamet");
}

private void button3_Click(object sender, EventArgs e)
{
Directory.Move(@"C:UsersfurkansariDesktopYeni Klasör",@"C:");
}


private void button4_Click(object sender, EventArgs e)
{
DateTime olustrumazamanı = Directory.GetCreationTime("Yeni Klasör");
textBox2.Text = (olustrumazamanı.ToString());
}

private void button5_Click(object sender, EventArgs e)
{
FileStream malburak = File.Create(@"C:UsersfurkansariDesktopYeni Klasör"+textBox3.Text+"");
}

private void button6_Click(object sender, EventArgs e)
{
if (Directory.Exists(@"C:UsersfurkansariDesktop"+textBox4.Text+""))
{
MessageBox.Show("Evet Bu Klasör Var");
}
else {
MessageBox.Show("Hayır BU klasör yok..!");
}
}

}
}

-----------------------------------------

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 WindowsFormsApplication6
{
public partial class Form1 : Form
{
double x, y;
string z;
public Form1()
{
InitializeComponent();
}

private void button_Click(object sender, EventArgs e)
{
Button a = ((Button)sender);
if (textBox1.Text == "0")
{
textBox1.Text = a.Text;
}
else
{
textBox1.Text = textBox1.Text + a.Text;
}
}

private void button13_Click(object sender, EventArgs e)
{
x = Convert.ToDouble(textBox1.Text);
z = "+";
textBox1.Text = " ";
}

private void button14_Click(object sender, EventArgs e)
{
x = Convert.ToDouble(textBox1.Text);
z = "-";
textBox1.Text = " ";
}

private void button15_Click(object sender, EventArgs e)
{
x = Convert.ToDouble(textBox1.Text);
z = "*";
textBox1.Text = " ";
}

private void button16_Click(object sender, EventArgs e)
{
x = Convert.ToDouble(textBox1.Text);
z = "/";
textBox1.Text = " ";
}

private void button1_Click(object sender, EventArgs e)
{
textBox1.Clear();

}

private void button12_Click(object sender, EventArgs e)
{
y = Convert.ToDouble(textBox1.Text);
if (z == "+")
{
textBox1.Text = Convert.ToString(x + y);
}
if (z == "-")
{
textBox1.Text = Convert.ToString(x - y);
}
if (z == "*")
{
textBox1.Text = Convert.ToString(x * y);
}
if (z == "/")
{
textBox1.Text = Convert.ToString(x / y);
}

}

public int value { get; set; }
}
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.