static async Task Main(string[] args) { var job = new Demo4(); await job.ProcessAsync(); Console.ReadLine(); }
static void Main(string[] args) { Demo1.Run(); Demo2.Run(); Demo3.Run(); Demo4.Run(); Demo5.Run(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); FrmMain form = new FrmMain(); form.Show(); using (Demo4 demo = new Demo4(form.pnlMain)) { demo.Run(); } }
public void EntityMapTest() { var obj = new Demo4 { Name = "JerryDemoMany1", Age = 10, Score = 56, AddTime = DateTime.Now, IsDel = 2 }; var res = EntityMapper.Mapper <Demo4, Demo3>(obj); Assert.IsNotNull(res); }
private void Demo4_Click(object sender, RoutedEventArgs e) { Demo4.Show(); }
public Demo3() { m_Demo = new Demo4(); m_Demo.Init(); }