This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class FrmMahasiswa : Form | |
{ | |
private IList<Mahasiswa> listOfMahasiswa = new List<Mahasiswa>(); | |
private FrmEntryMahasiswa frmEntry; | |
public FrmMahasiswa() | |
{ | |
InitializeComponent(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class FrmEntryMahasiswa : Form | |
{ | |
/// <summary> | |
/// Deklarasi tipe data untuk event menggunakan delegate | |
/// </summary> | |
/// <param name="obj"></param> | |
public delegate void SaveUpdateEventHandler(Mahasiswa obj); | |
/// <summary> | |
/// Deklarasi event OnSave. Event ini di panggil ketika terjadi proses input data baru |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define AppName 'Northwind App' | |
#define AppDir 'Northwind' | |
#define BuildDir 'src\Northwind.ConsoleApp\bin\Debug' | |
#define AppExeName 'Northwind.ConsoleApp.exe' | |
#define AppVendorName 'KR Software' | |
#define AppCopyright 'Copyright © 2017. ' + AppVendorName | |
#define AppURL 'http://coding4ever.net/' | |
#define AppVersion GetFileVersion('src\Northwind.ConsoleApp\bin\Debug\' + AppExeName) | |
[Setup] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variables: | |
MsBuildPath: "C:\\Program Files (x86)\\MSBuild\\12.0\\Bin\\MSBuild.exe" | |
NugetPath: "C:\\GitLab-Runner\\NuGet\\nuget.exe" | |
InnoSetupPath: "C:\\Program Files (x86)\\Inno Setup 5\\ISCC.exe" | |
SolutionName: "Northwind.sln" | |
stages: # tipe dari job | |
- restore # stage untuk merestore paket nuget | |
- build # stage untuk proses build | |
- setup # stage untuk proses eksekusi skrip inno setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variables: | |
MsBuildPath: "C:\\Program Files (x86)\\MSBuild\\12.0\\Bin\\MSBuild.exe" | |
NugetPath: "C:\\GitLab-Runner\\NuGet\\nuget.exe" | |
SolutionName: "Northwind.sln" | |
stages: # tipe dari job | |
- restore # stage untuk merestore paket nuget | |
- build # stage untuk proses build | |
cache: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using log4net; | |
using WindowsServiceGammu.Model; | |
using WindowsServiceGammu.Model.Gammu; | |
using WindowsServiceGammu.Repository; | |
namespace WindowsServiceGammu.Service | |
{ | |
public class SMSGatewayTask : TaskBase | |
{ | |
private ILog _log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.ServiceProcess; | |
using System.Text; | |
using log4net; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Dapper; | |
using log4net; | |
using WindowsServiceGammu.Model.Gammu; | |
namespace WindowsServiceGammu.Repository | |
{ | |
public interface IGammuRepository | |
{ | |
/// <summary> | |
/// Method untuk membaca data sms di tabel inbox yang belum diproses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Dapper; | |
using log4net; | |
using WindowsServiceGammu.Model; | |
namespace WindowsServiceGammu.Repository | |
{ | |
public interface ISiswaRepository | |
{ | |
Siswa GetByNIS(string nis); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.1" encoding="UTF-8" standalone="no"?> | |
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd"> | |
<changeSet author="Administrator (generated)" id="1484641393235-1"> | |
<createTable tableName="m_alasan_penyesuaian_stok"> | |
<column name="alasan_penyesuaian_stok_id" type="CHAR(36)"> | |
<constraints nullable="false"/> | |
</column> | |
<column name="alasan" type="VARCHAR(100)"/> | |
</createTable> | |
</changeSet> |