コード例 #1
0
        private static void EditJoin(ScreenDrawingSurface surface, Join join)
        {
            JoinForm form = new JoinForm(join, surface.Screen.Stage.Screens);

            form.OK += () => surface.Screen.Stage.RaiseJoinChange(join);
            form.Show();
        }
コード例 #2
0
        private static void NewJoin(ScreenDrawingSurface surface, string s1, string s2, JoinType type, int offset)
        {
            Join newjoin = new Join {
                screenTwo = s2, screenOne = s1, type = type, Size = 1
            };

            newjoin.offsetOne = newjoin.offsetTwo = offset;
            JoinForm form = new JoinForm(newjoin, surface.Screen.Stage.Screens);

            form.OK += () => surface.Screen.Stage.AddJoin(newjoin);
            form.Show();
        }
コード例 #3
0
 private static void EditJoin(ScreenDrawingSurface surface, Join join)
 {
     JoinForm form = new JoinForm(join, surface.Screen.Stage.Screens);
     form.OK += () => surface.Screen.Stage.RaiseJoinChange(join);
     form.Show();
 }
コード例 #4
0
 private static void NewJoin(ScreenDrawingSurface surface, string s1, string s2, JoinType type, int offset)
 {
     Join newjoin = new Join {screenTwo = s2, screenOne = s1, type = type, Size = 1};
     newjoin.offsetOne = newjoin.offsetTwo = offset;
     JoinForm form = new JoinForm(newjoin, surface.Screen.Stage.Screens);
     form.OK += () => surface.Screen.Stage.AddJoin(newjoin);
     form.Show();
 }