Projede Exe dosyanın çalıştığı konum — Csharp

Projede Exe dosyanın çalıştığı konum — Csharp


klasor_yolu2

 

[code lang=”csharp”]

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;//www.gorselprogramlama.com/
using System.Windows.Forms;

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

private void btnGoster_Click(object sender, EventArgs e)
{
label1.Text = System.IO.Path.GetDirectoryName(Application.ExecutablePath);
}
}//www.gorselprogramlama.com/
}

[/code]

 

dosya_yol

 

Projeyi İNDİR

Yorumlar 1

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir