public LargeFileForm(long bytes, string file) { InitializeComponent(); //bytes to megabytes mbytes = (bytes / 1024) / 1024; label1.Text = "The file '" + file + "' is large. \nSize of " + mbytes + " mb's. \n" + "Note: some features will be disabled from the editor!\n"; openExecute = 0; }
private void buttonExecute_Click(object sender, EventArgs e) { openExecute = OpenExecute.EXECUTE; Close(); }
private void buttonOpen_Click(object sender, EventArgs e) { openExecute = OpenExecute.OPEN; Close(); }