예제 #1
0
        private async void Button_Process_Click(object sender, EventArgs e)
        {
            if (MainRL53.CheckFiles())
            {
                DialogResult result = MessageBox.Show("Apa file sudah benar ?", "Process", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
                if (result.Equals(DialogResult.OK))
                {
                    LoadingState(true);
                    await Task.Run(() => MainRL53.Process());

                    MainRL53.EmptyFilesDictionary();
                    MessageBox.Show("Process Complete!");
                    LoadingState(false);
                    this.Close();
                }
            }
            else
            {
                MessageBox.Show("Please complete file first, before processing!");
            }
        }
예제 #2
0
 private void RL53_FormClosing(object sender, FormClosingEventArgs e)
 {
     MainRL53.EmptyFilesDictionary();
 }
예제 #3
0
 private void Button_Hidup_Click(object sender, EventArgs e)
 {
     TextBox_Hidup.Text = MainRL53.OpenAndSave("Hidup");
 }
예제 #4
0
 private void Button_Laporan_Click(object sender, EventArgs e)
 {
     TextBox_Laporan.Text = MainRL53.OpenAndSave("Laporan");
 }
예제 #5
0
 private void Button_10Besar_Click(object sender, EventArgs e)
 {
     TextBox_10Besar.Text = MainRL53.OpenAndSave("10Besar");
 }